IRC log for #asterisk on 20091213

00:00.10jblackThe eternal question. I think console administration is superior.
00:00.12bcrispwell its an easier install
00:00.35bcrispi think the idea is to not allow the OS / settings be an issue so they package it all together
00:00.43etfonhomeyI'm not sure what the target audience for AsteriskNOW is.
00:00.49Davedanbcrisp: on ubuntu it's 'apt-get install asterisk' that's it
00:01.17bcrispDavedan: i mean... asterisknow has a package containing the OS, gui, and asterisk all in one
00:01.19bcrispfor quick startup
00:01.21Davedanetfonhomey: probably people that don't want asterisk to work :)
00:01.40bcrispi, for one, am a new linux user
00:01.40etfonhomeyDavedan, LOL!  I believe it's supposed to make it easier!
00:01.53etfonhomeyDavedan, did you turn off iptables?
00:02.12DavedanI didn't trun iptables off. just did a restart
00:02.31DavedanI'm a windows users for many years and that's the only thing I learned from it
00:03.36*** join/#asterisk tzafrir_laptop (n=tzafrir@bzq-218-155-146.cablep.bezeqint.net)
00:04.30Davedanis it possible to set a voip echo test in the web admin?
00:05.24etfonhomeyIf you can edit the extensions.conf directly from the GUI, then yes. :)
00:05.57Davedanok. this gui is useless
00:06.05etfonhomeyI have no clue how the GUI works.  GUI's scare me.  When one click can change multiple lines in multiple config files, I don't like that loss of control.
00:06.30Davedanis there a way to create a dummy call to a device (not using the gui)
00:08.01etfonhomeyFire up X-Lite on another machine and configure a second line.
00:08.02bcrispdavedan just set up another device
00:08.14bcrispcall yourself on xlite :)
00:09.26DavedanIt's embrassing to call myself
00:09.46DavedanI hope nobody is looking
00:10.19etfonhomeyIf FWD was still free, you could have setup their test number on there.
00:10.49bcrispDavedan.. u might try zoiper .. i like it better than x-lite
00:10.58jblackipkall is still free
00:11.25Kobazi like twinkle even better
00:11.28Kobazbut it doesnt do iax
00:11.45*** join/#asterisk Badrobot- (n=badrobot@cpe-76-173-229-89.socal.res.rr.com)
00:11.57Davedanis Trixbox the same as asterisknow?
00:12.14Kobazwhat do you think?
00:12.21bcrispdavedan.. what are you looking for ?
00:12.23jblackIf asterisknow is codeine, trixbox is cocaine.
00:12.23Kobazis pepsi the same thing as coke
00:12.29bcrispi mean what are your administrative needs?
00:12.38bcrispKobaz, i prefer kiet doke
00:12.44Kobazheh
00:12.47Kobazi don't drink soda at all
00:12.54bcrispi like espresso
00:12.55Kobazhaven't in 8+ years
00:12.57bcrispwith a drop of cream
00:13.05Kobazsoda is really bad for you
00:13.11ChannelZso is breathing
00:13.22bcrispevery breath you take you are oxidizing away
00:13.33Kobazthere's been several research studies recently
00:13.42Kobazit's conclusive, and unanamous
00:13.48bcrisplots of sugar and lots of caffeine .. its kind of a no-brainer
00:13.48Kobazlife is the leading cause of death
00:13.52etfonhomeyDavedan, run away from Trixbox!
00:14.05ChannelZLife is a sexually transmitted disease with a 100% mortality rate
00:14.06bcrispnews alert: Scientists shown to cause cancer in laboratory rats
00:14.13Davedanbcrisp: I need to experience with a java/c++ clien. I just want the simples thing
00:14.20Davedanok. I'll stick with CLI and conf files
00:14.42bcrispdavedan, you could communicate with * via the management interface
00:14.42*** join/#asterisk rdahlin_1 (n=rdahlin_@78-73-17-198-no168.tbcn.telia.com)
00:15.21Davedanbcrisp: by management interface you mean the command line?
00:15.33ChannelZno much worse
00:15.48DavedanChannelZ:?
00:15.50bcrispthe AMI
00:16.06Davedanbcrisp: what's the difference between AMI and CLI?
00:16.07bcrispsocket based communication with the asterisk server .. u can trigger actions, read events etc
00:16.30bcrispi.e. you could write a C# client to remotely administer or monitor the server
00:16.41bcrispor java yatta yatta
00:16.56ChannelZor you could poke a sharp stick in your eye
00:16.59Davedanthis is behind my needs.
00:17.00bcrispindeed
00:17.26bcrispfor instance, i wrote a simple app to gather information about call queues for realtime stats
00:18.32*** join/#asterisk tzafrir__laptop (n=tzafrir@bzq-218-155-146.cablep.bezeqint.net)
00:19.57bcrispDavedan: did you read this?
00:19.59bcrisp~book
00:20.00infobot[~book] Asterisk: The Future of Telephony 2nd Edition (ISBN 0-596-51048-9) --- Order yours at http://www.oreilly.com/catalog/9780596510480/ --- Free downloadable PDF at http://www.asteriskdocs.org --- HTML at http://astbook.asteriskdocs.org or see ~buybook
00:20.49Davedanbcrisp: I've read half of it and made good progress. then I thought that the web gui might save me from learning all of asterisk but I guess I was wrong
00:20.55DavedanI'll go back and read this book again
00:21.07bcrispit talks about the mgmt interface there also
00:21.24Davedanmgmt?
00:22.25bcrispmanagement
00:22.35bcrispasterisk management interface (AMI)
00:23.30Davedank
00:23.47DavedanI think I'll use the CLI and not the AMI. I don't have time to write a GUI myself
00:23.49bcrispdavedan what is your endgoal?
00:24.06bcrisphmm
00:24.08Kattyhi
00:24.17bcrispCLI isnt comparable to AMI
00:24.37bcrispCLI = command line interface
00:24.50bcrisphi katty, neck better?
00:25.00Kattyyes, thank you (=
00:25.03Davedanbcrisp: my end goal is to setup asterisk for development of a sip client
00:25.18bcrispdavedan.. oh ok, ya then you dont really nead a gui i would imagine
00:25.25bcrispjust need to learn the sip protocol :)
00:25.46Davedanactually I need to write a gui for the client
00:25.55Davedanthe sip code is already written
00:26.02bcrispwell ya.. i meant * gui ... (like monitoring call centers yatta yatta)
00:26.20Davedanyes
00:26.40bcrispi wouldnt mind writing a softphone
00:27.26Davedannobody is stopping you :)
00:28.17etfonhomeybcrisp, just do a sip debug in the CLI and stare at it all day. :)
00:30.51bcrispnah time consuming :)
00:30.56Davedanwhat is sip debug?
00:31.19bcrispi had to write code to manually encode tcp/ip packets that was so fuun
00:31.42voipmonkits a command you enter at the asterisk command line interface to show you information about sip conversations occuring on your system in realtime
00:31.45bcrispdavedan: it tells * to output debug messages from the sip module
00:31.46etfonhomeyDavedan, do a sip set debug at the CLI.
00:32.07bcrispi.e. CLI:  sip set debug on
00:32.08etfonhomeyYou see all the messages going back and forth between * and the sip peers.
00:32.52Davedancool
00:33.12Davedanis it better then wireshark for debuging sip?
00:33.12bcrispdavedan, you can also go into logger.conf
00:33.21bcrispand change what shows up on console
00:34.09bcrispu can also start asterisk with debug / verbose options:  asterisk -rvvvd
00:34.46bcrispim such a newb
00:35.49bcrisp~roulette
00:35.50infobotACTION watches bcrisp pull the trigger:  Click!
00:36.32voipmonkyou're not doing that bad, bcrisp
00:36.55voipmonkI've seen much worse
00:36.58bcrispstill can't resolve the queue priority issue
00:37.17bcrispit just sits and retries all day on a member that doesnt answer
00:37.22bcrispid like it to then pass on to the next priority
00:37.51bcrispmember => SIP/userwhowontanswer,1
00:38.04bcrispmember => Local/blablabla@context/n,2
00:38.49ChannelZisn't that what leavewhenempty is for?  delete the agent from the queue if they don't answer their phone
00:39.28bcrisphmm, well i dont want to remove them if they fail to answer once.. id just like it to try another queue member
00:39.40bcrisp(they are the same person) first entry is their desk, 2nd is their cell
00:39.53ChannelZround-robbin
00:40.05bcrispok
00:40.08bcrispill try that
00:41.30bcrispimm i dont see that as an option in 1.6.1.11
00:41.33bcrispqueues.conf.sample
00:42.34ChannelZhmm looks like they changed it - it's called 'linear' now it looks like
00:42.51ChannelZ(sort of anyway)
00:43.32bcrispi guess that will work but its not really what i want
00:43.44bcrispif i have 5 members in priority 1 i want it to ring all of them
00:43.49bcrispif nobody answers, move to priority 2
00:43.52bcrispbut it doesnt do that
00:44.21bcrispit will only ring priority 2 if they physically reject the call in priority 1 or disconnect
00:49.47*** join/#asterisk mpe (n=mpe@0x4dd624b2.adsl.cybercity.dk)
00:53.32*** join/#asterisk Eataix (n=Eataix@124-168-216-217.dyn.iinet.net.au)
00:53.47*** part/#asterisk Eataix (n=Eataix@124-168-216-217.dyn.iinet.net.au)
00:55.28bcrispbecause im good enough, im smart enough, and gosh darn it, people like me
00:57.14dlynesbcrisp: now just wait a cotton pickin' minute...
00:57.25dlynesbcrisp: where's your sources?
00:57.50bcrisphaha
00:57.57bcrisphiya
00:58.03dlyneshey :)
00:58.35dlynesbcrisp: so are you an expert in queues yet?
00:58.40bcrispgetting there
00:58.47bcrispstill have issues hehe
00:59.00dlynesyeah...same here
00:59.11dlynesbut i really haven't spent much time on solving my issues, either
01:00.09bcrispi have Local/ instances set up in higher penalty
01:00.22bcrispbut if a user is available in priority 1 it keeps retrying them
01:00.27bcrisprather than moving on to the next priority
01:00.40dlynesbcrisp: well, of course
01:00.45dlynesbcrisp: they're available
01:00.54dlynesbcrisp: so they should answer the damned phone!
01:01.13dlynesbcrisp: asterisk can't fire your employees
01:01.35dlynesbcrisp: it can only treat your staff the way you tell it to treat them
01:01.38bcrispwell i want the priority to have one chance to answer
01:01.47bcrispotherwise members of the 2nd priority have the opportunity
01:02.45dlynesbcrisp: are you using the 'timeout=' option?
01:02.53dlynesbcrisp: and the 'retry=' option?
01:03.03bcrispretry = sets the time before retry
01:03.08bcrispcorrect?
01:03.10dlynesbcrisp: i know
01:03.14bcrispyes timeout = 10, retry = 5
01:03.19dlyneshrm
01:03.32dlynesand it's still acting that way?  i.e. never trying the second member of the queue?
01:03.45bcrispno, it will try all available members repeatedly
01:03.48bcrisprather than shifting priority
01:04.00bcrispUNLESS the call is physically rejected from the available member in priority 1
01:04.02*** part/#asterisk Davedan (n=me@CBL217-132-75-171.bb.netvision.net.il)
01:04.04dlynesbcrisp: you mean putting the idiots that don't answer into a different priority?
01:04.29bcrispwell really its 3 people in priority 1 - desk soft phones
01:04.35bcrispif they are on the road they arent at their desk
01:04.40bcrispand id like it to then try cell phones
01:04.43bcrisp(priority 2)
01:05.04bcrispand they absolutely will forget to logout of their softphones :)
01:05.20dlynesbcrisp: why not implement the queue member as a local channel, then?
01:05.21ChannelZWhy let the phones at their desk ring a bunch if they are on the road?  Remove them from the queue
01:05.23bcrispso ideally, anyone at their desk should be the first responder
01:06.03bcrispcan i pastebin it for clarity?
01:06.05dlynesbcrisp: then you have full flexibility on how to handle it
01:06.15dlynesbcrisp: go ahead, if you think it'll help
01:06.28dlynesbcrisp: keep in mind, you're probably more advanced on queues than I am
01:06.36dlynesbcrisp: considering you've spent more time on it than i have
01:06.54dlynesbcrisp: I've been using asterisk for about 4 or 5 years now, but just started looking at queues
01:07.58bcrisphttp://pastebin.ca/1712724
01:08.45bcrispfirst 2 entries are the desk softphones
01:09.15bcrispthey should have first chance to answer, if neither answers, id like it to move to priority 2
01:12.09ChannelZWhy don't you use the 'cascading queues' setup
01:12.47ChannelZPut all the desk phones in one queue, and the mobiles in another.  Send callers to the first with a timeout on the queue.. then send them to the second
01:14.16bcrispdidnt know i could do that
01:14.58ChannelZwell that might not actually do what you want... because the timeout is based on the age of the call
01:15.11bcrispya.. i dont mind leaving them in the queue if the queue members are busy
01:15.19bcrispbut if they are not answering i need it to move along
01:15.36bcrispi.e. ben and john are busy taking queue calls in priority 1
01:15.44bcrispi dont want their cell # to start ringing too hehe
01:15.48dlynesbcrisp: also, do you want to try the queue members one by one?
01:15.59ChannelZwell it really seems like your agents should be logging in and out from where they are available instead of spending all this time trying to call people who aren't answering
01:16.04bcrispdlynes: not really, i could use linear strategy right?
01:16.05dlynesbcrisp: or do you want to try both desk phones first, and then try both cell phones?
01:16.21bcrispdlynes, only if they arent answering
01:16.32bcrispif all agents are busy i dont want to call the cell #s
01:16.39bcrispi guess logging them out is the best choice
01:16.54dlynesbcrisp: ah....so you do have call-limit=1 on both sip peers?
01:17.02bcrispyep
01:17.23dlynesbcrisp: and do you have limitonpeer=yes in your sip general section?
01:17.24Kattymmmmmmmmmmmmmm
01:17.28Kattysugar cookie candle
01:17.30Kattyomnomnomnomnom
01:17.38bcrisplimitonpeer let me see
01:17.41dlynesbcrisp: and are you using sip type=friend?
01:18.17dlynesbcrisp: unless your answer to all of those is yes, it won't know if all your sip phones are busy, or not
01:18.55drmessanobcrisp: I fail to see what this has to do with Windows
01:19.54bcrisphuh?
01:20.12dlynesdrmessano: he never mentioned windows
01:20.13bcrispdlynes: sip type=friend yes
01:20.29bcrispdont see limitonpeer setting
01:20.44dlynesbcrisp: you'll want to set it, then
01:20.58dlynesbcrisp: otherwise call-limit=1 won't do anything
01:21.43bcrispits not in the sip.conf.sample for 1.6.1.11
01:22.11bcrispmaybe deprecated?
01:22.22bcrispthe call-limit=1 does work
01:22.55bcrispfor an interface name
01:22.58bcrispsip/blabla
01:23.14bcrispbut it has no idea that sip/blabla and local/blabla is gonna ring the same person :/
01:23.39bcrispfk it , ill just tell them to logout of their softphones
01:23.47bcrispor configure agent callback
01:24.51dlynesbcrisp: maybe that issue's fixed in the 1.6.1 series then
01:24.57dlynesbcrisp: i remember it was still an issue in 1.4
01:25.08dlynesbcrisp: and 1.2, for that matter
01:25.15dlynesbcrisp: especially if you were wanting to do blf
01:25.26bcrispdlynes: ya i guess the queue behavior that im looking for is weird
01:25.58*** join/#asterisk fakhir (n=fakhir@unaffiliated/fakhir)
01:26.41bcrispthe other problem is that if the queue members are busy i dont want it to call the damn cell phones haha
01:27.24bcrispi guess the answer that makes the most sense is login from the device ur currently using
01:27.35ChannelZso make a 'hotkey' extension they can call when they are at their desk or leaving their desk and CHANGE THE AGENTS IN THE QUEUE ACCORDINGLY!
01:27.59bcrispyeah
01:28.06ChannelZYou're trying to make this as complex as possible just so a couple of people can be as lazy as possible
01:29.18ChannelZshit, just have them forward their extension to their cell phone when they want to leave
01:30.08dlynesbcrisp: like i said...implement it all as local channels, so that you can perform the complex behavior inside the local channels
01:30.39dlynesbcrisp: i.e. one local channel for both sip devices, and another local channel for the cell phones
01:31.42dlynesbcrisp: erm actually
01:31.46dlynesbcrisp: that won't work, either
01:31.48dlynesbcrisp: also
01:31.58dlynesbcrisp: what kind of queue strategy are you using?
01:32.42dlynesbcrisp: is it ring all, or round robin, or round robin with a memory?
01:35.07bcrispring all
01:35.55*** part/#asterisk etfonhomey (n=etfonhom@74-131-159-160.dhcp.insightbb.com)
01:36.04bcrispChannelZ: the happier they are, the more $$ i make
01:36.12bcrisp:D
01:36.43bcrispi like the idea of a hotkey
01:37.10dlynesbcrisp: how about no hotkey, and just letting them have their way?
01:37.28bcrispya dlynes :)
01:39.07bcrispi originally thought i could use the membermacro
01:39.13bcrispbut that only fires once it is connected
01:39.41dlynesbcrisp: In a local channel, try:  exten => s,1,Dial(SIP/blahblah&SIP/blahblah2,${timeout}) ; exten => s,n,Goto(s-${DIALSTATUS},1) ; blahblahblah ; exten => s-BUSY,1,Dial(Dahdi/1/cellphone1&Dahdi/1/cellphone2) ; .... ...
01:40.11dlynesbcrisp: erm actually....s-NOANSWER, not s-BUSY
01:40.22bcrispahhh i see
01:40.31dlynesbcrisp: in s-BUSY, you'd do exten => s-BUSY,1,Busy
01:40.32bcrispso a queue member points to a local channel with an s extension
01:40.50dlynesbcrisp: No...to whatever you decide to point to in that local channel
01:41.00bcrispi guess channels kind of confuse me
01:41.05dlynesbcrisp: I just chose 's' for lack of a better value to put there
01:41.27dlynesbcrisp: asterisk is pretty much limited to your imagination
01:41.39bcrispya.. just understanding the pieces is a little tricky at first
01:41.42bcrispi could use something like
01:41.43dlynesbcrisp: your users can have everything as simple as they want
01:41.57dlynesbcrisp: but generally the more simple they want it, sometimes it makes your life more complicated
01:42.08dlynesbcrisp: but that doesn't mean it can't be done
01:42.14dlynesbcrisp: you just have to think creatively
01:42.15bcrispcould you give me an example of the local channel thing?
01:42.36dlynesbcrisp: [mynewdialplancontext] exten => s,1,Noop(This is where I start)
01:42.52dlynesbcrisp: Local/s@mynewdialplancontext
01:42.57bcrispoooooh
01:43.07bcrispnice
01:43.19dlynesbcrisp: I think that's how it goes, anyways
01:43.19bcrispthat way i dont need priorities in the queue at all
01:43.33dlynesbcrisp: It's been a while since I've had to do any Local channel code
01:43.56bcrispi like that
01:44.11dlynesbcrisp: yeah...that's how you do it
01:44.13dlynesbcrisp: http://www.voip-info.org/wiki/view/Asterisk+Local+channels
01:45.14bcrispthat is beautiful
01:45.37dlynesbcrisp: asterisk is like the swiss army knife of phone systems and not to mention automation
01:45.53dlynesbcrisp: you can even use it to completely automate your home security system, if you wanted to
01:45.56bcrispya im trying to learn bit by bit and studying all the conf file samples
01:46.26dlynesbcrisp: some of it you can only learn by playing
01:46.31bcrispya
01:46.34heliosjAsterisk's limitation tends to be the imagiantion of the person using it.
01:46.44bcrispare you saying im not imaginitive?
01:46.48dlynesyou just need to be able to bust yourself out of the box
01:46.50heliosjNo?
01:47.17dlynesi.e. think outside the box
01:47.20bcrisplol
01:47.25dlynesAsterisk isn't a phone system
01:47.27dlynesIt's a scripting platform
01:47.42heliosjToolkit.
01:47.46bcrispi understand.. its just a matter of understanding the bits, then arranging them in new ways
01:47.47bcrispi get that
01:47.50bcrisp(im learning the bits)
01:48.07bcrispoff to play with local channels thx for the info guys
01:48.23dlynesbcrisp: I'm currently working on extending the ami library someone else wrote for php, too
01:48.36bcrispdlynes: im doing the same for c#
01:48.48dlynesbcrisp: i found it quite limiting for what I wanted to do, so I fixed the bugs, and now I'm adding more functionality to it
01:49.05dlynesbcrisp: when I'm finished it, I'll probably post it to my website
01:49.27bcrispim writing an AMI events parser as a sep component
01:49.37bcrispbecause of the weird way that some responses are sent as events etc from AMI
01:52.32dlynesbcrisp: yeah...that's just as a separate function in the php class
01:52.42dlynesbcrisp: I'm adding in additional functions for the other ami events and queries
01:52.51*** join/#asterisk Badrobot- (n=badrobot@cpe-76-173-229-89.socal.res.rr.com)
01:53.03dlynesbcrisp: the original author pretty much only had logon, logoff, get key, and put key
01:53.08dlynesbcrisp: and nothing else
01:53.11bcrispyikes
01:53.36bcrispQueues() is a fun one:)
01:53.43bcrispoutput is garbage
01:55.06*** join/#asterisk etfonhomey (n=etfonhom@74-143-192-74.static.insightbb.com)
01:59.31dlynesbcrisp: how so?
02:01.01bcrispi mena the Action: Queues
02:01.03bcrispmean
02:01.14Kattyhi
02:01.29dlynesbcrisp: what kind of output does it spit out?
02:01.40dlynesKatty: Hey katty...how's squirreldom?
02:01.40bcrisphuman readable
02:01.50dlynesbcrisp: thought you said it was garbage?
02:02.02bcrispi mean .. its not easy to parse
02:02.09Kattyi'm sure they're all asleep, dlynes
02:02.09dlynesbcrisp: why not?
02:02.38dlynesbcrisp: anything's parsable
02:03.07Kattyyawns
02:03.19dlynesbcrisp: I've even written a parsing engine for the electronic filings on Edgar, and those you could describe as being unparsable, I suppose
02:03.21bcrispdlynes: its not a huge deal
02:03.34bcrispdlynes: just not what i would expect
02:03.35Kattyyou know what IS a huge deal
02:03.51dlynesKatty: christmas?
02:03.56Kattyno
02:03.59dlynesoh
02:03.59Kattythat's not a big deal
02:04.05dlynesIt's a huge deal
02:04.13Kattythat's just an excuse for commercial places to make money
02:04.15dlynesIt's the most important birthday of the year
02:05.17Kattyif only it was warmer
02:05.36dlynesIf it's warm enough for squirrels, it's warm enough for humans
02:05.48dlynesthey've got less fat to keep them warm
02:06.45Kattyit's not nearly warm enough for me
02:06.54Katty60F would start feeling nice
02:07.06Katty75F would be ideal
02:07.25bcrispuh oh
02:07.36bcrispRegistration for '17772899142@callcentric.com' timed out, trying again....
02:07.53Kattyif you can /feel/ the temperature around you, it's not the right temperature
02:08.29dlynesKatty: 75F, you could feel the burning around you...is that what you mean?
02:08.34bcrispit was in the 100s in october here
02:08.40Katty75F is just perfect
02:08.51dlynesbcrisp: ewww
02:08.59dlynesbcrisp: that would suck
02:09.14dlynesbcrisp: any temperature that's so hot you need aircon is too hot for me
02:09.15bcrispi remember driving in rush hour traffic when it was 118
02:10.27dlynesYeah...well...you're in the Philippines...way too hot for this guy
02:10.56dlynesit'd be like northern australia...pretty damned hot there, too
02:11.11bcrispin in phoenix
02:11.57bcrispwhere'd u get the philippines from?
02:13.00voipmonklol
02:13.33Kattyi figured voipmonk would show up after that comment
02:13.44voipmonkgoes back to his rock
02:13.47Katty:<
02:14.02Kattydeposits hot cocoa near rock
02:14.09Katty:>
02:14.24dlynesbcrisp: ph.ph.cox.net?
02:14.28Katty:<
02:14.29voipmonkmmmm... ( i actually mix it with espresso )
02:14.35Katty:>>>
02:14.44Kattybrb
02:16.08Kattyreturns
02:16.34bcrispdlynes im getting register timeouts with my outgoing sip provider
02:16.51bcrispthe local channel thing appears to be working until it dials out
02:17.00bcrispthen it immediately comes back with failed to answer in 10 sec
02:17.02bcrisp(timeout)
02:17.54Kattythe universe is involved in some conpsiracy against us
02:18.04Kattywinter is all a big Joke
02:24.04bcrispdlynes: here is what i get from CLI   http://www.pastebin.ca/1712780
02:25.42bcrispdlynes: here is the context i set up, with member => Local/353@queueforwarding/n : http://www.pastebin.ca/1712782
02:26.48*** join/#asterisk fakhir (n=fakhir@unaffiliated/fakhir)
02:37.12b14ckHey, in sip.conf, in regards to hash table sizes. The documentation says: "for maximum efficiency, adjust the following valuesw to be slightly larger than the maximum number of in-memory objects (devices)".
02:37.19jblackdlynes: that dcc is based on your concept
02:37.28b14ckWhat if the asterisk install has no endpoints, and only has incoming calls going to an IVR or something?
02:37.40b14ckWould you reduce those hash variables to 1?
02:37.45jblackb14ck: Sounds like a typical customer service setup to me. :)
02:37.59b14ckwhat?
02:38.00b14ck=p
02:40.53b14ckhttp://pastie.org/740965 <-- snippet from sip.conf
02:41.27b14ckbasically, my PBX setup has no endpoints, all calls that come in or go out are going straight through a SIP trunk. should these settings be set down lower to 1?
02:44.18eppigyKatty: hi
02:51.05drfreezeAnyone know how * chooses which moh to play?
02:51.19drfreezeIs it a random based on the machine?
02:51.57ChannelZthere are a couple of schemas for that in musiconhold.conf
02:52.16*** join/#asterisk simplydrew (n=simplydr@ool-44c2ab91.dyn.optonline.net)
02:53.09ChannelZthe files are played 'in normal sorting order' of the directory, and then there is a 'random' setting
02:53.19*** part/#asterisk etfonhomey (n=etfonhom@74-143-192-74.static.insightbb.com)
02:54.17ChannelZ1.6 actually has a 'sort' option
02:56.57Kattyeppigy: hello sir
03:01.15Kattyeppigy: i got a lovely candle at lowes earlier. it's called sweet icing sugar cookies
03:05.34x86can someone send me a test fax to 425-998-1930?
03:06.03eppigyKatty: sounds nice :>
03:09.23drfreezeI have installed the same version of * on 3 different servers, and all default to a different song
03:09.55drfreezeOk, We are having Polycom provisioning problems in a remote office connected by a T1
03:10.13drfreezeThe same type of phones in the same office as the asterisk server provisioned just fine
03:10.30drfreezeThe other office phones (all but one) give the error Error: file does not contain a compatible image
03:12.27*** join/#asterisk gbr_ (n=gbr_@189.90.51.240)
03:13.55voipmonkback
03:14.07voipmonkwith munchings and crunchings
03:18.40*** join/#asterisk mchou (n=quassel@unaffiliated/mchou)
03:20.21Kattyriddick just attacked sammy
03:20.38drfreezeOk, looks like I need to back off one release
03:21.15drfreezeAnyone have suggestions on how to load different sip.ld files for different phoen models?
03:21.40*** join/#asterisk coppice (n=chatzill@50.131.92.116.dyn.pacific.net.hk)
03:22.45Kattyi think sammy is okay, mostly in shock
03:23.18Kattybut he's not moving much
03:23.22Kattywon't eat a treat
03:25.49x86drfreeze: put the version you want for XXX phones, reboot all XXX phones, after they flash and boot up proper, rm sip.ld... repeat process for every YYY ZZZ etc etc phone type you have
03:25.58x86PITA, but that's how it goes
03:26.10x86then new XXX or YYY phones you will have to manually flash
03:30.35*** join/#asterisk ticoit (n=ticoit@201.191.190.250)
03:30.58drfreeze:(
03:31.14dlynesjblack: pardon?
03:31.59drfreezeIt looks like the 0000000000.cfg file tells each phone which file it should load
03:32.33*** part/#asterisk gbr (n=gbr_@189.90.51.240)
03:33.20dlynesjblack: that svg (which got cancelled) is based on what concept?
03:34.34dlyneshrm...I guess he's awol, now
03:34.49dlynesbcrisp: you're making my head hurt
03:35.08dlynesbcrisp: too spammy :(
03:36.15bcrispwhahaha
03:37.16bcrispdlynes: spammy?
03:38.41dlynesbcrisp: extremely (first pastebin)
03:39.09bcrispdlynes: ah sorry
03:40.10bcrispthe notable part was the: -- Registration for '17772899142@callcentric.com' timed out, trying again (Attempt #1)
03:40.26bcrispthat happens as soon as the dialplan tries to call out
03:40.38dlynesbcrisp: That's not notable
03:40.42dlynesbcrisp: that's just coincidence
03:40.56bcrispit happens every time
03:40.58dlynesbcrisp: it was completely unrelated
03:41.03dlynesbcrisp: different thread
03:41.20bcrispok
03:41.27dlynesbcrisp: that's a registration
03:41.50bcrispit spits that message out only when this queue event occurs
03:42.05dlynesbcrisp: from one of your 'register => blahblah:blahblah@blahblah:5060' lines in your sip.conf file
03:42.15dlynesbcrisp: it's just purely coincidental
03:42.55dlynesbcrisp: you're probably spacing your calls out to that number at the same frequency as the registration timeouts
03:43.39p3nguinCallCentric registration annoys me.  It always interjects during debug.
03:43.41bcrispnotice how it immediately says nobody answers?
03:43.43dlynesbcrisp: if you don't do any queues at all, and make no calls
03:43.51dlynesbcrisp: it didn't
03:43.59bcrispya it does tho..
03:44.01dlynesbcrisp: it said nobody answered after 10s of waiting
03:44.03bcrispit may say 10 sec
03:44.07bcrispthats not the truth
03:44.10bcrispit immediately spits that out
03:44.25dlynesbcrisp: not according to what I see in your log
03:44.25bcrispas soon as the SIP/bcrisp ends
03:44.39dlynesbcrisp: are you logging this to a log with timestamps?
03:44.48*** join/#asterisk Ta^3 (n=tacvbo@189.136.32.249)
03:44.49dlynesbcrisp: if so, repastebin it, with timestamps
03:44.51bcrispi think so
03:44.56bcrispwhats the default loc for those?
03:45.03dlynesbcrisp: keep in mind, timestamps aren't enabled by default
03:45.05Kattybreathes
03:45.10Kattyi think sammy is okay
03:45.14dlynesbcrisp: /etc/asterisk/logger.conf
03:45.20bcrispk
03:45.31dlynesbcrisp: btw
03:45.32p3nguin/var/log/asterisk/*
03:46.10dlynesbcrisp: another way you can see that it's obvious the registration timeout and your call end are not related is because your call used callcentric, but your registration used callcentric.com
03:46.30bcrispok, its just weird that it always does that
03:46.37bcrispi've run it probably 15 times
03:46.38p3nguin(2143.39) <p3nguin> CallCentric registration annoys me.  It always interjects during debug.
03:46.53dlynesp3nguin: i seen that, but bcrisp obviously didn't
03:46.54bcrispk
03:47.05dlynesp3nguin: you're just telling him what I told him :)
03:47.07bcrispok, the phone never rings
03:47.27p3nguindlynes: I'm hoping that I can reinforce what you've said, and maybe he'll give up.
03:47.29dlynesbcrisp: it might never ring...that might be true, but asterisk is still saying that it's ringing it for 10s
03:47.29bcrispswigs some mylanta
03:47.44dlyneswhatever mylanta is
03:48.05dlynesmust be an american thing?
03:48.17p3nguinYou don't have Mylanta in Canadia?
03:48.23dlynesno idea what it is
03:48.34dlynesif i knew what it was, i might be able to answer that question
03:48.45bcrispits not importan
03:48.48p3nguinhttp://www.walgreens.com/store/catalog/Stomach-Remedies/Maximum-Strength-Antacid-Anti-Gas/ID=prod2658&navCount=1&navAction=push-product?V=G&ec=frgl_630105&ci_src=14110944&ci_sku=sku302658
03:48.57dlynesoh...that shit
03:49.05dlynesI think i've heard the name before
03:49.17dlynesdon't know if it was on an american or a canadian tv channel, though
03:49.40dlynesnah...pretty sure we don't have that stuff here
03:49.49bcrispok so if * is saying its ringing the phone for 10 secs and it never rings..
03:49.59dlynespepto bismol is pretty popular though
03:50.02p3nguinSounds like a device issue.
03:50.16dlynesbcrisp: what p3nguin said
03:50.20bcrispa device issue
03:50.35dlynesbcrisp: probably remote end is acting like it's receiving it, but just completely ignoring it
03:50.42bcrisphmm
03:50.48p3nguinI don't really know what's going on, since I just got back a little bit ago.
03:51.01dlynesbcrisp: iow, probably a callcentric issue
03:51.07bcrispi can dial in to employees context and use callcentric no problem
03:51.09dlynesbcrisp: if you're timing out registering to it
03:51.24dlynesbcrisp: i would imagine you probably can't send unauthenticated calls to it, either
03:52.01bcrispim only timing out when im in the damn queue
03:52.11p3nguin"dial in to employees context" means dial the numbers on your phone and there is an exten match in a context called [employees]?
03:52.19bcrispfk
03:52.23drfreezeUgh
03:52.30*** join/#asterisk tacubo (n=tacvbo@189.136.32.249)
03:52.36dlynesbcrisp: did you try making any outbound calls on callcentric since you started getting these registration timeouts?
03:52.48bcrispi dont get them
03:53.00dlynesbcrisp: then I must be hallucinating
03:53.05bcrisponly .. when... the queue member is called
03:53.07bcrispdoes it happen
03:53.30dlynesbcrisp: can we see your complete dialplan?
03:53.35p3nguinI'm SOOOOO glad that the only problem I have is that Transfer() doesn't work when I expect it to work.
03:53.35bcrispi have a sip device set up that defaults to "employees" context
03:53.40bcrispwithin that context there is pattern matching
03:53.42dlynesbcrisp: maybe there's a tight loop in there somewhere
03:53.45bcrispthat then sends to callcentric
03:53.50bcrispand it works every single time no issus
03:54.10dlynesbcrisp: scrub your passwords first
03:54.38bcrisphmm
03:56.23bcrispya im watching from cli .. it rings SIP/bcrisp twice, then enters the callcentric and immediately returns "nobody picked up in 10 sec"
03:57.12dlynesbcrisp: dialplan
03:57.26dlynesbcrisp: and if you want, also pastebin a log with timestamps
03:57.39dlynesbcrisp: but no point repastebinning a log that doesn't have timestamps
03:58.03dlyness/dialplan/complete dialplan/
03:58.54bcrispyou need the complete dialplan?
03:59.01bcrispk
04:00.11dlynesyes
04:00.18dlynesbut like I said....scrub your passwords first
04:00.35p3nguinPeople put passwords in their dialplans?
04:02.25bcrisphttp://pastebin.ca/1712848
04:02.37bcrispi dont think i have passwords in my dialplan
04:03.32dlynesp3nguin: yes...believe it or not
04:03.56bcrispin my prior pastebins for sip.conf i just wrote a bogus password in
04:03.57dlynesp3nguin: Dial(SIP/username:password@siphost/exten)
04:04.37bcrispdlynes: if my dialplan is a mess i apologize - learning
04:04.53p3nguinIt's terrible.  Your dialplan logic needs serious work.
04:05.07dlynesbcrisp: you realize if you have autofallthrough=yes set, that asterisk will perform default behaviour on any calls that you haven't specifically handled, right?
04:05.44dlynesbcrisp: it's probably better not to use that when you're first starting out, so that you're not getting weird behaviour that you don't understand why it's doing it
04:06.04bcrispdlynes: ok
04:06.25bcrispthe support and sales contexts aren't used btw
04:06.38*** join/#asterisk etfonhomey (n=etfonhom@74-131-159-160.dhcp.insightbb.com)
04:06.53dlynesbcrisp: now, 'callcentric' has been defined in sip.conf?
04:07.42*** join/#asterisk moy (n=moy@189.162.193.102)
04:08.05bcrispyes
04:08.31bcrispwhen a device with default context of employees dials out it works no probs
04:09.11bcrispdoes my queueforwarding context dialplan loo kwrong?
04:09.19bcrisp"loo kwrong" awesome
04:09.21p3nguinSo then you know that CallCentric isn't the problem.
04:10.19dlynesbcrisp: Change the line 'exten => 353-NOANSWER,1,Dial(SIP/14807172182@callcentric,20)' so that it's 'exten => 353-NOANSWER,1,Dial(SIP/14807172182@callcentric)'
04:10.27dlynesbcrisp: then it's the same as the employees context
04:10.32dlynesbcrisp: Let's see how that goes?
04:10.37p3nguinI'm not seeing any exten matching 353-${DIALSTATUS},1 within the queueforwarding context.
04:10.53dlynesslaps p3nguin .
04:10.55bcrisp353-NOANSWER
04:11.05bcrispdlynes i tried removing the 20
04:11.16dlynesbcrisp: and it still fails right away?
04:11.42bcrispya immediately
04:11.52dlynesbcrisp: btw...you're not handling DIALSTATUS after calling Dial(SIP/14807172182@callcentric,20)
04:12.03*** join/#asterisk eXcAliBuR (n=awww@207.134.8.34)
04:12.18dlynesbcrisp: Handle it with a Noop(DIALSTATUS=${DIALSTATUS}) so we can see what happens
04:12.26dlynesbcrisp: and then pastebin the resulting log
04:12.29bcrispafter the line?
04:12.35eXcAliBuRok, here is my stupid question for the night... can asterisk do phone chains... like for school closures?
04:12.43dlynesbcrisp: after the NOANSWER line, and before the BUSY line
04:12.52dlyneseXcAliBuR: phone chains?
04:12.56bcrispbefore i had exten => 353-NOANSWER,n,Hangup()
04:13.14eXcAliBuRyou know, dial a list of people 1 after the other
04:13.18dlynesbcrisp: yeah....leave that in there, and just before it, do the noop
04:13.24bcrispdlynes: ok
04:13.27dlyneseXcAliBuR: yes, of course it can
04:14.14bcrispdlynes, would that line look like: 353-NOANSWER,n,Noop(..... ?
04:14.19dlyneseXcAliBuR: and then play back a pre-recorded message to them?
04:14.21dlynesbcrisp: yes
04:14.23bcrispk
04:14.44dlynesbcrisp: make sure there's no ';' 's in there
04:15.08eXcAliBuRyup
04:15.27dlyneseXcAliBuR: script it using AGI, or AEL
04:16.11bcrisplike this right? : http://pastebin.ca/1712858
04:16.35dlynesbcrisp: exactly
04:16.39bcrispk ill try it now
04:16.42dlynesbcrisp: so let's see the pastebinned log
04:17.38dlyneseXcAliBuR: another way you can do it, too is just to use a perl script or something that creates a bunch of call files
04:17.44dlyneseXcAliBuR: that's probably the best way to do it
04:18.04eXcAliBuRi'm guessing AGI since that's in my handbook
04:18.10eXcAliBuRAEL isn't
04:18.11eXcAliBuR;(
04:18.15dlyneseXcAliBuR: although...not sure how you would track success or failure of each call though
04:18.24dlyneseXcAliBuR: using call files that is
04:21.01dlynesbcrisp: I'm guessing you saw something that told you why it's failing, and that's why you haven't pastebinned the log?
04:22.43bcrispdlynes that was my complete dialplan
04:22.49bcrispoops sorry
04:22.53bcrispirc window was scrolled up
04:23.14bcrispno dlynes: im looking at the log and its not telling me anything.. i probably dont have logger configed right
04:23.18bcrisplet me clear the log and retry
04:23.35dlynesbcrisp: after you've retried, just pastebin what you get
04:23.42bcrispok
04:24.00dlynesbcrisp: even if you think it's not telling you anything...let me make that determination
04:24.07bcrispok
04:24.29bcrispis there a cmd to clear a file without deleteing it.. just clear contents?
04:24.57bcrispi thought it was "touch"
04:25.11dlynesbcrisp: rm $file && touch $file
04:25.35dlynesbcrisp: then logger restart from the asterisk cli
04:26.19bcrispk
04:27.33p3nguinbcrisp: "> file"
04:28.03p3nguinThat will turn it into an empty file.
04:28.44bcrisphttp://pastebin.ca/1712869
04:30.21bcrispi hung up after it went and starting dialing SIP/bcrisp again
04:32.08dlynesbcrisp: wtf is that?
04:32.26dlynesbcrisp: that's not your log
04:32.31bcrispqueue_log ?
04:32.41dlynesbcrisp: i never asked you to show me queue_log
04:32.46bcrisp...
04:32.47dlynesbcrisp: show me the full log
04:32.53bcrispok sorry
04:33.06dlynesbcrisp: i.e. your normal /var/log/asterisk/full (but where you made the call...not the whole log)
04:33.15bcrispok ill just clear it
04:35.11p3nguinwonders if bcrisp will use two commands, or only one
04:35.27ChannelZdoesn't
04:36.02*** join/#asterisk nighty^ (n=nighty@x122091.ppp.asahi-net.or.jp)
04:36.42bcrisphttp://pastebin.ca/1712876
04:36.46dlynesp3nguin: your method still required two commands
04:36.55dlynesp3nguin: cause you'd still need to do logger restart
04:37.01dlynesp3nguin: logger rotate does it in one
04:38.02bcrispok did i do it right?
04:38.06dlynesbcrisp: wtf!!!
04:38.10bcrisplol
04:38.13dlynesbcrisp: you didn't do dialplan reload after you made your changes
04:38.20bcrisphuh?
04:38.24dlynesbcrisp: yeah
04:38.32bcrispdlynes: ya i did
04:38.45dlynesbcrisp: well, i don't see it executing that line
04:39.40dlynesbcrisp: erm
04:39.43dlynesbcrisp: wait
04:39.57dlynesbcrisp: yeah
04:40.26bcrisp:<
04:40.32bcrispdo you see where it says timeout 10000
04:40.40bcrispand the timestamp is 1 sec?
04:40.59dlynesbcrisp: dialplan show queueforwarding, and pastebin it
04:41.05dlynesbcrisp: from the asterisk cli
04:41.11bcrispk
04:41.53bcrisphttp://pastebin.ca/1712877
04:41.54dlynesbcrisp: actually...yeah...nobody picked up in 10000 ms, but only 1s elapsed
04:42.09bcrisp(fkn liars lol)
04:42.37dlynesbcrisp: Try pastebinnning the result of this:  'ps auxffww | grep asterisk'
04:43.32bcrispwhats that?
04:43.46dlynesbcrisp: it'll tell me how many asterisk processes you have running
04:43.58bcrisphttp://pastebin.ca/1712879
04:44.16dlynesbcrisp: ok...that's normal
04:44.45dlynesbcrisp: ok...there's something fubar in your dialplan
04:44.52bcrispk
04:44.54dlynesbcrisp: have you turned off autofallthrough yet?
04:44.59bcrisplet me do that now
04:45.14dlynesbcrisp: after you've done that, redo your call, and pastebin the log
04:45.28bcrispautofallthrough=no right?
04:45.33dlynesbcrisp: correct
04:45.35bcrispok
04:45.42dlynesbcrisp: i suspect that's probably what's causing the odd behaviour
04:46.00dlynesbcrisp: makes it very hard to troubleshoot issues when that's enabled
04:46.25dlynesbcrisp: you don't have priorityjumping enabled as well, do you?
04:46.44bcrispno
04:47.28dlynescool...i like this new asterisk 1.6.1
04:47.34dlynescore show threads is definitely cool
04:48.11bcrisphttp://pastebin.ca/1712883
04:48.43dlynesbcrisp: did you do a dialplan reload
04:48.46dlynesbcrisp: ?
04:49.06bcrispyes
04:49.23dlynesbcrisp: ok...restart asterisk, and repastebin the log after you've restarted and rerun the call then
04:49.33dlynesbcrisp: i guess the autofallthrough doesn't pick up on a reload
04:49.36bcrispwhats the preferred way to restart asterisk
04:49.43bcrispi actually restarted the service, then the dialplan
04:49.57dlynesbcrisp: /etc/init.d/asterisk restart for this time
04:50.05bcrispservice asterisk restart doesnt work?
04:50.10dlynesbcrisp: but normally from the cli, restart when convenient
04:50.17dlynesbcrisp: or service asterisk restart
04:50.25bcrispya i already did that before running this call
04:50.26dlynesbcrisp: it does the same thing as /etc/init.d/asterisk restart
04:50.35dlynesbcrisp: you did?
04:50.38bcrispya
04:50.58bcrispill do it once more to make sure
04:51.03dlynesbcrisp: ok...pastebin your logger.conf file
04:51.15dlynesbcrisp: You must be missing something in your logging statement
04:51.24bcrispmy logger.conf is a real mess
04:51.26bcrispits from the sample
04:51.57dlynesbcrisp: cat logger.conf | grep -v "^[<SPACE><TAB>]*$"
04:52.08dlynesbcrisp: and replace space and tab with the actual characters
04:52.14dlynesbcrisp: erm
04:52.28bcrisphm
04:52.30dlynesbcrisp: cat logger.conf | grep -v "^[<SPACE><TAB>]*;.*$"
04:52.34bcrispk
04:53.28bcrisphttp://pastebin.ca/1712887
04:54.03bcrispmy entire irc window is red
04:54.09dlynesbcrisp: damn...wonder why you're only logging verbose, then
04:54.23bcrisphm?
04:54.41dlynesbcrisp: every single log entry i see in your log is at 'VERBOSE' level
04:55.01dlynesbcrisp: you have no 'NOTICE' or 'DEBUG' levels
04:55.02bcrispis this being overwridden elsewhere?
04:55.11dlynesbcrisp: the Noop() will show up at NOTICE level
04:55.58dlynesbcrisp: nvm...it's VERBOSE level, too
04:56.24dlynesbcrisp: oh...you know what it probably is
04:56.37dlynesbcrisp: change your timeout for your queue to 20s, instead of 10s
04:56.45dlynesbcrisp: i.e. in queues.conf
04:56.52bcrispok
04:57.31dlynesbcrisp: and then restart asterisk (I don't know how to reload queues)
04:57.42bcrispmodule reload app_queue
04:57.46bcrisplol
04:57.51dlynesbcrisp: well, i suppose that would work ;)
04:58.43bcrispyes!
04:58.58bcrispit worked
04:59.09bcrisptimeout in queues.conf to 20 instead of 10
04:59.36bcrispah because its combining the time
04:59.39bcrispduh
05:00.02bcrisp10 seconds rining sip/ben, (queue timeout)
05:00.15bcrispdlynes: you da ma
05:00.16bcrispman
05:00.33bcrispi actually may need it to be closer to 30
05:00.50bcrispit rings once on my phone then stops heh
05:01.25bcrispim going to get a 6 pack of beer and pour one out on your behalf
05:01.26dlynesbcrisp: ok....cool
05:01.34dlynesbcrisp: i guess we figured out what the issue was, then
05:01.41bcrispbejesus
05:01.44dlynesbcrisp: good to know, in case i run into that issue, too
05:01.54bcrispit makes since
05:02.01bcrispit treats that call to local as a single thing
05:02.04bcrispsense
05:02.12dlynesbcrisp: basically what was happening was that the queue was cutting off the call after 10s
05:02.22bcrispyep
05:02.23dlynesbcrisp: but your initial call to the sip channel already lasted 10s
05:02.27bcrispyep
05:02.35dlynesbcrisp: so that's why it was cutting it off prematurely on the second call
05:02.58dlynesbcrisp: so it had nothing to do with local channels...it was the queue
05:03.12bcrispi learn more about * when there's a problem then when its workin
05:03.23bcrispthanks for ur time
05:03.26dlynesbcrisp: yeah...you learn more about anything when there's a problem
05:03.36dlynesbcrisp: because then you work harder at the problem to solve it
05:03.47bcrisptrue
05:04.08bcrispi really like that channel idea
05:04.14bcrisplocal channel
05:04.23dlynesbcrisp: I've got some pretty elaborate macros just so I can avoid having to rewrite the code again, down the road
05:04.39dlynesbcrisp: and some pretty elaborate dialplan contexts
05:04.49bcrispid like to see em sometime
05:05.06bcrispwe're gonna have some interesting scenarios once asia is online
05:05.08dlynesbcrisp: well, there's one dialplan i'm probably going to convert to a database-based macro soon
05:05.23dlynesbcrisp: because i'm getting tired of writing 30 or 40 gotoif's
05:05.28bcrisprofl
05:05.34bcrispyou dont like writing BASIC?
05:05.59bcrispcan you use ael?
05:06.11dlynesbcrisp: no...it's more like if(...) then .... else if (...) then .... else if( .... ) then ... else ...
05:06.24bcrispoh, so its like QBASIC?
05:06.25bcrisphehe
05:06.33dlynesbcrisp: nah..it's like ael
05:06.37dlynesbcrisp: but different
05:06.57dlynesbcrisp: or perl or php or any other structured language, for that matter
05:07.25bcrispya i havent gotten that far yet
05:07.29bcrisponly a few weeks in now
05:07.33dlynesbcrisp: gotoif really doesn't have anything to do with goto
05:08.14bcrispi like the idea of AGI
05:08.23dlynesbcrisp: on my main server, i currently ahve about 3,814 lines of dialplan code
05:08.33bcrisp:)
05:08.49bcrispyou should see my credit card gateway library .. you'd scream
05:08.51dlynesbcrisp: but, I also maintain several other satellite phone systems
05:09.13dlynesso total lines of code would probably be closer to about 5000
05:09.22dlynesbut that's just asterisk dialplan code
05:09.24bcrispya.. im a total newb when it comes to telecomm
05:09.28dlynesno ael, no ami, no agi
05:09.56*** join/#asterisk fakhir (n=fakhir@unaffiliated/fakhir)
05:10.00dlynesI'm currently not using any of those three for asterisk scripting
05:10.21dlynesOnly for interfaces for other things
05:10.27bcrispi think it must take years to remember all the little flags and switches in *
05:10.45dlynesbcrisp: nobody ever knows all of them
05:10.59dlynesbcrisp: because nobody ever works with everything in asterisk
05:11.17dlynesbcrisp: I've only worked with sip, iax and zap
05:11.19bcrispya some of the conf files are a little daunting
05:11.24dlynesbcrisp: never worked with isdn or skinny
05:11.31dlynesbcrisp: or some of the other more esoteric stuff
05:11.36bcrispya
05:11.41bcrispi havent worked with iax
05:12.08dlyneswell..one company i subcontract for i work with iax2 and sip
05:12.21dlynesanother one I work with iax2, sip and zap (pri's and analog lines)
05:12.46dlynesboth companies i need to interface with analog extensions and analog lines
05:13.02dlynesit's just i usually use a gateway to interface with them at the one job, and the other I use pci cards
05:13.05bcrispinteresting
05:13.33bcrispwell i sure appreciate your time
05:13.38dlynesnot a problem
05:13.43dlynesheading to bed now, anyways
05:13.46bcrispis it beer:30 ?
05:13.56dlynesbut glad I was able to figure out that issue
05:14.05bcrispyeah, i was puzzled
05:14.14bcrispi think the message is a little misleading
05:14.21dlynesdon't really drink much....got a teetotaller for a wife :0
05:14.27bcrispheh
05:14.31bcrispi dont either
05:14.38bcrispbut its been a hell of a decade...
05:14.49bcrispgnite
05:14.57dlynesyeah...anyways
05:15.06dlynesdon't get stuck in a rut, thinking about things one way
05:15.07bcrispand thank you too p3nguin .. true power animal
05:15.09dlynesexpand your mind
05:15.15bcrispare you asking me to smoke pot?
05:15.18bcrisp(hopes not)
05:15.26bcrispjk
05:15.27dlynesnah....just break out of the box
05:15.32dlynesthink outside the box
05:15.35bcrispwell once i understand how this fits together
05:15.36bcrispya
05:15.48bcrispits like a giant lego kit
05:15.53dlynesremember...asterisk is NOT a phone system
05:16.05bcrispits like a PLC
05:16.18bcrisp(programmable logic controller)
05:16.47bcrispya im excited ..
05:16.49bcrispnite!
05:16.53*** part/#asterisk bcrisp (i=bcrisp@ip72-222-167-229.ph.ph.cox.net)
05:17.10dlynesYeah...I work with those every once in a while, too
05:17.19dlynesand the Panelmate (touch screen for a plc)
05:25.43*** join/#asterisk shams (n=chatzill@c58-107-200-17.thoms2.vic.optusnet.com.au)
05:26.23shamsHi anyone here can help me on minor configuration of Extensions.conf
05:26.37ChannelZperhaps
05:26.54*** join/#asterisk simplydrew (n=simplydr@ool-44c2ab91.dyn.optonline.net)
05:31.29ChannelZ...or perhaps not...
05:33.42shamshi I need to strip the 3 digits from an exsiting dnid and passed it on to next priority as extension
05:34.07ChannelZ${EXTEN:3}
05:35.17shamsyes I did that , but on the next prioty should I type exten => _X., or exten => ${EXTEN},n,Dialxxxxxxx
05:36.06*** join/#asterisk bcrisp (i=bcrisp@ip72-222-167-229.ph.ph.cox.net)
05:36.30ChannelZwell what are you trying to do?  You're not really "stripping" the extension, ${EXTEN:3} just represents the extension minus the first 3 numbers
05:37.32ChannelZSo if you're trying to dial that number minus the first 3, it's all one line.. you just do  exten => _X.,1,Dial(SIP/${EXTEN:3})   or whatever it is you're dialing
05:38.11shamsok this is what i want to achive, I have customers who send me tech prefix , for example 888+number, I want to strip off these 888 and send the call to next priroty so a2billing.php can executed
05:39.03ChannelZok but what are you DOING with the number after removing the 888?
05:39.09shamsin next priorty where a2billing.agi is executed only need to send number without 888
05:39.44shamsa2billing.php will dialed the number as dnid and send the call to provider
05:40.29shamsmay be it is helpful if i put the exten commands here to make it sense
05:40.51ChannelZyes I don't know shit about a2billing.php except that everyone hates it because it's a mess
05:40.55shamsstep one call is coming from a customer as  8884421094958589@ip
05:42.02shamsstep 2 extenstions.conf file should strip 888 and send 4421094958589 to different context , where a2billing.php will executed and send the call to our provider as specified in a2billing
05:42.59shamsi have managed to do all other bits , just when trying to passed the number without 888 to next context is not working, I tried the Set(Callerid(dnid)=${EXTEN:3}) but did not work
05:45.57ChannelZis that what a2billing is pulling from? CALLERID(dnid) ?
05:46.45*** join/#asterisk bcrisp (i=bcrisp@ip72-222-167-229.ph.ph.cox.net)
05:47.17shamsa2billing is pulling the the full number with 888
05:48.15shamsyes this callerid(dnid) is pulled by agi_dnid,
05:48.23shamsbut when trying to dialed the number it pick up somehow 888 + number
05:49.11*** join/#asterisk xmitter (n=xmitter@c-24-21-212-187.hsd1.or.comcast.net)
05:49.15shamsI guess i m making a mistake on the this part exten => <what should be here > ,2,DeadAGI(a2billing.php |4)
05:50.32*** join/#asterisk simplydrew (n=simplydr@ool-44c2ab91.dyn.optonline.net)
05:50.49ChannelZno you're not because you can't just change that unless you jump somewhere else with Goto
05:51.41ChannelZdo   Set(CALLERID(dnid)=${EXTEN:3}
05:52.55bcrispchannelz you crazyman
05:53.09ChannelZpulls his pants up
05:54.16bcrisp~roulette
05:54.17infobotACTION watches bcrisp pull the trigger:  Click!
05:54.40bcrispi like trivia bots
05:55.12bcrisp~trivia
05:56.05bcrispchannelz what do u do for a living?
05:57.15ChannelZI'm an editor, graphic designer, animator.. I do motion graphics and edit for TV, etc.  Post-production
05:57.22bcrispNICE
05:57.23shamsI runs ok
05:57.27bcrispsorry caps
05:57.53shamsI runs IT consultantecny
05:58.29bcrispim a developer, consultant, <insert job role>
05:59.01ChannelZexactly
05:59.29bcrispi dont think someone can use * if they don't love to learn
05:59.49shamsyes I do Goto , and it goes to next context
06:00.12ChannelZwell what did you put in the Goto?
06:00.33shamsjust a minute let me type all teh command one by one
06:01.25ChannelZI mean if you want to do it that way, you would Goto(${EXTEN:3},1)  and then have to have an exten line that would match it (which your existing one would which will cause all kinds of problems), or jump to a different context to keep it separated like Goto(foo,${EXTEN:3},1)
06:01.36ChannelZshams: pastebin.ca
06:01.47ChannelZhttp://pastebin.ca I should say
06:03.43shamsok this is one command    exten => _786.,1,Goto(a2bgold,_X.,1)
06:04.03shamsexten => _X.,1,Wait,1
06:04.04shamsexten => _X.,2,Set(CALLERID(DNID)=${EXTEN:3})
06:04.30ChannelZuhhh
06:04.38shams[a2bgold]
06:04.40shamsexten => _X.,1,Wait,1
06:04.42shamsexten => _X.,2,Set(CALLERID(DNID)=${EXTEN:3})
06:04.44shamsexten => _X.,3,DeadAGI(a2billing.php|4)
06:04.45shamsexten => _X.,4,Wait,2
06:04.47shamsexten => _X.,5,Hangup
06:04.49ChannelZstop doing that
06:05.10ChannelZok you have a mess
06:05.17shamsyes i think so
06:05.25shamsany suggesstion ?
06:05.43ChannelZyou said things enter your dialplan with 888 on the front - is that literal, or it's any 3 random digits?
06:06.07shamssorry it is literal 888 or 786
06:06.20ChannelZok.
06:06.36shams888 go to differnt context [a2bslvr]and 786 goes to [a2bgold]
06:08.02ChannelZ...
06:08.34shamsthis one is for 786
06:09.27ChannelZhttp://pastebin.ca/1712927
06:11.50shamsok i will try ,thanks a lots channelZ
06:12.49ChannelZIF a2billing is REALLY pulling CALLERID(dnid) then you could also just do http://pastebin.ca/1712929
06:13.40*** join/#asterisk jasonwert (n=jasonwer@97-83-97-13.dhcp.trcy.mi.charter.com)
06:16.12Corydon76-digI'm still in shock over winning a Polycom 335.  I so rarely win anything.
06:16.22ChannelZDid you have to show your boobs?
06:16.32*** join/#asterisk hakr (i=bryan@element.techlive.tv)
06:17.01Corydon76-digThey  aren't that big.  Nobody but my husband wants to see my chest
06:17.28ChannelZWell even better win then!
06:17.48ChannelZWhere'd you win?
06:18.02Corydon76-digOn the voip users conference
06:18.05shamsit is working now channelZ thanks a lots
06:18.09*** join/#asterisk bbt (n=sam@samuels.id.au)
06:18.09Corydon76-dige4
06:18.13ChannelZah nice
06:18.17ChannelZshams: cools
06:18.27shamsthe second post was right
06:18.50ChannelZwell it's simpler if it worked
06:19.22shamsbecause a2billing will always dialed dnid , without asking for another number
06:19.28shamsso dnid has to be right
06:26.04*** join/#asterisk simplydrew (n=simplydr@ool-44c2ab91.dyn.optonline.net)
06:29.28ChannelZwanders off to watch Coraline
06:31.04TJNIIcloses eBay before he spends any more money
06:32.41coppiceTJNII: watch the Weird Al E-Bay video, and bring back your sense of perspective
06:34.04TJNIII've had good luck with industrial and commercial stuff.  eBay thinks I'm a buisness.
06:37.50*** join/#asterisk Caplain (i=shayne@2001:470:5:fb:0:0:0:2)
07:08.55*** join/#asterisk psykon (n=joel@221-116.96-97.tampabay.res.rr.com)
07:16.22*** join/#asterisk |Cybex| (n=John@atwork-21.r-212.178.82.atwork.nl)
07:23.50*** join/#asterisk gooph (n=gooph@pool-71-96-244-205.dfw.dsl-w.verizon.net)
07:33.28*** join/#asterisk vitaminx (n=vitaminx@89.130.31.1)
07:41.32*** join/#asterisk Tech_Travis (n=Administ@cpe-76-87-9-130.socal.res.rr.com)
07:50.31*** join/#asterisk Winkie (n=urmom@ur.fa.gs)
08:09.18*** part/#asterisk Tech_Travis (n=Administ@cpe-76-87-9-130.socal.res.rr.com)
08:14.34*** join/#asterisk Dovid (n=annon@213.8.121.90)
08:20.42*** join/#asterisk TheGGiant (n=chatzill@cpe-76-190-201-190.neo.res.rr.com)
08:21.21*** join/#asterisk verywiseman (n=khaled@unaffiliated/verywiseman)
08:22.06TheGGiantI don't suppose there's anybody online that is a master of SIP configuration for Asterisk 1.6.11?
08:22.43TheGGiant(And/Or a correct place to go looking for help?)
08:25.52ChannelZwhat's the problem?  I'm a master by no means, but can be crafty
08:26.45TheGGiantWell the short version is:  I've been setting up a home PBX to basically run as a SIP proxy for my Vonage - So far registration seems to work well and incoming calls works great
08:27.04TheGGiantBut outgoing ....  I just can't seem to get it working
08:27.58TheGGiantI have it set up as a peer - but there's just so many options to mess with in terms of trunking and what not - I think I'm just getting myself confused somewhere.
08:28.50ChannelZso your little Vonage box is registering to your * box and you're handling incoming calls through it already?
08:29.22TheGGiantWell i have the little box unplugged as of this moment - until I have it completely working - then I'll worry about making it an extension.  I'm using a softphone for testing right now
08:29.38TheGGiantBut yeah, incoming works great
08:29.58TheGGiantI even figured out how to have it dial multiple extensions once it's in
08:30.04TheGGiantSo that part seems to be okay
08:30.13TheGGiantBut when I try to dial out with the softphone
08:30.38TheGGiantThe debugging shows the connection going in, and it even shows ring
08:30.50TheGGiantBut it just eventually fails
08:31.59ChannelZhmm.. and the dialed number never actually rings in real life?
08:32.15TheGGiant*CLI>   == Using SIP RTP CoS mark 5
08:32.16TheGGiant<PROTECTED>
08:32.18TheGGiant<PROTECTED>
08:32.19TheGGiant<PROTECTED>
08:32.21TheGGiant[Dec 13 03:11:00] ERROR[29379]: tcptls.c:344 ast_tcptls_client_start: Unable to connect SIP socket to X.X.X.X:10000: Connection refused
08:32.40TheGGiant(I guess I didn't have to blank the IP from i.voncp.com - oops)
08:32.56TheGGiantyeah
08:33.01ChannelZok so you are getting an error
08:33.26TheGGiantYeah - but I've been banging through the configuration files commenting things
08:33.38TheGGiantTHe original error I got was 'congestion'
08:33.48ChannelZwell I'm wondering why it's saying port 10000
08:33.58TheGGiantThat's the port Vonage wants me to use -
08:34.18ChannelZoh.. well OK.. is your * box a or behind a firewall?
08:34.39TheGGiantRight now it is - a MASQing unix firewall
08:35.19ChannelZand actually that's a strange error message, are you using TCP SIP?
08:35.22TheGGiant(Eventually this box goes back into place - I'm replacing that unit with this one)
08:35.34TheGGiantUmm... Apparently?
08:35.44TheGGiantI just recently added 'Transport=tcp,udp because it wasn't working
08:35.57TheGGiant(I've been banging my head on this a while now)
08:36.13TheGGiantHere's the peer section:
08:36.15ChannelZVonage may or may not support TCP
08:36.42ChannelZin either case is the firewall allowing traffic out of that port, tcp and udp?  (I'd remove TCP by the way)
08:36.53TheGGiant[vonage]
08:36.54TheGGianttype=peer
08:36.56TheGGiant;auth=md5
08:36.58TheGGiant;auth=USER:PASS@i.voncp.com
08:36.59TheGGiantnat=yes
08:37.01TheGGiantqualify=no
08:37.03TheGGianthost=i.voncp.com
08:37.04TheGGiantbindport=10000
08:37.06TheGGiantport=10000
08:37.07TheGGiant;username=USER
08:37.09TheGGiantdefaultuser=USER
08:37.10TheGGiantfromuser=USER
08:37.12TheGGiantauthname=USER
08:37.14TheGGiantfromdomain=i.voncp.com
08:37.15TheGGiantsecret=PASS
08:37.17TheGGiantcontext=internal
08:37.17mchoutf
08:37.18TheGGiantcanreinvite=no
08:37.20TheGGiantdtmfmode=rfc2833
08:37.21TheGGiantsrvlookup=no
08:37.23TheGGianttransport=tcp,udp
08:37.25TheGGiantYeah, it's set to allow and MASQ any traffic from the inside
08:37.29mchouuse pastebin
08:37.34TheGGiantOops sorry!
08:38.20mchouyou have voage business acct?
08:38.29mchouvonage*
08:38.30ChannelZI was just going to ask that
08:38.33TheGGiantOKay, I put it back to UDP only - and now I"m getting 'Status CONGESTION'
08:38.43TheGGiantThat's a long story
08:39.00mchoua yes/no will suffice
08:39.02ChannelZwell the short answer is they probably don't allow you to bypass their little ATA unless you do
08:39.08TheGGiantI was a vonage customer WAAAAAAAAAAAAAY back when they used to actually give you your SIP cred when you asked for it - so no.
08:39.31ChannelZas ypiu
08:39.33ChannelZoops
08:40.04mchouTheGGiant: how did you figure vonage wanted you to connect on port 10000?
08:40.05TheGGiantThe most annoying part is that incoming works great.
08:40.10ChannelZas you're setup now, the congestion is probably coming from them.. which could possibly mean it's being blocked on their end, or it's expecting a wierd dialstring, or who knows
08:41.07TheGGiantYeah I think it may have to do with the dialstring - I had it working once a while back using a wierd dialstring, but I could only dial one number because I couldn't get the extension to squeeze into it
08:41.29TheGGiantIt's in my router's setting panel
08:41.43ChannelZwell do you know what it's _supposed_ to look like?
08:42.14mchouTheGGiant: your router setting panel?
08:42.37mchouTheGGiant: how do you know that doesnt refer to RTP?
08:42.39TheGGiantYeah - they gave me my cred and taught me where to look for the settings on my router - this was forever ago
08:43.19TheGGiantNot sure what it should look like - just was one of my guessing attempts
08:43.29TheGGiantRTP?
08:43.37mchougoogle
08:44.01TheGGiantOh geez
08:44.13TheGGiantSo you're telling me that that port is only for registry and not for peering outgoing?
08:44.25mchounope
08:44.38mchouyour google fu failed you
08:44.46*** join/#asterisk Tim_Toady (n=moi@188.4.65.219.dsl.dyn.forthnet.gr)
08:44.53TheGGiantOkay okay, hold on
08:45.22ChannelZwhat he's saying is that port 10000 is (sort of) a 'standard' port number that RTP uses (the actual media stream)
08:45.31ChannelZSIP is typically 5060
08:45.47TheGGiantIs there any reason that incoming would work great on that port and not outgoing?
08:46.36ChannelZhard to say.. you actually have port=10000 in your sip.conf in your working incoming config?
08:46.55TheGGiantyah
08:46.57TheGGiantone sec
08:47.15TheGGiantregister => USER:PASS:USER@i.voncp.com:10000/vonage
08:47.25mchoulol
08:47.34TheGGiant?
08:48.34TheGGiantI feel as though I've missed something super simple here?
08:48.50mchouyeah
08:48.58TheGGiant:(
08:48.58mchoulike how SIP works
08:49.09TheGGiantThat would be a fair assumption
08:49.12TheGGiantI've really new to it
08:49.25TheGGiant*I'm
08:49.28TheGGiantSo - what did I miss?
08:49.33mchou~book
08:49.34infobot[~book] Asterisk: The Future of Telephony 2nd Edition (ISBN 0-596-51048-9) --- Order yours at http://www.oreilly.com/catalog/9780596510480/ --- Free downloadable PDF at http://www.asteriskdocs.org --- HTML at http://astbook.asteriskdocs.org or see ~buybook
08:50.12mchoubasic sip concepts, for one
08:50.51mchousecond, an actual debug would be way more helpful than you silly guesses
08:50.57mchouyour*
08:52.17TheGGiantWell I appreciate any help I can get -
08:52.22*** join/#asterisk war9407 (i=war@liquidswords.org)
08:54.10TheGGiantWhat kind of debug would help?
08:54.31ChannelZand your * actually registers with vonage with that line successfully?
08:54.32*** join/#asterisk Dovid[Laptop] (n=annon@213.8.121.90)
08:54.40TheGGiantYup
08:54.44mchoulol
08:54.57ChannelZwell without knowing their setup it could well be
08:55.03mchouthat would be INCREDIBLE
08:55.14ChannelZwhy
08:55.18TheGGiantYeah...
08:55.20TheGGiantI'm curious too
08:55.59mchoucause the syntax is rather messed up
08:56.20TheGGiant*CLI> sip show registry
08:56.22TheGGiantHost                           dnsmgr Username       Refresh State                Reg.Time
08:56.23TheGGianti.voncp.com:10000              Y      USER         15 Request Sent         Sun, 13 Dec 2009 03:5
08:56.38TheGGiantI used the syntax from the 'example' config
08:56.52TheGGiant; Format for the register statement is:
08:56.54TheGGiant;       register => [transport://]user[@domain][:secret[:authuser]]@host[:port][/extension][~expiry]
08:57.01ChannelZthats not registered
08:57.14mchoulol
08:57.32TheGGiantThat might be a problem
08:57.36TheGGiantSo why does it ring in?
08:57.44TheGGiantIs it because i'm usign the port direct?
08:57.54mchougo read the book
08:58.19TheGGiantHmm
09:02.12mchouthere's no point to using scattergun "Hail Mary" approach
09:02.37TheGGiantUgh.  Now I still don't know how to fix it, and also feel like a moron because it sounds from mchou's reaction that I'm totally missing something simple...
09:03.10mchouyou fix it by understanding what you're doing
09:03.21mchounot trying shit at random
09:04.22ChannelZDon't worry, mchou will pretty much never help you in any useful way
09:05.37mchouChannelZ: yeah, you the shining example of enlightenment
09:05.43TheGGiant:p thanks - but he IS right about it.  I enjoy learning by doing when it's for me - and the 'hail mary' approach gets me in a lot faster.  Learning from a book would be lest frustrating.
09:06.04TheGGiantI appreciate the help you guys have already given me
09:06.13TheGGiantat least I know what to attack next
09:06.40ChannelZthe biggest problem is shooting in the dark on the Vonage side
09:06.58TheGGiantChannelZ: from your response I've done something wrong with SIP registration, and from mchou's responses I obviously have something wrong in my understanding of HOW it works
09:07.04TheGGiantYeah it's true
09:07.10TheGGiantBut it's a lot of fun to work around it
09:07.14TheGGiant:)
09:07.40TheGGiantObviously my sip show registry shouldn't be showing request sent if it was working, no?
09:08.50ChannelZyeah, it means it hasn't gotten a reply
09:09.14ChannelZinterestingly if I try to register with them on port 10000 I do get a response
09:10.25ChannelZit seems more like the port is being blocked by your firewall, which you never answered
09:10.57TheGGiantOh
09:10.59TheGGiantWait a minute
09:11.09TheGGiantWhen you register, it connects back, no?
09:11.30ChannelZwell there's a return packet
09:11.34TheGGiantHmm
09:11.46TheGGiantNaw that would masq back -and it wouldn't explain why the old router can be behind a nat too
09:12.04ChannelZbut by the nature of UDP yes it sort of connects back
09:12.07TheGGiantHe's right, I need to stop guessing and figure out how it works before I start poking at it.
09:12.46TheGGiantLet me check the firewall log and see if anything is being eaten
09:12.49ChannelZEither your outgoing request is being tossed to the floor, or the return is not making it back in.
09:13.40TheGGiantwhen I turn on Debug
09:13.47TheGGiantI see the header transmitting
09:14.38TheGGiantCSeq: 171 REGISTER
09:14.47TheGGiantSIP/2.0 200 OK
09:18.02TheGGiantAnd when I call the number I see the INVITE request from them... so why doesn't it show a state other than 'Request Sent'...
09:18.33ChannelZwhat you just pasted was out of context
09:18.38TheGGiantOOps sorry
09:19.53TheGGiantBasically when I turn on debugging, I get 'REGISTER' requests all over the place.  When I call the number, I get a SIP/2.0 180 Ringing -> CSeq: INVITE.  but I also get an error - Unable to create channel of type SIP...
09:21.40ChannelZyou get register requests but do you ever get a response?  we can't read your screen
09:21.41TheGGiantI wish Vonage didn't use your damn number as the username -
09:22.04TheGGiantMakes trying to pass on debug information annoyingly difficult as it contains my phone number everywhere! :)
09:22.25TheGGiantYeah, it says:
09:22.30ChannelZDONT PASTE IT HERE
09:22.31mchouever heard of sed?
09:22.40ChannelZhttp://pastebin.ca
09:23.13TheGGiantmchou - yeah of course, but it's just scary to share info in case I mess up
09:23.52TheGGiantOOh Pastebin is nifty
09:23.57TheGGianthttp://pastebin.ca/1713003
09:24.23TheGGiantOne sec, I'll see if I can't throw a full debug up
09:33.04ChannelZI'm going to bed - in short I believe your first problem is a firewall problem, and the second is lack of the proper info from Vonage on how they handle inbound and outbound so you'd have a prayer of getting it configged right
09:33.40ChannelZyour registration problem is just a small piece of the puzzle
09:34.05TheGGianthttp://pastebin.ca/1713015
09:34.15TheGGiantAhh
09:34.20TheGGiantThanks for the help
09:36.39ChannelZoof that debug is waaaay too much
09:36.52TheGGiantSorry - the interesting stuff happens at 950
09:36.54TheGGiantthat's when I called in
09:37.07*** join/#asterisk Omorika (n=krash@78-0-243-56.adsl.net.t-com.hr)
09:37.07TheGGiantAnswered it with the softphone
09:37.10TheGGiantThen hung up
09:38.55TheGGiantAnyway thanks for your help.  I think mchou is right - if I have any hope of getting this up I need to know the protocol inside and out
09:44.31TheGGiantWell here's a question I can ask that maybe someone knows the answer:
09:44.34TheGGiant"SIP/2.0 407 Proxy Authentication Required"
09:44.50TheGGiantAny idea what can be done if my outbound requests are halted by this error?
09:46.22mchouumm
09:46.40mchouyou need to authenticate
09:46.58mchoui.e. submit the proper credentials
09:47.04mchouwtf
09:47.08mchougo READ
09:48.27TheGGiantAlright.  Thanks for you help
09:48.34TheGGiantHave a good one
09:50.25*** join/#asterisk b14ck (n=comradeb@cpe-24-24-136-239.socal.res.rr.com)
09:53.28*** join/#asterisk yoshx (n=yoshx@88-138-188-188.adslgp.cegetel.net)
10:22.19*** join/#asterisk b14ck (n=comradeb@cpe-24-24-136-239.socal.res.rr.com)
10:26.55*** join/#asterisk Tim_Toady (n=moi@79.103.5.77.dsl.dyn.forthnet.gr)
10:28.07*** join/#asterisk fakhir (n=fakhir@unaffiliated/fakhir)
10:40.25*** join/#asterisk HaMF (n=hannes@nat-wh.rz.uni-karlsruhe.de)
10:42.01*** join/#asterisk m0e (n=eX@41.196.209.68)
10:47.15*** join/#asterisk mpe (n=mpe@0x4dd624b2.adsl.cybercity.dk)
10:48.24*** join/#asterisk ttl- (n=patrick@94-224-78-192.access.telenet.be)
10:59.08*** join/#asterisk Akiraa (i=Akiraa@79.112.27.180)
11:00.05*** join/#asterisk elliot98 (n=elliot@unaffiliated/elliot98)
11:00.10elliot98greetings!
11:00.36elliot98Asterisk is sending an "Unauthorized" response when a certain phones tries to register
11:00.40elliot98why is this?
11:01.55drmessanoBecause it's not authorized
11:02.25elliot98what does that mean?
11:02.41elliot98the account is dynamic, all passwords etc. is in order
11:03.05mchouelliot98: are these phones on the local lan?
11:03.22elliot98they are connecting remotely
11:03.30elliot98through a public i[
11:03.32elliot98ip
11:03.34mchou"fromdomain"
11:04.08elliot98but they are connecting from a dynapic ip
11:04.25mchouso?
11:04.45mchoufromdomain is something YOU as ast admin specify
11:05.11mchouRTFM
11:05.29elliot98isn't fromdomain used when asterisk itself needs to connect to another server?
11:06.04mchouyes, that's one of it's uses
11:06.52elliot98what else is it used for?
11:07.31mchouto substitute the domain name
11:09.32elliot98so I should replace it with the name of the domain name?
11:14.33elliot98I see something here...
11:15.12elliot98apparently, when phones first connect, Asterisk responds that with an "unauthorized" packet containing md5 hashing info, nonce, etc.
11:15.29elliot98other phones then again send the REGISTER packet with the hashing info
11:15.42elliot98this particular phone just gives up after the first time
11:17.19elliot98and doesn't try to REGISTER with any sort of md5 digest
11:19.40elliot98any idea why this phone doesn't want to reREGISTER itself?
11:22.59mchouis it a grandstream? :)
11:27.34*** join/#asterisk kannan (n=kann@121.246.242.95)
11:28.17elliot98not sure what kind of phone it is...doesn't look like a brandname to me...it was working though
11:28.26elliot98that is what is funny
11:42.21*** join/#asterisk tamiel (n=tamiel@ip-1.net-81-220-19.versailles.rev.numericable.fr)
12:02.27elliot98I am wondering if another issue has anything to do with this:
12:02.55elliot98if I try to run an internet speed test from one of those internest speed sites, I always get a latency error
12:03.11elliot98with that PPP connection
12:03.25elliot98I wonder if the ISP is having some odd routes that mess things up
12:04.33*** join/#asterisk Dovid (n=annon@213.8.121.90)
12:34.06*** part/#asterisk bbt (n=sam@samuels.id.au)
12:35.59*** join/#asterisk tzafrir_laptop (n=tzafrir@bzq-218-155-146.cablep.bezeqint.net)
12:48.05kannani am upgrading from asterisk 1.4.21.2 to latest 1.4.27.1. Where to get addons (i am using areski stats, so need mysql addons)
12:49.41kannancannot find any addons pkg on website?
12:53.30Tim_Toadyyou can get it from http://downloads.asterisk.org/pub/telephony/asterisk/ kannan
12:54.08kannanthank you
12:55.39*** join/#asterisk wierdo (n=jimmy@77.78.3.197)
12:56.30*** join/#asterisk puzzled (n=foobar@puzzled.xs4all.nl)
13:24.38*** join/#asterisk [TK]D-Fender (n=joe@64.235.218.194)
13:29.57*** join/#asterisk shams (n=chatzill@c58-107-200-17.thoms2.vic.optusnet.com.au)
13:30.15*** join/#asterisk e4 (n=e4@rrcs-76-79-59-194.west.biz.rr.com)
13:43.35dlyneselliot98: it's a phone you've specified a peer name for?
13:44.22dlyneselliot98: or is it a phone that's trying to send unauthenticated traffic to your phone system?
13:44.33dlyneselliot98: i.e. a guest
13:44.36dlyneselliot98: ?
13:50.13Kattywell sammy seems okay this morning. he right arm is red, but he's walking on it.
13:50.18Kattythinking perhaps his arm is just bruised.
13:50.35Kattyhe's also eating okay
14:10.07*** join/#asterisk jmacz (n=jmacz@190.25.7.149)
14:11.28*** join/#asterisk Dovid (n=annon@213.8.121.90)
14:17.24*** join/#asterisk Buklov (n=buklov@213.138.71.254)
14:22.38*** part/#asterisk etfonhomey (n=etfonhom@74-131-159-160.dhcp.insightbb.com)
14:28.36*** join/#asterisk _ShrikE (n=_ShrikE@adsl-074-185-215-060.sip.msy.bellsouth.net)
14:29.25*** join/#asterisk [netman] (n=netman@223.Red-88-19-164.staticIP.rima-tde.net)
14:46.49*** join/#asterisk TimToady_ (n=moi@212.251.120.242.dsl.dyn.forthnet.gr)
14:47.57*** join/#asterisk CheBuzz (n=CheBuzz@81.21.46.199)
14:49.59CheBuzzThis may be an obvious question, but I couldn't find the answer anywhere.  Is there any way to use IAX between two * boxes without compiling the ztdummy driver?  Ie, like just using apt-get install ztdummy in Ubuntu (that doesn't work)
14:50.29CheBuzzOr maybe using something else for timing besides ztdummy that doesn't require modifying the kernel/building from source.
15:02.13[TK]D-FenderCheBuzz: They have a DAHDI package, and you don't require it for IAX2 except for trunk mode
15:03.27CheBuzzRight, I understand that.  Trunking is what I'm going for.
15:05.43[TK]D-Fenderthen install DAHDI
15:07.00CheBuzzThanks, I'll do some reading on DAHDI
15:07.09*** join/#asterisk puzzled_ (n=foobar@puzzled.xs4all.nl)
15:17.51*** join/#asterisk voipmonk (n=voipmonk@69.172.114.221)
15:18.35*** join/#asterisk gr0mit (n=tim@extrt.txrx.org.uk)
15:32.15*** join/#asterisk mchou (n=quassel@unaffiliated/mchou)
15:44.40*** join/#asterisk ivan_paes (n=paes@201-67-161-42.fnsce703.dsl.brasiltelecom.net.br)
15:48.39elliot98dlynes: the phone has its own extension num and password
15:49.32elliot98dlynes: but if first needs the nonce and digest stuff from the server, so it sends a REGISTER packet
15:49.40elliot98dlynes: and * responds with the info
15:49.59elliot98dlynes: usually, the phone then resends the REGISTER with the hashed password
15:49.59*** join/#asterisk levity (n=levity@unaffiliated/canuck)
15:50.09elliot98dlynes: but this phone stopped doing that
15:50.32dlyneselliot98: if you do sip show peer peername, you should be able to see what kind of phone it is
15:50.49dlyneselliot98: it'll show the agent string at the bottom of the sip show peer info
15:53.15cuscohi
15:55.14elliot98dlynes: it says - VOB820-PHONE
15:55.35dlyneselliot98: there ya go, so now you know it's not a grandsucks
15:55.41dlynesanyways...gotta run
15:57.45elliot98so is that good or bad?
15:58.03elliot98thanks!
16:08.11*** join/#asterisk mokmeister (n=mokmeist@109.78.25.192)
16:12.49*** join/#asterisk bcrisp (i=bcrisp@ip72-222-167-229.ph.ph.cox.net)
16:18.46*** join/#asterisk joako (n=ston3d@opensuse/member/joak0)
16:25.18*** join/#asterisk Alagar (n=Administ@122.164.38.25)
16:52.23*** part/#asterisk CheBuzz (n=CheBuzz@81.21.46.199)
16:58.08*** join/#asterisk _ShrikE (n=_ShrikE@adsl-074-185-215-060.sip.msy.bellsouth.net)
17:01.13*** join/#asterisk af_ (n=getsmart@88-149-230-89.dynamic.ngi.it)
17:03.04*** join/#asterisk mpe (n=mpe@0x4dd624b2.adsl.cybercity.dk)
17:05.38*** join/#asterisk voipmonk (n=voipmonk@69.172.114.221)
17:08.21dlynesno idea
17:08.32dlynesnever heard of it
17:09.45*** join/#asterisk danj1980 (n=dan@91.108.0.113)
17:18.43bcrispshiga who?
17:25.01*** join/#asterisk manxpower (n=ewieling@24.42.221.26)
17:25.30*** join/#asterisk farkus (i=chatzill@cpe-72-225-212-219.nyc.res.rr.com)
17:27.29HaMFHi, I use asterisk with two digium TE110-wildcards to connect a Nixdorf 8818 pbx with the PSTN. It works. Usually. But sometimes (randomly) asterisk freezes (takes 100% CPU) and you have to restart asterisk. Can anyone help me track the problem?
17:27.40HaMFthis is my config:  zaptel.conf: http://pastebin.com/d3adbf2ac ; zapata.conf:  http://pastebin.com/d5070c5cd extensions.conf: http://pastebin.com/d65ea880a
17:28.06HaMFand: asterisk
17:28.14voipmonkwhat version of asterisk and dahdi?
17:28.17HaMFAsterisk 1.4.21.2~dfsg-3 on an debian lenny-system
17:28.20voipmonksorry
17:28.21voipmonkzaptel
17:28.23*** join/#asterisk Badrobot- (n=badrobot@cpe-76-173-229-89.socal.res.rr.com)
17:29.33HaMFzaptel 1.4.11
17:29.58*** join/#asterisk neurosys (n=neurosys@c-71-196-20-208.hsd1.fl.comcast.net)
17:30.34cuscohi
17:30.39HaMFthis is what ztscan says: http://pastebin.com/d4dd897f4 and this is lspci on the cards: http://pastebin.com/d3d96282d
17:30.41cuscowhen a extension is circuit-busy
17:30.43cuscowhat does it mean?
17:31.17dlynesbcrisp: you shagged who?
17:32.23dlynescusco: it means it's either not accepting any calls at this time (all of its available channels are used up), or you sent it a codec that it can't handle
17:32.51dlynescusco: when you get a circuit-busy, it'll usually tell you a SIP status value as well
17:33.06cuscostatus is CHANANAVAILB
17:33.13dlynescusco: Such as SIP/500 Internal error
17:33.31dlynescusco: CHANUNAVAIL means that the channel isn't even up
17:33.59dlynescusco: iow, there's no route to the peer (usually)
17:34.20dlynescusco: or it's just not running a sip or iax2 service
17:34.51cusco:/
17:35.05cuscoI can call it directly
17:35.10cuscothe extension
17:35.15cuscohe is using x-lite
17:35.17dlynesHaMF: what's the last thing you see on the console when it locks up?
17:35.31cuscobut asterisk queue can't reach him with chananavailb
17:35.35dlynescusco: what do you mean by 'I can call it directly'?
17:35.48dlynescusco: and how is it different from how you're calling it with the queue?
17:35.57dlynescusco: you're not making any sense
17:36.05cusco...
17:36.08dlynescusco: please pastebin your queues.conf and your extensions.conf files
17:36.15cuscoI can dial his extension
17:36.17cusco(611)
17:36.20dlynescusco: both in their entirety...and scrub any passwords
17:37.09dlynescusco: and also pastebin a log of where it's working from a direct call and where it's not working from a queue call
17:37.14cuscook
17:37.43cuscoIm grepping full for 611:
17:38.29dlynescusco: show me the entire context of the call
17:38.39dlynescusco: not just the lines that have the phrase '611' in them
17:39.45HaMFdlynes, thats a difficult question... I only once had the chance to watch how the process freezes and at this time there was no pri debug enabled. and everything seemed fine.
17:39.58cuscodlynes: ok hold
17:41.19HaMFdlynes, I already tried logging every output pri debug generates to a file, but when I was doing so, the server did not crash for about 6 days.
17:42.08dlynesHaMF: I don't need pri debug just yet
17:42.22dlynesHaMF: I was just hoping for normal output at the time it crashed
17:42.45*** join/#asterisk Torrieri (n=Torrieri@nelug/crew/torrieri)
17:43.45cuscodlynes: this one I can reach 611: http://paste.debian.net/53888/
17:44.06voipmonkHaMF what does dmesg say, whats in the /var/log/messages dir on those dates when the system crashed?
17:44.17voipmonkHaMF do you use splunk?
17:44.25*** part/#asterisk LemensTS (n=customgt@adsl-70-238-155-79.dsl.stlsmo.sbcglobal.net)
17:45.18cuscodlynes: now the queue also reached 611... weird
17:45.29drmessano<PROTECTED>
17:45.31cuscodlynes: tho, he can't hear me
17:45.36drmessanoand ploonk
17:45.37cuscoI can hear him
17:45.41drmessanoBut not splunk
17:45.45cuscobut he can't hear me only on that extension
17:45.49cuscocould that be somehow relate
17:45.51cuscodto asterisk?
17:46.47cuscodlynes: thanks for helping, nevermind
17:46.48cusco:/
17:46.53dlynescusco: you figured it out?
17:47.04HaMFdlynes, nope sorry. The only thing I recorded (and the only strange thing I noticed) was: http://pastebin.com/d2459d9b9 (note the missing channel Zap/32 in this list). Well when I notice, the service crashed, it already did crash.
17:47.06cusconope, its just working now
17:47.16HaMF(usually happens once a day)
17:48.06dlynesHaMF: did you try voipmonk's suggestions?  Also, where's the console dump, if you have one (without pri debug info)?
17:49.31dlynesHaMF: also, depending on what Linux distro you're on, you might want to check your /var/log/syslog around the time when it crashed, too
17:49.33drmessanoYou have 32 channels configured in Zaptel?
17:50.01dlynesdrmessano: he's got two te110 cards
17:50.15drmessanooh, thank goodness
17:50.21dlynesdrmessano: so, assuming he's in europe, an e-1 would be 31 channels
17:50.28drmessanoYes, i know
17:51.51HaMFvoipmonk, dmesg/syslog did not output any usefull information (nothing except the usuall). and asterisk messages usually looks like http://pastebin.com/d7a0cfd8
17:52.03cuscodlynes: actually, he can't hear me on that extension, but if he changes the extension he can
17:52.11cuscoso its not a computer-problem
17:52.26HaMFI did not yet figure out what creates the unable to forward voice frame warnungs.
17:52.28cuscohow do I figure how what is wrong with extension 611
17:52.44HaMFno, i dont use splunk
17:54.18HaMFvoipmonk, but if this can help in solving the problem, tell me how to use it.
17:54.39dlynesHaMF: btw...have you considered upgrading to something that uses dahdi, instead of zaptel?
17:55.10dlynesHaMF: Or are you bent on using this particular version just so you don't have to do a build cycle?
17:56.19voipmonksplunk helps to organize and search through your logs - if you had it installed you could search using the time of your crash without having to grep your whole drive :)
17:56.22dlynescusco: well, i've asked at least once now for both logs and both config files
17:56.45voipmonkHaMF we need debug & logs for the times your system spiked and crashed
17:56.46dlynescusco: and i've only seen one log posted, and no config files
17:56.48HaMFyes... (to both questions), but I set up a gentoo-system and installed asterisk but dahdi does not provide a (v)zaphfc-module which I need for the third span
17:57.15dlynesHaMF: i see...ok
17:57.15HaMFso before switching to another version of asterisk (1.6) I have to either buy a new card or work around this problem.
17:57.30dlynesHaMF: what's the card you're using that requires it?
17:57.42cuscodlynes: sorry
17:58.04cuscodlynes: what configuration files would you need
17:58.12dlynescusco: queues.conf and extensions.conf
17:58.12cuscothe ael we use to dial another extension?
17:58.24cuscoerm
17:58.25dlynescusco: or your ael, if you're not using extensions.conf
17:58.37dlynescusco: or both, if that's what you're doing
17:58.39cuscowe use mysql
17:58.43cusco...
17:58.50cuscoqueues are stored in mysql
17:58.55dlynescusco: oh...realtime asterisk extensions?
17:58.58cuscoyes
17:59.09dlynesah...then I'm lost
17:59.15dlynesnever used the real time extensions
17:59.22cuscoits the same really..
17:59.40cuscojust we have other apps to decide if the extension is with any queue
17:59.41cuscoor not
17:59.54dlynescusco: btw
18:00.09HaMFdlynes, have a look at http://pastebin.com/d4dd897f4 (ztscan) its the third card which is an "normal" BRI ISDN card with a Cologne Chip (HFC)
18:00.12dlynescusco: you have noticed that you're trying to play a file to the caller(?), that doesn't exist, right?
18:00.19cuscoyes dlynes
18:00.27dlynesHaMF: nvm...no need to explain...you're using BRI
18:01.14*** join/#asterisk cpoulson (n=chris@pdpc/supporter/active/cpoulson)
18:01.26dlynescusco: can you try fixing that problem, to see if you start to get two-way audio?
18:01.37cuscolol
18:01.39dlynescusco: just in case it's a codec translation issue that's preventing two way audio
18:01.56cuscothat problem has been there for a long time, maybe you can take a look at, that: let me paste ael
18:02.10dlynescusco: either that, or just get rid of the code that tries to play the followme file
18:02.50madsaraThis is odd... packet catures indicate taht between my sip phone and my asterisk, only the sip phone is sending RTP, nothing is coming from the asterisk to the phone
18:03.08cuscodlynes: no weneed that, but It should go into the IF
18:03.13cuscodlynes: http://paste.debian.net/53894/
18:03.18cusco_XXX
18:03.38cuscowe have a: Set(NewCallMsg=followme/${PARTNER});
18:03.45*** part/#asterisk levity (n=levity@unaffiliated/canuck)
18:03.50cuscobut sometimes ${PARTNER} is empty
18:04.02cusco(like dialing directly to an extension)
18:04.23cuscoshouldn't it fall under: if (${NewCallMsg} = "followme/")
18:04.29cusco(line 31 at the paste website=
18:04.30cusco)
18:04.31HaMFvoipmonk, what exact logs do you need? Unfortunately I can't provide a console-dump (which most likely is what we need). As said when I was logging the console output the error did not occur.  But I can set up splunk if it's of any use.
18:05.20dlynesHaMF: /var/log/asterisk/full and /var/log/messages and /var/log/syslog (if it exists), and a 'dmesg' dump at the time of the crash (if one exists)
18:08.02dlynescusco: I don't see any issues there...
18:09.28cuscodlynes: right, nor do I. so the followme should be directed to followme/no-follow
18:09.45cuscoinstead, it just prints "followme/" no such file bla bla
18:09.51cuscoand doesn't print any of the NoOp
18:10.47*** join/#asterisk haryv (i=lanny@174.1.114.16)
18:11.20dlynescusco: ${PARTNER} == no-follow?
18:11.26haryvunbelievable! Nortel Corporate Greed at its best http://news.ca.msn.com/top-stories/cbc-article.aspx?cp-documentid=22732123
18:14.47drmessanoWho cares?
18:14.53drmessanoFsck Nortek
18:14.55drmessanoFsck Nortel too
18:16.04bcrispmaking enemies of those who make a lot of money is a step towards socialism
18:16.32*** join/#asterisk atis_work (n=atis_wor@193.238.212.171)
18:16.35bcrispregardless of bankruptcy protection... u either pay them market value or they leave
18:16.41bcrispquite simple
18:17.57dlynesbcrisp: the problem is management getting paid, and the staff getting screwed
18:18.09*** join/#asterisk simplydrew (n=simplydr@ool-44c2ab91.dyn.optonline.net)
18:18.30bcrispgovt bailing out companies is just dumb
18:18.31dlynesbcrisp: it's the second time now that nortel's done that bs while in bankruptcy court
18:18.43bcrispright
18:18.44dlynesbcrisp: nobody's bailing out nortel, except other companies
18:18.50madsarahttp://www.fark.com/cgi/vidplayer.pl?IDLink=4845526
18:19.01dlynesbcrisp: the government hasn't done squat for them
18:19.05bcrispah
18:19.54dlynesbcrisp: that being said, nortel would've been a better company to bail out than gm or chrysler
18:19.59*** join/#asterisk puzzled_ (n=foobar@puzzled.xs4all.nl)
18:20.10bcrispi agree
18:20.11dlynesbcrisp: gm and chrysler's business methods have gone the way of the dinosaur
18:20.23dlynesbcrisp: and they need to change their ways, or they're dead
18:20.33bcrispyou don't give tax payer money to companies that produce products that are not in demand
18:20.34dlynesbcrisp: no amount of government bailout is going to help them
18:20.57dlynesit's all just going to get pissed down the toilet, anyways
18:21.12dlynesnobody wants to buy a car that breaks down 6 months after they buy it
18:21.19bcrispright.. and the "cash for clunkers" - artificial.. just redistribution of tax funds to support a failing business
18:21.24theharsnowwww
18:21.36dlynesthat being said
18:21.41theharso much snowwww
18:21.45dlynesford and gm trucks are still very much in demand
18:22.20dlynesbut the cars are horrible
18:22.41bcrispright, but the funds go towards supporting ridiculous union agreements
18:22.51dlynesbcrisp: yep
18:23.18dlynesand hwat's the union doing for them now, that they're unemployed?
18:23.20dlynesnothing
18:23.37bcrispthe profit margin on vehicles is actually negative for many
18:24.17dlynesbcrisp: the new city golf apparently had an profit margin that was barely above zero
18:24.45dlynesbcrisp: so vw realized with the amount they  were producing, they had to change their assembly line drastically
18:25.02dlynesbcrisp: the new gti has a much healthier profit margin
18:25.10bcrispya.. thats vw for u
18:25.24dlynesand the new gti is freaking awesom
18:25.31dlyness/awesom/awesome/
18:25.48dlynesI've always been a sucker for vw :)
18:25.53prgmrchrisew
18:26.07dlynesEvery car I've owned has been a vw
18:26.21HaMFdlynes, I just had a look through the log files, but could not find any hints (at the times when asterisk crashed). I configured monit so it will dump the logs to extra files as soon as asterisk crashes again and I turned on every debug possibility, asterisk provides (except pri debug)) so let's wait..
18:26.22dlyneswell..and they've all been golfs :)
18:26.27bcrispi owned a jetta and a passat
18:26.49dlynesthe gl and the gti were both pretty slick
18:26.56bcrisppassat was nice but it was a turbo that liked to cake up the oil
18:27.05dlynesas long as you're not forced to try driving an automatic
18:27.20dlynesthose jettas with an automatic tranny are pretty boring
18:27.25bcrispown a mazda now.. been great
18:27.47dlynesHaMF: btw...if you like pri debug
18:27.53dlynesHaMF: there's also pri intense debug
18:28.01HaMFI know
18:28.09dlynesHaMF: but i suspect your issue has nothing to do with your pri
18:28.21dlynesHaMF: i suspect it's either a driver or a dialplan issue
18:28.32dlynesHaMF: does it lock up the entire machine, or only asterisk?
18:29.40HaMFdlynes, I had some fun hours using pri debug and pri intense debug. My hope is that I at least can figure out what leads to the problem. (And this has to be an action on one of the cards.. hopefully)
18:30.02dlynesHaMF: is it the entire machine that locks up though, or only asterisk?
18:30.27HaMFdlynes, well, asterisk uses 100%cpu, so you cant use the machine anymore. but if you kill asterisk, everything's fine
18:30.51dlynesHaMF: ok, so it could be either then...either the driver or the dialplan
18:31.16HaMFdid you have a look at the dialplan I posted earlier?
18:31.40dlynesHaMF: no...but i suspect that's probably the least of your worries, unless you've got a loop in it
18:31.54dlynesHaMF: if there's a loop, that could be the reason, though
18:32.46HaMFdlynes, yeah but the dialplan is rather simple
18:32.57dlynesHaMF: can you pastebin it again?
18:33.12HaMFsure
18:34.57*** join/#asterisk voipmonk (n=voipmonk@69.172.114.221)
18:35.09*** join/#asterisk fakhir (n=fakhir@unaffiliated/fakhir)
18:38.09HaMFhere it is http://pastebin.com/d206535b3 (I deleted the comments ;... they describe the strange signalling in germany and why we're dialing what whe're dialing)
18:40.23HaMF(hihi the dialplan is 300 lines. 50 lines for extensions, 250 for the comments...)
18:42.28dlynesHaMF: I don't see anything out of the ordinary there
18:42.43dlynesHaMF: However, you do have autofallthrough=yes set
18:42.56dlynesHaMF: which might make debugging issues with your dialplan a little erratic
18:43.16dlynesHaMF: but, your dialplan is so simple, i don't think it woudl be an issue
18:44.08HaMFdlynes, yes autofallthrough is on but i already turned if off for testing and asterisk froze anyways.
18:44.53dlynesHaMF: i wasn't implying that it would cause crashing (it probably would never cause crashing)
18:45.22dlynesHaMF: it's what it would be running instead that might crash your system...but there's nothing for it to run instead, except the default:  Hangup
18:45.28voipmonkstop asterisk
18:45.32voipmonkrun it with -vvvvgcd
18:45.38voipmonkthen when it dies it will dump a core file
18:45.48voipmonkthen we can debug from the core file :)
18:45.48_Raptor_does anyone here know about russian voip providers who offer a sip flatrate tarife?
18:45.58voipmonkin the mean time - test with dahdi on your test server
18:46.02voipmonklet it run for a week
18:46.09dlynesvoipmonk: He's running a binary distribution that probably has all the debug information removed
18:46.14voipmonkand then if u dont have any trouble , migrate to it :)
18:46.27voipmonkthats his fault
18:46.51HaMFdebian provides debugging symbols in a seperate package
18:47.05dlynesvoipmonk: and he's can't run dahdi...he needs the drivers for the hfc for bri
18:47.09*** join/#asterisk hakr (i=bryan@element.techlive.tv)
18:47.12voipmonkasterisk is a toolkit not a solution
18:47.33*** join/#asterisk Davedan (n=me@CBL217-132-75-171.bb.netvision.net.il)
18:47.48HaMFthe problem is that asterisk doesnt die, it "just freezes".
18:47.59Davedancan you recommend a sip client for ubuntu for testing?
18:48.08HaMFI already tried to detatch to asterisk using gdb but thats kind of ugly
18:48.13dlynesDavedan: ekiga?
18:48.16voipmonkset your environment up for debugging and then try to reproduce the freezing
18:48.31HaMFworking on an system that takes one minute to accept a character
18:48.32Davedandlynes: on karmic ekiga isn't installed by default anymore. Is it the best?
18:48.51dlynesDavedan: no idea...I use a sip hardphone
18:49.05dlynesDavedan: and all my clients use xten or something similar on windows
18:49.17voipmonkHaMF, why would you run a telephony app on such a system?
18:49.23voipmonknevermind, dont answer that :)
18:49.27*** join/#asterisk JonMR (n=jon@67-207-128-103.slicehost.net)
18:49.30HaMF*hust*
18:49.34Davedandlynes: thanks
18:49.37dlyneslaughs.
18:49.41voipmonkhttp://www.voip-info.org/wiki/view/Asterisk+debugging
18:50.52dlynesDavedan: apt-get install ekiga, no?
18:51.11dlynesDavedan: a lot of people on here seem to be using sjphone as well
18:52.47drmessanoI love Windows Messenger so much with Asterisk I run XP in a VM to use it
18:55.21HaMFvoipmonk, if you could predict when the system will crash again, you could do the things mentioned at "Debugging asterisk". but let's wait for clean logs :)
18:58.39bcrispdrmessano seriously?
18:59.20bcrispmessenger is the devil
18:59.50drmessanoNo, but it does work well as a softphone
19:01.56bcrispi just use skype
19:02.59drmessanoUsing their well hidden SIP functions?
19:05.42*** join/#asterisk Tim_Toady (n=moi@77.49.183.230.dsl.dyn.forthnet.gr)
19:20.32*** join/#asterisk xmitter (n=xmitter@c-24-21-212-187.hsd1.or.comcast.net)
19:24.48eppigyKatty: :<
19:25.58drmessanowonders if xmitter has one way audio
19:26.44xmitterheh, heh. Yeah.
19:28.23drmessanoThat was a bad one, even for me
19:29.08*** join/#asterisk TommyBotten (n=noosjent@217-14-12-26-dhcp-osl.bbse.no)
19:29.42*** join/#asterisk ViniciusFontes (n=vinicius@189.7.198.85)
19:31.46*** part/#asterisk ViniciusFontes (n=vinicius@189.7.198.85)
19:34.11DavedanI've changed extensions.confg and used 'dialplan reload' but 'dial plan who' gives me 28 extensions and 62 priorities
19:36.52*** join/#asterisk wierdo (n=jimmy@77.78.3.197)
19:42.17*** join/#asterisk tzafrir_laptop (n=tzafrir@bzq-218-155-148.cablep.bezeqint.net)
19:49.38bcrispwb Davedan
19:50.58p3nguinI've never even heard of this "dial plan who" thing before.
19:51.22ChannelZeither
19:51.51Obelikswhy can't I use format=ogg_vorbis for voicemail? Am I missing something? It shows up in core show file formats
19:53.36dlynesp3nguin: that's because Davedan's making stuff up
19:53.48p3nguinah
19:54.06dlynesp3nguin: there's no such file as extensions.confg, either
19:54.17p3nguinI took that as a typo.
19:54.24dlynesp3nguin: I think he meant dialplan show
19:54.40dlynesp3nguin: but he's seriously dyslexic
19:54.50*** join/#asterisk freddyk (n=f@host218-83-dynamic.3-79-r.retail.telecomitalia.it)
19:54.52bcrisploves the new dialplan whosyodaddy command
19:55.05*** join/#asterisk xmitter (n=xmitter@c-24-21-212-187.hsd1.or.comcast.net)
19:55.17ChannelZ'core just work goddamnit' is better
19:56.14bcrispya i like that
19:56.21bcrispcore fixmyshit
19:57.23Davedan?
19:58.02DavedanI meant dialplan show
19:58.41ChannelZDavedan: what was the actual question?
19:59.12DavedanI'm following the asterisk book and trying to setup a test sip account
19:59.27Davedanthe book says I should see 1 extension with the example but I'm getting 28
19:59.53bcrisphmm
19:59.58Davedanthis is what I'm using for extensions.conf http://dpaste.com/132894/
20:00.28bcrispyou need to add an extension
20:00.36ChannelZwell you should have 0 extensions, I see none.
20:00.50ChannelZhave you reloaded the dialplan since changing it?
20:00.58Davedanmaybe asterisk takes config from somewhere else?
20:01.10Davedanin the CLI I used: 'dialplan reload'
20:01.32bcrispDavedan whats the name of your sip device u want to test with?
20:01.40bcrispSIP/Davedan ?
20:02.03ChannelZWhen you did the reload, did it say something like " == Parsing '/etc/asterisk/extensions.conf': Found"  ?
20:02.17Davedanthis is the result of 'dialplan reload' http://dpaste.com/132898/
20:03.04bcrispok davedan, looks like you have contexts but no extensions
20:03.24bcrispin your sip.conf, where you added your device, what is the default context set as?
20:03.45bcrispoh my bad
20:03.47bcrisp500
20:03.50Davedanhttp://dpaste.com/132903/
20:04.23bcrispok davedan in your extensions.conf, under the [phones] definition
20:04.25bcrispadd this
20:04.27ChannelZah it looks like it's loading extensions.ael also
20:04.34bcrispoh
20:05.22DavedanI'm using the ubuntu asterisk package. the only thing I changed was extensions.conf and sip.conf like the book says
20:05.25ChannelZDavedan: remove /etc/asterisk/extensions.ael (or rename it something like _extensions.ael)
20:06.06bcrispwhere is extension 500 defined?
20:06.27DavedanI've changed extensions.ael to extensions.ael.sample
20:06.32ChannelZbcrisp: all that is coming from extensions.ael I think
20:06.34Davedandialplan reload
20:06.39Davedandialplan show
20:06.42Davedanstill 30 extensions
20:06.52bcrispya pastebin extensions.ael
20:07.05ChannelZwe don't need to see it, he just doesn't want to load it
20:07.10bcrispah
20:07.27bcrispdavedan, you have extension 1000 in your sip.conf for context phones
20:07.31Davedanyes
20:07.33ChannelZDavedan: wasn't it 28 before?  it's gotten BIGGER?
20:07.36bcrispso in your extensions.conf, under [phones]
20:07.37bcrispadd
20:07.51bcrispexten => 500,1,Dial(SIP/1000,10)
20:08.16Davedanwhat is this?
20:08.18*** join/#asterisk Godfather_ (n=Godfathe@62.43.134.46.dyn.user.ono.com)
20:08.36bcrispthat says, when in the context "phones", 500 should dial SIP/1000 and timeout after 10 sec
20:09.20bcrispthen do a dialplan reload
20:09.41DavedanI don't understand. will it remove all the other extensions?
20:09.56bcrispno
20:10.18DavedanI don't want to add things right now. just to understand why asterisk adds all the extensions
20:10.22Davedanthanks
20:11.13bcrispoh
20:11.41bcrispok davedan
20:11.44bcrispopen up modules.conf
20:11.53ChannelZI think you are not editing the file you think you are editing
20:11.59bcrispnoload => pbx_ael.so
20:12.10bcrispthen restart asterisk
20:12.29*** join/#asterisk DocAwesome (n=Leif@asterisk/documenteur-extraordinaire/blitzrage)
20:12.29*** mode/#asterisk [+o DocAwesome] by ChanServ
20:13.06DavedanChannelZ: When I change extensions.conf I see a different number of extensions. maybe bcrisp is right and there is a module that loads something
20:13.12Davedanmaybe I can just ignore it
20:13.36TJNIIcheck for users.conf
20:13.41ChannelZwell if you renamed the other extension files it shouldn't be loading anything
20:13.42TJNIII saw that in one of your pasetbins
20:14.27bcrispChannelZ: did he restart asterisk or just reloaded the dialplan?
20:14.45ChannelZreloaded I think
20:15.00DavedanI did both
20:15.14Davedanthis is the standard asterisk package for ubuntu. I didn't do special things
20:15.26bcrisphmf
20:15.33ChannelZwell who knows what they've hacked up in that distro
20:15.37ChannelZpastebin your users.conf
20:15.39voipmonk:)
20:15.46ChannelZbecause something odd is going on
20:15.57bcrispthere's an angry gremlin somewhere...
20:16.05voipmonku guys are sugar coating what this guy needs to hear
20:16.10Davedanusers.conf http://dpaste.com/132913/
20:16.14ChannelZ"build it yourself"
20:16.32voipmonkhides back under his rock
20:16.35DavedanChannelZ: using a package shouldn't be a bad thing
20:16.44ChannelZNo, it shouldn't.
20:16.47voipmonka lot of things are labelled under shouldnt
20:16.53bcrispi dont think users.conf is the problem
20:17.00*** join/#asterisk JAMMAN2110 (n=james@unaffiliated/jamman2110)
20:17.05bcrispDavedan did you try the noload?
20:17.13ChannelZubuntu likes to take standard config files and then include others that they intend YOU to configure in
20:17.57ChannelZbut based on one of your other pastes I don't see what is going on -- on line 17 of your reload for instance it says 'parsing users.conf' but then proceeds to add tons of AEL contexts and things
20:19.05Davedan<PROTECTED>
20:19.07bcrispi think if you tell * to not load ael that would be prevented...
20:19.14bcrispDavedan: open modules.conf
20:19.35ChannelZbut he supposedly renamed the ael extensions file so even if the module WAS loading, it shouldn't be able to find the config.
20:19.50bcrispwonders if this package has a lot of other stuff in it
20:20.00ChannelZI'm sure it does
20:20.01voipmonkwhispers symbolic links maybe? -
20:20.15Davedanit's probably doesn't matters
20:20.24DavedanI don't mind the extensions to be there
20:20.27bcrispdavedan patebin your modules.conf
20:21.37ChannelZYou will mind when you start trying to configure your own and it doesn't do what you're telling it to do
20:21.49bcrispya something is plugging in to the mix
20:21.58bcrispgenerating automagic contexts and extensions
20:23.01voipmonknice
20:23.04Davedanso I'll build from source as you suggested
20:23.09voipmonk:)
20:23.30ChannelZremove the package including it's config first
20:23.33bcrisp~roulette
20:23.34infobotACTION watches bcrisp pull the trigger:  BANG!
20:23.39bcrispdies
20:23.42jblackNatalie Portman is going to be in pride and prejudice and zombies?
20:23.58bcrispjblack: not sure, but she'll be in my dreams :/
20:24.02TJNII~roulette
20:24.03infobotACTION watches tjnii pull the trigger:  Click!
20:24.41TJNIIthinks infobot should kick whoever loses ~roulette.
20:25.17jblackhttp://www.imdb.com/title/tt1374989/
20:25.23ChannelZinfobot needs ops first
20:25.44TJNIITrue.
20:30.14dlynesjblack: so what was that about last night?
20:31.39*** join/#asterisk shinao1 (n=shinao1@41.219.239.202)
20:33.36cusco18:10 < dlynes> cusco: ${PARTNER} == no-follow? --- no, that variable has other functionalities. but it seems fine..
20:33.42cuscoby the way, I have another question
20:34.29*** join/#asterisk shinao1 (n=shinao1@41.219.239.202)
20:34.59*** join/#asterisk atis_work (n=atis_wor@193.238.212.171)
20:36.18cuscohttp://paste.debian.net/53903/ - audio file not found for playback
20:36.58cuscoroot@perfpbxr:/var/lib/asterisk/sounds# ls -lia audio/ZON/opcaoinvalida.ulaw
20:36.59cusco9125914 -rwxrwxrwx 1 root root 19760 2009-12-13 15:46 audio/ZON/opcaoinvalida.ulaw
20:38.21dlynescusco: it's probably looking for /var/lib/asterisk/sounds/audio/ZON/opcaoinvalida.ulaw.ulaw
20:38.38dlynescusco: don't specify the extension...asterisk will automatically choose it
20:38.44ChannelZDavedan: What version of ubuntu are you running
20:39.26dlynesjblack: nvm...seems you just say a whole bunch of random stuff
20:39.35cuscodlynes: ahh! ok
20:40.09dlynescusco: i guess this is your first time using hte playback() app?
20:40.23DavedanChannelZ: karmic
20:40.28cuscono...
20:40.30cuscoI forgot
20:40.31cuscolol
20:40.41dlynesoh....guess you just never specified the extension before
20:40.46dlynesand this time you decided to do it
20:40.59cuscoI just copied the filename yes
20:41.02ChannelZDavedan: is that asterisk 1.6?
20:41.38Obeliksany idea how I can set the language on a chan_lcr channel so my voicemail prompts are in german? Set(CHANNEL(language)=de) throws an error
20:41.38DavedanI think so
20:42.02cuscocheers dlynes
20:42.27dlynescusco: I think everyone's run into that problem before, when they first started using asterisk
20:42.34dlynescusco: so you definitely won't be the last one :)
20:43.45cuscowell I am trying to get round asterisk... my boss set it up, but wants me to maitain
20:43.48cuscomaintain it
20:43.55cuscoI really know nothing about asterisk :/
20:44.12dlynescusco: ah...have you read 'the book' yet?
20:44.18Obelikssorry. I'm an idiot ;) had a typo in "language"
20:44.55dlynesObeliks: You've got a typo in your nick, too ;)
20:44.57cuscodlynes: time to time I read a bit
20:45.05Obeliksdlynes, :P
20:45.23dlynesI would think it was supposed to be Obelisk, not Obeliks
20:45.36cuscoobelix ?
20:45.45Obeliksnope, actually it's been Obeliks for 10-15 years or so ;)
20:45.47dlynescusco: obelisk is a big rock
20:46.03cuscowikipedia says obelisk
20:46.30dlynesObeliks: obeliks means something in deutsch?
20:47.11Obeliksno. But I guess you "pronounce" it the same way as Obelix
20:48.09dlynesObeliks: oh...nvm...I thought the dude in the Asterix comic strips was Obelisk as well, cause he always carries around an obelisk, but his name was Obeliks
20:48.48dlyneserm..nvm....his name is Obeliks in some other language I guess
20:48.49ObeliksI guess that's the trick behind it ;)
20:48.58dlynesLooks like Polish
20:49.02Obeliksdlynes, yeah, I figured that out way after I got the nick ;)
20:49.32dlynesso there ya go
20:49.41dlynesobelisk in polish is obeliks
20:49.58cuscothe fat dude from Asterix, yea I was thinking that too
20:50.10cuscothey mix up everyones names to make it funny, so it could as well be
20:50.14*** part/#asterisk Davedan (n=me@CBL217-132-75-171.bb.netvision.net.il)
20:53.13*** join/#asterisk Wildy (n=simba@83.149.10.63)
20:59.47*** join/#asterisk Torrieri (n=Torrieri@nelug/crew/torrieri)
21:11.47ChannelZ...neeed...more...bandwidth..
21:12.15HaMFhihi
21:12.40jblackYeah. I' starting to feel cheated by 3.0mb/768kb for 45 a month.
21:12.44*** join/#asterisk Davedan (n=me@DSL217-132-63-74.bb.netvision.net.il)
21:12.51HaMFui
21:14.24*** join/#asterisk grabes222 (n=Miranda@72.20.207.237)
21:14.46ChannelZis stuck with shitty DSL
21:15.09ChannelZI kicked Comcast to the curb for all of their intrusiveness
21:16.21DavedanI'm trying to call with x-lite to the echo test. on the CLI I see http://dpaste.com/132933/ but I don't hear anything on x-lite and it shows calling...
21:16.33grabes222Can someone take a look at this backtrace, I can repeat this on anything higher than 1.6.0.14.  Its after I receive a fax and call System http://pastebin.ca/1713594
21:18.34*** join/#asterisk gr0mit (n=tim@extrt.txrx.org.uk)
21:19.10ChannelZDavedan: does it show connected?  there's nothing on that paste to indicate anything is wrong (besides the syntax warning)
21:19.45grabes222Davedan : yeah, my guess is you may be having NAT/Firewall related issues because you can't hear audio
21:20.26Davedangrabes222: I'm using 3 virtual box computers all behind the same router using bridged network so I don't think NAT should be a problem
21:20.28JAMMAN2110Gah
21:20.33Davedanunless I need to turn NAT off
21:20.35JAMMAN2110The countries biggest telephone network is down
21:20.57grabes222Davedan : No that shouldn't be an issue then.
21:21.42DavedanChannelZ: x-lite says registering... and then ready
21:21.53ChannelZafter you dial I mean
21:22.28DavedanChannelZ: after I dial it doesn't say 'connected' just 'calling...'
21:23.07grabes222Davedan : Do you have a codec incompatability issue?
21:23.50ChannelZDo a     Playback(demo-echotest)   for instance in your dialplan, are you getting audio FROM * ?
21:23.57Davedangrabes222: I don't know
21:24.16DavedanChannelZ: I don't understand. write this in the CLI?
21:24.24ChannelZno in your extensions.conf
21:24.27grabes222In xlite, what codecs do you have enabled, and in your sip.conf what do you have for allow
21:24.53ChannelZright now it looks like you're doing a NoOp and then an Echo.. shove a Playback step in there so * plays something, see if you have audio going at least one way
21:25.04grabes222x-lite: right click -> options -> advanced -> Audio Codecs
21:25.08*** join/#asterisk xmitter (n=xmitter@c-24-21-212-187.hsd1.or.comcast.net)
21:25.43Davedansip.conf http://dpaste.com/132941/
21:26.02Davedanextensions.conf http://dpaste.com/132942/
21:29.20ChannelZinsert "exten => 500,n,Playback(demo-echotest)"  after your Verbose line, before the Echo
21:30.19ChannelZI don't think Echo will work as the first application
21:30.39DavedanChannelZ: work :)
21:30.43Davedanwhat did that do?
21:31.09ChannelZwell it's playing back a sound file first which sets up the media stream - I don't think Echo triggers the right things internally
21:31.44Davedanit's weird that the book doesn't explain to add your line but maybe it does later
21:31.44Davedanthanks
21:32.05ChannelZIt might be a bug, that very well might work in older versions
21:32.09ChannelZin fact..
21:32.48ChannelZit might just be that you need to Answer() first
21:33.31ChannelZPlayback() automatically triggers an Answer if the channel hasn't been already.  Echo apparently doesn't
21:33.39DavedanI need to answer in the command line?
21:33.46ChannelZno
21:33.49ChannelZin extensions.conf
21:41.39HaMFdlynes, the asterisk process is freezing right now
21:42.25HaMFI did a gdb backtrace, anything else?
21:43.07*** join/#asterisk voipmonk (n=voipmonk@69.172.114.221)
21:43.13HaMFvoipmonk :)
21:43.25voipmonkhey
21:43.41HaMFI have a neary accesible system with a "frozen" asterisk
21:44.01HaMFanything I can do now to do provide more debugging info?
21:44.37drmessanoWhich version of Asterisk is this?
21:44.41voipmonkproc?
21:44.46voipmonkwhat processor?
21:45.31HaMF1.4.21
21:45.37jblackdrmessano: In the unlikelyhood that I don't see you before then, happy tuesday!
21:45.54drmessanolol..
21:46.12*** join/#asterisk fakhir_ (n=fakhir@unaffiliated/fakhir)
21:46.20drmessanoHaMF: Zaptel version?
21:46.48jayteejust a few more years and he'll be able to join AARP
21:47.01drmessanoYeah, the big 33
21:47.07drmessanoHalfway there!
21:47.23jblackThat's it?
21:47.23*** join/#asterisk Tech_Travis (n=Administ@cpe-76-87-9-130.socal.res.rr.com)
21:47.59jblackHeh. I constantly get invitations from AARP.
21:47.59jblackA lot of the time I put "retired" for occupation, so when they buy their lists, they junk mail me.
21:47.59drmessanoI liked being 22.. Called the doubel deuce.. now i'm just old
21:48.32bcrispfk
21:48.34drmessanoRunning to the store.. bbiaf
21:48.43HaMFdrmessano, 1.4.11
21:48.46bcrispsome people riding quads in the neighborhood drove through my yard and killed my tree
21:49.59ChannelZdid they kill themselves too?
21:50.25jblackI met my ex-wife on august 15. I got married on august 15. my daughter was conceived on august 15. My ex-wife notified me of seperatation on august 15. We almost got divorced on august 15 (paperwork delayed it until aug 30).
21:51.16bcrispChannelZ unfortunately no
21:51.29bcrispthey denied everything of course
21:51.35ChannelZdamn.  It must not have been a big tree
21:51.38bcrispchecking out survellance cameras
21:51.52bcrispthey side swiped it.. nah it was a small palm
21:52.06bcrispdrove all through my lawn (which im reseeding)
21:52.28bcrispaggravating
21:52.42ChannelZhope you got them on cam, call the po-po!
21:52.57bcrispill get em next time
21:53.01bcrispim shopping for the cams now
21:53.32ChannelZoh.. I thought you meant you had them and were checking out what they captured :)
21:53.42*** join/#asterisk Caplain (i=shayne@2001:470:5:fb:0:0:0:2) [NETSPLIT VICTIM]
21:53.42*** join/#asterisk Failrar (n=Failrar@2001:470:1f15:316:2a0:d1ff:fe4e:e802)
21:53.42*** join/#asterisk dandre (n=daniel@was59-3-82-236-48-30.fbx.proxad.net) [NETSPLIT VICTIM]
21:53.42*** join/#asterisk miloux (n=KVIrc@milu.rit.se) [NETSPLIT VICTIM]
21:53.42*** join/#asterisk jmm3 (i=ident-us@gwyn.tux.org) [NETSPLIT VICTIM]
21:53.42*** join/#asterisk mohawk (n=ross@host217-40-110-153.in-addr.btopenworld.com)
21:53.43*** join/#asterisk nd- (n=nd-@xes-mad.com)
21:53.44*** join/#asterisk fnordus (n=dnall@70.70.0.215) [NETSPLIT VICTIM]
21:53.44*** join/#asterisk ltd_wk (i=z@patwk.transact.net.au) [NETSPLIT VICTIM]
21:53.44*** join/#asterisk jksM (i=jks@193.189.93.254) [NETSPLIT VICTIM]
21:54.19*** join/#asterisk fnordus (n=dnall@70.70.0.215)
21:54.23jblackanyone seen katty today?
21:57.35TommyBottenjblack: /whowas katty
21:59.10TJNII!seen Katty
21:59.14TJNII~seen Katty
21:59.17infobotkatty <n=asterisk@mail.copi-rite.com> was last seen on IRC in channel #asterisk, 8h 8m 42s ago, saying: 'he's also eating okay'.
22:04.30jblacktjnii: Wow. Has the bot been upgraded to track emails, phone calls and instant messaging too?
22:09.22grabes222Actually this appears to be specific to app ReceiveFax, and only when it destroys the channel.  Any BT gurus here http://pastebin.ca/1713594
22:10.48TommyBottengrabes222: Which problem are you having?
22:11.31grabes222TommyBotten : Ast <= 1.6.0.14 faxing is fine, Faxing on any version higher I get a core dump after a successful fax
22:13.03grabes222Last thing I see on the console is a double free corruption in libc
22:13.37dlynesjblack: actually, it's had the ~seen command for at least 5 years now
22:14.25dlynesgrabes222: have you tried it in asterisk 1.6.1.8 or higher?
22:14.54grabes222Yes, that back trace is from 1.6.1.11
22:15.09jblackdlynes: I'm aware of seen commands. I'm not aware that seen has been updated to include contacts outside of an irc channel.
22:15.21jblacksuch as phone calls, emails, private messages, im, and such.
22:15.35dlynesjblack: oh..it hasn't
22:16.00dlynesjblack: /whowas is an irc command
22:16.19jblackdrops the politeness for a moment
22:16.48jblackThere was an emergency last night, and I'm checking to see if anyone has heard from katty at all via any method. Not just in a public channel.
22:17.16dlynesjblack: ah
22:17.19jblackSo your help, while kind and very nice, at this particular moment is useless. But thanks anyways. =)
22:19.24jblackIronically, her last public comment answered my question anyways. How's her pet ferret. =)
22:19.25*** join/#asterisk levity (n=levity@unaffiliated/canuck)
22:20.46jblackI like cheese
22:20.46dlynesgrabes222: odd...I've got it working just fine (both digium and soft-switch.org versions)
22:21.58*** join/#asterisk Xetrov` (n=xetrov@unaffiliated/xetrov/x-827361)
22:22.15grabes222dlynes : It works fine on asterisk 1.6.0.14, but nothing higher
22:22.38grabes222dlynes : Its strnage
22:23.19dlynesgrabes222: yeah...works fine for me on asterisk 1.6.1.8
22:24.19dlynesgrabes222: however, i'm checking the results of your bt
22:27.06dlynesHaMF: have you been able to figure out what it's done just before it appears to freeze yet?
22:27.32dlynesHaMF: or can you pastebin a dmesg?
22:28.34HaMFdlynes, you wanted logs: gdb log: http://pastebin.com/m6392889a ;  relevant part of dmesg http://pastebin.com/m738f2666 ; syslog:  http://pastebin.com/m739d0086  ; console output (already frozen) http://pastebin.com/m55a254bb ; full log (lines repeating 10^6 times removed): http://pastebin.com/m61b8b87d
22:29.16HaMFI've just cleaned the full log (there were way too much repeating messages of "Avoiding inital deadlock"...)
22:29.29dlynesgrabes222: btw...your bt isn't from 1.6.1.11
22:29.36dlynesgrabes222: it's from a beta version of 1.6.1.11
22:32.06Davedando I need to configure something other then adding the sip extension to let to soft phones talk?
22:32.48dlynesHaMF: Try following this email:  http://www.mail-archive.com/asterisk-users@lists.digium.com/msg84634.html
22:34.16dlynesHaMF: it seems you've got your card or your software misconfigured...i.e. it's configured as a t1, when it's an e1
22:34.21*** join/#asterisk m0e (n=eX@41.196.209.68)
22:34.24DavedanI can hear the echo test on both clients but when a client tries to call the other one I'm getting 'call failed, call not found'
22:34.46Davedanand no the CLI I'm getting: 'chan_sip.c:19546 handle_request_invite: Call from '1001' to extension '1000' rejected because extension not found.'
22:35.01dlynesDavedan: can you be more specific by actually giving us a log, instead of telling us in your own words?
22:35.12HaMFhmmm
22:35.22dlynesDavedan: and also pastebin a copy of your extensions.conf file
22:35.41Davedanhttp://dpaste.com/132941/
22:35.43dlynesHaMF: you have noticed the multitude of warnings and errors in your log file, right?
22:35.45Davedanhttp://dpaste.com/132942/
22:35.59Davedandlynes: by log you mean the output of the CLI?
22:36.01m0equick question.. what does the following mean "chan_dahdi.c:4668 handle_alarms: Detected alarm on channel 1: Red Alarm"
22:36.20dlynesDavedan: or /var/log/asterisk/full
22:36.33dlynesm0e: depends on what's on channel 1
22:36.38dlynesm0e: is it a pri?
22:36.41m0epstn line
22:36.50m0enope.. just plain old pstn line
22:37.16dlynesm0e: probably means the pstn line's not connected, or you've got a pstn line connected into an fxs port (really bad), or something similar
22:37.28Davedandlynes: under /var/log/asterisk I have event_log, queue_log and messages. what is relevant?
22:37.40dlynesDavedan: gimme the messages log, then
22:37.40m0ei have no fxs ports.. so atleast thats not it :)
22:38.45m0ehmm.. I'm getting this now "-- Reconfigured channel 1, FXS Kewlstart signalling"
22:39.05dlynesm0e: so then you're good to go
22:39.20m0ethough in the chan_dahdi.conf I have this set "signalling=fxs_ks"
22:39.24m0eoh.. so no probs?
22:39.32dlynesm0e: that's all correct
22:39.33HaMFdlynes, what is the preceeding mail to the one you linked?
22:39.42m0eperfect, thanks a bunch :)
22:39.45Davedandlynes: it's too long. I'm pasting the end of it http://dpaste.com/132972/
22:40.04dlynesHaMF: This is the head email:  http://www.mail-archive.com/asterisk-users@lists.digium.com/msg84616.html
22:40.05*** join/#asterisk nybble (n=nybble@about/apple/performa/nybble)
22:40.23HaMFthanks
22:40.34dlynesDavedan: Ok...I refuse to help
22:40.43ChannelZDavedan: you don't have an extension 1000 defined
22:40.44dlynesDavedan: if you can't read error messages, you need some serious help
22:41.00ChannelZor 1001 for that matter
22:41.08dlynesDavedan: and it ain't asterisk help you need....it's mental help
22:41.46DavedanChannelZ: I need to define 1000 both on sip.conf and extensions.conf?
22:41.48dlynesDavedan: What does this line suggest to you?  [Dec 13 17:38:01] WARNING[2353] pbx.c: The application delimiter is now the comma, not the pipe.  Did you forget to convert your dialplan?  (Verbose(1|Echo test application))
22:42.01ChannelZDavedan: Yes - the peers in sip.conf are NOT extensions
22:42.12m0eis there some document that describes what all the config files in /etc/asterisk are exactly?
22:42.16ChannelZThey are devices.  You might have called it "1000" and "1001" but that means nothing
22:42.25dlynesm0e: *.conf-dist
22:42.28jblackdlynes: Are you the one that helped me with that logo?
22:42.41m0ethanks again :)
22:42.41DavedanChannelZ: ok. I'll try to read about extensions
22:42.41dlynesjblack: which logo?
22:42.41jblackmow
22:42.59dlynesjblack: oh yeah...that's what you were asking me about last night...soemthing to do with mow.svg
22:43.07dlynesjblack: i had no freaking clue what you were talking about
22:43.16dlynesjblack: and i still don't :)
22:43.27dlynesjblack: but what about svg?
22:43.38dlynesjblack: You're just wanting to edit it?
22:43.39*** join/#asterisk DaveCanoe (n=Dave@strike.dclg.ca) [NETSPLIT VICTIM]
22:43.59HaMFwell I guess I'll try removing crc4 although the PSTN states that they do support crc4
22:44.03jblackNo, just wated to show you what I ended up with
22:44.11jblackmow.merconline.com
22:44.20dlynesjblack: oh...yeah...it was obviously not me you were talking to, though
22:44.53*** join/#asterisk brut- (n=brut-@h66-173-4-254.mntimn.dedicated.static.tds.net) [NETSPLIT VICTIM]
22:44.58jblackOh, ok
22:44.58dlynesjblack: that being said, the logo looks good enough
22:45.15dlynesjblack: but your username and password fields extend all the way over into the content pane
22:45.32jblackyeah. thanks
22:45.33dlynesjblack: they overlap 'Once' logged in
22:46.02dlynesjblack: didn't know if you could see that or not...figured it might look ok in IE, but not in Firefox
22:46.38dlynesjblack: I guess you're using Inkscape?
22:46.48jblackyeah. I don't have IE.
22:46.59ChannelZhurray!
22:47.05dlynesjblack: Inkscape's a pretty cool svg editor
22:47.16dlynesjblack: well...pretty cool for dtp in general
22:48.09dlynesDavedan: You are seeing all those errors and warnings, right???
22:48.41jblackYeah. I like inkscape. THat's what I use.
22:49.09dlynesjblack: yeah...I use gimp and Pixel for the graphics
22:49.25dlynesjblack: but the author of Pixel is pissing me off....hasn't updated the project in over a year
22:49.51dlynesjblack: Paid him for the program, and he hasn't updated it since
22:49.59Davedandlynes: right
22:50.26dlynesDavedan: it means all those parts in your dialplan where you see a '|', you need to replace with a ','
22:50.46TommyBottengrabes222: I've been seeing the same thing. But not using T.38 though
22:50.50dlynesDavedan: because you're using a 1.2 or an old 1.4 dialplan in a new 1.4 or 1.6
22:50.56HaMFdlynes, I'll continue tomorrow. Thanks for your support!
22:51.12dlynesHaMF: you're welcome...so did that help you with your issue at all?
22:51.30HaMFI disabled crc4 on span 1.
22:51.36Davedandlynes: it says 'warning' so I thought I can ignore this for now
22:51.52dlynesDavedan: that's labelled as a warning, but it's actually an error
22:51.55HaMFlet's see if the problem occurs again...
22:51.57ChannelZyou can but , looks nicer than | anyway
22:52.01grabes222TommyBotten : I am not using T.38 on this machine
22:52.07Davedandlynes: ok. changed that
22:52.11dlynesDavedan: you should actually do all the replacements
22:52.21HaMFand tomorrow I'll have a closer look at which channel just died
22:52.27dlynesDavedan: some of the old code just won't work at all
22:52.28TommyBottengrabes222: Ok. Just thought you should know when tracking down the bug
22:52.34dlynesHaMF: ah...thought it was something more than that
22:52.38TommyBottengrabes222: I'm also having the same issue on .1.12-rc1
22:52.44dlynesHaMF: like the jumpers were set wrong on the card, or something
22:53.20HaMFI did double check the jumpers before installing the cards so I'm pretty sure they are set correctly
22:53.26Davedandlynes:  I'm following the oficial book. had no idea it's outdated
22:53.40dlynesDavedan: it's been outdated as of about 1.4.26
22:53.49dlynesDavedan: with respect to the ','
22:54.19dlynesDavedan: the '|' has been deprecated for a while
22:54.25voipmonkback
22:54.28dlynesDavedan: it's just that it's obsoleted now
22:54.46dlynesDavedan: there's a switch you can enable now, though...but at the same time....why?
22:55.44*** join/#asterisk Dibbler (n=Dibbler@87-194-103-72.bethere.co.uk)
22:57.13HaMFso. good night :)
22:57.22dlynesHaMF: good luck
22:57.35HaMFthanks dlynes
22:58.30*** join/#asterisk werdan7 (n=w7@freenode/staff/wikimedia.werdan7)
23:01.05DavedanChannelZ, dlynes: I've managed to make a call between two phones. now I need to understand how I did it :)
23:01.06Davedanthanks
23:01.53ChannelZby adding extensions to extensions.conf that dial SIP/xxxx
23:02.38grabes222TommyBotten : If you use 1.0.0.14 are you ok?
23:02.49grabes222TommyBotten : Sorry 1.6.0.14
23:05.32drmessanojblack: I made the mistake of getting married on Valentines day, 2 or 3 marriages back
23:05.41drmessanoscratches head to remember
23:06.15jblackhow many have you had?
23:06.34drmessanotakes off his shoes
23:06.37drmessanoGimme a minute
23:07.29drmessanoCarry the 2
23:07.29jblackI want mcdonalds, but I don't want to get dressed, and I probably smell bad.
23:07.29drmessanoCarry my TV out the door
23:07.30drmessanoUmm
23:07.30ChannelZHave you at least figured out that marriage apparently isn't your destiny?
23:07.40ChannelZjblack: drivethrus
23:07.54jblackMy driver side window doesn't work. :(
23:08.13ChannelZback in
23:08.26jblackI can't drive from the passenger seat.
23:08.42jblackIt's either impossible, or I just lack the skill.
23:09.10jblackalso, it's cold out.
23:10.04drmessanoChannelZ: Yes, much like skateboarding
23:10.51chuckfjblack: its mcdonalds. you won't be the worst smelling thing there
23:11.11jblackTrue. those employees can get rank
23:11.26chuckfnot to mention the 'food' itself
23:11.31ChannelZjust look at peopleofwalmart.com - how you dress seems to be not important
23:12.10jblackwtf?? http://www.peopleofwalmart.com/?p=7680
23:13.49grabes222TommyBotten : What kind of hardware are you using for PSTN side?
23:14.52grabes222argh, I am going to fen lost it *** glibc detected *** /usr/sbin/asterisk: double free or corruption (!prev): 0x00000000025c9850
23:24.28*** join/#asterisk fakhir (n=fakhir@unaffiliated/fakhir)
23:35.10*** join/#asterisk fakhir_ (n=fakhir@unaffiliated/fakhir)
23:35.37*** join/#asterisk levity (n=levity@unaffiliated/canuck)
23:41.08*** join/#asterisk Torrieri (n=Torrieri@nelug/crew/torrieri)

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