IRC log for #asterisk on 20131210

00:00.15phixThe reason I asked is I see a few s,1,NoOp(log something here)'s in my asterisk console
00:01.34PenguinHangup(), which is at priority 2, will be executed after priority 1.
00:02.35PenguinI will also say that I have never used the old-style caller ID matching at priority 1.
00:03.00phixthat is old style caller ID matching?  what is new style?
00:03.13phixCALLERID(number) ?
00:04.31phixs,1,gotoif($[CALLERID(number) == 100]?Dial(SIP/trunk1/${ARG1})\n s,n,gotoif($[CALLERID(number) == 101]?Dial(SIP/trunk2/${ARG1})\n
00:04.34phix?
00:04.59[TK]D-Fenderphix: Forgetting to reference your functions....
00:05.18phixyeah I was short cutting it :)
00:05.25*** join/#asterisk vlad_starkov (~vlad_star@109.188.124.87)
00:05.25phixexten => blah blah
00:05.34[TK]D-Fenderphix: And you don't shove a command like  Dial() into a GotoIf....
00:05.54[TK]D-Fenderphix: GotoIf JUMPS.  that is all, it does not execute apps conditionally
00:06.00PenguinYou could use ExecIf().
00:06.19phix[TK]D-Fender: yes it does, but you get what I meant
00:06.27[TK]D-Fenderphix: No... it doesn't
00:06.39phixjust the callerid matching is what I was trying to get accross
00:06.41[TK]D-Fenderphix: You cannot pass an application to GotoIf and get it to execute
00:07.17phix[TK]D-Fender: yes I know, but that wasn't the example I was trying to get across, it was the callerid matching in a macro-dialout
00:07.36PenguinGotoIf() goes to labels, not execute other applications.
00:07.42phixCorrect
00:07.51phixIt does do that, but will that of matched?
00:07.59[TK]D-Fenderphix: Don't make another mistake when trying to find your first.. it make it look like you have NO clue :)
00:08.19phixit may of errored :)  but would it of matched?
00:08.25Penguinmay have
00:08.27phix:)
00:08.37Penguinhave matched
00:09.05phix(assuming the callerid had been set for the sip phone, which it has been)
00:09.24phixbasically I want to dial a different trunk depending on which phone is used to make the call
00:09.34*** join/#asterisk unstable (unstable@tor/regular/sid)
00:09.38PenguinIf you're having a problem with the old callerID matching, try moving it to a priority after 1.  I've never had a problem with it, and I've also never used it at priority 1.
00:09.54[TK]D-Fenderphix: You didn't reference your functions properly...
00:10.13[TK]D-Fenderphix: So no, forget about "before the ?" working
00:10.13phixI currently use the old style callerid matching but it looks like that also matches s,1,... as well as s/100,1,... as I get both entries in my asterisk console (asterisk -rvvvvdddd)
00:10.19unstableI have general Internet phone questions, thougH I don't know if asterisk is what I need. I just want to have a phone number where people can call me over the Internet, and not need cellular service. I want a dedicated number, what is a convenient and cheap way to get his on a linux operating system?
00:10.33phix[TK]D-Fender: <3
00:10.41PenguinMove it to 2.  See if you get a different result.
00:11.21Penguins,1,NoOp();  s/100,2,Whatever();  s,2,SomethingElse();
00:11.56phixwill s/100,2 ever be reached?
00:12.07PenguinOnly if 100 is the callerid number.
00:12.08phixhmmm I would rather not try that out atm, as the system is currently in use
00:12.42phixI mean it is working but I also get s,1,NoOp's in my log too, so just trying to track down what is causing that
00:13.08phixif phone100 calls out it uses trunk1 and phone101 uses trunk2, that bit works
00:13.11PenguinI've never ever put the callerID match at priority 1, and I've never ever had a problem with it executing properly.
00:13.35phixhmmm, what you reckon [TK]D-Fender ?  should I have callerid match at priority 1?>
00:14.23[TK]D-FenderShow how you'd like to do it and we'll critique from there
00:14.33WIMPyThe callerID match failed for me some time in the 1.6 area. I never tried since.
00:14.40phixwhen does callerid match execute? or does it matter in what order I have it in?
00:14.43PenguinI used it back in 1.4.
00:15.00PenguinI can only assume it still works.
00:15.16WIMPyOk, I was unclear. It failed after some upgrade.
00:15.35PenguinActually, I still have some in my dialplan, but I think it's on a DID I no longer have.
00:16.12WIMPyThat should make sure it doesn't fail :-)
00:16.14PenguinI'd bet it still works if I try it.  I'm using 1.8.
00:16.17phix[TK]D-Fender: I want to use it as a fallback,  I have s/100, s/101, s/etc...  then at the last line I have exten => s,1,NoOp(Use default trunk) exten => s,2,Dial(SIP/defaultSipTrunk/${ARG1},,Tr)
00:17.01phixbasically for all of the callerids I care about, use specific sip trunks, but if none match then use a default / fallback sip trunk
00:17.07[TK]D-Fenderphix: it's an override at that priority level
00:19.10phixI guess I could rewrite it and use gotoIf($[CALLERID(number) == 100]?dial-100-out) and specify dial-100-out in the macro, rinse and repeat for other matches?
00:19.14Max_Eunstable, do you want a pstn number or only a way to people call you using internet?
00:21.06phixPenguin, [TK]D-Fender: or is there a better way to do this?
00:21.22Max_Ebecause you can be reached by a sipuri, by the PHONOSDK, by webrtc, etc etc
00:21.48Penguinphix: http://pastebin.com/rRETZfhH
00:22.04PenguinIt works.  Don't break it.
00:23.18PenguinI can't say it works in a macro, but it works from Gosub() on every single inbound call I receive.
00:23.27[TK]D-Fenderphix: If you're sure to use CID for this, multiple CID matches looks cleaner than app-based conditional
00:23.46PenguinI've provided a nice, clean way.
00:23.52[TK]D-Fenderphix: if you can afford to use a match for it.. in a macro, etc I'd use straight dialplan
00:23.57phix[TK]D-Fender: yes I prefer the look of that too but Penguin said that was old match style
00:24.32[TK]D-FenderNot a question of "old".  Both ways have always existed.  It's a question of which is cleaner, and which works best with where you're going to use it.
00:24.38PenguinMy dad's old, but he still works.
00:24.44phix[TK]D-Fender: I want to use a macro as I have my dialplan filtering allowed number patterns
00:25.26[TK]D-Fender[19:21]PenguinIt works. Don't break it. <--- ummm.. it doesn't work.. you already broke it ;)
00:25.28*** join/#asterisk dfighter (~someone@arcemu/staff/dfighter)
00:25.46Max_Ei dont have a dad :'(  :'(
00:26.01phixso I want to block out 1900 numbers, and use a different trunk for 1800 and 13 numbers, and for numbers that are greater than 6 digits then use the dialout macro for the trunk filtering
00:26.06Penguin[tk]d-fender: What are you talking about?  What I pasted works 100%.
00:26.21[TK]D-FenderPenguin: not quite...
00:26.27phixMax_E: Are you the second coming of Jesus/
00:26.30[TK]D-FenderPenguin: You "oopsed"
00:26.39PenguinTell me why you think so.
00:26.57[TK]D-FenderPenguin: Penguin In what world is "s" a priority on lines 2 & 3?
00:27.01PenguinAnd I'll tell you why you're incorrect.
00:27.16PenguinPriority s means same.  Similar to how n means next.
00:27.26phixlol s priority
00:27.33[TK]D-FenderThey made a synonym for it?
00:27.39[TK]D-Fendermakes no sense
00:27.45phixnever used that before
00:27.47Max_Ephix, alive or is missing dont know
00:27.55phixMax_E: oh, ;(
00:28.03[TK]D-FenderPenguin: I've got to go see some doc for this...
00:28.39PenguinIf you've ever needed to use numbered priorities because you wanted to have several priority 3 instances, you could have used n and s rather than numbers.
00:29.07phixA psychiatrist?
00:29.27WIMPyWow. Someone told the fender something new about dialplan syntax.
00:29.37phixhai WIMPy!
00:29.58WIMPyo/~
00:30.10Penguins,1,NoOp(prio 1);  s,n,NoOp(prio 2);  s/100,s,(Still prio 2);  s/101,s,NoOp(Still prio 2);  s,n,NoOp(prio 3);
00:30.19Max_Ewhere is the popup about the unlock achievement
00:31.08PenguinI can't remember if I used the s priority back in 1.4 or not, but it works well in 1.8.
00:31.10[TK]D-FenderPenguin: Yup, just looked it up... that is an odd thing to see...
00:31.18[TK]D-FenderPenguin: You get a pass :)
00:31.23PenguinYay me!
00:31.49Max_Eis taking a screenshot
00:31.53Penguinhahahaha
00:31.57[TK]D-FenderPenguin: But this is something that twits have huge odds of screwing up worse than screwing up hard numbered priorities, etc
00:32.07PenguinI won't argue that.
00:32.30[TK]D-FenderPenguin: And in you same (functional as it is), it's still a lazy shit substitute for just putting "1" there instead :)
00:33.10[TK]D-FenderPenguin: You didn't even save a byte and you can't do multiple steps for the same pattern without scrapping your use of "s" on the subsequent ones...
00:33.22Max_Edont apply he just won
00:33.26Max_Elet it go
00:33.48[TK]D-FenderPenguin: But I'll concede that your suggestion appears to work in as (equally) small a space as anything else :)
00:33.49PenguinIt allows for the flexibility of non-numbered priorities just like n does.  Let's imagine you wanted to add somewhere between 6 and 53 more lines between 1 and those lines with s...
00:34.09[TK]D-FenderPenguin: mixing s & n become problematic...
00:34.17PenguinOnly if you can't read dial plan!
00:34.48PenguinIt may not be good for everyone, but it's good for asterisk.
00:34.48Max_Ecan we go back to the phix solution, i need to add it to my book
00:34.58Max_Eof possible future slutions
00:38.56[TK]D-FenderMax_E: Remember, copying from 1 person is plagiarism.  Copying from a hundred is RESEARCH.
00:38.58PenguinYou can follow my example, or you can do it the hard way.  I don't care either way.
00:38.58Max_Esometimes you are so mean :(
00:38.58*** join/#asterisk sawgood (~sawgood@unaffiliated/sawgood)
00:38.58PenguinDo as I say, not as I do.
00:38.59Max_Enow i need icecream
00:38.59PenguinI could use some ice cream.
00:38.59PenguinAfter I got back from the store the other night, I regretfully made the realization that I didn't get any ice cream.
00:38.59*** join/#asterisk jetlag (~jetlag@pool-71-168-196-225.cmdnnj.east.verizon.net)
00:50.13*** join/#asterisk infobot (~infobot@rikers.org)
00:50.13*** topic/#asterisk is #asterisk The Open Source PBX and Telephony Platform (asterisk.org) -=- Asterisk 11.6.0 (2013/10/21), 10.12.3 (2013/08/27), 1.8.24.0 (2013/10/21), DAHDI-linux 2.6.2 (2013/03/08), DAHDI-tools 2.6.2 (2013/03/08), libpri 1.4.14 (2012/12/20) -=- Visit the official Asterisk wiki: wiki.asterisk.org
00:52.13*** join/#asterisk newtonr (~newtonr@nat/digium/x-vfamtbrbcyhadcdw)
00:52.14*** mode/#asterisk [+o newtonr] by ChanServ
01:03.59*** join/#asterisk jpoz (~jpoz@ec2-184-169-152-1.us-west-1.compute.amazonaws.com)
01:05.28*** join/#asterisk vlad_starkov (~vlad_star@109.188.124.54)
01:15.21*** join/#asterisk jpoz (~jpoz@c-24-22-121-42.hsd1.or.comcast.net)
01:17.50*** join/#asterisk LiuYan (~LiuYan@211.154.128.171)
01:23.59*** part/#asterisk Nemus (~Nemus@unaffiliated/nemus)
01:29.10*** join/#asterisk coppice (~chatzilla@123203240234.ctinets.com)
01:40.36*** join/#asterisk D30 (~deo@58.71.19.178)
01:42.00*** join/#asterisk MaliutaLap (~nobusines@eth637.qld.adsl.internode.on.net)
01:43.23*** join/#asterisk D30_ (~deo@58.71.19.178)
01:46.19*** join/#asterisk margeas (~marco@dynamic-adsl-94-38-174-114.clienti.tiscali.it)
01:47.02*** part/#asterisk w9sh (~sph@50-79-224-193-static.hfc.comcastbusiness.net)
01:48.01margeashello ppl, it seems that my h extension in dialplan does not trigger if I hang-up the phone while ringing....what could be the problem ?
01:48.45margeasI'm trying something very simple as "same => h,1,NoOp('h' extension executed)"
01:49.40margeasbefore that I have a simple same => n,Dial() line in the context and nothing else...
01:50.09margeasI don't see the message in console though...
01:50.21margeasany hints?
01:56.02*** join/#asterisk D30 (~deo@58.71.19.178)
01:56.11LiuYanmargeas: "same => h,1,NoOp" <-- that can't be right, you can try "exten => h,1,NoOp"
01:58.02pabelangerexten => h,1,NoOp()
01:58.06pabelangersame => n,Blah()
01:58.13pabelangerthat is the syntax
01:58.15*** join/#asterisk jasonwert (~w3rt@71.89.137.28)
01:58.17margeasLiuYan: ups(!!)...OK it's triggering now...
01:58.20margeasthe fact is
01:59.31margeasthat I am calling a macro from that context...and in the macro the last line is: exten => h,1,NoOp('h' extension executed) but in that case the h does not trigger....
02:00.09margeasI'm assuming something wrong? i.e. that the macro has "its" h extension
02:00.36pabelangerstep 1, stop using macro
02:00.37pabelangeruse gosub
02:01.13margeasI see a lot of confusion about this around and dozens of references contradict themselves
02:02.31margeaspabelanger: OK, to be clear: i'm following straight here http://zwizwa.be/-/asterisk/20120418-152928 look at the last macro exten...
02:03.25margeasI'm quite novice, any best practices in handling macros currently is appreciated
02:04.10*** join/#asterisk Nemus (~Nemus@unaffiliated/nemus)
02:04.23pabelangermargeas, macros have been deprecated in Asterisk, so save yourself some pain and use GoSub.
02:04.23*** join/#asterisk D30 (~deo@58.71.19.178)
02:04.30pabelangerThere is also a limit of like 10 levels deep
02:04.35pabelangerthen asterisk crashes
02:04.47margeaswhen using macros?
02:04.51pabelangeryes
02:05.13margeasOK, i will try to adapt it...does it exist a command reference online for asterisk?
02:06.16WIMPy~wiki
02:06.52WIMPyHmm. No. http://wiki.asterisk.org/
02:06.53*** join/#asterisk vlad_starkov (~vlad_star@109.188.124.54)
02:07.06margeashttps://wiki.asterisk.org/wiki/display/AST/Application_Gosub ?
02:10.11*** join/#asterisk jasonwert (~w3rt@71.89.137.28)
02:12.48margeasthank you all, goodbye!
02:18.47*** join/#asterisk qdel (~Rholk@bny92-1-82-67-178-101.fbx.proxad.net)
02:25.38*** join/#asterisk D30 (~deo@58.71.19.178)
02:29.42*** join/#asterisk amizraa (~amizraa@gateway/tor-sasl/amizraa)
02:31.54*** join/#asterisk darkbasic (~quassel@niko.linuxsystems.it)
02:43.26*** join/#asterisk jasonwert (~w3rt@71.89.137.28)
02:53.05*** join/#asterisk D30 (~deo@203.177.9.66)
03:00.17*** join/#asterisk Greek-Boy (~Greek-Boy@41.76.92.212)
03:01.37Greek-BoyI have a problem with SIP signalling over a openvpn tunnel. RTP audio seems to be just fine but when I hangup the call it doesn't send the hangup to the other side. Any ideas?
03:03.38PenguinCan no one correctly spell signaling?
03:03.46WIMPy1. your sip does not go over that tunnel - 2. you have a firewall on the tunnel - 3. some component is broken.
03:04.51WIMPyPenguin: You use the wrong english.
03:04.59PenguinOh really?
03:05.16PenguinWhich one do you prefer?
03:05.51WIMPyThe one where signalling is spellt signalling.
03:06.42WIMPyBut you can correct me on the spelling of spell.
03:06.48PenguinI'm not familiar with that one.  Although it must exist -- so many other people seem to use it.
03:07.47*** join/#asterisk vlad_starkov (~vlad_star@109.188.124.86)
03:08.04WIMPyen_GB vs en_US
03:09.54Greek-Boylol
03:10.43Greek-BoyWIMPy: Thanks for those pointers
03:16.42*** join/#asterisk serafie (~erin@24.96.64.240)
03:21.48*** join/#asterisk drmessano (~nonya@pdpc/supporter/active/drmessano)
04:00.47*** join/#asterisk GameGamer43 (sid5533@gateway/web/irccloud.com/x-bsuusbexwdxfvvag)
04:07.14*** join/#asterisk vlad_starkov (~vlad_star@109.188.124.105)
04:47.14*** join/#asterisk troyt (~troyt@2601:7:6d00:432:44dd:acff:fe85:9c8e)
04:48.19*** join/#asterisk vinhdizzo (~vinh@cpe-98-154-220-20.socal.res.rr.com)
04:57.14*** join/#asterisk Defraz (~Defraz@24-116-129-19.cpe.cableone.net)
05:06.52*** join/#asterisk vlad_starkov (~vlad_star@109.188.124.70)
05:35.40*** join/#asterisk hos7ein (~chatzilla@91.98.33.208)
05:54.00*** join/#asterisk tzafrir (~tzafrir@bzq-218-28-58.cablep.bezeqint.net)
06:05.20*** join/#asterisk hos7ein (~chatzilla@91.98.33.208)
06:06.28*** join/#asterisk slav3_kitten (~frankthet@unaffiliated/slav3-kitten/x-0866809)
06:06.55*** join/#asterisk gerhard7 (~gerhard7@77-172-47-159.ip.telfort.nl)
06:07.51*** join/#asterisk vlad_starkov (~vlad_star@109.188.124.90)
06:11.19*** join/#asterisk wbill (~textual@71-80-72-39.dhcp.kgpt.tn.charter.com)
06:14.43phixhey gang
06:15.38ChannelZyo yo bust a cap in yo ass
06:15.55phixwerd up
06:29.04*** part/#asterisk unstable (unstable@tor/regular/sid)
06:32.24phixhttp://pastebin.com/P9Lfsfk6
06:32.44phixThat is what I got so far, Penguin mentioned it was old school matching, does that mean it is deprecated?
06:34.07*** join/#asterisk trox_t (~trox@cm147.kappa24.maxonline.com.sg)
06:35.02trox_thello guys, i need some help on setting up my asterisk and digium card... can anyone help me?
06:35.11trox_tthank you in advance
06:35.58phixI will be in and out but I can give you some pointers if you like
06:36.11phixI have setup a digium card a few time (TDM400p)
06:36.19trox_t@phix, thanks that would be great
06:36.25trox_ti have 410p
06:36.26phixWhat type of card?
06:36.41phixso one FXO port?
06:36.44phixor one FXS port?
06:36.53trox_t2/2 ports
06:37.00trox_t2 FXO and 2 FXS
06:37.00phixso you have a 422p :P
06:37.17trox_ti think i have TDM 410P let me double check
06:37.21phixok and what OS you got?
06:37.28phixdoesn't matter :)
06:37.32trox_tok :)
06:37.36trox_tubuntu server
06:37.51trox_t12.04.3 LtS
06:38.13trox_tbasically i setup the basic configuration, i can call softphones
06:38.18phixok, well you can use asterisk and dahdi from the ubuntu repo or from digium, personally it doesnt matter, it works on both
06:38.37phixso sudo apt-get install asterisk dahdi-source
06:39.01trox_tthat one i alredy took care, basic configuration is done already..
06:39.02phixit will install build-essential as well and a few other stuff
06:39.21phixyou installed dahdi-source too and compiled the kernel modules?
06:39.27trox_tyes
06:39.39phixand they load at boot time?
06:39.40trox_ti can see modules from asterisk already
06:39.44phixok great
06:40.04phixyou have genarated the dahdi-channel files for use in asterisk?
06:40.17trox_thold on let me chck
06:40.19trox_tcheck
06:41.00trox_tdahdi-channels.conf right?
06:41.04phixok and /etc/dahdi/system.conf has the correct country code on the network you will ne connecting it to?
06:41.08phixs/ne/be/
06:41.18phixhaha stupid regex
06:41.36trox_t:) my system.conf i haven't touchd yet
06:42.18trox_tdahdi-channels.conf is generated already
06:44.11trox_ti did some sample configuration and im getting this error when i try to call the dahdi channel
06:44.12trox_tExecuting [9001@default:1] Dial("IAX2/8001-9938", "DAHDI/1") in new stack
06:44.13trox_t[Dec 10 13:50:27] WARNING[9737][C-00000005]: app_dial.c:2437 dial_exec_full: Unable to create channel of type 'DAHDI' (cause 0 - Unknown)
06:44.13trox_t<PROTECTED>
06:46.11trox_tsystem.conf shows loadzone=us, defaultzone=us --
06:47.59trox_tlet me know if you need more information guys, thanks
06:50.54trox_tbasically for now id like to configure my phone to call any extension, like i can call any sip to iax extensions that i created
06:51.30trox_tthen later on setup to call outside (phone line)
07:03.01*** join/#asterisk vlad_starkov (~vlad_star@109.188.124.101)
07:06.22*** join/#asterisk bulkorok (~Benjamin@85.183.61.47)
07:21.28DataWraithhow can i tell asterisk to pickup an external call from a sip-trunk on a specific extension?
07:23.42*** join/#asterisk bulkorok (~Benjamin@85.183.61.47)
07:24.58kaldemarDataWraith: you don't. instead, you tell the other end what extension they should dial in your register statement in sip.conf.
07:25.27kaldemarDataWraith: unless you really mean a device when you say extension.
07:26.04kaldemarDataWraith: then you dial it just like any other in the extension that the call lands in.
07:29.55kaldemartrox_t: why are you trying to dcc me?
07:34.58*** join/#asterisk mirela666 (~mirko.bra@iecommailer.itaf.eu)
07:35.46trox_tkaldermar, thought i could ask something in private
07:35.56trox_tits ok, i can ask here
07:37.59trox_tsame question ive posted earlier
07:38.09trox_tim a little lost :(
07:38.37trox_tjust need some directions on how to configure my dahdi channel to call sip trunk or vice versa
07:38.41trox_tsip extension i mean
07:42.10trox_tif anyone could point me in the right direction that would be appreciated :)
07:44.17*** join/#asterisk vlad_starkov (~vlad_star@109.188.124.101)
07:45.31DataWraithi get the error: Call from '0621231001' (193.84.65.66:5060) to extension '43621231001' rejected because extension not found in context 'default'
07:46.18MaliutaLapDataWraith: that is a self explanatory one
07:46.47MaliutaLaplook at what context the call is coming in on, and where the extension you want to match is
07:46.53DataWraithand my extensions.conf looks like this: http://pastebin.com/a1qvEJDx
07:51.15*** join/#asterisk d45h (~d45h@unaffiliated/dash-/x-7576607)
07:52.55DataWraithMaliutaLap: but i have that extenstions 'default' and '43621231001'
08:00.07*** join/#asterisk vlad_starkov (~vlad_star@109.188.124.101)
08:00.28*** join/#asterisk pietro (~pietro@88-149-210-128.v4.ngi.it)
08:02.03trox_tfor anyone who could help, here are some conf files i have and the error output when i try to call the dahdi channel http://pastebin.com/S36YCK1L
08:15.19*** join/#asterisk jhlavacek (~jirka@78.208.220.3)
08:16.28DataWraithnow it works.
08:16.42*** part/#asterisk Nemus (~Nemus@unaffiliated/nemus)
08:16.48DataWraithfinally i have to figure out, how to manage that incoming calls ring on every phone
08:20.31*** join/#asterisk Blashyrkh (~michaeld@043-054-094-081.as39912.net)
08:21.24*** join/#asterisk threesome (~threesome@ip-94-113-13-143.net.upcbroadband.cz)
08:21.32*** join/#asterisk evil_gordita (robert@ip70-188-56-12.rn.hr.cox.net)
08:21.43trox_thi DataWraith, do you have digium card installed?
08:26.16*** join/#asterisk atha (~atha@unaffiliated/athayde)
08:31.52kaldemarDataWraith: do you now know what an extension is and what a context is?
08:32.44kaldemaralso, stop using the default context and configure your peer in sip.conf to use something else.
08:33.21*** join/#asterisk c0rnoTa (~c0rnoTa@78.24.154.190)
08:33.45*** part/#asterisk c0rnoTa (~c0rnoTa@78.24.154.190)
08:33.47kaldemartrox_t: dahdi show channels
08:37.25*** join/#asterisk nawaah (~khaled@196.218.41.53)
08:40.53*** join/#asterisk sekil (~sekil@78.24.104.73)
08:42.08*** join/#asterisk hehol (~hehol@2001:1438:1009:200:e402:cd9c:6502:1fca)
08:43.31*** join/#asterisk Faustov (user@gentoo/user/faustov)
08:50.43*** join/#asterisk escube (~escube@90.147.23.91)
08:55.04trox_tkaldemar: here it is thanks
08:55.06trox_thttp://pastebin.com/2ezYwRNi
08:57.20*** join/#asterisk D30 (~deo@203.177.9.66)
08:59.26kleszcztrox_t: DAHDI/r0/${EXTEN}
09:00.43trox_tklesszcz: sorry where do i enter that?
09:00.50kleszczextensionsc.onf
09:01.00kleszczexten => 9001,1,Dial(DAHDI/1)
09:01.10kleszczexten => 9001,1,Dial(DAHDI/r0/${EXTEN}
09:01.24kleszczor  9001,1,Dial(DAHDI/1/${EXTEN}
09:02.34trox_tso it needs to be sequence 1
09:02.36*** join/#asterisk aynam (~aynam@41.207.162.251)
09:02.42kleszcz9001,1,Dial(DAHDI/1/${EXTEN})
09:03.15*** join/#asterisk vlad_starkov (~vlad_star@109.188.124.101)
09:04.35*** join/#asterisk DennisG (~DennisG@145.93.90.11)
09:06.08*** join/#asterisk calum_ (~calum_@cpc4-harg5-2-0-cust371.7-1.cable.virginm.net)
09:07.09kaldemartrox_t: one of your outputs show you trying to dial channel 1. "dahdi show channels" tells you don't have such a channel configured in chan_dahdi.conf or another file included from it.
09:09.46*** join/#asterisk geeksteve (~geeksteve@emh-nat.poundbury.com)
09:15.00*** join/#asterisk LiuYan (~LiuYan@211.154.128.133)
09:15.27escubeHI guys, I need some help with asterisk
09:15.39escubeI'm trying to connect avaya sip phone to asterisk, so far i made two phones talk to each other
09:15.49escubenow I'm trying to implement the function of redirect a call, and put the phone in redirection mode
09:16.53trox_tkaldermar: i have channel 1 and channel 2 on chan_dahdi.conf
09:17.29escubeI don't know how to save a phone state in a permanent way in my dialplan
09:17.43trox_tif im doing it wrong do you have a sample config for me? thanks
09:17.50escubeand how to visualize this information on the phone when it's in idle mode
09:18.15trox_tkleszcz: i already modifid my dial plan still no go when i try to dial my dahdi channel
09:23.14*** join/#asterisk Neoti (~Thunderbi@cpc5-nott16-2-0-cust33.12-2.cable.virginm.net)
09:27.51*** join/#asterisk nickfennell (~nickfenne@unaffiliated/nickfennell)
09:34.49*** join/#asterisk Faustov (user@gentoo/user/faustov)
09:43.55*** join/#asterisk D30 (~deo@203.177.9.66)
09:49.43*** join/#asterisk D30_ (~deo@58.71.19.178)
09:50.22*** join/#asterisk apb1963 (~quassel@174.134.232.228)
09:53.47skrustymorning
09:59.32*** part/#asterisk Blashyrkh (~michaeld@043-054-094-081.as39912.net)
10:04.29escubeHi guys, anyone can tell me how i can display something on the phone display ?
10:04.41escubeI need to set a D when forward is active
10:10.44*** join/#asterisk tzafrir (~tzafrir@local.xorcom.com)
10:11.06escubeno one?
10:11.34kaldemartrox_t: does not look like you do. pastebin your system.conf and chan_dahdi.conf.
10:11.40bulkorokescube:  set callerid(name)
10:11.47WIMPyescube: Take a look at the phones manual.
10:21.49*** join/#asterisk escube (~escube@90.147.23.91)
10:22.41escubeWIMPy: sorry just lost my connection
10:23.28escubebulkorok: i tried that, doesn't work
10:24.12escubeI need a permanent D, and my avaya phone manual doens't say much
10:24.43bulkorokit's a phone thing...
10:24.45WIMPyIf the manual doesn't tell you, connect it to an Avaya and do some reverse engeneering.
10:24.45escubedo you know where I can find information on this topic, just need to knwo where to look
10:25.50escubeok if you say it's a phone function and is not settable from dialplan I'll look in that direction
10:26.23WIMPyWhat protocoll are you using anyway?
10:26.38WIMPyAre they SIP phones?
10:27.26escubeSIP phones yes
10:28.30WIMPyIf you're lucky it's using SIP-I.
10:28.52WIMPyBut Asterisk doesn't.
10:34.09escubeWIMPy : I need to implement a forward function, in dial plan i did that, I wish only that the phone in witch forward is active, I can visualize something about the state
10:34.35escubeWIMPy : something like "Forward Active"
10:34.40WIMPyAs we all do.
10:35.12*** join/#asterisk barbosa2 (~juliano.b@177-069-248-123.static.ctbctelecom.com.br)
10:35.33escubeWIMPy: I'm very new to Asterisk, so not sure yet what can be done and what can't
10:35.33WIMPyMaybe you have keys with LEDs (BLF style) that you can use for that purpose?
10:36.33WIMPyAs a general rule: The more sophisticated, the easier. That also means that some standard stuff is (next to) impossible.
10:37.38escubeWIMPy: I can visualize callerid name for example when call is active
10:37.59escubeWIMPy: but how to visualize something when call is not active?
10:38.19WIMPyAs you said yourself, only a call has a caller ID.
10:38.31WIMPy>>Maybe you have keys with LEDs (BLF style) that you can use for that purpose?
10:38.51escubeWIMPy: isn't there another function similar to that for other purposes'
10:38.53escube?
10:39.11WIMPyNo
10:39.43WIMPyMany phones have proprietary options to change the idle screen.
10:39.59WIMPyPossibly using graphics.
10:40.33WIMPySo that's more like changing your desktop background image to a version that includes some text.
10:41.09escubeWIMPy: thank you very much
10:41.17escubeWIMPy: I'll go look for that
10:41.40WIMPyYour best bet is to use a direct dialling key with status LED for such things.
10:41.59WIMPyThat's also done in a standard way then.
10:42.47WIMPyAnd you can also use that key to (de)activate the forwarding then.
10:44.13*** join/#asterisk v0lZy (~Thunderbi@84-255-194-41.static.t-2.net)
10:48.50*** join/#asterisk vlad_starkov (~vlad_star@109.188.124.104)
10:59.48*** join/#asterisk calum_ (~calum_@88-104-184-34.dynamic.dsl.as9105.com)
11:00.46*** join/#asterisk vlad_starkov (~vlad_star@109.188.124.104)
11:09.46*** join/#asterisk creativx (~creadurex@226.62-97-205.bkkb.no)
11:13.41*** join/#asterisk vlad_starkov (~vlad_star@109.188.124.104)
11:16.29*** join/#asterisk DennisG_ (~DennisG@145.93.90.11)
11:26.50*** join/#asterisk quintana (~sylvain@aghnar.doowan.net)
11:34.03*** join/#asterisk vlad_starkov (~vlad_star@109.188.124.104)
11:38.50*** join/#asterisk Draecos (~Draecos@124-169-108-149.dyn.iinet.net.au)
11:41.09*** join/#asterisk Kraln (~kraln@69.169.90.240)
11:42.41*** join/#asterisk yoavz (yoavz@yoavz.net)
11:42.46*** join/#asterisk DennisG (~DennisG@145.93.249.236)
11:44.44*** join/#asterisk hardwire (~hardwire@cl-101.anc-01.us.sixxs.net)
11:45.21*** join/#asterisk krapper (krapper@gibson.krapper.net)
11:45.22*** join/#asterisk gerhard7 (~gerhard7@77-172-47-159.ip.telfort.nl)
11:45.55*** join/#asterisk DennisG_ (~DennisG@145.93.249.236)
11:49.21*** join/#asterisk DennisG (~DennisG@145.93.249.236)
11:50.37*** join/#asterisk jsjc (~Adium@99.Red-79-150-184.dynamicIP.rima-tde.net)
11:51.39*** join/#asterisk jkroon (~jkroon@dsl-165-145-94-112.telkomadsl.co.za)
11:52.26jkroonhi guys, with asterisk 11.6.0, after a reload it seems that not all members of a queue is receiving calls.
11:52.46jkroonthis is a general asterisk -rx reload style reload, after queue reload all everything seems to be working correctly again
11:56.18*** join/#asterisk pabelanger (~pabelange@asterisk/contributor-and-bug-marshal/pabelanger)
11:56.18*** mode/#asterisk [+o pabelanger] by ChanServ
11:56.48*** join/#asterisk DennisG (~DennisG@145.93.90.11)
12:02.13jkroonhmm, it would seem that app_queue starts to think that the one (of two) endpoints in the queue has gone into Ringing, but there aren't even channels pointing to that SIP endpoint, so that doesn't seem sensible.
12:03.19jkroonit would seem that whatever the state is at time of reload sticks...
12:09.02*** join/#asterisk oquidave (~oquidave@41.77.79.182)
12:09.33oquidavehello has anyone ever configured a huawei 3G modem to work with asterisk using chan_dongle module?
12:09.55kleszczyes
12:11.24*** join/#asterisk darkbasic_ (~quassel@niko.linuxsystems.it)
12:11.58*** join/#asterisk LiuYan (~LiuYan@222.125.137.217)
12:14.42oquidavekleszcz: cool, am having trouble making it work. let me send you my configs
12:19.17oquidavekleszcz: here http://pastebin.com/cApCfffF when i call the dongle, it calls continously and the server doesn't pick the call at all
12:22.20oquidaveam i missing some configs in the dongle.conf file or exxtensions.conf file?
12:29.16*** join/#asterisk vlad_sta_ (~vlad_star@max393428.static.corbina.ru)
12:37.00*** join/#asterisk serafie (~erin@24.96.64.240)
12:40.45oquidaveany help
12:49.43*** join/#asterisk Defraz (~Defraz@24-116-129-19.cpe.cableone.net)
12:55.15fileArret demande!
13:01.37*** join/#asterisk dxd828 (~dxd828@host-92-24-127-29.ppp.as43234.net)
13:05.57*** join/#asterisk generalhan (~generalha@about/windows/staff/generalhan)
13:16.12WIMPyShow us what happens.
13:21.25*** join/#asterisk [TK]D-Fender (~chatzilla@216-191-106-163.dedicated.allstream.net)
13:25.10jkroonhi, ok, tracked a definite app_queue reload issue
13:25.34jkroonwhen reloading the queue member's status goes into some state as per time of reload
13:26.05*** join/#asterisk dfighter (~someone@arcemu/staff/dfighter)
13:26.39Greenlighthmm that explains some stuff
13:32.30jkroonhaha, ok, so I'm not the only one.
13:32.35jkroon<PROTECTED>
13:32.42jkroonextension is DEFINITELY not in use.
13:33.16jkroonsome kind of race condition between handle_statechange and the reload mechanism.
13:33.57GreenlightI'm not the biggest fan of app_queue
13:34.15Greenlightit was my colleague who mentioned some odd stuff happening if they reloaded sometimes
13:34.32jkroonlol, i wonder why ... :p
13:35.06jkroonwhat alternatives are there to get the same functionality in a sane way though?
13:35.29GreenlightFOr our application, I now handle all queueing via our AMI connection
13:35.29*** join/#asterisk DennisG (~DennisG@145.93.249.236)
13:35.36jkroonouch
13:35.41jkrooni think i'll rather fix this bug thanks.
13:35.54GreenlightIt was actually a breath of fresh air to have it work how users expect
13:36.13GreenlightBut for our "just pbx" installs, we still need app_queue
13:36.13jkroonand how's that
13:36.44GreenlightLike just little things, if a user finishes a call, and there's a call in a queue, their phone starts to ring, instead of waiting till the next "retry"
13:37.25jkrooni set wrapup time anyway ...
13:37.55GreenlightYea, but imagine a back office setup, where a user is hurridly ending there call because they hear a phone ringing and want to answer it
13:38.13Greenlight*their
13:38.33jkroon*8
13:38.37jkroonoh, you have ringall :p
13:38.41GreenlightYea
13:38.55jkroonleastrecent mostly hear, so we just *8 them
13:39.42GreenlightIt's also cool to have control over the queuing priorities inside my application though - opens up a load of doors
13:40.42GreenlightAttempting to connect callers to the agent they've been dealing with before, if we can. Giving certain callers priority. That kind of thing
13:41.23*** join/#asterisk Pullphinger (~Pullphing@12.40.23.68)
13:41.58GreenlightI'm also rather convinced app_queue has some sort of resource type leak that was the cause of all those issues we used to get
13:43.21jkrooni wouldn't be surprised either which way, but for my requirements it's adequate
13:43.30jkroonvery seldomly have >3 callers in a queue.
13:43.44jkroonthis member status == in_use though is a serious issue.
13:47.18GreenlightOnly started happening in 11.6.0 ?
13:47.50jkroonwell, no, client originally reported in 11.3.0
13:48.07jkroonbut could very well have affected earlier versions too.
13:48.54GreenlightI'm going to be very cautious about in hours reloads now
13:49.17jkrooni've reported and fixed probably around 10 reload issues this year to date.
13:51.00*** join/#asterisk dxd828 (~dxd828@217.39.7.254)
13:56.20jkroonok, problem is worse than that
13:56.32jkroononce i've reloaded state updates simply doesn't happen at all ...
14:01.24*** join/#asterisk serafie (~erin@nat/digium/x-mwcqyjzvbjvoclly)
14:27.48*** join/#asterisk infobot (~infobot@rikers.org)
14:27.48*** topic/#asterisk is #asterisk The Open Source PBX and Telephony Platform (asterisk.org) -=- Asterisk 11.6.0 (2013/10/21), 10.12.3 (2013/08/27), 1.8.24.0 (2013/10/21), DAHDI-linux 2.6.2 (2013/03/08), DAHDI-tools 2.6.2 (2013/03/08), libpri 1.4.14 (2012/12/20) -=- Visit the official Asterisk wiki: wiki.asterisk.org
14:30.57*** join/#asterisk Draecos (~Draecos@124-169-108-149.dyn.iinet.net.au)
14:31.03mmyersHello. Asterisk server is behind NAT, and a road warrior also behind NAT. Both of them have the right ports forwarding. The sip info for the RW is canreinvite=no, nat=yes, qualify=yes. Yet, calls drop in 20-30 seconds. In the SIP debug I'm seeing the RW client is registering fine but I see  the client address shows up at 6010@192.168.0.15 instead of RW's public IP. So I'm guessing because the communication is trying to go to an int
14:31.06mmyersHow can I fix it?
14:31.15*** join/#asterisk ipengineer (~zconkle@108-206-120-218.lightspeed.mckntx.sbcglobal.net)
14:31.50mmyersFrom: Unknown@asterisk server IP To: 6010@192.168.0.15 lol
14:32.40mmyersThe forwarding port at the RW side is fine - but just the IP. So it shows up like 6010@192.168.0.15:9876 <- correct port, wrong IP.
14:36.40[TK]D-FenderYou should not be forewarding remote clients
14:37.08[TK]D-FenderUndo that, confirm precisely what you have forwarded on our server side, and show us a call with SIP DEBUG enabled at CLI
14:37.09[TK]D-Fender~pb
14:37.10infobotA "pastebin" is a web-based service where you should paste anything over 3 lines so you don't flood the channel. Here are links to a few: http://www.pastebin.com, http://pastebin.ca, http://channels.debian.net/paste, http://paste.lisp.org, http://bin.cakephp.org/; or install pastebinit with yum or aptitude.
14:37.12[TK]D-Fender^^^^^
14:40.52*** join/#asterisk putnopvut (~putnopvut@asterisk/master-of-queues/mmichelson)
14:40.53*** mode/#asterisk [+o putnopvut] by ChanServ
14:45.44mmyersthank you [TK]D-Fender
14:46.05mmyersLet me remove the port forwarding on the RW's router
14:49.13*** join/#asterisk Pullphinger (~Pullphing@12.40.23.68)
14:50.37*** join/#asterisk bitfury (~bitfury@unaffiliated/bitfury)
14:53.31*** join/#asterisk navaismo (~navaismo@189.191.192.63)
14:55.59mmyers[TK]D-Fender: http://pastebin.ca/2495434 (Forwarded the SIP port and UDP ports for RTP on the Asterisk server)
14:56.15mmyers[TK]D-Fender: Also, this call was made after disabling forwarding on the RW's side
15:01.55[TK]D-FendermmYou aren't debuggin your call OUT.
15:02.05[TK]D-FenderAnd I don't trust that is done properly in this picture
15:03.23*** join/#asterisk insha (~insha@mobile-166-147-096-108.mycingular.net)
15:05.57mmyersWhat do you mean [TK]D-Fender? The call was made through the RW's client
15:06.17mmyersOnly inbound calls drop
15:06.19mmyersNot outbound
15:06.25mmyers(sorry I forgot to mention that part earlier)
15:06.52kaldemarwhat does [6010] in sip.conf look like?
15:09.33*** join/#asterisk mjordan (~matt@nat/digium/x-nsegdciezllhmjbz)
15:09.33*** mode/#asterisk [+o mjordan] by ChanServ
15:12.29mmyerskaldemar: One sec
15:12.43*** join/#asterisk jetlag (~jetlag@pool-71-168-196-225.cmdnnj.east.verizon.net)
15:14.04mmyerskaldemar: http://pastebin.ca/2495438
15:18.11PenguinThat could use some work.
15:18.21mmyersWhat work
15:18.21*** join/#asterisk Chainsaw (~chainsaw@gentoo/developer/chainsaw)
15:19.06PenguinFirsr thing I noticed was both a deny and permit of 0.0.0.0
15:19.18kaldemarPenguin: freepbx...
15:19.27mmyerskaldemar: yeah lol
15:19.36PenguinWhy are we talking about it here, then?
15:20.23mmyersBecause regardless of the FreePBX used to setup the initial system, the underlying nat issues that are part of Asterisk has been misconfigured :(
15:20.49PenguinI guess I'll buy that.
15:22.06mmyersThank you Penguin
15:24.13*** join/#asterisk newtonr (~newtonr@nat/digium/x-ryyiprwzmdftifly)
15:24.14*** mode/#asterisk [+o newtonr] by ChanServ
15:26.30*** join/#asterisk vlad_starkov (~vlad_star@109.188.124.87)
15:27.02*** join/#asterisk gerhard7 (~gerhard7@77-172-47-159.ip.telfort.nl)
15:29.36*** join/#asterisk timahvo1 (~rogue@197.237.174.93)
15:30.12mmyersSo, my googling is also failing vehemently and I'm left with no solutions
15:30.13mmyers:(
15:32.11navaismotry ?natsettings in #freepbx
15:32.42mmyersnavaismo: Thanks, I just did. Nada.
15:33.09navaismoI hate that stupid frog
15:33.31mmyerslol
15:33.56navaismowell basically you need to go to the asterisk sip settings
15:34.09[TK]D-FenderFound peer '6010' for '6010' from 99.XX.XX.XX:62712 Peer audio RTP is at port 192.168.0.15:40002 <--- Transmitting (NAT) to 99.XX.XX.XX:62712 --->
15:34.17[TK]D-Fenderthis looks like an Asterisk RTP issue
15:34.41navaismoadd a externip or externhost set your localnet etc then set your peer with nat or not depends on where is it
15:34.47[TK]D-FenderPeer is confirmed as NAT=YES, but still accepts the SDP IP for audio.
15:35.18[TK]D-FenderAnd chan_sip devs awake?
15:35.21[TK]D-FenderAny*
15:35.37mmyers[TK]D-Fender: 62712 is a SIP port set on RW's SIP client...
15:35.49[TK]D-Fendermmnot the port... the ***IP***
15:35.56[TK]D-Fendermmyers: not the port... the ***IP***
15:36.09mmyersAh ok, yeah that's what I was wondering why it's showing the private IP
15:36.17mmyersnavaismo: It's all set and ready to rumble
15:36.57mmyers[TK]D-Fender: That's what I see in my sip debugs as well, the 6010 peer that is the RW is connecting as a NAT IP and not showing the public IP, that's why I did some port forwarding on the router of the RW
15:37.16Penguinexternaddr/externhost and localnet are both set?
15:37.35Penguincorrectly?
15:38.08mmyersPenguin: Yup, lemme paste bin it forya
15:38.32PenguinAnd you're sure any SIP ALG crap on all involved routers has been disabled?
15:39.27mmyersPenguin: It's not on the RW side. And the Asterisk's edge router side I'm positive but lemme check
15:39.58mmyersPenguin: externip: http://pastebin.ca/2495446
15:40.47[TK]D-Fendermmyers: Won't matter... * will try senting to a private IP that'll never route
15:41.45[TK]D-Fender[10:37]Penguinexternaddr/externhost and localnet are both set? <- * is advertising a QAN IP, the problem is it isn't ignoring the SDP IP as it should for the peer's audio
15:41.50[TK]D-FenderWAN*
15:43.02PenguinWhat is the asterisk version?
15:44.44*** join/#asterisk jwww (~jmm@LPuteaux-156-14-28-187.w82-127.abo.wanadoo.fr)
15:44.48jwwwHello.
15:44.58mmyersPenguin: 1.8.20.0
15:45.15mmyersPenguin: Also checked SIP stuff, it's disabled. But the edge router hasn't been rebooted and I just read that it should be rebooted.
15:45.28PenguinCan you do that now?
15:46.30mmyersPenguin: Amen, going for it
15:46.42PenguinThe only time I had a problem with NAT, the RTP packets all had the private IP address of the remote device instead of the public address.  I got rid of the router and the problem went away.
15:47.09mmyersThis is an "Untangle" box as edge.
15:47.09PenguinIt was a Cisco router.
15:48.17[TK]D-Fender* is choosing to use the SDP for this though, and basedon NAT=YES it shouldn't... still looks like it's a core issue
15:49.57jwwwI'm very new to asterisk, I followed some basic tutorial, and got 2 softphones calling each others.but If I try to change the usernames in sip.conf, then calls become rejected.here is what I added to sip.conf : http://dpaste.com/1499096/ , can somebody help me please ?
15:50.57mmyersYou think this SIP thing may fix it, [TK]D-Fender ? I sure hope so lol
15:51.34navaismojwww when you change the usernames didi youalso change from the softphones?
15:51.42[TK]D-Fendermmyers: What "SIP thing"?  To my eyes this looks like an Asterisk bug....
15:51.45Penguinjwww: Get rid of the username lines in your peers.
15:51.52Penguinjwww: Those don't belong there.
15:51.55navaismojwww, and make a sip reload?
15:52.09jwwwPenguin && navaismo I try this.
15:52.16[TK]D-Fenderjwww: PASTEBIN <-
15:52.18[TK]D-Fender~pb
15:52.18infobotA "pastebin" is a web-based service where you should paste anything over 3 lines so you don't flood the channel. Here are links to a few: http://www.pastebin.com, http://pastebin.ca, http://channels.debian.net/paste, http://paste.lisp.org, http://bin.cakephp.org/; or install pastebinit with yum or aptitude.
15:52.20[TK]D-Fender^^^^
15:52.33[TK]D-Fenderjwww: that is only part of the picture BTW...
15:52.39Penguinjwww: The peer username is found between the square brackets.
15:52.43elguero[TK]D-Fender, mmyers: There have been some NAT cleanups and fixes after 1.8.20, you may want to check the ChangeLog for 1.8
15:53.12[TK]D-Fendermmyers: You are a few releases behind... update to the latest 1.8 and attempt to replicate the error
15:53.32mmyers[TK]D-Fender: Alright, let's do that. Be back soon guys.
15:54.43Penguinelguero: Unless they broke it right before 1.8.20 so that it was good before that and bad in 1.8.20, I don't think that's the problem.  I used asterisk <1.8.20 for a long time without that SIP problem.
15:55.07PenguinAnd I still do.
15:55.43elgueroPenguin: It doesn't affect everyone, if I recall... but we did do some fixes for nat settings not being handled properly
15:56.16Penguinjwww: You changed the name in asterisk, and then you changed the name in the phone as well?
15:56.18*** join/#asterisk camerin (hoax@elite.bshellz.net)
15:56.28jwwwPenguin: umm still I can't make call . I update the config there : http://dpaste.com/1499109/ , I also located an error in asterisk's console I added it.
15:56.46jwwwPenguin: I did. linphone say I registred successfully.
15:56.47*** join/#asterisk dxd828 (~dxd828@host-92-24-127-29.ppp.as43234.net)
15:56.50*** join/#asterisk caveat- (hoax@2a01:4f8:191:9111:30::10)
15:57.06Penguinjwww: You're calling extension "chris" but it does not exist.
15:57.07[TK]D-Fenderjwww: you are not showing us your DIALPLAN
15:57.17Chainsawhands Fender the megaphone
15:57.20*** join/#asterisk jpoz (~jpoz@c-24-22-121-42.hsd1.or.comcast.net)
15:57.21jwww[TK]D-Fender: the one in extension.conf ?
15:57.30Penguinjwww: That's the only dialplan.
15:57.34[TK]D-Fenderjwww: the call is accepted for the source.. and then rejected because your dialplan has nothing to process what they were requesting
15:57.45Penguin(unless you use some other one, of course)
15:57.50[TK]D-Fenderjwww: extensions.conf
15:58.06jwwwsorry for my noobness, but I just started this morning.
15:58.16[TK]D-Fenderjwww: Doing OK so far...
15:58.29Penguinjwww: It's plain and simple.  You've made a call to extension 'chris' which does not exist.  Fix that or dial a different extension.
15:58.30Chainsawjwww: Fender is a like a drill instructor. There will be a lot of yelling, but the end result is worth it.
15:59.00[TK]D-Fenderjwww: [Dec 10 16:54:29] NOTICE[2221]: chan_sip.c:20325 handle_request_invite: Call from 'jmm' to extension 'chris' rejected because extension not found in context 'internal'. <- means exactly what it says.  The caller is accepted, and they want to match "chris" in [internal] in your extensions.conf.  There is no match for it there
15:59.22PenguinI don't even need to see the dialplan.
15:59.37*** join/#asterisk vlad_starkov (~vlad_star@109.188.124.87)
15:59.39[TK]D-FenderChainsaw: No, there's pretty much no yelling left on my side anymore
16:00.02[TK]D-FenderPenguin: I'd like to see it just to see whathe did have at one point in time at least
16:00.07jwwwI updated the pastebin : http://dpaste.com/1499118/
16:00.25[TK]D-Fenderjwww: exten=> _XXXX,1,Dial(SIP/${EXTEN}) <- that is a NUMERIC PATTERN
16:00.38[TK]D-Fenderjwww: that is expecting to match a 4-digit number... not the word "chris"
16:00.54PenguinYou have only one single extension in the internal context.  And it requires a 4-digit extension.
16:01.05Penguin4-digit cannot be chris.
16:01.09jwwwI think I understand.
16:01.30Penguinjwww: I'd like to make a suggestion to you...
16:01.34[TK]D-Fenderjwww: Generally you make numbered extension that specific dial your SIP peers by name
16:02.00[TK]D-Fenderjwww: exten => 1000,1,Dial(SIP/chris,20)
16:02.03Penguinjwww: Abstract a numbered extension to reach your people.  Dial their phone's name from the numbered extension.
16:02.03jwwwPenguin: go on.
16:02.15Penguinjwww: Exactly what [tk]d-fender just said.
16:02.19[TK]D-Fenderjwww: You';d then dial "1000" and it would call the SIP device named "chris"
16:02.28Penguin~devices
16:02.29infobotDevices, extensions, and people should be entirely abstracted.  Extension numbers are applied to people, and people are applied to devices.  This means you should name your devices something unique to each device, such as an ID tag or asset tag number, or a MAC address.
16:02.34[TK]D-Fenderjwww: for 20 seconds in this case
16:03.42[TK]D-Fenderjwww: You don't dial what you think their name is in sip.conf.  You dial what you dial and extensions.conf processes that and chooses what to do.  Dial() is just one thing you can do in the process.
16:03.45*** join/#asterisk jasonwert (~w3rt@75-134-81-98.static.aldl.mi.charter.com)
16:03.52Penguinjwww: For example, my name is Rob, so my extension is 762 (ROB on the keypad).  Extension 762 dials my phone:  exten => 762,1,Dial(SCCP/0000111222,30)
16:04.54PenguinMaybe Chris's extension could be 2474.
16:05.13Penguinexten => 2474,1,Dial(SIP/chris,26)
16:05.38Penguin2474 is CHRI on the keypad, in case you didn't catch that.
16:05.40jwwwI get it !
16:06.34*** join/#asterisk dash__ (~d45h@unaffiliated/dash-/x-7576607)
16:08.11jwwwthanks for the explanations guys.
16:08.57mmyersPenguin: [TK]D-Fender elguero : Running into dependency issues, it might take a tad bit longer sorry.
16:09.33Penguinjwww: Now that you understand that part of it, you can used named extensions, but it makes it harder to dial it from a phone that doesn't use a keyboard.  :/
16:10.55[TK]D-Fendermmyers: NP, it'll take the time it takes and this is the process to do...
16:11.13jwwwI just noticed that linphone client doesnt have the letters on the dialing numpad.
16:11.17jwwwdoh
16:11.40Penguinjwww: Now you see why numbered extensions make more sense.
16:12.02*** part/#asterisk bulkorok (~Benjamin@85.183.61.47)
16:12.03PenguinMost phones have 0-9.
16:12.20PenguinSome have 0-9 and A-D.
16:12.23WIMPyMost phones have 0-9 and * and #.
16:12.24[TK]D-Fenderjwww: You can use a number like the one Penguin is suggestion which you can "think out" to get the number", or you can use a simple numbering scheme if you don't have too many people to track.  If you have 3 people perhaps remembering that Chris is "10" isn't so hard.
16:13.07PenguinAbstract your extensions any way you want, but be sure it makes sense in your situation.
16:13.19jwww[TK]D-Fender: that's right, it's just for 6 peoples.
16:13.34*** join/#asterisk ipengineer (~zconkle@static-71-252-134-63.dllstx.fios.verizon.net)
16:14.20WIMPy6 peoples sounds like millions of people.
16:14.34[TK]D-Fenderjwww: You can probably make speed-dial entries in your phone anyway for this...
16:15.18[TK]D-Fenderjwww: And good old paper lists work very well too
16:21.21*** join/#asterisk sawgood (~sawgood@unaffiliated/sawgood)
16:32.21*** join/#asterisk moy (~moy@UNVLON55-1176057127.sdsl.bell.ca)
16:35.38*** join/#asterisk fullstop (~fullstop@64-121-16-14.c3-0.tlg-ubr1.atw-tlg.pa.cable.rcn.com)
16:37.26*** join/#asterisk anthm (~anthm@freeswitch/developer/anthm)
16:43.27*** join/#asterisk hardwire (~hardwire@cl-101.anc-01.us.sixxs.net)
16:46.11mmyersWow these updates are hardcore. About a gigs worth.
16:46.14mmyersBeen too long I guess
16:49.06[TK]D-Fenderthat's clearly far more than just *
16:50.54*** join/#asterisk outtolunc (~me@c-67-170-214-55.hsd1.ca.comcast.net)
17:00.10*** join/#asterisk MaliutaLap (~nobusines@eth637.qld.adsl.internode.on.net)
17:04.35mmyerslol yup
17:04.59mmyersMirror speed sucks too
17:14.08*** part/#asterisk Blashyrkh (~michaeld@043-054-094-081.as39912.net)
17:25.59*** join/#asterisk polysics (~Adium@50-192-47-77-static.hfc.comcastbusiness.net)
17:26.07polysicshello
17:26.34polysicsis there still no way aside form ChanSpy to play a sound to a bridged channel?
17:27.09[TK]D-FenderBridge() <-
17:27.43navaismoI saw a failed demo of asterisk 12 trying to do that in the Asterisk youtube channel
17:27.54polysicswe are having horrible performance issues with ChanSpy
17:28.10polysics[TK]D-Fender: won't that boot the current "other party"?
17:29.22filepolysics, what is showing the indications that there are performance issues?
17:29.38filethat was a poorly written sentence.
17:31.02polysicswe have been timing the app with and without the chanspy. The app is fully instrumented with timing and chanspy setup takes up 90% of the non-talk time in an app.
17:31.44GreenlightWe use ChanSpy extensively to whisper sounds to briged channels, and havn't noticed any issues...
17:32.37fileGreenlight, I've been meaning to tell you... my approach for doing it in the new REST interface got in for 12 :)
17:32.51GreenlightNice!
17:32.57polysicsthat's good news
17:33.03polysicsbut we are stuck with 11 here :D
17:33.14GreenlightThe ChanSpy does feel a little hacky, but hey it does work :)
17:33.21polysicsit does work
17:33.37Greenlightpolysics: So, what that's actual issue you're getting ?
17:34.03polysicsthe ChanSpy originate + invocation seem to be very CPU intensive, and the whole system slows dow
17:34.04mjordannavaismo: which one?
17:34.05polysics*n
17:34.46navaismomjordan, let me check my history
17:35.50mjordanif you're referring to david's demo at AstriCon, that was (a) playing a sound to a channel outside of a bridge; and (b) was a problem with the laptop setup, not Asterisk 12
17:36.06polysicsso we are exploring alternatives
17:36.17polysicsI could make do with playing a sound to the conference bridge before joining the customer
17:36.46polysicsand we might try that to see if the issue is really with ChanSpy
17:36.46navaismomjordan, yep that one-->http://www.youtube.com/watch?v=D1yagQys0_0
17:37.18fileyeah that was his Mac being a Mac
17:37.20mjordanyeah, that isn't really what demo'ing what polysics is referrring to. And that functionality worked just fine - it was just a bad setup
17:37.30navaismowe all  hate murphy's law
17:38.33navaismo"Mac being a MAc" <--- <3
17:39.10navaismoso, asterisk 12 can playsounds to a bridgeid like in the demo?
17:39.34navaismos/can/can't/
17:39.58*** join/#asterisk TimeRider (~steve@timerider.plus.com)
17:40.07polysicsasterisk 11 can't
17:40.31fileAsterisk 12 can play sounds via the REST interface to a bridge you've created via the interface fine
17:40.33Greenlightpolysics: But what is the issue you're seeing, and how have you verfied it?
17:43.39polysicsGreenlight: the issue is "ChanSpy generates high CPU load", we verified it by removing the ChanSpy and running the same scenarios again, noting that performance improved
17:44.05navaismovirtual machine?
17:44.35GreenlightHow did you originate the ChanSpy ?
17:45.00GreenlightAnd, for what duration, and define "high load"
17:46.44GreenlightI've a box I'm looking at now, which at some points of the day is originating more than 300 chanspys a minute, and I'm not seeing a performance difference that I could atribute to them
17:48.06polysicsnavaismo: iron box, 16 cores, 16Gb RAM
17:48.11polysicssorry
17:48.15polysicsit's 48 Gb :D
17:48.42polysicsoriginate is done with this: https://gist.github.com/JustinAiken/c63f41be77addb5dc45a
17:48.43mjordanwhat formats are on the channels in question?
17:48.47*** join/#asterisk imox (~imox@91-65-182-111-dynip.superkabel.de)
17:48.52polysicsand this is the extension: https://gist.github.com/JustinAiken/bf8cae569cb0a737bf2f
17:48.58*** join/#asterisk imox (~imox@91-65-182-111-dynip.superkabel.de)
17:49.01polysicsthe target is a channel that is bridged on a confbridge
17:49.14polysicsgoal is for only the agent to hear a "beep" when a user is put into the room
17:49.35polysicswe use this to fast-join dialed users instead of dialing agents
17:49.42Penguin48 gigabits of RAM isn't all that great.
17:50.11GreenlightPenguin never misses a thing
17:50.16PenguinYou know it!
17:50.39PenguinAnd now to check the pastes.
17:50.41Greenlightpolysics: Let me check our whisper code... two secs
17:50.45polysicswell, it should be sort of enough
17:51.23GreenlightHmm... we actually orignate to an extension that does Playback, rather than the playback application.
17:51.34GreenlightI wrote this a few years back now; perhaps there was a reason
17:51.45GreenlightAhh I see
17:51.54GreenlightWe originate to the ChanSpy application
17:52.01GreenlightSO, we do it the other way around to you
17:52.01[TK]D-FenderPenguin: Always got your .02 cents worth to throw in ;)
17:52.07[TK]D-Fender</verizon>
17:52.11Penguinsnickers
17:52.17GreenlightAlthough not sure why that should make a difference
17:52.36polysicsGreenlight: maybe it does, always happy to try. What would happen in this case?
17:53.02polysicsthe extension has Playback() with the specified file
17:53.11Penguin[tk]d-fender: I see that written on various forums all the time.
17:53.16polysicsand the originate has Chanspy() with which params?
17:53.17GreenlightAlso, is your application running on the same box ?
17:53.21polysicsyeah
17:53.25polysicsthe Ruby app
17:53.34GreenlightAre you *sure* it's not a problem there ?
17:53.58fileI will say that for a short sound file you'll have a channel creation/destruction happen close to eachother
17:53.59Greenlighthttp://pastebin.com/RSfZuy8k <-- A snipped of what we submit
17:53.59polysicscan't be *sure* but I am trying solutions to differentially diagnose it
17:54.17GreenlightWe also play a beep
17:54.46Greenlightpolysics: What sort of scale are we talking here... does your box have >500 channels? Are you doing this ChanSpy >100 times a minute>
17:54.52mmyers[TK]D-Fender: You won't believe this, there's a segfault now lol
17:55.13[TK]D-Fendermmyers: I have no issue believing that....
17:55.21[TK]D-Fendermmyers: Now what the fix is... is another matter
17:55.35[TK]D-Fendermmyers: I'd make sure your upgrade job was clean...
17:55.42mmyers[TK]D-Fender: Yeah, I'm revisiting the upgrades..
17:57.03polysicsGreenlight: 100ish channels up
17:57.38*** join/#asterisk jpoz (~jpoz@107-1-105-37-ip-static.hfc.comcastbusiness.net)
17:58.14polysicsand 40 Chanspy a minute
17:58.17Greenlightpolysics: I've a box I'm looking at here, about same spec as yours; I was pushing over 1000 channels earlier today. That was doing 200+ ChanSpy whispers a minute at peak. It didn't miss a beat; Asterisk 11.
17:58.52GreenlightSo my gut feeling is that it's not a ChanSpy issue
17:58.53polysicshow do you run logic on those? Dialplan only?
17:59.03file^^^ hearing stuff like that makes me happy!
17:59.14GreenlightA little dialplan, mostly AMI
17:59.21Greenlightfile: Me too! :)
17:59.35fileGreenlight, did you get those issues long ago sorted?
17:59.56Greenlightfile: Ditched app_queue as a mechnism of routing calls to agents, and all was good :)
18:00.06fileGreenlight, ah! cool
18:00.12GreenlightWe not originate calls to a Wait(), and then use the AMI to fire a Bridge
18:00.16Greenlight*now
18:00.30GreenlightSeriously impressive how well it's scaling
18:01.22filethat's actually not a bad approach
18:01.40fileit's sorta what ARI does
18:01.44GreenlightYea, lets me do all the "logic" off on another box, and let Asterisk handle the basics
18:02.33GreenlightMy only concern was any delay between outbound calls hitting that Wait() and it bridging, but all the measurements I can get are showing it mostly <15ms
18:03.15polysicsso your agents are sitting in a Wait()?
18:03.33GreenlightWell, they are as well, yes.
18:04.13polysicsand when they finish a call they go back to the Wait()?
18:04.21polysicsI might even want to look at changing the whole architecture
18:04.37GreenlightIndeed
18:04.43GreenlightWe used to use ConfBridge, and app_queue
18:04.46polysicsbut first I think I should just try swapping Chanspy and Playback
18:07.18*** join/#asterisk jpoz (~jpoz@ec2-184-169-152-1.us-west-1.compute.amazonaws.com)
18:08.46*** join/#asterisk coppice (~chatzilla@123203240234.ctinets.com)
18:10.37polysicswhat about playing sound into a Confbridge using an Originate?
18:11.25PenguinI've never had any problem doing that.
18:15.49polysicsPenguin: got an example, please? I think i am a little lost in teh order of events
18:17.11Penguinchannel originate Local/random-conf-extension@conferences-context application Playback my-sound
18:18.11PenguinYou could use Originate() in a similar way.
18:22.23*** join/#asterisk sawgood (~sawgood@unaffiliated/sawgood)
18:24.00*** join/#asterisk pabelanger (~pabelange@asterisk/contributor-and-bug-marshal/pabelanger)
18:24.00*** mode/#asterisk [+o pabelanger] by ChanServ
18:31.34*** join/#asterisk Faustov (~fst@gentoo/user/faustov)
18:38.24*** join/#asterisk MaliutaLap (~nobusines@eth637.qld.adsl.internode.on.net)
18:43.58mmyersAll done!
18:44.10mmyers[TK]D-Fender: Penguin here's the new paste bin with the call: http://pastebin.ca/2495491
18:44.16mmyersSame issue, 21 second call drop.
18:44.30mmyersUpgraded, removed SIP ALG and everything else we spoke of
18:45.22[TK]D-FenderPeer audio RTP is at port 192.168.0.15:40004
18:45.37[TK]D-FenderStill see * IDing the wrong address.  This looks like incorrect processing...
18:45.43[TK]D-FenderI'd file a bug for it.
18:45.56mmyersWhat shall I include?
18:46.18filethat's what is in the SDP
18:46.19[TK]D-Fendercall with SIP debug, sip.conf entries, etc
18:46.40mmyersMy configs are all correct? Jeez. Unbelievable that it's a bug .. FML
18:46.42[TK]D-Fenderfile: SDP ofers the private address we see but the peer is clearly nat=yes so it should not be taking that address
18:46.43fileif the NAT settings are enabled it'll change when audio actually flows to the source IP address/port
18:47.00file[TK]D-Fender, it takes the address for RTP until it gets RTP, cause there is nothing else to do
18:47.15[TK]D-Fenderfile: Peer audio RTP is at port 192.168.0.15:40004 <--- Transmitting (NAT) to 99.xx.xx.xx:62712 --->
18:47.21mmyersfile: There was two way audio
18:47.34[TK]D-Fenderfile: Well it has the source... it should never say that it's private just to change it's mind later
18:47.39fileyes, it's sending the signaling to the source IP address and port for signaling
18:47.41[TK]D-Fenderits*
18:47.47filethe source of signaling is NOT the source of RTP
18:48.00fileyou could best effort use the same IP address, but if behind NAT that is still useless until they send you media
18:48.01PenguinIf there is two-way audio, what was the problem?
18:48.11mmyersPenguin: Call drops in 20 or so seconds
18:48.13[TK]D-Fenderfile: Peer audio RTP is at port 192.168.0.15:40004 <- saying this was never really right though... it's not supposed to think about it...
18:48.13PenguinI thought this was an audio problem.
18:48.13filethe problem is that the client never sent an ACK for the 200 OK
18:48.18mmyersOnly outbound, all inbound calls work fine.
18:48.49[TK]D-Fendermmyers: Have you checked the router at the remote side?  In case it's interfering in some way...
18:49.13mmyers[TK]D-Fender: Yup. The SIP ALG that Penguin mentioned got disabled. All ports sip and ftp are being forwarded..
18:49.23PenguinThat's wrong.
18:49.29PenguinYou were told to stop doing forwarding.
18:49.38mmyersStop forwarding on the RW's side
18:49.40mmyersAnd that's done
18:49.44[TK]D-Fendermmyers: Server: FPBX-2.8.1(1.8.20.0)
18:49.45Penguin"all ports"
18:49.53[TK]D-Fendermmyers: That is not looking like you upgraded as requested
18:50.10[TK]D-Fendermmyers: and FTP has nothing to do with this
18:50.13mmyersmmyers: Where did you see that? Wait up...
18:50.18PenguinNever forward to the phone.  If you are not forwarding to the phone, good.
18:50.35[TK]D-Fender[13:44]mmyers[TK]D-Fender: Penguin here's the new paste bin with the call: http://pastebin.ca/2495491
18:50.40[TK]D-Fenderline 249
18:50.58Penguinor 48
18:51.06mmyersVery weird!
18:51.10mmyersI'm on the latest Asterisk
18:51.43mmyersbuendia*CLI> core show version Asterisk 11.6.0
18:52.12[TK]D-Fendermmyers: I didn't suggest you jump branches there
18:52.15PenguinOh boy.
18:52.23[TK]D-Fendermmyers: and FreePBX 2.8 doesn't support * 11
18:52.29Penguinshakes his head
18:52.38mmyersWait wait, I did the yum update
18:52.45mmyersElastix does all the update in the backend apparently
18:53.00mmyersFreePBX isn't the distro, it's running within elastix
18:53.46mmyers[TK]D-Fender: FreePBX shows 2.8.1.4
18:54.05mmyersHere I thought I was winning doing everything right!
18:54.06mmyerslol
18:57.30mmyersElasix 2.4.0-11, FreePBX 2.8.1-17, Asterisk 11.6.0-1
18:58.21*** join/#asterisk serafie1 (~erin@nat/digium/x-gqclobwcgdtnmpao)
18:59.04PenguinWas the problem the same before you upgraded?
18:59.23mmyersyup
18:59.27mmyersYup Penguin
19:01.57*** join/#asterisk vlad_sta_ (~vlad_star@77.50.56.177)
19:06.00mmyersIn a long time, my call just dropped at 19 seconds..
19:06.22mmyersNormally its at 20+
19:07.10*** join/#asterisk DennisG (~DennisG@82-170-131-186.ip.telfort.nl)
19:12.02*** join/#asterisk dxd828 (~dxd828@94.116.77.190)
19:12.26mmyers[TK]D-Fender: Oh, new thing. Inbound calls that were working still continue to work but now there's a new thing. If the caller hangs up, or the RW hangs up. The call still continues.
19:15.46[TK]D-Fendermmyers: 2.8 is still not made for * 11...
19:16.04[TK]D-Fendermmin sip_general_custom.conf make sure you have "directmedia=no"
19:16.11[TK]D-Fendermmyers: in sip_general_custom.conf make sure you have "directmedia=no"
19:16.14mmyersone sec [TK]D-Fender
19:17.32mmyers[TK]D-Fender: done
19:17.41[TK]D-Fendermmgo retest
19:17.48mmyersok
19:19.33mmyers[TK]D-Fender: no dice
19:19.35mmyers:(
19:21.33mmyersX-Asterisk-HangupCause: No user responding X-Asterisk-HangupCauseCode: 18
19:22.03mmyersset_destination: Parsing <sip:6010@192.168.0.15:62712;ob> for address/port to send to set_destination: set destination to 192.168.0.15:62712
19:22.08mmyersgrr it's still showing internal IP
19:22.43[TK]D-Fendermmyers: Provide configs & full SIP DEBUG and file a bug report...
19:23.08mmyersOk, thanks [TK]D-Fender for sticking it out with me
19:28.21filefrom the pastebins I saw previously it does not appear to be Asterisk
19:29.35[TK]D-Fenderfile: * keeps setting destinations for private there.... am I missing something?
19:30.04fileit may set the destinations, but that doesn't mean it sends there
19:30.18filethe sip debug clearly shows it sending to the source IP address and port for signaling
19:33.03*** join/#asterisk Dumby (~dumby@204.246.140.162)
19:36.37*** join/#asterisk lanning (~lanning@50-193-22-25-static.hfc.comcastbusiness.net)
19:36.59*** join/#asterisk ipengineer (~zconkle@static-71-252-134-63.dllstx.fios.verizon.net)
19:37.54mmyersJust spent over 3 mins looking for the bug tracker (no offence digium brass)
19:38.26filehttps://issues.asterisk.org/
19:41.05*** join/#asterisk bchamberlain (~brian98@unaffiliated/brian98)
19:43.14mmyersYeah file, it doesn't work via safari for some reason. Used Chrome
19:44.03mmyersAnd now my username from eons ago doesn't work, email isn't with me anymore.
19:44.05mmyersJust great.
19:47.48mmyersWhat if my domain that I registered the email with is no more.. I kiss goodbye to my account? :(
19:48.46navaismoi guess its easier to create new one
19:49.58mmyersYeah, I'm a packrat of a special kind. Hate throwing away old accounts. Like my ICQ.
20:02.16*** join/#asterisk dxd828 (~dxd828@212.183.128.250)
20:08.19*** join/#asterisk zerick (~eocrospom@190.187.21.53)
20:09.42Qwellmmyers: why would you throw that out?
20:09.52Qwell18082910, sup?
20:10.11mmyersQwell: I wouldn't. I just emailed the JIRA admins to help me restore my account so I can file this bug.
20:10.27Qwellmmyers: I meant the ICQ account. :p
20:10.57mmyersQwell: It will go down in the books of history one day for something or the other, and I want to be part of it. Weirdly enough. :P
20:11.18Qwelloh, so you didn't throw it away.  got it
20:12.12mmyersWouldn't want to!
20:15.44*** join/#asterisk serafie (~erin@nat/digium/x-wsgemcrnrfdygdvo)
20:32.55*** join/#asterisk apb1963 (~quassel@174.134.232.228)
20:36.34*** join/#asterisk serafie (~erin@nat/digium/x-jkjjebiuczlalrvm)
20:41.07*** join/#asterisk vlad_starkov (~vlad_star@109.188.124.75)
20:52.54*** join/#asterisk vlad_starkov (~vlad_star@109.188.127.100)
20:54.12*** join/#asterisk TimeRider (~steve@timerider.plus.com)
21:08.22*** join/#asterisk vlad_starkov (~vlad_star@109.188.127.100)
21:13.17KobazSystem uptime: 1 year, 36 weeks, 1 day, 22 hours, 39 minutes, 16 seconds
21:13.18Kobazwow
21:13.27Kobazi think that's my longest running system
21:25.10*** join/#asterisk polysics (~Adium@50-192-47-77-static.hfc.comcastbusiness.net)
21:26.56[TK]D-Fendercheckout time, BBIAB
21:28.56polysicsanyone here uses SIPp, please?
21:29.15Max_E?ask
21:29.19Max_E~ask
21:29.20infobotQuestions in the channel should be specific, informative, complete, concise, and on-topic.  Don't ask if you can ask a question first.  Don't ask if a person is there; just ask what you intended to ask them.  Better questions more frequently yield better answers.  We are all here voluntarily or against our will.
21:29.25polysicsI know it is OT, but I am trying to understand if it is feasible to have a call that runs indefinitely
21:29.37polysicsie. SIPp pretending it is an agent in a confbridge
21:36.36*** join/#asterisk vlad_starkov (~vlad_star@109.188.127.100)
21:40.16*** join/#asterisk cmendes0101 (~cmendes01@office.phone.com)
21:43.13Max_Epolysics, amm not sure about the media/rtp
21:43.51Max_Epabelanger, the other day recommend somthing IIRC puppy/zippy or something
21:44.26pabelangerpabelanger, for what?
21:45.14Max_Efor use with sipp
21:45.18Max_Eor im crazy
21:45.28Max_Enot sure if that was 2 months ago
21:46.23polysicsthat sounds interesting
21:47.37Max_Edigging in logs
21:51.01pabelangerMax_E, what do you want to do
21:51.52leifmadsenpoints at sippy_cup @ https://github.com/mojolingo/sippy_cup
21:52.02leifmadsenmakes SIPp easier to work with at least
21:52.17polysicsI built part of that :P
21:52.22*** join/#asterisk [TK]D-Fender (~chatzilla@64.235.216.2)
21:52.28leifmadsenbut you can just reflect RTP or whatever with it; just configure SIPp to be on a super long call and setup 1 call
21:52.56leifmadsenI admit to not having actually done this, but it seems reasonable :)
21:53.43polysicsI think RTP echo plus simply setting up the first half of an UAS scenario should work
21:53.47polysicsie. never actually hanging up
21:55.19Max_Ecant find anything only a reference to https://github.com/mojolingo/sippy_cup
21:55.36polysicsthen it's us :
21:55.39polysics:D
21:55.52*** join/#asterisk Brixius (~kmurphy@PDN-VBA.OnvoyInc.fw.onvoy.net)
21:58.02Max_Ehmm nope cant find it, and sippy_cup only send dtmf
21:58.25Max_Eargh i need to trust less in my memory
21:59.42polysicsno problem, I think RTP reflect + waiting will do it
22:00.55Max_Ebrb going to cook
22:02.29*** join/#asterisk d45h (~d45h@unaffiliated/dash-/x-7576607)
22:11.52*** join/#asterisk btcquant (~noahnoah@99-41-172-179.lightspeed.irvnca.sbcglobal.net)
22:12.57*** part/#asterisk btcquant (~noahnoah@99-41-172-179.lightspeed.irvnca.sbcglobal.net)
22:15.24*** join/#asterisk DennisG (~DennisG@82-170-131-186.ip.telfort.nl)
22:22.54*** join/#asterisk Scorp1us (~jason@pool-98-117-60-146.bltmmd.fios.verizon.net)
22:23.20*** join/#asterisk theron (~theron@66.220.144.81)
22:23.37Scorp1ushi all my asterisk provider moved me to another server and now my AGI can't dial out (via SIP)
22:23.57Scorp1usI am wondering where I should start looking? The scripts are there
22:24.13[TK]D-Fenderthat tells us nothing really
22:24.19Scorp1usMy sip extension is registered
22:24.21Kobaznope, not a whole lot
22:24.25[TK]D-Fender"Asterisk provider" isn't really a "thing".
22:24.30Kobaz~details
22:24.31infobotIf you want help on a topic, you HAVE to say more than "it doesn't work, help!" or else you'll get no help whatsoever.  Give as many details as you can or else no one can give any suggestions.
22:24.51[TK]D-Fenderwe'd need to see you failed calls with AGI debug for starters
22:24.58[TK]D-Fenderthen at some point possibly the code itself.
22:25.05Scorp1uswell, here's the problem, it used to work, now it doesn't.
22:25.13[TK]D-FenderAssuming that "AGI" is even part of the reason that you aren't calling out.
22:25.22Scorp1usWhen I put a call file, I see asterisk try to use it
22:25.34KobazScorp1us: generalities aren't going to help at all
22:25.34Scorp1usbut nothing shows up in SIP as a dialed call.
22:25.35[TK]D-Fenderthat is another completely separate matter
22:25.38[TK]D-Fenderwe need debug
22:25.47[TK]D-FenderAnd code to match
22:26.04[TK]D-Fender~pb
22:26.04infobotA "pastebin" is a web-based service where you should paste anything over 3 lines so you don't flood the channel. Here are links to a few: http://www.pastebin.com, http://pastebin.ca, http://channels.debian.net/paste, http://paste.lisp.org, http://bin.cakephp.org/; or install pastebinit with yum or aptitude.
22:26.06[TK]D-Fender^^^^
22:26.11KobazScorp1us: it's like going to a doctor and saying "i feel sick", and not telling the doctor you ate a box of nails yesterday
22:26.27KobazScorp1us: be *specific*
22:26.37Scorp1usok i just didn't know where to begin
22:26.43Kobazbegin with what tk asked for
22:26.47Scorp1usnow that you said that Ill get that collected
22:26.48Kobazconsole logs of your failed call
22:29.01Scorp1ushttp://pastebin.com/z3GTWNfF
22:29.25Scorp1usthat's call file and the console
22:30.13Scorp1usactually, those might not even match. arg. so lost
22:30.28[TK]D-Fenderthey don't
22:30.30Kobazyou're going to have to start showing your agi code, this startservice.py
22:30.34[TK]D-Fendernot yet
22:30.55[TK]D-Fenderlets just see something that matches at all with teh level of debug requested
22:30.57Kobazand yeah, show the actual log
22:31.22newtonrsomeone could tell him how to get those logs :D   https://wiki.asterisk.org/wiki/display/AST/Collecting+Debug+Information
22:31.37[TK]D-Fendernewtonr: he's clearly grabbing output already
22:31.49[TK]D-Fendernewtonr: Just not paying attention that it was the RELEVANT call
22:32.34*** join/#asterisk DennisG (~DennisG@82-170-131-186.ip.telfort.nl)
22:33.40Kobazso sad
22:33.42Kobazroot     19610  0.0  1.4  68060 59328 ?        Ss    2012 180:55 AgiDaemon
22:33.48Kobazi have to restart it for an upgrade
22:33.52Kobazit's been running since 2012 :(
22:37.04newtonrScorp1us, you don't have the "DEBUG" message type enabled to your console (logger.conf), and may not have the debug level turned up (asterisk.conf).   You probably want debug and verbose both turned up to 5, and either present on your console or the log file that you grab from.
22:37.26Kobazyou dont need DEBUG
22:37.29Kobazjust verbose
22:37.57newtonrFor what?
22:38.12Kobazfor Scorp1us dialplan/agi problem
22:38.20Kobazdebug is going to spew lots of useless info related to what his issue is
22:38.38Kobazunless he's running into an asterisk bug (unlikely), all he needs is core set verbose 3
22:41.29Scorp1usok. let me start here, if I have a call file in outgoing, how do I get asterisk to process it?
22:41.37newtonrEh, I find it really helpful to see what is really going on and I always rather have more info than not enough.
22:41.45Scorp1usbecause right now its just sitting there
22:42.19[TK]D-FenderScorp1us: it will process it immediately unless it is POST-DATED
22:43.01Kobaznewtonr: in this case, the debug output is just going to cause extra work in ignoring it when reading the log file
22:43.11Kobaznetmax: debug output is useful in many cases, this isn't one of them
22:43.18Max_Eor maybe someone need to tell him that is not the normal dialplan behavior dialing using AGIS
22:43.29Scorp1uswell there is a call file and its not processing it. all i see are register messages
22:43.33KobazMax_E: sure it is
22:43.43Max_EO_o
22:43.43Kobazpeople use AGI all the time for call control
22:43.47*** join/#asterisk [sr] (~kvirc@213.228.163.73)
22:43.50[sr]hi
22:43.53Kobazmyself included
22:43.54[sr]bug: https://issues.asterisk.org/jira/browse/PRI-152
22:44.11Max_Epeople use it*
22:44.19[sr]says its fixed in 1.4.13, fact is that i have latest 1.4.14 and it still happens, any idea?
22:44.21*** join/#asterisk jpoz_ (~jpoz@ec2-184-169-152-1.us-west-1.compute.amazonaws.com)
22:44.21Kobaznewtonr: whoops prefixed the wrong person... debug output is useful in many cases, this isn't one of them
22:44.25Max_ELOL @kobaz
22:44.54Kobaz[sr]: you should probably think about upgrading  1.4 is quite EOL'd
22:45.14[sr]Kobaz: pri version not asterisk
22:45.20Kobazoh
22:45.27Max_Ebased on that we can stop blamig people asking on freepbx here because a lot of people use it to dial out and in the end it use asterisk dialplan logic
22:45.31Kobazright
22:45.46Max_E¬¬
22:45.58Kobaz[sr]: i would say post back on the bug and say it's still happening. contact the person who wrote the fix
22:46.20[TK]D-FenderScorp1us: how are they being placed there?
22:46.31KobazMax_E: depends what you're doing
22:46.54Max_Enein
22:47.01KobazMax_E: writing anything more than Dial()... Voicemail()... in dialplan logic is bloody nightmare... so might as well use a general purpose scripting language
22:47.40Max_Eim not telling about that im just talking about what "many people use" and that convert in normal stuff
22:47.57Max_Eso freepbx apply perfeclty like the agi dialing
22:48.03Kobazmany people use all kinds of things
22:48.32Max_Edont you say, i guess you are missing my point...
22:48.50Kobazprobably
22:49.03Max_Elets back to the issue
22:49.04tm1000little bit of a language barrier isn't helping either Max_E :-)
22:49.04Kobazmy point is... best tool for the job
22:50.35Scorp1usmy script moves them there
22:50.54*** join/#asterisk nickfennell (~nickfenne@unaffiliated/nickfennell)
22:51.04Scorp1usI'm prepareing anoother pastegin
22:52.02Max_E~freepbx
22:52.02infobot[~freepbx] FreePBX is unable to be supported here. It is made up of complex dialplans and scripts which can't be easily supported by people who aren't deeply involved. Try joining #freepbx and asking there
22:53.27Scorp1usok so here is. it's right this time.
22:53.29Scorp1ushttp://pastebin.com/dZQBPw2d
22:53.42Scorp1ussorry about before
22:54.56[TK]D-FenderScorp1us: I see the confirmation of it attempting the call... and you not sticking around long enough to show it ANSWER
22:55.19Scorp1ushrm ok
22:55.34[TK]D-FenderScorp1us: so it IS taking your call files from the look of it
22:56.22[TK]D-FenderScorp1us: It would probably be a very good this to have full SIP DEBUG enabled....
22:56.27[TK]D-Fender"sip set debug on" <-
22:59.26Kobazyeah make sure you have ample wait time
22:59.38Kobazif the other side doesnt answer then your own side will terminate the call
23:00.09Scorp1usi did type that
23:00.33Scorp1usSIP Debugging re-enabled
23:00.46outtoluncprobably missing timeout
23:04.05KobazScorp1us: if your own asterisk is sending a BYE, then your timeout/wait is not long enough
23:05.26Scorp1ushmm.
23:08.23[TK]D-FenderWe don't see the call out yet...
23:08.27[TK]D-Fenderor the end
23:13.53outtoluncsorry didn't look at pb (i have too much AMI on the brain).. does he even pass register.. (didn't look like it)  if he is now on a new asteris box, did the account get updated with the new ip?
23:16.15*** join/#asterisk Chainsaw (~chainsaw@gentoo/developer/chainsaw)
23:17.07Scorp1uswhat do you mean?
23:17.31Scorp1usbecause the IP did change, that's the only thing that should have changed
23:18.58outtoluncwell if you term provider (callcentric) was setup with IP based auth.. then they need to be informed of the new asterisk box ip
23:19.42Scorp1uswell the device is registered
23:21.46Scorp1usmy collectdigits.py script (dial, play message, collect digit) isn't dialing out either
23:21.53Kobazregistered doesn't always mean you can make calls
23:21.56outtolunci've never used callcentric.. i do not know if they allow open reg .. if your sip entry for them has a user/pass, then you are not using ip auth.
23:21.57*** join/#asterisk theron (~theron@66.220.144.81)
23:22.24*** join/#asterisk nickfennell_ (~nickfenne@unaffiliated/nickfennell)
23:24.03Scorp1usyes, they use a secret
23:24.11Scorp1usmy new ip is registered
23:24.56outtoluncthen it is something else.. have you done an agi debug (and retest) yet?  (sorry, wasn't following the pb's)
23:41.12*** join/#asterisk Chainsaw (~chainsaw@gentoo/developer/chainsaw)
23:48.57*** join/#asterisk phix (~threat@123-243-44-131.static.tpgi.com.au)
23:49.55phixHey, is there a way to programmatically add in a sip account and local extension?
23:50.29phixBasically I want to modify an Add User script so when I add a user onto my server it also creates an extension for them and assigns them to a phone
23:50.42WIMPyDo it
23:51.04phixso I need to script it myself?  or is there an API I can use to interact with asterisk and tell it to do that?
23:51.19phixwithout having to hack around configuration files?
23:51.28WIMPyYou have to do it yourself.
23:51.37Chainsawphix: Well, either you hack around configuration files, or you serve a configuration file equivalent from a database.
23:51.42WIMPyYou could use dynamic realtime.
23:51.45Chainsawphix: (And that is known by the odd name of "realtime")
23:52.13phixok so there is a way I can use a database as a backend for configuration files?
23:52.30WIMPyYes.
23:52.36phixDoes asterisk cache it incase the database isn't available?
23:52.47phixor can i use sqlite or something?
23:52.47WIMPyFor risks and side effects ask your doctor.
23:52.49Chainsawphix: Yes, "realtime". But I would start with flat config files and convert that setup, to ensure any problems you experience are not simply due to the database setup.
23:53.06Chainsawphix: I'd stick the MySQL server on the same box and not tempt fate.
23:53.10phixok so I can use multiple flatfiles and import them?
23:53.26ChainsawOr get over your irrational fear of configuration files, of course.
23:53.28phixs/MySQL/PostgreSQL/
23:53.54Max_Eor use FreePBX
23:54.10phixChainsaw: no the issue I had is I don;t want to edit the main extensions.conf or sip.conf incase it puts an entry into the wrong spot, but you are saying I can have multiple conf files and import them?
23:54.11Max_Eit use MySQL
23:54.11WIMPyYou can generate files or include other files. You can even include configuration generated by a script being called when reading the config.
23:54.30Chainsawphix: You can #include, yes.
23:54.57phixWIMPy: ok I like that better, I just didn't want to hack a single conf file, but importing multiple ones sounds a bit safer, unless there are multiple sip / extension entries
23:55.03Chainsawphix: This is why I have per-queue config files. Make the problem smaller and keep it contained.
23:55.05phixthat are the same that is
23:55.28phixChainsaw: ok, do you have any examples of this?
23:56.01WIMPyYou can even #include myconfig/*.conf or the like.
23:56.04phixalso, do I need to reload asterisk everytime I change a conf file that is imported?
23:56.16WIMPyyes
23:56.21WIMPyWell, not the whole Asterisk.
23:56.22Chainsawphix: You can reload the specific components that you updated. The SIP stack, the queue rules, etc.
23:56.30WIMPyYou can reload the part that was changed.
23:56.31phixand is there a config file checker that I can run on the new conf first before getting asterisk to use it?
23:56.44phixWIMPy: ok cool
23:56.56ChainsawYou have no sense of adventure. I can tell.
23:57.02ChainsawNo, I'm not aware of such functionality.
23:57.13phixNot when this is a clients machine :)  If I break it they break me :)
23:57.25Scorp1uscrazy question. how do you do agi debug?
23:57.30WIMPyNo risk, no fun.
23:58.41newtonrScorp1us, "agi set debug on"
23:59.27Scorp1usok i did that. is till don't see agi output

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