IRC log for #asterisk on 20110813

00:09.40*** join/#asterisk ferdna (~ferdna@cpe-67-10-220-35.elp.res.rr.com)
00:16.19*** join/#asterisk p3nguin (~xwQ5kwYl6@cobalt.esxi.hosts.a2infotech.com)
00:34.51*** join/#asterisk smeet2002 (~smeet2002@dsl-173-248-230-237.acanac.net)
00:35.57smeet2002nice feature I didn't know....add "s" to VoiceMailMain() and it skips password authentication...
01:01.26*** join/#asterisk WIMPy (~wimpy@e183095026.adsl.alicedsl.de)
01:14.57*** join/#asterisk ferdna (~ferdna@cpe-67-10-220-35.elp.res.rr.com)
01:50.43leifmadsensmeet2002: heh ya that's been around for a bit :)
02:11.13*** join/#asterisk webguynow (~webguynow@c-24-1-222-204.hsd1.il.comcast.net)
02:20.05leifmadsenanyone write dialplan on wordpress blog posts and have any tips for code highlighting? :)
02:22.14ChannelZerrr
02:22.59*** join/#asterisk neurosys (~neurosys@adsl-65-8-222-79.mia.bellsouth.net)
02:29.31*** join/#asterisk DrDigital (~mmurphy@gallery/DrDigital)
02:32.24smeet2002@leifmadsen yea..but I didn't know that...it was annoying to enter password all the time in my home network
02:40.15*** join/#asterisk jayson_r (~jayson@cpe-071-076-046-081.sc.res.rr.com)
02:41.13*** join/#asterisk jayson_r (~jayson@cpe-071-076-046-081.sc.res.rr.com)
02:42.30*** join/#asterisk JoEMoMMa (~JoE@unaffiliated/joemomma)
03:04.19dan__tI haven't yet done this because.. well, I don't know how.  But I'll be returning an array of data from ODBC, and I'd like to run Swift() against each of those options.  Can I iterate through an array or do I need to treat each element of an array as its own piece of data?
03:07.55dan__tOh.... "ARRAY can only be written to, not read from.".  So that means I can only read (assuming I know it's there) $ARR{val} or something
03:08.00dan__ter, var
03:10.24*** join/#asterisk radic (~radic@dslb-094-216-249-073.pools.arcor-ip.net)
03:25.30*** join/#asterisk jeffspeff (~jeffspeff@173-11-144-149-houston.txt.hfc.comcastbusiness.net)
03:31.09ChannelZArrays aren't arrays like you think
03:31.25ChannelZthe ARRAY function is more like "multi-assign"
03:33.50dan__tI know they're not like I think, I'm trying to come uip with how Asterisk thinks of them, but I'm not able to find a good example
03:34.10dan__tI see, where delim = #, #val1#val2#val3#val4 etc etc
03:37.47dan__tMay I bother you for an example please?
03:39.38ChannelZsorry I dont use ODBC+Asterisk
03:40.29dan__tI can figure out the ODBC part, just looking for an example of what a normal array looks like.
03:40.43dan__tI'm sure I can hack that to pull data from ODBC rather than static assignment
03:41.13ChannelZAs I said Asterisk doesnt have arrays
03:41.42dan__tYou know what I'm talking about because you said I was wrong.
03:42.30ChannelZWhat, the ARRAY function?
03:42.47dan__tOh, *multi*assign*.
03:44.27dan__tI think HASH might work.
03:44.29ChannelZIt's rather badly named
03:45.07dan__tHehe, I get it now.  The Array() part anyway.
03:45.24dan__tArray(var1=val1,var2=val2,var3=val3) etc etc
03:46.43dan__tNope, that's like an auto-Array(), that won't work.
03:48.16dan__thttp://ofps.oreilly.com/titles/9780596517342/asterisk-DB.html, under "Multirow Functionality with func_odbc" if you're curious.
03:48.17ChannelZHASH is more of a proper array but in the end what is lacking is the means to do things with arrays like you do in programming languages like 'foreach' and such.
03:49.44dan__tYep.
03:50.14ChannelZin fact for doing much more than getting/setting a couple of columns, I'd probably write AGI
03:50.36dan__ti won't argue that
03:51.10ChannelZindeed it's how I use databases with Asterisk.. my Caller ID/blacklisting lookups and things are PHP
03:51.50dan__thehe
03:51.53dan__tI get it now, thanks
03:53.52*** join/#asterisk ajkaanbal (~ajkaanbal@189.181.253.117)
03:58.58*** join/#asterisk Micc (~Micc@c-98-232-46-178.hsd1.wa.comcast.net)
03:59.25MiccI've got a realtime question if there is anyone alive in here.
03:59.50ChannelZoh, the irony!
04:00.27MiccChannelZ, well the last ten times it feels like I get no response when I ask a question. anyways...
04:01.32MiccCan I put a ton of sip peers info in the database and have asterisk only use the ones that register? I mean if I can only put 500 to 700 sip peers on a box, can I have 10K in the database and only have it use the ones that actual register to it?
04:01.40ChannelZI was just making an ironic joke about the term "realtime"
04:01.56Miccyeah, I just realized that. pretty funny.
04:03.10dan__tWell.  I can't interrupt Swift().  Period.  I can't treat it like I would Background().  That sucks.
04:04.55MiccIt looks like 1.6.2.20 only fixes one or two bugs, so I would assume its just as broken as 1.6.2.19 then, or is it pretty good?
04:05.15ChannelZdan__t: Never used Swift but according to a certain wiki there are arguments for it
04:05.34dan__tThere are, but they don't do anything with that regard 'til after Swift() exits
04:05.46dan__tOr "stops talking", rather.  Before it exits, though.
04:13.41*** join/#asterisk riwarren (~androirc@S0106c0c1c0227c72.vf.shawcable.net)
04:16.19riwarrenGot a quick question. Ive setup an asterisk server using a voip provider for an outgoing call center/autodialer. We are looking at the option of hosting our own trunkbwith a TDM card.  But confused aboutba few things. If we got an analog card with 1 fxo port, would that mean we could only have one outgoing call at a time? Or is it just the incoming calls that would be restricted?
04:19.16WIMPyIt is one call, no matter what direction.
04:19.41WIMPyYou are probably looking for a PRI (card).
04:20.04riwarrenYou mean like a digital t1 card?
04:20.36riwarrenIm trying to avoid having to pay for a t1 line, can a dsl connection suffice for that?
04:21.48*** join/#asterisk p3nguin (~xwQ5kwYl6@cobalt.esxi.hosts.a2infotech.com)
04:22.03WIMPyDidn't you say you're already using an ITSP?
04:22.27riwarrenYes I am. We want to cut costs by running our own trunk
04:23.04WIMPyWell, either you get telephone lines or you let an ITSP do it for you.
04:24.27riwarrenOr a t1 line. Hmmm. A dsl modem cant act as a t1 line? T1 is only like 1.544 Mbit upstream no?
04:24.53X-Robriwarren, a T1 is 24 simultaneous calls.
04:24.58WIMPyDon't know what the situation is in the US, but E1 are usually delivered via DSL.
04:25.09X-Roban E1 is 30 simultaneous calls
04:25.22WIMPyBut the transmission technology shouldn;t be your concern.
04:26.11WIMPyYou order an interface and don't care how it gets to you.
04:27.06riwarrenYes rob.  And right now we are autodialing 24 similtaneous calls via an itsp. Whom tells us that we can run as many outgoing calls as we want from our one DID, so there must be a way to do that ourselves
04:27.28riwarrenWhat does an E1 line usually cost?
04:27.39X-Robyou buy a 1/24th of a T1 for every simultaneous calls you want.
04:27.49X-Rob(assuming you're in the US)
04:28.09riwarrenCanada
04:28.22WIMPyNot sure. I think standard is around 300.- but if you take more, you easily get below 100.-.
04:28.37riwarrenA month?
04:28.39X-RobMay I point out that the point of an ISSP is that it's cheaper than running the lines yourself.
04:28.48X-RobITSP
04:28.56X-Robso I'm not really sure what you're aiming for here.
04:29.10riwarrenHow can it be cheaper? How do they make money then?
04:29.18X-Robthey buy lots and lots.
04:29.24WIMPyPhone lines are cheper than IP here. At least for large volumes.
04:29.54X-Robriwarren, you'll need to speak to your telco about it.
04:29.54riwarrenCan you get 30 phone lines intoba residential address?
04:30.08X-Roband you'll need to learn about ISDN
04:30.19X-Rob(start with wikipedia, and work from there)
04:30.25WIMPyYou need to ask your Telco. But I can;t see why they wouldn;t do it.
04:30.42riwarrenOk thanks.  Bah I hate telus lol
04:32.17WIMPyAnd I can't see why I always hit ; instead of ', either.
04:33.46riwarrenits because the knuckle in your pinky finger is not made allow your finger to move left and right, and muscles in that finger are weak
04:34.20WIMPyOr I need a new brain.
04:35.37riwarrenThanks for clearing that up for me.  I took a job setting up a pbx server and got it done with no prior telephony knowledge, surprisingly, but now I'm getting asked all these questions I dobt know answers to lol
04:41.34p3nguin<riwarren> Yes rob.  And right now we are autodialing 24 similtaneous calls via an itsp. Whom tells us that we can run as many outgoing calls as we want from our one DID, so there must be a way to do that ourselves    <--- someone is confused.  DIDs aren't used for outgoing calls AT ALL.
04:42.03riwarrenI know a did is an incoming number
04:42.15riwarrenBut its our did that,shows up on call display
04:42.20p3nguinThen it's the ITSP that is confused, I guess.
04:42.37p3nguinThe number that shows up on a call display is just Caller ID.
04:42.55p3nguinIt *CAN* be the same number as your DID, but they aren't related.
04:43.32riwarrenOk I was not aware of that. I thought they were the same as oura is the same number
04:44.13p3nguinMany ITSPs allow you to put any number in the caller id.  I can put your phone number in my caller id, for example.
04:44.19*** join/#asterisk gerhard7 (~gerhard7@82-171-103-215.ip.telfort.nl)
04:44.45p3nguinAnyway, just wanted to clear that up.
04:44.45riwarrenSo long story short, I would be better off telling my client to simply upgrade his upstream internet connection and keep his itsp account topped up,with funds?
04:45.22p3nguinIt'll be cheaper than going with a T1 circuit.
04:45.42riwarrenHes wanting to increase to 48 simultaneous outgoing calls
04:45.43p3nguinIt costs us around $300 each month for a T1 circuit in this area.
04:46.08riwarrenIts not based on call volume?
04:46.36p3nguinFor two T1s (for 46 or 48 calls, depending on circuit type), you're looking at over $500 every single month just for the phone lines.
04:47.06p3nguinWith the ITSP, you pay for minutes used and that's all.
04:47.32WIMPyAnd you need enough internet bandwidth.
04:47.43p3nguinOr, if you have lots of minutes, you're better off getting an unmetered account, where you pay a set fee every month for unlimited outbound calls.
04:48.11riwarrenI couldnt find an itsp that offered that
04:48.26p3nguinI think bandwidth.com is a popular one.
04:49.54riwarrenRight now, 24 calls, 60 min, 8 hours, 5760 minutes a day.
04:50.10p3nguinMaybe broadvoice.com also.
04:50.36riwarrenAt $0.125 a minute, billed at 1/6, is over $100/day
04:50.57riwarrenErr sorry $0.0125
04:51.44p3nguinSome ITSPs do not allow autodialers/telemarketing.
04:51.45WIMPyOuch
04:53.03p3nguinThat's a lot of minutes.
04:53.15p3nguinThat's more than most people use in an entire month.
04:53.25WIMPyThat's a lot per minute.
04:54.52p3nguinFor that kind of volume, 1.25 cents per minute certainly is.
04:55.13WIMPyIs that a normal price otherwise?
04:55.18p3nguinI would have expected more like 0.5 cents per minute.  That company is getting rich off them.
04:55.44p3nguinI think I pay around 1 cent per minute for my very low volume of calls.
04:56.04p3nguinI think it's 1.05 cents per minute to be precise.
04:56.24WIMPyAnd on a phone line it would be even more?
04:56.44riwarrenThe client in question is a registered charity, not telemarketing
04:56.53p3nguinIf I called over a phone line, I wouldn't pay for minutes at all.
04:57.08p3nguinI'd pay for the service each month and calling is included.
04:57.15WIMPyOk, that's better.
04:57.51riwarrenPhonebooth.com looks good, but will it let me run as many outgoing calls simultaneously as my bandwidth will permit?
04:57.53p3nguinA typical price for a regular landline with nationwide unlimited calling included is around $60 per month.
04:58.34WIMPyHmm. Telephony seems to be quite expensive there.
05:00.28p3nguinFor small business, phone and DSL internet, it starts at $70/mo.
05:01.11WIMPyHere you get the standard package (16/1 DSL + BRI) for around 30.
05:01.23WIMPyIncluding unlimited calls to national landlines.
05:02.03p3nguinAT&T is offering their U-Verse residential phone service starting at $35/mo.
05:02.36WIMPyThat BRI is off course a crippeld one coming out of a SIP gateway.
05:03.59p3nguinThey don't want me to price just internet/phone for some reason.
05:04.20p3nguinThey'll show me internet/phone/tv... starting at $89/mo for the first 12 months.
05:04.40p3nguinThey'll show me internet/tv...
05:05.01WIMPyYes, they all want to sell that here, as well.
05:05.30riwarren(riwarren) Phonebooth.com looks good, but will it let me run as many outgoing calls simultaneously as my bandwidth will permit?
05:06.00p3nguinThe last time I checked pricing, they weren't offering the U-Verse services here yet.  Nice to see they're screwing with things again.  :/
05:07.14riwarren<PROTECTED>
05:07.55p3nguinYou'd have to ask them about limitations.  I don't use their services, so I don't know.
05:09.45riwarrenK thanks will do
05:13.19*** join/#asterisk AlecTaylor (~AlecTaylo@unaffiliated/alectaylor)
05:14.52*** join/#asterisk tzafrir_laptop (~tzafrir@212.179.75.202)
05:38.53*** join/#asterisk qakhan (~qakhan@203.130.22.202)
05:39.16qakhanhi all
05:39.40qakhancan anyone plz tell me how to setup call forwarding on cell phone
05:41.09justdaveon a cell phone or to a cell phone?
05:41.27ChannelZAsk Apple
05:41.34justdave(if you really mean "on" then it's completely off-topic for this channel ;)
05:41.38ChannelZor whatever
05:42.29qakhanto a cell phone
05:44.53ChannelZThere isn't any automatic way.. but you can make your Asterisk extension Dial() something else (like your cell phone number)
05:45.12p3nguinWe've already been over this in its entirety earlier.
05:45.31ChannelZOr if your normal device is a SIP phone, most of them have a forward function of their own
05:45.32p3nguinThere's a word I'm thinking of to describe the situation.
05:45.35p3nguin"dense"
05:45.43ChannelZFutile?
05:46.02justdaveif you're using one of the third-party config guis for asterisk, a lot of them provide a feature code for it
05:46.53qakhanguys let me describe you what i want
05:47.04p3nguinI explained carefully that call forwarding is not a feature of Asterisk, but of the phones.  I learned that he's using something called SJphone, but he refuses to see if it has a call forward button.
05:47.45p3nguinUsing sequential Dial() commands was also covered, but it apparently still wasn't good enough.
05:48.40WIMPyp3nguin: How do you forwar a call if the phone isn't reachable on the phone?
05:49.18qakhani have 100 users and most of them want their call forward to their cell phone, but there is a company policy only sales user call activate their call to be forward to their cell phone. not everyone can do that
05:50.31ChannelZso hard-code it into the dialplan and make them ask you to do it.  NEXT!
05:51.14qakhandear there are 50+ sales persons
05:51.27qakhani want it to do their own
05:51.35ChannelZOk coacoa-muffins
05:52.39qakhani want to setup an IVR which map their cell number with their ext and if user is unavailable then call forward to their cell phone
05:52.42sunfoneSJphone is a linux softphone AFAIK
05:52.54ChannelZSo do it
05:52.55p3nguinwimpy: You don't -- you just Dial() another location.
05:53.06ChannelZUse ASTDB or something to keep track of who gets forwarded where
05:53.07p3nguinwimpy: That's not "call forwarding," though.
05:53.50WIMPySure it is. And for remote voip clients an important one.
05:54.34sunfonecoacoa-muffins... heh
05:54.36sunfonelol
05:54.48qakhanChannelz what is ASTDB?
05:54.58*** join/#asterisk elec- (~elec@64.89.7.253)
05:55.04ChannelZA little built-in database in Asterisk
05:55.25WIMPyqakhan: That's where you want to store your CF configuration.
05:55.26qakhancan u plz help me in this
05:55.30ChannelZLook up 'hot desking', there's a ton of examples to give you the basic idea
05:55.55qakhancan u send me some?
05:55.55elec-anyone know why i might be getting invites with a + in front of the from and to? the + means something special?
05:56.03ChannelZGOOOOOOGLE
05:56.12ChannelZ~book
05:56.12infobotAsterisk: The Definitive Guide, 3rd Edition (ISBN 0-596-51734-3) available at http://oreilly.com/catalog/9780596517342 - Asterisk: The Definitive Guide is released under a Creative Commons License (http://creativecommons.org/licenses/by-nc-nd/3.0/us/) and is available for reading online at http://ofps.oreilly.com/titles/9780596517342/ or ~buybook
05:56.16sunfoneqakhan: if you load FreePBX on top of your asterisk installation you will get a web interface that lets the users setup their own "follow-me", which I think is what you are trying to accomplish
05:56.19ChannelZThere's two
05:56.37WIMPyelec-: It means it is followed by an complete unformatted number.
05:57.11p3nguinwimpy: It's not call forwarding.  Dial()ing a phone is just dialing a phone.  If I use Dial(SIP/wimpy) to call your phone, that's not forwarding.  Likewise, if I use Dial(SIP/voipms/13145551212), that's also not forwarding.  It's just calling another location just like any other Dial() command.  Forwarding is something completely different.
05:57.42ChannelZuh oh, down another rabbit hole
05:57.44elec-wimpy so its like for telling the receiving side, to strip any kind of special strings?
05:57.48sunfone"tromboning" might be a more accurate term
05:57.57elec-chars*
05:57.59ChannelZsounds dirty
05:58.03sunfoneheh
05:58.06WIMPyFrom the users perspective it is call forwarding. How you implement it in your dialplan is another thing.
05:58.08ChannelZI like it
05:58.23WIMPyBut you might use real forwarding there as well.
05:58.23elec-ah okay
05:58.36p3nguinwimpy: I don't care what a "user" thinks it is; the user has no business touching a phone system.
05:58.44sunfoneWith ISDN signaling you can do a real forward from within the dialplan
05:58.51sunfonewith a PRI
05:59.15ChannelZHEY!  Which Digium analog card do I need to do SS7?
05:59.24p3nguinthe expensive one
05:59.28sunfoneyou don't - you need a digital card
05:59.37ChannelZruns away giggling
05:59.41WIMPysunfone: You missed something :-)
05:59.44p3nguinhaha, you got me!
05:59.49sunfonefacepalm
05:59.55*** join/#asterisk gogasca (~gogasca@166.205.136.217)
06:03.22jeffspeffis anybody familiar with how to modify the softkey xml file for cisco 7945 phones? I've found a default file, but can't figure out how to modify it, to make it dial and/or do different things.
06:03.45*** join/#asterisk BuenGenio (~BuenGenio@cm61-10-82-188.hkcable.com.hk)
06:05.41gogascaIm familiar with it u have different states during a call u edit the softkeys u want for each state in the softkey file defined in the configuration .XML file
06:06.25gogascaI don't have it handy now but shoot me an email and I can send u my sample config
06:06.38*** join/#asterisk lanning (~lanning@173-8-187-197-SFBA.hfc.comcastbusiness.net)
06:16.00justdaveis there any timetable on getting RHEL6 packages built for asterisk?
06:21.00qakhanchannelz i save cell number in DB plz tell me now what is the code for call to be forward if user not available
06:23.44ChannelZWell you have to write it.. make a special extension someone dials that asks them to type in the number you want to 'forward' to, etc. and store it in the DB.  Then you need to hook that up to the rest of your dialplan so if someone dials the extension for person X it looks up in the DB to see if they are 'forwarding' and Dial appropriately
06:24.26*** join/#asterisk cerberus_za (~coert@196-215-103-15.dynamic.isadsl.co.za)
06:26.54qakhanyes here i got my completely
06:27.00qakhanthats i want to do
06:27.10qakhanplz help me :(
06:33.17justdavelooks like atrpms has it
06:33.31ChannelZIt's more than just adding a couple of lines to your dialplan, I can't write the whole thing for you.
06:34.37justdaveif you're having that much trouble writing it, you might be well off to use one of the GUIs that already implements it
06:35.16ChannelZor pay someone
06:35.29ChannelZRoughly you could make an exten that uses Read() to let them type in their extension and Read() again the number they want to forward to, and use Set() with the DB function to set an item in the AstDB.
06:36.23ChannelZThen for your normal dial extensions, you use the DB() function again to read the forward number for their exten, and if it exists, Dial() that number instead of their normal device
06:36.44ChannelZBut depending on how your dialplan is currently setup in the first place, there's a dozen ways to do it
06:45.24qakhanok i have saved cell number in DB
06:45.55qakhannow what is the code to read the DB and dial the numver
06:45.58qakhannumber*
06:52.58ChannelZwell it's the DB function that you use kind of like a variable..  NoOp(Value is ${DB(foo/bar)})
06:54.30qakhanok setup exten => _12,1,Dial(${DB(CFIM/${EXTEN})})
06:54.34qakhanis it right?
06:55.03ChannelZsure, possibly
06:55.26ChannelZdepends on what is really stored in CFIM/12 in that example
06:56.13ChannelZIE it would have to contain DAHDI/1/1115551212 or SIP/someplace/1115551212 or the like, depending on your setup
06:56.43qakhanwhat i did
06:57.22qakhancall forward of ext 3288 to 111222333
06:57.41qakhanexten => _*21*X.,1,Set(DB(CFIM/${CALLERID(num)})=${EXTEN:4})
06:57.57qakhani saved the cell number through this
06:58.57qakhanis it right Dial(DAHDI/g1/${DB(CFIM/${EXTEN})}) to forward the call
06:59.13ChannelZok so you need to add the technology to the Dial since it's not stored in there.. otherwise your Dial command is bogus (IE  Dial(12345) is invalid)
06:59.29ChannelZYeah that's better
07:01.03WIMPySee, that worked out a lot easier than SS7 on analog.
07:01.54ChannelZAnd he learned something new.  Confidence soars!
07:01.56qakhanyayayayayayyaya
07:02.04qakhanits working....... :)
07:02.20qakhani love you channelz :)
07:02.30ChannelZYes dear!
07:02.42qakhanyou are the MAN
07:03.11ChannelZlooks down
07:03.21dan__tAlright... just to see what the env vars looked like, I made a simple AGI script that piped 'set' to a temp file.  I didn't see any of the variables that I created in * through ODBC commands, things like that.
07:03.22ChannelZYes, yes I am
07:03.37dan__tI guess that's expected - but how can I Make those available?  Is my only option to send them as args to my agi script?
07:03.53dan__tUser-defined channel variables, that is.
07:05.15ChannelZnot sure exactly what you are meaning.. the 'get variable' AGI command can fetch channel variables
07:05.30dan__tOh, duh.
07:05.46dan__tThank you.
07:06.19ChannelZsho thang
07:08.27AlecTaylorWhat project can I use for a web-frontend (Java, Flash/Flex, Javascript) to connect to a conference-call, with moderation capability (mute caller)?
07:33.36*** join/#asterisk TimeRider (steve@188-220-33-123.zone11.bethere.co.uk)
07:46.05*** join/#asterisk Marquel (~Marquel@static.132.171.47.78.clients.your-server.de)
07:48.16Marquelgood morning.
07:49.23Marqueli have a problem with dahdi-2.4.1 on 2.6.39 kernel (with pax/grsecurity patches): every time i try running dahdi_cfg i get "Operation not permitted(1)", though this configuration worked great before i switched to the new kernel.
07:50.43jeffspeffanybody have a featurepolicydefault.xml for a 79xx series phone? 7945 would be great.
08:15.40dan__tWeird.  Using STREAM FILE via AGI, I read:   digit pressed: 200 result=<digit> endpos=<offset>
08:15.58dan__tendpos appears to be correct, but result is always two digits lower than what I actually send in dtmf
08:16.19dan__tOr, is result in some other character set or something...?
08:17.18dan__tOh, huh - "or the ASCII numerical value of the digit if one was pressed"
08:17.37dan__tWhy..... bother?  Why not just return the digit that was found.......
08:19.06dan__tThat makes -1 sense.
08:36.56*** join/#asterisk ferdna (~ferdna@cpe-67-10-220-35.elp.res.rr.com)
08:41.42qakhanchannelz what wrong with this code
08:41.45qakhanexten => _32XX,2,GotoIf(${EXTEN}=${DB(CFIM/${EXTEN})}?3:5)
08:41.46qakhanexten => _32XX,3,PlayBack(welcome)
08:41.56qakhanexten => _32XX,5,VoiceMail(${EXTEN}@itc,u)
08:47.26*** join/#asterisk nZw (~rychu@93.175.65.23)
08:53.27*** join/#asterisk brdude (~brdude@c-24-5-194-184.hsd1.ca.comcast.net)
08:54.12qakhanchannelz u there?
08:56.40SunTsuqakhan: http://www.catb.org/~esr/faqs/smart-questions.html
08:57.04kaldemarqakhan: gotoif syntax. expression needs to be surrounded with $[].
09:02.49*** join/#asterisk gmaruzz (~gmaruzz@2-225-249-20.ip178.fastwebnet.it)
09:02.58*** part/#asterisk gmaruzz (~gmaruzz@2-225-249-20.ip178.fastwebnet.it)
09:11.40*** join/#asterisk af_ (~getsmart@78.134.21.118)
09:15.16qakhanit doesnt work
09:26.39*** join/#asterisk adnc (~akif@unaffiliated/adnc)
09:27.21adnchello, I've a problem with my asterisk, incomming calls are interrupted after 15 minutes. what could be the problem?
09:44.23*** join/#asterisk wonderworld (~ww@port-92-201-54-171.dynamic.qsc.de)
09:56.59*** join/#asterisk felimwhiteley (~quassel@46.7.101.58)
09:59.56*** join/#asterisk irroot (~irroot@197.171.55.166)
10:00.19*** join/#asterisk tzafrir_laptop (~tzafrir@bzq-218-155-146.cablep.bezeqint.net)
10:02.21*** join/#asterisk TimeRider (~steve@host-92-27-131-175.static.as13285.net)
10:14.42*** join/#asterisk Pimmetje (~Pimmetje@s5146b5f9.adsl.wanadoo.nl)
10:28.33*** join/#asterisk ferdna (~ferdna@cpe-67-10-220-35.elp.res.rr.com)
10:41.09*** join/#asterisk cerberus_za (~coert@196-215-103-15.dynamic.isadsl.co.za)
10:43.27*** join/#asterisk Howlader (Howlader@soft.bdcom.com)
11:27.43*** part/#asterisk space1nvader (~tam9@unaffiliated/spaceinvader)
11:40.23*** join/#asterisk coppice (~chatzilla@116.92.38.165)
11:52.12freeedrich|hi, how would I go about.. I have an incoming call from skype, which I forward to my cellphone via exten => skype,1,Dial(${MYMOBILE})
11:52.48freeedrich|now the thing is... the skype call gets attended as soon as asterisk starts dialing my mobile
11:53.20freeedrich|so.. the caller has a big round of nothing until I either attend or my mailbox jumps in.
11:53.52freeedrich|so.. how would I let the skype call ringing until mymobile is picked up by either me or the mailbox?
12:04.47Marquelnobody?
12:09.48freeedrich|actually.. I just tested again - it seems it really only answers as soon as the mobile line is being picked up.
12:15.08*** join/#asterisk Goni (~goni@vpn12.de.digitallinx.com)
12:16.41*** part/#asterisk Goni (~goni@vpn12.de.digitallinx.com)
12:23.03*** join/#asterisk screenn (~screenn@178.151.86.196)
12:24.25*** join/#asterisk tzafrir_laptop (~tzafrir@bzq-218-155-148.cablep.bezeqint.net)
12:30.55adncanyone here who could help me understand why my asterisk interrupts incoming calls exact after 15 minutes?
12:38.00*** join/#asterisk tzafrir_laptop (~tzafrir@212.179.75.202)
12:42.08WIMPyadnc: session-timers?
12:47.38*** join/#asterisk FiReSTaRT (~dlyh@unaffiliated/firestart)
13:00.09*** join/#asterisk [sr] (~kvirc@pal-213-228-140-150.netvisao.pt)
13:05.33*** join/#asterisk mjordan (~mjordan@user-69-1-6-49.knology.net)
13:06.12*** join/#asterisk singler (~singler@78-60-139-121.static.zebra.lt)
13:06.48*** join/#asterisk Guest8383 (~Geek@unaffiliated/cain)
13:21.35*** join/#asterisk Cain (~Geek@unaffiliated/cain)
14:18.52*** join/#asterisk tzafrir_laptop (~tzafrir@bzq-218-155-170.cablep.bezeqint.net)
14:20.45*** join/#asterisk n3hxs (~ed@63.68.135.4)
14:25.08Kobazhmm
14:25.26Kobazokay... asterisk 1.8.5, Answer()  MusicOnHold()    no music
14:25.29Kobazwhat's a good way to debug
14:25.39Kobaz<PROTECTED>
14:27.00p3nguinCheck that default has files in it: moh show files
14:27.02ChannelZmoh show classes
14:27.13ChannelZand that one too
14:27.43p3nguinI also use the echo test a lot when something like that arises.
14:31.14Kobazyeah
14:31.22Kobazi mean like, all that stuff is good
14:31.29Kobazi have the same setup on 234928374744 other servers
14:31.40Kobazecho test sounds good
14:31.42p3nguinThat number seems inflated to me.
14:31.43Kobazall other audio works
14:32.31Kobazp3nguin: yeah maybe a little
14:32.37Kobazokay Echo() works
14:32.54Kobazi'm using custom mode using madplay to play mp3s
14:32.56p3nguinThen it has to be moh.
14:33.09p3nguinWhy not let asterisk play it normally?
14:33.12Kobazi'm just wondering if something changed in 1.8, maybe i need to configure this differently
14:33.15p3nguinIt'll use mpg123.
14:33.41p3nguinI think 1.2 was the last branch that you had to use hackery to play an mp3.
14:33.46Kobazhttp://pastebin.com/t1X9hXPA
14:34.10Kobazwell i like streaming the mp3s rather than mode=files
14:34.22p3nguinMe too.  mpg123 is my man.
14:34.24Kobazbecause then every time someone gets put on hold for the first time, they start at the first file
14:34.40Kobazi've never had a problem with madplay
14:34.44Kobazlemme try my other 1.8 boxc
14:34.49p3nguinWith streaming, that's not going to happen.
14:35.33Kobazyeah
14:35.34Kobazi know
14:35.36Kobazwhich is why i do it
14:36.00*** join/#asterisk TimeRider (steve@188-220-33-123.zone11.bethere.co.uk)
14:36.12p3nguinYou're contradicting yourself.
14:36.25Kobaznope
14:36.43Kobazi do streaming through madplay so that you don't always get put on hold on the same file
14:37.56p3nguinAnd a random order using the normal mp3 playback method won't do that?
14:38.59Kobazit starts at the beginning of the file
14:39.20ChannelZCan't have anyone listening to a whole song!
14:39.46p3nguinAnother contradiction.
14:40.00p3nguinStreaming files will never start over at the beginning.
14:40.23ChannelZuhm.. He's saying the same thing you are...
14:40.57p3nguinHe keeps trying to say he's streaming to prevent what streaming does.
14:41.02ChannelZNo
14:41.29ChannelZHe's saying he doesn't use files/random because of those reasons
14:41.59p3nguinI guess if you can understand all the double talk, you can help him.
14:42.02Kobazp3nguin: you just want to pick a fight.. i'm fine with that
14:42.10p3nguinpoints out that his own moh works
14:43.06Kobaz<p3nguin> Streaming files will never start over at the beginning.
14:43.15Kobazthat's exactly what I said
14:43.26Kobazso far, contradictions: 0
14:44.43p3nguinJust so you know, using the NORMAL mp3 play method, which uses mpg123, does not restart the audio file until after it has played to the end.
14:44.46ChannelZIn any event you've double checked your madplay is spitting out the right type of data?
14:45.18p3nguinOnce it starts, it can't stop and start at the beginning.
14:45.49Kobazp3nguin: that's not the normal moh method though
14:45.59Kobazwhich is mode=files directory=/foo
14:46.05p3nguinAt least in the asterisk branch I use, that's how it is.  If improvements have been made in newer versions, no one has reported it to me.
14:46.25p3nguin[mp3]
14:46.25p3nguinmode=mp3
14:46.25p3nguindirectory=/var/lib/asterisk/mohmp3
14:46.34p3nguinSeems normal to me.
14:46.42ChannelZsighs
14:47.10p3nguinNo special trickery, no additional apps being used.
14:47.16Kobazand where do you see that (as a default) in the musiconhold.conf.sample ?
14:47.28p3nguinJust good ol' asterisk playing mp3s how it knows to play mp3s -- with mpg123.
14:47.51p3nguinI'll have to go look at a sample.
14:48.58Kobazthis whole argument is really lame, but the point is.  that's not the standard.  yes it may work... it's not what I'm using, so it's not very helpful either
14:49.07p3nguinI don't see in my sample file what I just pasted.  That doesn't mean it's wrong.
14:49.16KobazI never said it's wrong
14:49.40p3nguinmp3 is a valid mode.  That much IS written in the sample.
14:49.48Kobazagreed
14:50.04Kobazi really like all the straw man arguments
14:50.06Kobazbut it's not helping
14:50.40p3nguinAnd using mp3 as the mode plays mp3s using mpg123.  And playing back with mpg123 plays files from beginning to end without stopping to start over.  That's what you've indicated you want.
14:50.49Kobazthat's fine
14:50.55Kobazi don't disagree that it can do that
14:51.03p3nguinAnd you can randomize the files from the directory.
14:51.03*** join/#asterisk x1user (~x1user@host-212-75-8-69.bbccable.net)
14:51.20ChannelZhe doesn't want that!
14:51.26Kobazmy point is I think there's a bug in asterisk, which i would like to further investigate
14:51.28x1userHi, anyone using chan_mobile? Can you please share /etc/asterisk/mobile.conf ?
14:51.37p3nguinThen don't randomize it, I couldn't care less.
14:52.13Kobazmy question isn't "help me get music working, using any configuration"
14:52.23Kobazmy question is "This should work, why doesn't it, I think there's a bug"
14:53.06ChannelZI'll do something productive and try it over here
14:53.13Kobaz:)
14:54.08KobazChannelZ: you saw my config options in the pastebin?
14:54.20ChannelZno
14:55.00Kobazhttp://pastebin.com/t1X9hXPA
14:56.13Kobazthe other problem with using the built-in mp3 stuff is you can't control the volume other than quiet/loud
14:56.52ChannelZIt's working for me with the sample options, let me try yours
14:57.23Kobazp3nguin: and... i've had nasty nasty problems with mpg123 sucking up 100% cpu, or lots of memory, and crashing
14:57.41KobazChannelZ: yeah, the samples should work
14:57.54Kobazsome of my setups use regular options like mode=files
14:58.07KobazI don't have any problem with that method
14:58.50ChannelZI get an error with your -Qrz
14:59.08Kobazwhich version of madplay?
14:59.31ChannelZ0.15.2 I guess
14:59.43ChannelZ-Q -r -z works though
14:59.45Kobazmadplay -V
15:00.00Kobazinteresting
15:00.10Kobazi have the same madplay 0.15.2, but I don't get any errors
15:00.17ChannelZI actualy got shitloads on the console
15:00.36ChannelZ"res_musiconhold.c:643 monmp3thread: poll() failed: Interrupted system call"
15:00.42Kobazmmmmm
15:01.00ChannelZanyways it's not parsing the options stacked up like that so just separate them and see what happens
15:01.33Kobazare you just trying to run that on the commandline?
15:01.41Kobazor you were getting other errors from asterisk
15:01.46ChannelZErrors from asterisk
15:01.56ChannelZ(res_musiconhold)
15:01.58Kobazif you're running it straight up, it wants a list of files
15:02.00Kobazk
15:02.24ChannelZAs soon as I loaded moh I got one error, and if I tried to do MusicOnHold it spat out dozens of those a second
15:02.31Kobazweird
15:02.43Kobazand you used the same config from the pastebin?
15:03.15Kobazand you have mp3s in the directory specified?
15:03.19ChannelZyes, basically the same thing as the Asterisk 'solaris' class sample except your options
15:03.20Kobaz..just sanity checking
15:03.25Kobazk
15:03.39ChannelZI tried the sample first which only differ from yours by having -Q vs -Qrz
15:03.43Kobazyeah
15:03.49ChannelZBut as I said I just tried -Q -r -z and it's fine
15:04.20ChannelZand yes I gave it the dir (although I only copied one file there)
15:04.27Kobaz-z is shuffle and -r is go forever
15:06.25*** join/#asterisk tris (tristan@2001:1868:a00a::4)
15:06.36Kobazthe solaris options don't work for me either
15:06.43Kobazmy options do though
15:06.52Kobazwell madplay loads, but there's no music pumping through
15:07.31Kobazah, wait... /usr/bin/madplay  worked
15:07.40Kobazinstead of just plain madplay
15:07.55ChannelZyou have the path in your .conf
15:08.17ChannelZdid you unload/reload res_musiconhold after changing the config?
15:08.55Kobazyeah
15:09.05Kobazhmm. res_musiconhold doesn't have much in the way of debugging
15:09.09ChannelZDouble-checked your mohmp3 dir and files are readable by whatever user your Asterisk runs as?
15:10.11*** join/#asterisk WIMPy (~wimpy@e183095026.adsl.alicedsl.de)
15:10.40Marquelnobody with any hint to my dahdi problem?
15:11.05Kobazyeah, i mean like, i have an image i set these systems up from
15:11.10ChannelZMarquel: what problem?  didn't see it
15:11.15Kobazeverything is the same in terms of files
15:11.28Kobazwhat is different, is asterisk... this is one of the few 1.8's i have going
15:11.47leifmadsen1.8!
15:11.51Kobazbut yeah, madplay is perfectly happy when run from the commandline, and spitting out audio data to stdout
15:11.53ChannelZWell I'm running 1.8.5.0 and there is music coming out of it.
15:11.58Kobazyeap
15:12.08MarquelChannelZ: upgrading to kernel 2.6.39 i get "Operation not permitted" when running dahdi_cfg with the very same config which worked for months.
15:12.11Kobazi have one 1.8 that does have music working through the madplay method
15:12.14Kobazand one that doesn't
15:12.32ChannelZMarquel: did you rebuild DAHDI with matching kernel headers?
15:12.50*** join/#asterisk ferdna (~ferdna@cpe-67-10-220-35.elp.res.rr.com)
15:12.53ChannelZIt's drivers so they need to be built under the same kernel version
15:13.36MarquelChannelZ: well, headers were 2.6.36 before and it worked with kernel-2.6.38.
15:13.43ChannelZKobaz: does "ps ax |grep madplay" show it running?
15:14.36Kobazyeap
15:14.48Kobazyeah that was the first thing i checked an hour ago
15:14.53p3nguinI bet pc -C madplay shows it, too.
15:15.00p3nguinps -C madplay, even
15:15.08p3nguinpc -C obviously wouldn't.
15:15.25ChannelZMarquel: perhaps you got lucky
15:17.27MarquelChannelZ: interestingly running dahdi_cfg -vv tells me it gets killed by SIGKILL...
15:17.34Kobazp3nguin: i tend to like ps ax or aux because it shows much more info
15:17.42ChannelZI bet there's 1000 other argument combinations you can pass to ps too
15:17.48Kobazyeah
15:17.49Kobazthere is
15:17.54Kobazwhat i really like is ps auxf
15:17.57p3nguinOkay, then use ps -C madplay u
15:19.11Kobazbut what if i wanted to show asterisk and madplay
15:19.19p3nguinI wonder how many $0.99 Nachos Supremes from Taco Bell I could eat before I puke, pop, or just plain die.
15:19.22Kobazps aux | egrep "asterisk|madplay"
15:19.45ChannelZYou should try to find out and report back
15:20.57coppicep3nguin: consumed at speed, or pacing yourself?
15:21.56p3nguineither way
15:22.22p3nguinI figure I could shovel more in if I went fast.
15:25.14*** join/#asterisk ferdna (~ferdna@cpe-67-10-220-35.elp.res.rr.com)
15:25.49p3nguin*sigh*  To be honest with myself, I probably won't eat any Nachos Supremes at all today.  :(  As much as I want to, I doubt I'll actually do it.
15:26.09*** join/#asterisk jayson_r (~jayson@cpe-071-076-046-081.sc.res.rr.com)
15:26.18*** join/#asterisk tzafrir_laptop (~tzafrir@bzq-218-155-146.cablep.bezeqint.net)
15:27.16coppiceI suspect in this case going too fast will cause choking, and this will actually prevent death by slowing you down
15:28.16p3nguinDamned built-in preservation mechanisms.
15:29.29coppicenever fear. blendtec and a feeding tube to the rescue
15:30.18p3nguinFor amusement, I sometimes check the Darwin awards for ways to override those preservation mechanisms.
15:30.29p3nguinCreativity there is never lacking.
15:30.36*** join/#asterisk catphish_ (~charlie@2001:9d8:2005:2::3)
15:31.08coppiceI like the idea of your memorial being a "Will it blend?" video on youtube
15:31.26*** join/#asterisk russellb (~russellb@asterisk/contributor-and-cool-guy/russellb)
15:31.27*** mode/#asterisk [+o russellb] by ChanServ
15:31.31catphish_how does asterisk handle conflicting dialplan entries?
15:31.37Kobazlast one wins
15:31.45catphish_for example _9. and _900.
15:31.54p3nguincatphish_: The best match wins.
15:31.55Kobazoh, that type of conflict
15:32.06leifmadsenrussellb: you're kind of a big deal
15:32.18leifmadsencatphish_: that's not a conflict :)
15:32.18catphish_best match?
15:32.24leifmadsenmost explicit match
15:32.32Kobazif someone dials 900xxxxxx it will match the 900
15:32.33leifmadsen9001 will match _900. instead of _9.
15:32.37leifmadsenKobaz: we win!
15:32.41Kobazif someone dials 93234234234 it will match the 9
15:32.41p3nguincatphish_: _900. is more "exact"
15:33.07catphish_leifmadsen: thanks, apparantly that's not working since we switched to a realtime dialplan
15:33.21p3nguincatphish_: And, as Leif said, it's not a conflict; it's just an overlap.
15:33.27*** join/#asterisk WIMPy (~wimpy@e183095026.adsl.alicedsl.de)
15:33.29leifmadsenpukes at the thought of a realtime dialplan
15:33.35Kobazyeah
15:33.48leifmadsenI fundamentally don't believe in the dialplan living in the database
15:33.57Kobazi like database driven dialplan
15:34.03Kobazbut not realtim
15:34.12catphish_is there a better way?
15:34.13leifmadsenKobaz: +1
15:34.15leifmadsenfunc_odbc
15:34.18leifmadsenthat's the better way
15:34.24leifmadsenstatic logic, dynamic data
15:34.55catphish_i'm not familiar with odbc sadly
15:34.57leifmadsenheck, you can even make the routing dynamic too using func_odbc and dundi
15:35.10leifmadsencatphish_: there is a whole chapter showing examples in the book I helped write :)
15:35.19leifmadsenDatabase Integration chapter is your friend
15:36.47catphish_i'm using realtime because i need to add an remove large numbers of sip peers and their associated dialplan entries, though of course i'm happy to consider odbc if it can more effectively use mysql as a backend
15:37.40*** join/#asterisk DrDigital (~mmurphy@gallery/DrDigital)
15:38.06catphish_according to the wiki, realtime extensions should load the full context into memory before looking for the best match
15:38.13catphish_so i really don't know why i'd be having a problem
15:39.19leifmadsencatphish_: the point with func_odbc is that you shouldn't have to write anything to the dialplan to lookup routing/destination for an extension -- you just accept all possible options, then ask the database if there is data to be returned, then write logic to handle both returned data and no returned data
15:40.33catphish_what does that avoid?
15:40.47*** join/#asterisk trumee (~trumee@cpc3-cmbg14-0-0-cust113.5-4.cable.virginmedia.com)
15:41.14trumeeanybody used zrtp with twinkle or zfone?
15:41.30trumee<PROTECTED>
15:41.42trumeeI have canreinvite=yes specified in freepbx, and can see 'Native Bridging' in asterisk logs happening
15:42.18leifmadsencatphish_: it avoids changing the dialplan at all
15:42.34leifmadsencatphish_: you just change the data, not the dialplan
15:42.49catphish_my in-memory dialplan is nothing but a list of contexts
15:42.55leifmadsenanyways, that chapter is your friend and better explains the "why" than what I can do in a couple of lines on IRC
15:42.57catphish_can that be avoided?
15:43.00trumeeis there any other magic apart from 'canreinvite=yes' to get zrtp work over the internet?
15:43.18leifmadsencatphish_: do you still need to do a 'dialplan reload' for that data to be available?
15:43.43catphish_leifmadsen: sadly yes, only when adding a context though
15:43.45leifmadsenor does it try to ping the database for every single channel created and try to load the dialplan into memory for every channel?
15:43.51leifmadsencatphish_: then just use #exec
15:44.02leifmadsenwrite a very simple script to load the dialplan into memory
15:44.16catphish_leifmadsen: but yes, for each call it still queries the db for that exten
15:44.21leifmadsenuse PHP or whatever, load it into memory, and you're done and you're not further behind than using realtime dialplans
15:44.31catphish_its only the list of contexts thats static
15:44.44leifmadsenI still think func_odbc is going to be significantly more efficient
15:44.54leifmadsenok, banking time
15:45.00leifmadsenheads off on his trusty mountain bike
15:45.14catphish_can func_odbc be used without statically defined contexts?
15:45.58catphish_right now for each context i need to add [context1] switch => Realtime and reload
15:46.05catphish_it doesnt reload the list of extens
15:46.09catphish_just the list of contexts
15:46.52catphish_but what's really puzzling me is that a colleague claims that most-explicit matching is broken, whereas the wiki says it should load the full context and then find the best match
15:46.56catphish_i'll have to test more
15:50.35p3nguinWhy do people call me using CID numbers like 9998887777 and 0000001111?  Do they think I'll be like, "Oh, those look like valid phone numbers and I should probably answer because it could be an important call!" or something like that?
15:53.55catphish_p3nguin: i'd complain to the provider
15:54.00catphish_that should never happen
15:54.19catphish_well at least not in this country
15:54.48p3nguinYou're saying my provider should not allow a call with a bogus caller ID number to pass through?
15:54.56catphish_no
15:55.06p3nguinNo you're not saying that?
15:55.14catphish_sorry, i'm not saying that
15:55.24catphish_they should complain to the provider who sent them the call
15:55.37p3nguinSo THAT provider shouldn't allow it?
15:55.41catphish_until it reaches the provider who generated the phony number
15:55.49p3nguinI see.
15:56.08catphish_and that provider should stop it or risk losing their upstream account
15:56.12*** join/#asterisk WIMPy (~wimpy@e183095026.adsl.alicedsl.de)
15:56.27p3nguinIf I complained to my provider, they'd tell me it's not their problem.  Nothing more would happen.
15:56.56catphish_ie. i can set any outbound CID I want for my customers, but if i started abusing that i'd probably get disconnected from my upstream providers
15:56.59p3nguinNow if I reported it to the FCC, the investigation may go a little deeper, but I think the end result would still be the same.
15:57.46catphish_anyone large enough to provide a phone service to others is trusted to set valid CIDs for their customers
15:58.08catphish_most likely it's a provider who is being dumb and allowing an end user to set their own
15:58.26Marquelcatphish_: there's actually a feature for that.
15:58.32catphish_for what?
15:59.01Marquelcatphish_: it is used by companies which forward incoming calls to road warriors, so their employees see the actual caller, not always their company calling them.
15:59.15Marquelcatphish_: setting "any" CID...
15:59.18catphish_yes
15:59.27catphish_but end users don't need to do that
15:59.41Marquelas said: companies may need to do it.
16:00.01catphish_a company that needs to do that internally might ask to be trusted to do so
16:00.11catphish_but i'd expect them to be terminated if they abused it
16:00.22catphish_i understand the requirement
16:00.37*** join/#asterisk dhartman (~dhartman@wilug/newlug/ricko73)
16:00.41catphish_my isp allows customers to set up call forwards to road warriors' mobiles with a web interface
16:00.43Marquelyeah, the terms&conditions of this feature require responsible use.
16:00.56catphish_so we handle the callerid issue there
16:01.54Marquelyeah, but you'll run into problems if that should be possible by hitting just one button on a phone upon leave/enter office ;)
16:02.29catphish_well we offer it to be configured with a web UI
16:02.34catphish_rather than from the phone itself
16:02.43catphish_so it can be fixed remotely if necessary
16:02.55MarquelChannelZ: recompiling with more recent kernel headers have the very same problem: dahdi_cfg gets killed by SIGKILL
16:03.02*** join/#asterisk ajkaanbal (~ajkaanbal@189.181.253.117)
16:04.27*** join/#asterisk smeet2002 (~smeet2002@dsl-173-248-230-237.acanac.net)
16:09.19*** join/#asterisk gauner1986 (~Miranda@ip-109-91-117-51.unitymediagroup.de)
16:12.03MarquelChannelZ: okay, seems a problem with a null deref in the actual driver module. i will revert to an older kernel until that's fix'd.
16:12.15gauner1986hi guys.. i'm trying to use asterisk 1.6 as sip client.. now on register my username for the sip server is an email-adresse which contains an @.. so i needed to configure it in sip.conf as followed: register => XX@t-online.de:XX@tel.t-online.de/XXX
16:12.33gauner1986can i escape the @ in the email address somehow?
16:12.48p3nguinYou don't need to escape it.
16:12.55gauner1986[Aug 13 16:05:20] WARNING[2015] chan_sip.c: Got 423 Interval too brief for service XX@t-online.de@tel.t-online.de, minimum is 240 seconds
16:12.55gauner1986[Aug 13 16:05:20] WARNING[2015] chan_sip.c: Got 404 Not found on SIP register to serviceXX@t-online.de@tel.t-online.de, giving up
16:13.00gauner1986this is what i'm getting
16:13.39p3nguinCheck the sample file for correct syntax.
16:14.19gauner1986thanks.. i'll look again
16:15.43*** join/#asterisk jetlag (jetlag@pool-71-188-2-156.cmdnnj.east.verizon.net)
16:18.11*** part/#asterisk mjordan (~mjordan@user-69-1-6-49.knology.net)
16:18.46*** join/#asterisk slidesinger (~slidesing@c-68-44-99-163.hsd1.nj.comcast.net)
16:35.30*** join/#asterisk jwiggins (~James@gateway/tor-sasl/jwiggins)
16:38.15*** join/#asterisk catphish_ (~charlie@2001:9d8:2005:2::3)
16:47.52catphish_realtime mysql seems to make an insane number of identical queries
16:50.17*** join/#asterisk tzafrir_laptop (~tzafrir@bzq-218-155-170.cablep.bezeqint.net)
16:51.02trumeeanybody understand key generation with genmc for Linksys ATAs?
16:51.33trumeeThe genmc utility is here http://forum.voxilla.com/cisco-linksys-sipura-voip-support-forum/anyone-use-genmc-certificate-generator-37028.html
16:52.03trumeedo i need the same mini-certificate and private key on both the ATAs which i want secured?
16:59.20catphish_seems unlikely you should be using the same private key on 2 devices
16:59.31catphish_but i have no idea about the device you're discussing
17:02.03catphish_i'm pretty sure there's a problem with wildcard matching in the mysql live dialplan :(
17:07.31*** join/#asterisk Quintana (~sylvain@aghnar.doowan.net)
17:12.27carrarmoocow
17:13.06catphish_in soviet russia, moo say cow
17:15.01carrarHai!
17:27.48*** join/#asterisk mangala (mangala@antenora.aculei.net)
17:28.52trumeecatphish_: right
17:30.21gauner1986[Aug 13 17:27:44] NOTICE[3887] chan_sip.c: Call from '<my user name>' to extension '<the phone number i have dialed?!?!?!?!>' rejected because extension not found.
17:30.28gauner1986any idea what that could be about?
17:30.56catphish_gauner1986: seems self-explanatory to me
17:31.12gauner1986catphish_: enlight me please
17:31.18catphish_normally it also lists the context it was looking in
17:31.29catphish_it means the number you dialed doesn't exist in your native context
17:31.42catphish_simples
17:40.03gauner1986hm
17:40.12gauner1986this is an excerpt of my config
17:40.14gauner1986http://pastebin.com/2ySCe34N
17:40.27gauner1986the number exists for sure ;)
17:41.36gauner1986any obvious fault there?
17:43.43p3nguingauner1986: Your extensions.conf is all messed up.
17:43.56gauner1986p3nguin: thats only an excerpt
17:44.06p3nguinThe part you showed me is bad enough.
17:44.10gauner1986okay
17:44.16*** join/#asterisk tzafrir_laptop (~tzafrir@212.179.75.202)
17:44.23p3nguinWhere is this call coming FROM?
17:44.37p3nguinFrom SIP/gauner?
17:44.50gauner1986yeah.. the client is signed in as gauner
17:44.50catphish_gauner i assume
17:44.54catphish_since thats what he pasted
17:45.20p3nguinWhat phone number are you dialing on that phone?
17:45.51gauner198608003301000 that should go over the sip server i configured in sip.conf
17:46.04gauner1986(my provider)
17:46.15p3nguinBut you want to only send 003301000?
17:46.18catphish_yes i don't see a problem with that
17:46.22p3nguindrop the 08?
17:46.27catphish_oh yeah
17:46.32catphish_that's an odd thing to do
17:46.42catphish_shouldn't you have appended 44
17:46.51catphish_or not dropped the 08
17:47.02gauner1986why drop the 08?
17:47.07p3nguinThat's what you wrote.
17:47.13p3nguin${EXTEN:2}
17:47.14ChannelZ${EXTEN:2}
17:47.16catphish_EXTEN:2
17:47.17ChannelZJINX!
17:47.18gauner1986ah okay
17:47.18p3nguinshave off the first two chars
17:47.21catphish_lol
17:47.27gauner1986wtf.. okay
17:47.32gauner1986thats copy pasted
17:47.33gauner1986;)
17:47.33catphish_your config :)
17:47.36p3nguinIf you don't want to do that, remove the :2
17:47.41gauner1986i see
17:47.57p3nguinAlso, remove the r option unless you need it.
17:48.10catphish_and the 45 for that matter
17:48.14catphish_for outgoing calls
17:48.28p3nguinexten => _0X.,1,Dial(SIP/t-online-out/${EXTEN})
17:48.37gauner1986okay
17:48.44catphish_the X seems a little pointless too
17:48.54p3nguincatphish_: Good idea.  Let the receiving side determine how long it'll ring.
17:49.32p3nguinYeah, I don't know what that pattern is all about... but I also don't live in a country with goofy numbering plans.
17:49.43catphish_exten => _0.,1,Dial(SIP/t-online-out/${EXTEN})
17:49.48catphish_that's all you need
17:49.55ChannelZAnd we don't spell telecommunications with a 'k'
17:49.55catphish_just to pass through numbers that begin with 0
17:50.04gauner1986yeah
17:50.13gauner1986ChannelZ: i'm sorry ;)
17:50.40p3nguinI think we spell it that way in Germany.
17:51.23p3nguinOh, well, you seem to be in Germany, so that does make more sense now.  :/
17:51.58gauner1986-- SIP/t-online-out-005c6f20 is circuit-busy
17:52.00gauner1986wtf
17:52.04gauner1986circuit-busy?
17:52.16catphish_means the number you're calling is busy
17:52.18catphish_in theory
17:52.19ChannelZIt either likes your number less or it's busy.
17:52.24p3nguinThey might not be accepting the number you're sending.
17:52.38catphish_are you sure you're sending the right number format?
17:52.58catphish_some providers require international standard numbers not local ones
17:53.05ChannelZPerhaps you require an umlat
17:53.24gauner1986[Aug 13 17:51:27] NOTICE[4054] chan_sip.c: Failed to authenticate on INVITE to '"02XXX" <sip:02XXXX@tel.t-online.de>;tag=as102a6d12'
17:53.34gauner1986that seems to be the real problem
17:53.39catphish_yes that'll do it
17:54.05ChannelZYou commented out your secret in sip.conf, any reason?
17:54.05catphish_your secret is commented out
17:54.09catphish_lol
17:54.36gauner1986ChannelZ: yeah - whats it needed for? i already set up a username gauner with correct secret
17:54.52catphish_you need to authenticate to the upstream provider
17:55.00p3nguind'oh!
17:55.02catphish_the password for your local phone is irrelivent
17:55.13gauner1986that secret is already in register => user:pw:authuser@tel.t-online.de/My phone number at my provider
17:55.21ChannelZThat's just for the register.
17:55.29catphish_oh yeah, i'd set it in both places anyway
17:55.30ChannelZRegistering has more or less nothing to do with actually calling
17:55.38catphish_you missed the username too
17:55.49catphish_and fromuser may be important
17:55.53catphish_they can be quite fussy
17:56.02catphish_and fromdomain
17:56.33gauner1986hm
17:56.39catphish_most providers require you to authenticate to make a call even if you're already registered
17:56.43gauner1986they require to authenticate with phone number AND username
17:56.54p3nguingauner1986: The register statement tells THEM how to reach you.  The peer entry tells your Asterisk how to authenticate a call to them.
17:57.00catphish_then put in the username and secret again
17:57.23catphish_in theory registering would be enough to allow calls from your IP
17:57.43gauner1986register => my phone number:pw:myemail@t-online.de@tel.t-online.de/my phone number
17:57.48catphish_but they rarely leave it at that in case someone else picks up your IPs
17:57.55gauner1986so where to put that myemail@t-online.de there?
17:58.19catphish_"my phone number" is the username
17:58.25catphish_pw is the secret
17:58.25gauner1986yeah
17:58.33gauner1986and that third thing?
17:58.44catphish_i have no idea what your email is doing there
17:58.58catphish_never seen 3 auth factors in a register line
17:59.07gauner1986asterisk sample logs tell that this is the auth user
17:59.27catphish_register => user[:secret[:authuser]]@host[:port][/extension]
17:59.31catphish_there you go
17:59.34gauner1986yeah
17:59.40catphish_no idea how user and authuser are different
17:59.53gauner1986i dunno.. but it doesnt work without it
17:59.54gauner1986;)
17:59.54catphish_nor do i know which to put in user and which to put in fromuser
18:00.08catphish_secret will be your pw
18:00.19catphish_but username and fromuser are a mystery to me
18:00.32catphish_usually for my providers they're the same
18:00.46gauner1986okay
18:00.49gauner1986but it did the trick
18:00.49catphish_and fromdomain would be tel.t-online.de
18:00.50gauner1986:)
18:00.59catphish_you might have to try some combinations
18:01.04gauner1986yeah
18:01.06gauner1986it works already
18:01.08gauner1986:)
18:01.11catphish_id put username in username and fromuser :)
18:01.13catphish_great :)
18:01.18gauner1986thank you guys
18:01.24catphish_no problem
18:25.45*** join/#asterisk MI1 (~bt4-gsm@unaffiliated/mi11)
18:39.28*** join/#asterisk robl^ (~robl^@pdpc/supporter/active/robl)
18:39.30x1userCall from '' to extension '' rejected because extension not found in context ''. ( I've stripped the real name and number) Why is that happening?
18:40.26WIMPyOne should think that message is rather obvious.
18:42.21robl^doesn't realtime have issues with devstate / hints?   I recall reading something about that before, but I don't seem to see it now.
18:48.03MI1good evening, is there a chance someone can help me with modifying config files for asterisk to enable calls from cell phone to sip phone? i am using openbts and asteris, i can only call from sip phone to gsm for now
18:52.06MI1this is what i have so far - http://pastie.org/private/9fpldeywetnnng322zqa
18:57.30*** join/#asterisk timahvo1 (~rogue@41.212.123.197)
18:57.35x1userWIMPy: I got SIP user defined in sip.conf and exten=> mysipuser,1,Dial(SIP/mysipuser, 10) ?
18:57.49x1usershould it me something like these?
18:58.20ChannelZ'mysipuser' as an exten isnt necessarily what you want
18:59.17ChannelZProbably why it's saying 'extension not found'.  What were you actually trying to dial?  (and from what? looks cyclical)
18:59.22p3nguinIt'll be hard to dial a name.
18:59.43p3nguinAnd that space after the comma before the 10 will surely break Dial().
19:00.14x1userit is not a name it is real number
19:00.27p3nguinThen call it what it is instead of "mysipuser"
19:00.31x1useri've dialed it from another asterisk, trying to set up another now
19:00.32ChannelZbut you have exten => mysipuser
19:00.49p3nguinThat creates an extension mysipuser.
19:00.58p3nguinIf you want a number, write a number.
19:00.59ChannelZwhich again isn't necessarily wrong but isn't necessarily right either
19:01.20p3nguinIt'll work if you can dial it from the phone, but that rarely is the case.
19:01.22p3nguinI know I can't do it.
19:02.37p3nguinAnyone here have an iPod Touch second or third gen they'd like to sell so they can get a newer model?
19:05.43ChannelZnever!
19:06.50WIMPyMI1: And what happens if you dial from your mobile?
19:07.41MI1WIMPy, i got something that is not allowed to dial this
19:08.02WIMPyWho says so?
19:08.40MI1same error like you dont put extensions for imsi, something is missing there
19:08.57MI1not sure what
19:09.20WIMPyWhat does the console say? Do you have the right context?
19:10.36MI1console say nothing, cell phone will not dial, all i got is in that pastie, it works but only one way
19:11.18WIMPyThat was only config, no errors or logs.
19:12.53MI1hmm, you are right, i thought i forgot something obvious what will be visible on first sight
19:13.05MI1will try to get some
19:13.38*** join/#asterisk TimeRider (steve@027bde2f.bb.sky.com)
19:19.41*** join/#asterisk brdude (~brdude@c-24-5-194-184.hsd1.ca.comcast.net)
19:28.36*** join/#asterisk Poincare (~jefffnode@2001:470:cb24:4::2)
19:28.51*** part/#asterisk Poincare (~jefffnode@2001:470:cb24:4::2)
19:31.40*** join/#asterisk KavanS (~KavanS@LINBIT/KavanS)
19:46.37jeffspeffi'm needing to get my hands on a featurespolicydefault.xml file for the cisco 7945g phones. does anybody have it or know where i can find one?
19:52.53*** join/#asterisk TimeRider (steve@027bde2f.bb.sky.com)
20:32.30*** join/#asterisk tzafrir_laptop (~tzafrir@bzq-218-155-148.cablep.bezeqint.net)
20:47.58*** join/#asterisk mta59066 (~chatzilla@217.131.220.27)
20:55.01*** join/#asterisk KavanS (~KavanS@LINBIT/KavanS)
20:56.14*** join/#asterisk WIMPy (~wimpy@e183095026.adsl.alicedsl.de)
21:16.54*** join/#asterisk brdude (~brdude@c-24-5-194-184.hsd1.ca.comcast.net)
21:17.55*** join/#asterisk TimeRider (~steve@027bde2f.bb.sky.com)
21:30.31*** part/#asterisk StaRetji (~BigAll@80.93.240.171)
21:40.01*** join/#asterisk ChannelZ (channelz@burner.com)
21:56.41*** join/#asterisk mhaddog (~mhaddog@z65-50-116-231.ips.direcpath.com)
22:20.05*** join/#asterisk jayson_r (~jayson@cpe-071-076-046-081.sc.res.rr.com)
22:32.19*** join/#asterisk sunfone (~jeff@c-67-184-36-158.hsd1.il.comcast.net)
22:55.07*** join/#asterisk jayson_r (~jayson@cpe-071-076-046-081.sc.res.rr.com)
23:30.29*** join/#asterisk SVLD (4e1efcee@gateway/web/freenode/ip.78.30.252.238)
23:34.13SVLDhi2all, is anybody can help me? How I can assign incoming call (SIP) from provider with my registration information (asterisk connected to provider by few accounts)?
23:35.39ChannelZYou make a peer in sip.conf as such that it matches the calls coming from your provider
23:35.56ChannelZUsually by IP address but it depends on what/how they send you calls
23:38.50SVLD1. provider uses my asterisk as gateway and send INVITEs like SIP/accountname_from_few/number
23:39.21SVLDall accounts registers at same IP
23:41.01*** join/#asterisk bbryant (~brett@c-174-56-132-225.hsd1.sc.comcast.net)
23:41.15SVLDI cant route incoming calls bi DID (DID in my case - number for I have to dial), and I cant route by peer (IP) - because all accounts on one IP
23:41.25ChannelZwell I can tell you that type=user matches by the From: header of the invite and type=peer matches by IP
23:42.12ChannelZWhy can't you route by DID
23:42.44SVLDI know, but in header From: provider sends some internally stuff, not match with my register information
23:42.58ChannelZyou can try fromuser=xxx
23:43.50ChannelZI forget if that only applies to outgoing or not.
23:43.53SVLDI cant force provider to change his dialplan :(
23:44.49ChannelZCan you pastebin a sip debug of one of their invites?
23:45.03SVLDI wanna know, can I assign incoming call with register account elsewhere
23:45.55ChannelZI dont really know what you're asking.  You're telling me your provider doesn't tell you what DID the call came in on?
23:46.21ChannelZThey only send some username and then you are left to guess?
23:46.38sunfoneI can't believe that...
23:46.52sunfonepretty crappy provider :)
23:50.02ChannelZthat's why I'd like to see one of the sips
23:50.48SVLDprovider tell me: "dial XXX number through YYY gate"
23:51.17SVLDFrom: "some stuff", To: XXX
23:52.26SVLDhttp://pastebin.com/a4nDtA7E
23:53.23SVLDI have to guess which gate to use for dial this number
23:55.10ChannelZSo "929" comes from them and is just made up or what?
23:57.01ChannelZI mean, there is no other information in the invite that seems unique - I assume 786874236776 is the number of the phone you made the test call from
23:58.46*** join/#asterisk fskrotzki_ (~fskrotzki@cpe-67-253-245-174.rochester.res.rr.com)
23:59.46SVLD786874236776 - is internal number of provider, it changed every call
23:59.48*** join/#asterisk mhaddog (~mhaddog@z65-50-116-231.ips.direcpath.com)

Generated by irclog2html.pl Modified by Tim Riker to work with infobot.