IRC log for #asterisk on 20120302

00:00.27[TK]D-FenderAgain, stop worrying about configs and go look at what is actually happening.
00:00.43*** join/#asterisk jsjc (~Adium@226.Red-80-33-236.staticIP.rima-tde.net)
00:10.46leifmadsenyou know what blocks stuff?  firewalls.
00:11.42[TK]D-FenderSo far as we've seen there is no "blockage".
00:12.19[TK]D-FenderThat implies something even tried going somewhere it was intended to but was obstructed.
00:12.28[TK]D-FenderWe never got to see that
00:14.33flanAre we playing the how-to-learn-network-diagnosis-techniques game?
00:18.52WIMPyDoes anyone have an idea, how a new call can end up at extension h immediately?
00:19.06WIMPyAnd no, "h" wasn;t dialled.
00:21.24flanHangup/fallthrough-without-answer before it progressed past, or even to, the alerting stage, maybe.
00:21.28flanJust a guess.
00:25.18*** join/#asterisk mattwj2002 (~matt@wikisource/pdpc.active.mattwj2002)
00:26.18mattwj2002hi guys as far as google voice I heard that you can't have the phone registered with anything else
00:26.27mattwj2002*phone number
00:27.14*** join/#asterisk fisted_ (~fisted@unaffiliated/fisted)
00:27.27mattwj2002anyone here?
00:27.28WIMPyHmm, yes, it says Spawn extension ... exited non-zero. But that's not what happens if it is a invalid extension.
00:27.35mattwj2002hi WIMPy
00:29.03p3nguinVerbose output during the failing call does not show anything else?
00:29.26WIMPyNo
00:29.30*** join/#asterisk RickCogley (~anonymous@EM114-48-116-117.pool.e-mobile.ne.jp)
00:31.00WIMPy[2012-03-02 01:26:10]     -- Accepting AUTHENTICATED call from 10.9.42.2:
00:31.05WIMPy[2012-03-02 01:26:10]   == Spawn extension (dial-user, 11940128, -1) exited non-zero on 'IAX2/yeti-lmaa-11289'
00:31.10WIMPy[2012-03-02 01:26:10]     -- Executing [h@dial-user:1] Verbose("IAX2/yeti-lmaa-11289", "1,====   Hangup dial-user:0 ") in new stack
00:31.56WIMPywonders if the -1 is a clue.
00:39.16mattwj2002hi WIMPy
00:39.26mattwj2002hi p3nguin
00:39.34p3nguinHi.
00:39.50*** join/#asterisk evil_gordita (robert@ip70-188-50-186.rn.hr.cox.net)
00:39.54mattwj2002I have a question about google voice and asterisk if you would be so kind
00:41.28mattwj2002what are the requirements for getting asterisk to work with an google voice account?  I heard if you have an android phone associated with the account it won't work....do you know the details on that?
00:42.18WIMPyhas absolutely no clue about GV.
00:44.33*** part/#asterisk butchevans2001 (~butchevan@2001:470:1f11:394:ae81:12ff:fe29:8f3)
00:46.01*** part/#asterisk mattwj2002 (~matt@wikisource/pdpc.active.mattwj2002)
00:52.18*** join/#asterisk nighty^ (~nighty@static-68-179-124-161.ptr.terago.net)
00:55.22p3nguinIf he would have stuck around, I would have told him what he wanted to know.
01:01.14flanI'm curious on his behalf.
01:01.45*** join/#asterisk RickCogley (~anonymous@EM114-48-116-117.pool.e-mobile.ne.jp)
01:03.44*** join/#asterisk rossand (~aross@CPE485b390978ce-CM00222ddf42dd.cpe.net.cable.rogers.com)
01:05.29*** join/#asterisk TeknoJuce (~TeknoJuce@xbmc/staff/TeknoJuce)
01:08.51*** join/#asterisk odin_ (~Odin@93-97-168-38.zone5.bethere.co.uk)
01:11.49*** join/#asterisk odin_ (~Odin@93-97-168-38.zone5.bethere.co.uk)
01:12.18*** join/#asterisk felipe_ (~felipe@unaffiliated/felipe)
01:17.29p3nguinflan: There's a wiki page for setting it up.  And to make it work in conjunction with his android device, he would just need to set the priority in asterisk to be higher than the one on the android (which I believe is hard-set to priority 24) for asterisk to be able to take the inbound phone calls.
01:24.17*** join/#asterisk RickCogley (~anonymous@114.179.8.185)
01:29.54*** join/#asterisk dano0 (~dano@wsip-70-168-155-218.oc.oc.cox.net)
01:35.32*** join/#asterisk dano0 (~dano@wsip-70-168-155-218.oc.oc.cox.net)
01:38.03dano0anyone around?
01:39.06phix[TK]D-Fender: looks like router firewall actually i can port scan port 5060 and it is closed (expected behaviour) but the rtp ports are filtered not closed
01:40.14phixindicating the router is blocking them, which is why the caller can hear me but i cant hear them
01:41.19phixwhat you think [TK]D-Fender ?  or could something else be causing it
01:56.08phixyay I have closed status on the RTP ports now but it still isn't working :\
01:57.20phix[TK]D-Fender: any ideas?  and yes there is a "blockage", voice being sent to the Asterisk server is being blocked / dropped, voice being sent from the asterisk server is working fine
01:57.58*** join/#asterisk fornax (~fornax@85.183.53.64)
01:58.29phix[TK]D-Fender: the problem is the logs are not saying why it is being blocked, probably because the voice isn't being blocked before it gets to the server
01:59.02fornaxCan someone give me a hint were I can download the german sounds for asterisk? It seem to be deleted from all mirrors and even the gentoo ebuild does not work anymore.
02:14.25*** join/#asterisk tengulre (~tengulre@182.148.109.115)
02:15.43*** join/#asterisk puzzled (~patrick@2001:980:5e31:1:6ef0:49ff:fe50:659d)
02:22.52*** join/#asterisk Netgeeks (~chris@173.11.68.156)
02:28.31*** join/#asterisk GGD (~deberle@pool-173-72-204-39.clppva.fios.verizon.net)
02:39.00*** join/#asterisk caveat- (hoax@gateway/shell/bshellz.net/x-iawqpuxybaplesad)
02:39.02*** join/#asterisk mjordan (~mjordan@user-69-1-6-49.knology.net)
02:39.03*** mode/#asterisk [+o mjordan] by ChanServ
02:43.08*** join/#asterisk James_zhu (~zhu@116.24.235.62)
02:43.12*** part/#asterisk James_zhu (~zhu@116.24.235.62)
02:54.44*** join/#asterisk coppice (~chatzilla@123203240234.ctinets.com)
03:25.01*** part/#asterisk GGD (~deberle@pool-173-72-204-39.clppva.fios.verizon.net)
03:45.28*** join/#asterisk g_r_eek (~g_r_eek@33.sub-75-203-242.myvzw.com)
03:57.41*** join/#asterisk g_r_eek (~g_r_eek@33.sub-75-203-242.myvzw.com)
04:01.43*** join/#asterisk g_r_eek (~g_r_eek@33.sub-75-203-242.myvzw.com)
04:12.14*** join/#asterisk g_r_eek (~g_r_eek@173-9-142-122-Miami.FL.hfc.comcastbusiness.net)
04:18.23*** join/#asterisk coppice (~coppice@m121-202-7-204.smartone.com)
05:08.48TeknoJuceanyone around that has exp with 1.8 and unistim.conf nortel i2004 phones
05:19.58*** join/#asterisk codefreeze-lap (~Steve_Mur@mail.parsetree.com)
06:00.33*** join/#asterisk retentiveboy (~retentive@74-95-28-33-Atlanta.hfc.comcastbusiness.net)
06:08.11*** part/#asterisk codefreeze-lap (~Steve_Mur@mail.parsetree.com)
06:12.13jgowdyWhat branch is 10.2.0-rc4 in SVN?
06:12.48jgowdyI'm trying to figure out what branch to use in my git mirror of the SVN repository to track 10.x
06:17.55*** join/#asterisk Maliuta (~nobusines@kiev.lusan.id.au)
06:19.34*** join/#asterisk Vince-0 (~AndChat@196.215.188.241)
06:20.16*** join/#asterisk gerhard7 (~gerhard7@82-168-115-40.ip.telfort.nl)
06:25.39*** join/#asterisk _mwoodj_ (~mwoodj@pdpc/sponsor/digium/hyper-eye)
06:30.15*** join/#asterisk jsjc (~Adium@226.Red-80-33-236.staticIP.rima-tde.net)
06:37.11*** join/#asterisk asphalt (6e222412@gateway/web/freenode/ip.110.34.36.18)
06:37.35asphaltWhen caller hangups, the AGI returns 0 instead of -1? Why is that?
06:45.50*** join/#asterisk ferdna (~yup@cpe-67-10-220-35.elp.res.rr.com)
06:53.47*** join/#asterisk mintos (mvaliyav@nat/redhat/x-ligwlzrgvnshujab)
06:55.03asphaltCan any one tell why the AGI cmd returns 0 whereas I can see in console that the AGI returned -1, but in my application I receive it as 0 (it happens on hangup)
07:04.09*** join/#asterisk eye-scuzzy (~light@sun28.ipfw.su)
07:04.12eye-scuzzymoin
07:04.46eye-scuzzylooks for acmepacket jedi
07:13.12*** join/#asterisk Ad-Hoc (~nimbus@194.30.241.105)
07:18.06*** join/#asterisk pdtpatr1ck (~pdtpatric@ip184-179-74-42.oc.oc.cox.net)
07:37.10*** join/#asterisk ollii (~risker@2001:470:1f15:1384:62eb:69ff:fe31:b4)
07:42.32*** part/#asterisk briankb (~briankb@pool-98-119-173-84.lsanca.fios.verizon.net)
07:49.01*** join/#asterisk Nasga (~Nasga@82.113.117.78.rev.sfr.net)
07:50.36*** join/#asterisk bulkorok (~bulkorok@85.183.36.36)
07:51.47*** join/#asterisk tyman (~tyler@173-12-219-189-Fresno.hfc.comcastbusiness.net)
07:54.39*** join/#asterisk c0rnoTa (~c0rnoTa@78.24.154.190)
07:54.44*** part/#asterisk c0rnoTa (~c0rnoTa@78.24.154.190)
07:55.57tymanWhat's the best way to make a second line (polycom phone) use a different outbound caller-id than line 1?
07:56.55tymanDoes it have to be a second extension?
07:58.56*** join/#asterisk MarKsaitis (~MarKsaiti@195.59.185.18)
07:59.04*** join/#asterisk mpe (~mpe@office.ipvision.dk)
08:00.03p3nguinExtension?  No, extensions have nothing to do with your line keys.
08:00.14*** join/#asterisk stix (~stix@193.89.191.209)
08:00.40p3nguinYou can assign a new sip device name to the second line key and configure the callerid value for the new device as you want.
08:01.25*** join/#asterisk ninor (~ninor@unaffiliated/ninor)
08:01.27ninorre
08:01.37tymanAh…yes...
08:01.44tymanthx p3nguin
08:01.48ninorare there any open source libs or mac apps that facilitate p2p voip calls?
08:01.51p3nguinFor multi-line devices, I just append -a, -b, -c, etc. to the names.  A phone by the name of 0000AAAAFFFF will have keys 1 and 2 named 0000AAAAFFFF-a and 0000AAAAFFFF-b.
08:02.00ninori'm not into server only stuff like AIM
08:02.37tymanp3nguin: y…looks good
08:02.40tymanthx
08:15.08*** join/#asterisk k3asd` (~k3asd@static-94-32-127-180.clienti.tiscali.it)
08:15.50*** join/#asterisk jofry (~procube@port-212-202-156-85.static.qsc.de)
08:16.00jofryhi folks
08:22.37kaldemarninor: for LAN scale, there are apps like blink that use bonjour for locating other endpoints.
08:22.59ninornah over the net
08:23.03ninori wanna voip chat with friends
08:23.07*** join/#asterisk schmidts (~schmidts@Lo20-rt01.lm33.sil.at)
08:23.08schmidtsgood morning
08:24.41*** join/#asterisk bjornts (~BTS@it010226.klientdrift.uib.no)
08:25.31kaldemarninor: i think all use a server for locating peers at the moment.
08:41.12*** join/#asterisk ziz212 (~chatzilla@203.115.2.22)
08:42.06ninorfuck that
08:42.14ninori'm tired of this internet lite BS
08:42.17ninoractually
08:42.24ninorTHAT's the etymology of Internet !!!!!
08:42.26ninorOMFG
08:42.48ninori've been around since '94, and witnessed the strange transition of internet from internet to Internet. figured it was just typical biz
08:42.51ziz212Dear all, Is there any way to write mysql query in dial plan to insert data to a mysql database? I have searched this and I cant  find that in the web. If it is there pls let me know the location of the information.
08:43.12ninorbut no, it's their standard model of 'formalizing' an identity as a cover/shell of another organization with different intents altogether
08:43.19ninorthe Internet is not free. the internet was/is
08:45.11ninorthe Internet is about metered bandwidth at the user level, port filtering, IP filtering, p2p elimination
08:45.23ninorman this is fucked up we have to tear down those walls
08:45.47ninorare you guys seeing anything like Skype trying to come in and sue other apps that implement internet voice features?
08:51.29Henchman21i think theres an exec command
08:51.46*** join/#asterisk hehol (~hehol@buero-gw.dortmund.loca.net)
08:54.06Henchman21<PROTECTED>
08:54.49Henchman21maybe that could help you interface to a mysql dbase
08:55.25Henchman21http://www.voip-info.org/wiki/view/Asterisk+cmd+System
08:57.16kaldemarziz212: func_odbc is what you want.
08:57.39Henchman21even better
08:58.35kaldemarziz212: http://www.asteriskdocs.org/en/3rd_Edition/asterisk-book-html-chunk/Database_id287624.html
08:59.28kaldemarziz212: http://svn.digium.com/svn/asterisk/tags/10.1.2/configs/func_odbc.conf.sample
09:00.01*** join/#asterisk Faustov (~fst@gentoo/user/faustov)
09:00.27kaldemarziz212: configuring ODBC: http://www.asteriskdocs.org/en/3rd_Edition/asterisk-book-html-chunk/asterisk-DB.html
09:02.52ziz212@kaldemar :  Thanks for the information.
09:08.00ninorit's strange to see you lazy castrated heifers have nothing to say about what i wrote
09:08.17*** join/#asterisk krotos (~d3v1l@host230-100-dynamic.15-87-r.retail.telecomitalia.it)
09:08.22ninormaybe this is why it's slowly happening. hm ya, that just won't do
09:08.42Dovidhi all
09:09.03krotoshi all :)
09:09.44ninor:)
09:11.26krotosi've got two asterisk boxes (1.8.x), the first box called 'A' Send call's trought sip-trunk to the second box 'B'. B is connected with sip-provider in SIP.   The 'A' Box send call to B that route it to sip provider. On the 'A' box i set CALLERID(num-pres) and CALLERID(name-pres)
09:12.04krotosif i set sendrpid=yes and trustrpid=yes on sip trunk that connect A and B Box can i see the same Channel Variabile on the B Box?
09:13.07*** join/#asterisk v0lZy (~chatzilla@mail.silk-group.net)
09:13.25v0lZyhello
09:16.44*** join/#asterisk felimwhiteley (~quassel@089-101-203026.ntlworld.ie)
09:17.43Dovidhas anyone used the read function in an agi with Cepstral?
09:24.01*** join/#asterisk darrenlooby (~darrenloo@cpc3-shep3-0-0-cust181.8-3.cable.virginmedia.com)
09:27.00darrenloobyNeed some help diagnosing an issue. I have asterisk with opensips - and have working inbound and outbound external. No sound on internal calls - but, MOH works. When returning to the call from MOH, full sound is provided. Any clues?
09:28.36krotosi think you have some problem with nathelper
09:28.42krotosand opensips :)
09:28.46krotosand = in
09:29.00*** part/#asterisk hurdman (~ygcheny@cylon.r0b0t.fr)
09:29.13darrenloobyNot sure where to start... :(
09:29.14krotosso here is asterisk channel, not opensips :)
09:32.52darrenloobyAhh, ok... sorry, missed your subtle hints
09:32.54darrenlooby:)
09:42.30krotosdarrenlooby: the first point to start i debugging sip packet
09:42.56darrenloobyJust giving that ago now :)
09:43.09krotosand understand where the stream go to, and the used ip and port
09:43.13krotos(rport)
09:44.12darrenloobycheers
09:45.02*** join/#asterisk Azrael808 (~peter@212.161.9.162)
09:47.50*** join/#asterisk Andee (~andee@2001:470:1f12:704::3)
09:59.26*** join/#asterisk Tim_Toady (~fuzzy@77.49.174.240.dsl.dyn.forthnet.gr)
10:00.38*** join/#asterisk wonderworld (~ww@dsdf-4db52548.pool.mediaWays.net)
10:21.47*** join/#asterisk FiReSTaRT (~dlyh@unaffiliated/firestart)
10:32.19*** join/#asterisk tzafrir (~tzafrir@212.179.75.202)
10:47.23*** join/#asterisk fobus912 (~fobus912@41.141.248.71)
10:55.16WIMPyDo I have a network issue or has Jira just gone down?
11:03.50*** join/#asterisk freeman_u (~freeman@gw.quart-soft.net)
11:07.26*** join/#asterisk sekil (~sekil@78.24.104.73)
11:18.05*** join/#asterisk shamelessn00b (~bwahahaha@182.179.113.241)
11:24.40*** join/#asterisk jrose_atDigium (~jrose_atD@nat/digium/x-afydeekgxlclohht)
11:28.30*** join/#asterisk Sorcier_FXK (~nsystem@unaffiliated/sorcierfxk)
11:30.21*** join/#asterisk TimeRider (~steve@host81-136-216-215.in-addr.btopenworld.com)
11:31.04*** join/#asterisk RickCogley_ (~anonymous@114.179.8.185)
11:39.16*** join/#asterisk v0lZy (~chatzilla@mail.silk-group.net)
11:50.32*** join/#asterisk Azrael808 (~peter@212.161.9.162)
12:02.18*** join/#asterisk mjordan (~mjordan@user-69-1-6-49.knology.net)
12:02.18*** mode/#asterisk [+o mjordan] by ChanServ
12:06.53Dovidis it possible to have a variable that is an array ?
12:13.04Dovidfound it. function array
12:14.20Tim_Toadywell, the name is tricky on this one, as far as i know you cant have arrays, with array func you just set multiple variables at once
12:18.21Dovidit seems that you can't read it. u can only write it
12:18.35Dovidhats the max legnth of an Astersik variable?
12:18.56Dovidwhats*
12:27.38*** join/#asterisk ChrisInSydneyToo (~Chris@60-242-81-231.tpgi.com.au)
12:31.20*** join/#asterisk jofry (~procube@port-212-202-156-85.static.qsc.de)
12:31.38kaldemarDovid: see HASH and HASHKEYS
12:32.46*** part/#asterisk jofry (~procube@port-212-202-156-85.static.qsc.de)
12:35.10*** join/#asterisk lftsy (~lftsy@194.38.160.113)
12:42.25Dovidwondering if i should use asterisk variables and then have it all in memory or store results in sql.
12:43.10*** join/#asterisk rgsteele (~rgsteele@apo.aweber.com)
12:44.18kaldemarDovid: beware that variables are volatile.
12:45.01kaldemarmy asterisk (10.1.2) seems to choke when variable value length is 4091 characters.
12:46.50*** part/#asterisk ninor (~ninor@unaffiliated/ninor)
12:47.38*** join/#asterisk darkbasic_ (~quassel@host37-245-static.119-2-b.business.telecomitalia.it)
12:48.31*** join/#asterisk nosaj (~jbarinas@gwb.anditel.com.co)
12:54.03*** join/#asterisk RickCogley (~anonymous@ntkngw522154.kngw.nt.ftth.ppp.infoweb.ne.jp)
12:54.26*** join/#asterisk fisted (~fisted@unaffiliated/fisted)
12:54.43*** join/#asterisk Thazza (~Thazza@14-200-214-174.static.tpgi.com.au)
12:56.26*** join/#asterisk fbnts (~root@www.multiplix.co.uk)
12:59.25*** join/#asterisk leifmadsen (~Leif@asterisk/documenteur-extraordinaire/blitzrage)
12:59.26*** mode/#asterisk [+o leifmadsen] by ChanServ
12:59.35fbntsHi, I am having a weird problem with Asterisk & SIP.  I have a local asterisk server with SIP phones connected locally.  I then have a SIP trunk through an online provider.  When make an inbound or outbound call it appears that the outbound audio is trying to route directly to the remote gateway and not through my local asterisk
13:00.42kaldemarfbnts: set directmedia=no for the provider.
13:02.47fbntsthanks kaldemar, will try that.  I'm sure I did have that at some point in my general section
13:03.21ThazzaHi All, I am editing my dialplan, I would like to do a GotoIf statement as long as 2 variables contain the following string.. I am lost as to how I would do this. Any assistance?
13:06.05kaldemarThazza: 2 variables contain as in both of them contain a string at some position of the string?
13:07.24ThazzaGotoIf(${Var1}="Home"&${Var2}="Redirect"?DialHome,s,1)
13:08.11Thazzakaldemar: The Vars only contain either this string or a different string. So can be only like 3 options for each of the 2 vars.
13:09.29*** join/#asterisk [TK]D-Fender (~aoulton@216.191.106.162)
13:09.53ThazzaFor my example above, Var1, can be either "Home" or "Work" and Var2 can be either "Redirect" or "NoRedirect", so i need 4 GotoIf statements to check all options.
13:10.19kaldemarGotoIf($["${Var1}" =~ "string" && "${Var2}" =~ "string"]?true:false)
13:10.38ThazzaOr perhaps a Case statement?
13:10.57ThazzaWhat does the =~ do?
13:11.12kaldemarit's a regex match.
13:11.41kaldemaryou can of course use == if you know exactly what the variables should contain.
13:11.59kaldemarsorry, not == but a single =.
13:12.56ThazzaOK.. So * will handle it as long as I use the && in the middle. Guess I could do more than just 2 vars that way.. Can you do GotoIf in Case format?
13:13.06kaldemarsure.
13:14.39ThazzaHow would you do that? sorry, my brain can't think of how.
13:14.46*** join/#asterisk jacc0 (~jacc0@D522448D.static.ziggozakelijk.nl)
13:14.58jacc0hi all! almost weekend over here!!
13:15.22fbntskaldemar: I've just looked and the problem I am having is more on the asterisk server, its sourcing its SIP traffic to the online provider from its 192.168.x.x address rather than its public IP.  Is there a way to specify which IP to use per peer in sip.conf?
13:15.23kaldemarThazza: GotoIf($["${Var1}" =~ "string" && "${Var2}" =~ "string" && "${Var3}" = "string"]?true:false)
13:15.40*** join/#asterisk garymc (~chatzilla@81.138.225.164)
13:15.46kaldemarfbnts: then you need to configure nat settings.
13:15.48kaldemar~sipnat
13:15.48infobot[~sipnat] Quick guide on configuring Asterisk + SIP behind NAT: http://www.aocomputing.net/?p=3 otherwise check the WIKI at http://www.voip-info.org/wiki/view/Asterisk+SIP+NAT+solutions .  Typically, you MUST configure these settings with appropriate values in the [general] section of sip.conf: nat, canreinvite, externhost or externip, and localnet.
13:16.12Thazzakaldemar: Oh ok.. cool.. Thank you for your help.. Time to majorly re-write this DP.
13:16.56[TK]D-Fender<Thazza> OK.. So * will handle it as long as I use the && in the middle. Guess I could do more than just 2 vars that way.. Can you do GotoIf in Case format? <- no
13:16.57*** join/#asterisk darkbasic (~quassel@2a01:7e00:e001:315::2)
13:17.37[TK]D-FenderThazza, AEL templates a construct like that that gets parsed back to the messy GotoIf equivalent
13:18.35Thazzahas yet to dive into the world of AEL.
13:21.29*** join/#asterisk Azrael808 (~peter@212.161.9.162)
13:22.23*** join/#asterisk Andrioid (~andri@cpe.ge-1-1-0-116.vjnxj1.customer.tele.dk)
13:22.59AndrioidIs there any way to create/edit SIP users through AMI or CLI without rewriting entire config files? (v10)
13:23.43*** join/#asterisk Tuju (~tuju@176.75.219.213.sta.estpak.ee)
13:23.52AndrioidAnd on a seperate note, is it possible to change a caller-id for a specific user from AMI or CLI ?
13:24.23kaldemarugly imitation of a case statement: http://pastebin.com/index/6QxJnVr0
13:24.37[TK]D-FenderThazza,  I wouldn't...
13:24.48[TK]D-FenderAndrioid, No
13:25.25[TK]D-FenderAndrioid, No you can't change peers without going through configs and reloading except for real-time DB.
13:25.31Andrioid[TK]D-Fender: so, I have to read the config file through AMI, change it, upload and reload?
13:26.01Andrioidwhat about Caller-ID changes on users - please tell me I can do that live :P
13:26.04[TK]D-FenderAndrioid, Not even sure of a way to read via AMI...
13:26.21[TK]D-Fender<Andrioid> what about Caller-ID changes on users - please tell me I can do that live :P <--- no that is the perr just the same
13:26.30[TK]D-Fenderpeer*
13:26.31Andrioidrats
13:26.42kaldemarAndrioid: mandger show command Setvar
13:27.08[TK]D-Fenderkaldemar, that is for a call, not the overall peer
13:27.19leifmadsenAndrioid: it sounds like you're looking for Realtime
13:27.22[TK]D-FenderNot what he's asking for
13:27.34[TK]D-Fender(kaldemar)
13:27.41kaldemar[TK]D-Fender: it can be used to set a global variable that can be used to store caller id's for peers.
13:27.55kaldemarboom! changable caller id's.
13:28.07leifmadsenAndrioid: if you just want to change CallerID for a call, just set it in the dialplan when placing a call. You can do a lookup from the database for the peer using func_odbc if you want it configurable.
13:28.14[TK]D-Fenderkaldemar, Don't think CDR will look at it like that, and you've have to read it in and apply....
13:28.18leifmadsenAndrioid: the approach you're thinking does not exist
13:28.38Thazzajust relised his DP, and gotoif just got really big. :-(.. it is probally best to do macro's? I will create a pastebin of the conditions.
13:28.41Andrioidleifmadsen: ok, thanks - we just got AMI access to our box - so my options are a bit limited
13:29.02[TK]D-Fenderkaldemar, Fugly for sure and only marginally usable while making a kludge out of your dialplan
13:29.41leifmadsenAndrioid: there is no way to modify the existing configuration via AMI like you're approaching
13:29.47[TK]D-FenderAndrioid, then use AMI to install something else for you to communicate with
13:30.17*** join/#asterisk puzzled (~patrick@2001:980:5e31:1:6ef0:49ff:fe50:659d)
13:30.40Andrioidleifmadsen: we have a tool that can do this, but it's completely closed (and doesn't run on my machine, otherw. i would sniff it)
13:30.56AndrioidD-Fender: like?
13:31.32leifmadsenAndrioid: ok, so you've built a tool that does that, but I obviously know nothing about that, and we're talking vanilla asterisk here.
13:31.51Andrioidleifmadsen: I didn't build it, was shipped with the box - just started here a week ago :P
13:31.58leifmadsenif it does work like you're suggesting, it likely takes data from the database and writes flat files somehow
13:33.06Andrioidthis has been helpful, at least I can stop searching for editPeer or somth like that :)
13:34.34*** join/#asterisk generalhan (~generalha@about/windows/staff/generalhan)
13:35.43kaldemar[TK]D-Fender: had to try it for myself. one setvar in sip.conf that tells the dialplan which global variable is used and one line in dialplan to set the caller id.
13:37.04Andrioiddoes that work?
13:38.38kaldemaryes it works.
13:39.45Andrioidok, then I just have to hope they did it like that :)
13:40.35kaldemaryou can confirm that by listening to the manager interface.
13:42.05Andrioidwith 'manager set debug' right?
13:42.13*** join/#asterisk darkbasic (~quassel@host37-245-static.119-2-b.business.telecomitalia.it)
13:43.53kaldemarthat shows something. what i had in mind was to dump the TCP port on the asterisk host.
13:44.16Andrioiddon't have access to the box, only AMI - outsourcing :(
13:44.18kaldemarmanager debug should give you a notification when an action is performed.
13:49.37*** join/#asterisk rossand (~aross@foundation-yow.eclipse.org)
13:49.42*** join/#asterisk darkbasic_ (~quassel@2a01:7e00:e001:315::2)
13:51.44Thazzakaldemar: Are you still here?
13:52.22Thazzakaldemar: I have created a PasteBin of what I am trying to do. Is this the best way to do it? http://pastebin.com/bHyqmVgd
13:53.08*** join/#asterisk mjordan (~mjordan@nat/digium/x-lzrgmxfeefjnmvaf)
13:53.08*** mode/#asterisk [+o mjordan] by ChanServ
13:59.06kaldemarThazza: i don't know, that's a kind of a mess.
13:59.58Thazzakaldemar: Yeah i know.. Do you understand what I am trying to do?
14:01.17Thazzakaldemar: I labelled each ExecIf statement, and then connected True/False Bounce.
14:01.51kaldemarwrite it as a real dialplan.
14:02.44[TK]D-Fender<kaldemar> [TK]D-Fender: had to try it for myself. one setvar in sip.conf that tells the dialplan which global variable is used and one line in dialplan to set the caller id. <- not quite... global is all calls...
14:02.59[TK]D-Fenderkaldemar, that means another device will have the same global
14:03.13[TK]D-Fenderkaldemar, And globals don't survive * restarting, etc
14:03.24[TK]D-Fenderkaldemar, Trust me, the dominos are falling fast on this one :)
14:04.23Thazza[TK]D-Fender: Do you understand what I am trying to do. Is multiply ExecIf statements the best for me?
14:04.24kaldemar[TK]D-Fender: no, all devices have their own variables. the variables have default values in the file under [globals].
14:05.19kaldemarThazza: write it as a real dialplan. your paste is so infested with syntax errors it hurts eyes to read. :)
14:05.28kaldemarThazza: and OR is || in an expression.
14:06.05*** join/#asterisk serafie (~erin@nat/digium/x-ulrvtwcdjbknvnjw)
14:06.41[TK]D-Fenderkaldemar, Yes, but those don't survive reboot.
14:06.46kaldemar[TK]D-Fender: every peer has a setvar=myclid=thispeersclid, and dialplan has CALLERID(num)=${GLOBAL(${myclid})}.
14:06.53Thazzakaldemar: I will try.
14:07.02[TK]D-Fenderkaldemar, And you have to pull it all throughout your dialplan.  House of cards
14:07.06*** join/#asterisk martijn_ (~martijn@dhcp-077-250-092-061.chello.nl)
14:07.07kaldemar[TK]D-Fender: yes, i know that. they won't even get written to the file with "dialplan save".
14:07.57kaldemar[TK]D-Fender: it's not a house of cards if there is a structure in the dialplan.
14:08.22kaldemar[TK]D-Fender: but like everything else, that can be used in a bad manner.
14:11.01kaldemari'm not saying it's good practice either, but it works the way it does.
14:12.10*** join/#asterisk Vince-0 (~AndChat@196.215.188.241)
14:13.47*** join/#asterisk mpoole (~mpoole@minotaur.apache.org)
14:14.15mpoolehi guys, is there any truth to asterisk (1.8) 64bit being problematic?
14:14.38*** join/#asterisk veris (~fabiano@189.11.198.98)
14:14.58ayrjolaHi, it seems that when asterisk gets rtp event (Cisco RFC 2833) 192 'Shift to voiceband data mode (192)' asterisk stops sending audio to deskphone. I have set faxdetect=no in sip.conf (using asterisk 1.8.7.0). Any idea to get asterisk to ignoge this rtp packet? I know problem is in Cisco, it shouldn't send that rtp event in middle of call, but I'm trying to find workaround to this problem from asterisk side.
14:17.02*** join/#asterisk anonymouz666 (~anonymouz@189.25.22.59)
14:21.29*** join/#asterisk Alborracho (~chatzilla@201.218.12.210)
14:21.34AlborrachoHi everyone
14:22.18AlborrachoI just installed asterisk 1.8 in a centos 6.2, but it seems that the file /etc/init.d/asterisk is missing, anyone knows where is it in the sources?
14:23.45leifmadsenAlborracho: make config
14:23.49*** join/#asterisk gerhard7 (~gerhard7@82-168-115-40.ip.telfort.nl)
14:24.05fbntsHi kaldemar, I tried the directmedia=no but I am still having the same problem with inbound audio.  I have set the nat options in sip.conf and using TCP dump the data is being receive by asterisk but not forwarded to the IP Phone.  I have tried setting up an echo test but when calling in its silent as though my audio is not being received by asterisk
14:24.34Alborracholeifmadsen:  thanks a lot!
14:24.54leifmadsenAlborracho: it's described in the installation chapter of Asterisk: The Definitive Guide btw :)
14:25.56anonymouz666stragen, I have seen cases when the "odbc show all" show the DSN is connected but cdr_adaptive_odbc stops inserting into DB (mysql)
14:26.08anonymouz666just a reload on the module makes work again
14:26.40Thazzakaldemar: Here is my view of a Nested ExecIf statement http://pastebin.com/Ygv3Eai4
14:27.47leifmadsenThazza: this is already wrong on the first line:  ExecIf($[NumberInSQL}
14:27.57leifmadsenThazza: the use of && is invalid
14:28.10leifmadsenthe use of || is also invalid
14:28.24leifmadsenthat whole line is a mess
14:28.26Thazzaleifmadsen: check out  http://pastebin.com/bHyqmVgd
14:28.27leifmadsensimplifying it
14:28.46leifmadsens/simplifying/simplify/
14:29.12leifmadsenThazza: that paste is still very difficult to read as youv'e got a lot of stuff that is unnecessary and wrong in there
14:29.38leifmadsenI can't tell if that is dialplan or AEL
14:29.41Thazzaleifmadsen: Yeah i thought it would be.. I am looking for the best way to write that statement.
14:29.51leifmadsenuse multiple lines
14:29.53leifmadsenmake it simpler
14:30.07leifmadsenbreak it out into pieces instead of trying to do it all on one line
14:30.13Thazzaleifmadsen: How do you do ExecIf on multiply lines?
14:30.30leifmadsenYou don't -- use GotoIf()
14:31.00leifmadsenjust to simpler blocks
14:31.08leifmadsendo less in more areas, not more in less areas
14:31.23Thazzaleifmadsen: Didn't use GotoIf.. used ExecIf.
14:31.31[TK]D-Fenderchange that
14:31.36leifmadsenThazza: I understand what you did, and I'm telling you what you should have done
14:32.08leifmadsenif you're running into issues with that complex of a statement, then you need to simplify it
14:32.13Thazzaleifmadsen: I do not understand.. that is why i am asking for assistance.. No point telling someone who knows it is a mess to clean it..
14:32.32Thazzaleifmadsen: Check out this sort of flowchart  http://pastebin.com/bHyqmVgd
14:32.44leifmadsenThazza: I don't understand what you want from me; I just told you how to approach the problem. Don't use nested ExecIf() -- use multiple GotoIf() to execute simpler code blocks
14:33.04leifmadsenThazza: I've looked at that link -- it's a mess, and isn't a flow chart
14:33.10leifmadsenit's pseudo-code
14:33.26Thazzaleifmadsen: Sigh..
14:33.36leifmadsengood luck in your endeavour
14:33.43leifmadsenI have nothing else I can offer you
14:34.11[TK]D-Fender<Thazza> leifmadsen: Didn't use GotoIf.. used ExecIf. <- stop using execif.  What is hard to understand about this?
14:34.39[TK]D-FenderThazza, As leifmadsen told you... use gotoif's to jump to execute blocks of code.
14:34.40Thazzaleifmadsen: your advise is to move from one line to many lines, using gotoif. how do you use gotoif, when you have a double question.
14:35.13[TK]D-FenderThazza, what is a "double question"?
14:35.46Thazzathe steps are, I check 1 var, then i have to check other vars, however the other var questions need to be asked in the true and false of the first question.
14:36.19leifmadsenwell your first execif can easily be broken out into 2 code paths
14:36.21ThazzaAm I better just to ask the first question, and set a var with the answer, and then do the other questions.
14:36.56[TK]D-FenderThazza, then maybe 1 execif for that part... or an IF() instead.
14:37.10[TK]D-FenderThazza, Perhaps if you showed us actual code we could SHOW you
14:37.23leifmadsen[TK]D-Fender: he did show it
14:37.27Thazza[TK]D-Fender: That was the actual code.
14:37.31*** join/#asterisk devmikey (~irc@unaffiliated/devmikey)
14:37.42*** join/#asterisk putnopvut (~putnopvut@asterisk/master-of-queues/mmichelson)
14:37.42*** mode/#asterisk [+o putnopvut] by ChanServ
14:37.47leifmadsenThazza: first, I don't understand if your problem is a logic problem, or a syntax problem
14:37.48ThazzaI am trying to work out the best way to code it. So it was my view of the code.
14:37.53leifmadsenbecause as I pointed out, your syntax is wrong
14:37.54[TK]D-FenderWhere?
14:38.08Thazzaleifmadsen: probally logic.
14:38.19leifmadsenThazza: I also told you a better way than multiple nested execif statements, and you seemed to ignore me
14:38.33leifmadsenthe first execif can be broken into 2 separate paths already
14:38.35Thazzaleifmadsen: I am happy to look at the other way..
14:38.37[TK]D-FenderOMG not this : <Thazza> leifmadsen: Didn't use GotoIf.. used ExecIf.
14:38.44[TK]D-Fenderhttp://pastebin.com/Ygv3Eai4
14:38.46[TK]D-Fenderrather
14:39.08[TK]D-FenderPlease dera God tell me this isn't it...
14:39.11[TK]D-Fenderdear*
14:39.31leifmadsenGotoIf($[${MAILBOX_EXISTS(${MACRO_EXTEN}@default)}" = "1"]?FirstPathTrue,1:FirstPathFalse,1)
14:39.43leifmadsenalready half way there
14:39.47[TK]D-Fenderthat line is a cluster-fuck.
14:39.51[TK]D-Fender(his)
14:40.06leifmadsenThazza: break it into smaller steps, that's my suggestion
14:41.02leifmadsenif you start breaking it out separately with GotoIf(), you're going to find it much easier to follow and read
14:41.03Thazzaleifmadsen: Ok.. going to try again.. will have many lines split in 5 mins.
14:41.18leifmadsenThazza: that's good -- I don't need a time estimate, I'm not your manager
14:42.36jacc0lol
14:43.18[TK]D-FenderI may be available ... let me know what you're offering for me to be your boss.  Part-time of course as I'm the boss and get to set the rules ;)
14:44.04ThazzaWish I had a manager for this, wish it was more than just for personal.
14:44.48*** join/#asterisk phlax (~ryan@host-92-27-135-217.static.as13285.net)
14:48.12phlaxhi  i have 2 fxo modules on a TDM410P card. Until recently they worked fine. Now one of the lines generates "red alarms", and asterisk can no longer make/receive calls. I have swapped the lines/cables around etc and it seems it is a problem with the phone line. Any suggestions on tracking down the exact cause of the "red alarms"?
14:55.11*** join/#asterisk _Corey_ (~chatzilla@mail1.infradapt.com)
15:00.37*** join/#asterisk Bob_Pierce (~WESTMAN\p@216.36.132.162)
15:06.40*** join/#asterisk davidduffy (~ducdmann@host81-149-39-60.in-addr.btopenworld.com)
15:12.58Thazza[TK]D-Fender: http://pastebin.com/XgHmdpte - Here is my DP
15:13.17Thazzaleifmadsen: http://pastebin.com/XgHmdpte - Here is my DP
15:13.45leifmadsenlooks better
15:13.51leifmadsenstill syntax errors though
15:13.51Thazzakaldemar: http://pastebin.com/XgHmdpte - Here is my DP
15:13.57leifmadsenfirst line doesn't have a closing )
15:14.13leifmadsenMAILBOX_EXISTS doesn't have an opening double quote
15:14.22leifmadsen${EXTEN} will always be 's'
15:14.23Thazzaleifmadsen: So is there a way to stop my double up of code.
15:14.41leifmadsenThazza: when you run into issues of duplicate code, the answer is a GoSub()
15:15.09[TK]D-FenderMore comments than code....
15:15.18leifmadsen[TK]D-Fender: that's a good thing
15:15.47[TK]D-Fenderleifmadsen, Not always.....
15:16.07[TK]D-FenderIf I need a book to understand 1 line of code... just give up :p
15:17.11leifmadsen[TK]D-Fender: yes always
15:17.16[TK]D-FenderThazza,  exten s,n,GotoIf("$[NumberInSQL]" <> "NULL")?NoVMMobileFound:NoVMNoMobile <- wrong braces for variable reference
15:17.20*** join/#asterisk pdtpatr1ck (~pdtpatric@ip184-179-74-42.oc.oc.cox.net)
15:17.21ThazzaSo it looks better.
15:17.21*** join/#asterisk Tuju (~tuju@176.75.219.213.sta.estpak.ee)
15:17.43leifmadsenThazza: generally looks better, unfortunately you have lots of syntax issues
15:17.49[TK]D-Fenderexten s,n(NoVMNoMobile),NoOp(Good We have No Voicemail Box, And Mobile was found, so Send Message saying this)
15:17.50[TK]D-Fenderexten s,n,Goto(EndofMadness)
15:18.14[TK]D-FenderYou jump to NoVMNoMobile only to jump on the NEXT LINE.  And the only thing you effectively did was a NoOp
15:18.30[TK]D-FenderWhich isn't really what I'd call "effective".
15:18.47[TK]D-FenderI'd say this whole pile is at least 5 times bigger than it need to be.
15:19.02Thazza[TK]D-Fender, The NoOp's are just there for comments for when i add the other 4 lines that the NoOp gets replaced by.
15:19.22ThazzaComments will be removed before it goes in my DP.
15:19.59*** join/#asterisk zkn (~ergo@82.131.70.188.cable.starman.ee)
15:21.34ThazzaThank you for at least answering the question. You can't simplify * DP code, This was always what i thought I would have to do, just wanted to know if it could be easier.. I will turn sections into GoSub.
15:25.15[TK]D-FenderThazza, AEL would give you a CASE structure that would cleaner for this one segment, and I'm sure you could shorten it up a little bit more regardless, but there is a certain size it will have to be....
15:27.50*** join/#asterisk stix (~stix@94.191.220.185.bredband.3.dk)
15:29.36Thazza[TK]D-Fender: So i should look into learning to use AEL?
15:30.45[TK]D-FenderNot really...
15:31.16[TK]D-Fenderjust saying in a few paces it can look a bit cleaner.  just not worth the overhead and extra learning, risk of bugs, etc
15:35.20*** join/#asterisk thurin (~nwykes@65-102-205-163.hlrn.qwest.net)
15:44.33*** join/#asterisk creativx (~creadurex@226.62-97-205.bkkb.no)
15:47.39*** join/#asterisk ke-esc (~ke-esc@155.229.209.170)
15:50.49ke-escHi All.. So I'm trying to follow the advice of keeping user phone extensions abstracted from devices. Devices are named with mac addresses, and the dialplan takes the user extension, say 199, and sends it to the proper device (this is all database driven). Problem is, when user logs into a device, I edit the mailbox column for the device, but its not reread until I reload SIP in asterisk, thus the MWI doesn't work.. any ways around this?
15:51.42p3nguinIf you are using realtime SIP configuration, you probably aren't supposed to run sip reload very much.
15:52.18p3nguinThank you for naming your devices correctly, though.
15:53.54ke-escp3nguin, I don't want to use sip reload at all :) I'm just not sure how to trigger the MWI change
15:54.53*** join/#asterisk Sorcier_FXK (~nsystem@unaffiliated/sorcierfxk)
16:08.14leifmadsenke-esc: you need to have polling enabled in voicemail.conf and the peers need to be cached (configured via sip.conf)
16:09.59ke-escleifmadsen, hmm, i actually just turned off caching of peers figuring that was what was preventing me from updating the mailbox column?
16:10.18leifmadsenno, if you don't have the peers cached, then asterisk has no idea where to send the MWI messages
16:11.43*** join/#asterisk KavanS (~KavanS@LINBIT/KavanS)
16:12.50ke-escok giving it a try now
16:18.50ke-escdoesn't seem to be working... when i move mailbox 198 from one peer to another, the mwi still is on the old peer, but doesn't come on the new peer (i set pollfreq to 10)
16:27.16*** join/#asterisk vinhdizzo (~vinh@dhcp-v021-062.mobile.uci.edu)
16:27.31ke-escOkay, this is getting a bit more complicated than I'd hoped- but what if I created a "ghost" vm box for each device that remains static... I then call a script on user login/logout and with externnotify to "transfer" voicemails from the users vm box to the device mailbox their logged into, or at least just the txt files used for MWI
16:35.43*** join/#asterisk blizzow (~jburns@67.50.165.58)
16:37.02*** join/#asterisk Linuturk (~linuturk@unaffiliated/linuturk)
16:38.21*** join/#asterisk g_r_eek (~g_r_eek@173-9-142-122-Miami.FL.hfc.comcastbusiness.net)
16:38.32*** join/#asterisk anthm (~anthm@freeswitch/developer/anthm)
16:41.21ke-escHaha, I think that is going to work! Combination of cached peers, vm polling, device mailboxes and some simple scripts
16:44.04*** join/#asterisk akrohn (~akrohn@38.101.60.42)
16:53.34*** join/#asterisk tyman (~tyler@173-12-219-189-Fresno.hfc.comcastbusiness.net)
16:54.38*** join/#asterisk Alborracho (~chatzilla@201.218.12.210)
16:56.31Alborracholeifmadsen: hi, do you know if /etc/init.d/asterisk need som kind of tweak? i did "service asterisk start" dont get any error, i looked over the /varlog/messages and everything its ok, the process is up and running, but when i try to log in i get "does /var/run/asterisk/asterisk.ctl exist?" i looked over the folder and that file doens exist
16:56.56*** join/#asterisk stix (~stix@94.191.220.185.bredband.3.dk)
16:57.08leifmadsenAlborracho: asterisk probably isn't starting or has an error -- try 'asterisk -cvvv' and see what you need to fix to make asterisk start.
16:57.15leifmadsenI've never modified the init script
16:58.41Alborrachoi did "service asterisk stop" then "asterisk -cvvvv" and i get this "Asterisk already running on /var/run/asterisk/asterisk.ctl.  Use 'asterisk -r' to connect."
16:59.05Alborrachothe process is down i dont see it with "ps ax | grep asterisk"
17:17.54p3nguinStop asterisk if it is running.  Delete the pid file if it exists.  Start asterisk again using asterisk -cvvv and see what happens.  Pastebin the entire output.
17:18.02p3nguinalborracho: ^
17:18.08p3nguin~pb
17:18.08infobot[~pb] A "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.us , http://pastebin.ca , http://channels.debian.net/paste , http://paste.lisp.org , http://bin.cakephp.org/ , http://asterisk.pastey.net/ ; or install pastebinit with yum or aptitude.
17:19.34Alborrachop3nguin: let me see
17:20.06Alborrachothe server atm its keeping me out of the console
17:20.12p3nguinCrap.  I meant "delete the ctl file."
17:20.18p3nguinI said pid, but meant ctl.
17:22.45*** join/#asterisk bowzak (~bowzak@95.170.203.162)
17:23.55bowzakhi all.  can anyone recommend a good provider that can do a US and UK DID with a 20 line trunk ?  I'm using elastix
17:24.17p3nguinThere is no such thing as a 20 line trunk in VoIP.
17:24.53bowzakmaybe i'm wording it wrong..  20 channels
17:26.51p3nguinIf Asterisk says 'Got SIP response 486 "Busy Here" back from 192.168.1.112', does this indicate that the call would have never been displayed on the phone as in incoming call?  I'm trying to determine if the phone would show a missed call in this case.
17:27.28[TK]D-Fenderp3nguin, could be a "full", or "DND", or "Reject".  hard to say
17:27.58p3nguinI'd bet on DND (busy) being enabled, but I can't know for sure since I am 1000 miles from the phone.
17:28.22p3nguinWith DND set, the phone would never show a missed call, right?
17:30.47*** join/#asterisk fbnts (~root@www.multiplix.co.uk)
17:31.05*** join/#asterisk reber (~reber@cl-157.dub-01.ie.sixxs.net)
17:31.42fbntsHi, where is the best place to set the MONITOR_EXEC variable?  Should I do it in the dialplan using Set(MONITOR_EXEC=/usr/local/bin/scriptname) or in the extension.conf file?
17:31.55*** join/#asterisk Carlos_PHX_ (~Carlos@ip68-2-227-192.ph.ph.cox.net)
17:33.06glazin the dialplan fbnts
17:33.15p3nguinextensions.conf CONTAINS the dial plan.
17:33.36glazI probably ment the [general] section of extension.conf
17:33.41glazI guess...
17:35.19p3nguinI think you can do it as a global or within a calling context... but never in the general section.
17:36.26*** join/#asterisk ferdna (~ferdna@cpe-67-10-220-35.elp.res.rr.com)
17:38.16fbntsah sorry yeah what I meant was should I set it the global rather than in each individual dialplan flow.  will give that a go
17:38.59p3nguinIf you will use the same value for it in every other place in dial plan, I'd think setting a global would be the most efficient.
17:42.50fbntsIs there anything else I need to do to enable it?  I have it set and am calling Monitor(wav,${CALLFILENAME},m) which is recording the two seperate files but not calling the script upon exit
17:49.08*** part/#asterisk bowzak (~bowzak@95.170.203.162)
17:52.17*** join/#asterisk twodogs (~twodogs@hendra.biohazard.seattle.wa.us)
17:55.33*** join/#asterisk pdtpatr1ck (~pdtpatric@12.249.4.226)
18:00.10*** join/#asterisk ferdna (~yup@cpe-67-10-220-35.elp.res.rr.com)
18:05.13fbntsIs there a special way to define MONITOR_EXEC variable in extensions.conf?
18:08.38*** join/#asterisk Li7h (~dps@71-81-21-14.static.gwnt.ga.charter.com)
18:18.52*** join/#asterisk slingr (santas@will.one.day.hack-the-pla.net)
18:29.07p3nguinIs there any way to permanently disable DND on the SPA-942?  I need to make it so the person can't enable it with the soft key.
18:35.08p3nguinI found a user guide, but I can't find an admin guide.
18:39.27*** join/#asterisk TimeRider (~steve@188-220-34-144.dsl.cnl.uk.net)
18:46.25*** join/#asterisk jdoe (jdoe@falseprophet.ca)
18:46.38*** join/#asterisk jdoe (jdoe@falseprophet.ca)
18:54.20*** join/#asterisk bbourdage (~bbourdage@75-150-221-205-Illinois.hfc.comcastbusiness.net)
19:01.12rossandif I tcpenable=yes, can I set transport=tcp or transport=udp on a case by case basis?
19:15.19Andeeyou can even put transport=udp,tcp to allow a user/friend to use either at their own disgression iirc
19:19.43rossandAndee: excellent, that was what I thought. Just wanted to double check. Thanks so much.
19:34.21*** join/#asterisk ccesario (~ccesario@187.17.166.162)
20:01.30*** join/#asterisk serafie (~erin@75.76.38.159)
20:02.02*** join/#asterisk frem (E6od08ECyR@irc.usealice.org)
20:08.41*** join/#asterisk serafie (~erin@75.76.38.159)
20:10.53*** join/#asterisk aiksa[LV] (~aiksaLV]@212.70.182.16)
20:11.30aiksa[LV]hi, a quick late friday question; a bit of offtopic as other package that asterisk is concerned
20:12.21aiksa[LV]when using linphonec how should I specify targeted soundcard if I have more than one soundcard with similar name
20:12.25aiksa[LV]?
20:20.42*** part/#asterisk frem (E6od08ECyR@irc.usealice.org)
20:47.23*** join/#asterisk jsjc (~Adium@226.Red-80-33-236.staticIP.rima-tde.net)
21:11.29phixhey, can I set fromuser in extensions.conf instead of sip.conf?  or does fromuser in sip.conf always overwrite / take precedence?
21:13.26[TK]D-Fenderphix, no. Yes.  Respectively
21:15.58*** join/#asterisk nosaj (~jbarinas@gwb.anditel.com.co)
21:16.14phix[TK]D-Fender: ok, so if I don't set the fromuser in sip.conf but set set(CALLERID(NUM)=${SOMENUMBER}) will that have the same effect?
21:16.52[TK]D-Fendergenerally, yes
21:19.24phixyay it worked
21:29.34*** part/#asterisk mjordan (~mjordan@nat/digium/x-lzrgmxfeefjnmvaf)
21:30.47*** join/#asterisk darkbasic (~quassel@2a01:7e00:e001:315::2)
21:37.16[TK]D-FenderCheckout time, later all
21:41.36*** join/#asterisk [sr] (~kvirc@pal-213-228-140-150.netvisao.pt)
21:41.38[sr]howdy
21:42.13[sr]does make menuselect saves a file to backup ? like the .config in the kernel
21:42.23[sr]a file with the result/confs of the menuselect
21:42.56russellbmenuselect.makeopts
21:44.11*** join/#asterisk FiReSTaRT (~dlyh@unaffiliated/firestart)
21:45.08[sr]cool
21:45.10[sr]thanks :)
21:53.39*** join/#asterisk mjordan (~mjordan@user-69-1-6-49.knology.net)
21:53.39*** mode/#asterisk [+o mjordan] by ChanServ
22:19.39ChrisInSydneyToop3nguin: You still looking for SPA942 stuff ?
22:22.04p3nguinI'd like to know how to permanently disable the ability to select DND on the phone itself.
22:22.48p3nguinThe receptionist seems to hit the DND key "accidentally" and then calls are rejected left and right.
22:23.11p3nguinShe was told to watch for it and if it gets enabled, disable it.
22:23.15p3nguinBut it happened again.
22:23.26p3nguinSo I would like to shut it off.
22:23.39ChrisInSydneySell her a Snom. I know where it is on there ;-)
22:23.50p3nguinThere's no selling involved.
22:24.10p3nguinThey have phones.  She was told about the key.  I want to ensure it never happens again.
22:24.30p3nguinI went into the User configuration and set DND to no, but I think that just toggles it like the key does.
22:24.31ChrisInSydneyI was beeing cheeky
22:26.12dano0dnd is usually handled on the phone side
22:27.01ChrisInSydneyhttp://www.cisco.com/en/US/docs/voice_ip_comm/csbpipp/ip_phones/administration/guide/spa_wip_admin.pdf
22:27.14*** join/#asterisk evil_gordita (robert@ip70-188-50-186.rn.hr.cox.net)
22:27.39ChrisInSydneySTEP 1 Log in to the web administration interface.
22:27.39ChrisInSydneySTEP 2 Click Admin Login and advanced.
22:27.39ChrisInSydneySTEP 3 Click the Phone tab.
22:27.39ChrisInSydneySTEP 4 Under Supplementary Services, under DND Serv, choose yes.
22:27.48ChrisInSydneyor in your case no
22:27.51p3nguinI did that.
22:28.18p3nguinI was under the impression that was for DND controlled by a vertical service code, such as *34.
22:28.33ChrisInSydneydid you use a bigger hammer, swear alot, you know the usual
22:28.46ChrisInSydneynot that it does much,m but I feel better after doing that myself
22:29.07*** join/#asterisk serafie (~erin@75.76.38.159)
22:29.39ChrisInSydneyfrom memory, and I havent got much of that left, you can tie a service number to the DND key, or it can just work on the phone its self
22:30.28ChrisInSydneyI am assuming you have the latest (last decade) firmware
22:31.01*** join/#asterisk talntid (~t@173-160-189-58-Washington.hfc.comcastbusiness.net)
22:31.10p3nguinI've never used nor touched a 942, so I don't have the foggiest idea.
22:31.34talntidBesides faxing via asterisk... do guys guys use vFax services from vitelity, ringcentral... or who?
22:31.55talntidlooking for alternatives, as neither vitelity or ringcentral can handle my requests
22:32.40p3nguinClients have this tendency to use phones that I do not have on hand, so I can't poke around to find out what makes them tick.
22:32.48ChrisInSydneyI have had one client with a single 942
22:33.09ChrisInSydneybut that got dumped last year some time.
22:33.28Li7htalntid, I use a service called faxsipit.com since a lot of our clients "need" a fax and it's worked great so far
22:33.45Li7hthey provide an ata and it connects directly to an analog fax machine
22:34.12p3nguinIf they ever have to get new phones, I'll do my best to make sure they get either the new Digium phones or Polycoms.
22:34.30ChrisInSydneynew digium phones :O
22:34.41talntidhmm, that's nice info, Li7h
22:34.42ChrisInSydneywhen did they come out ?
22:34.56ChrisInSydneywe're a little isolcated here
22:34.59ChrisInSydneywe = I
22:35.00talntidI need email-to-fax service, but for another project, I do need that ATA service
22:35.01ChrisInSydneyby choice
22:35.53p3nguinhttp://www1.digium.com/en/products/phones
22:36.58p3nguinI got the sneak peek email on Feb 1.
22:37.12ChrisInSydneyhttp://www.digium.com/en/error/
22:37.16ChrisInSydneyI got a 404
22:38.06ChrisInSydneyp3nguin: Commercially, if you were a mechanic, I would suggest at this point to "Jack up the number plates"
22:38.19p3nguinwtf
22:38.37ChrisInSydneyswap the phone out,
22:38.54*** join/#asterisk slingr (santas@will.one.day.hack-the-pla.net)
22:38.59ChrisInSydneyjack up the numberplates, replace everything in between
22:39.47ChrisInSydneysorry, too early on a Sat morning here
22:40.31ChrisInSydneyP3nguin: I have a SPA525G2 here. I'll have a play and see what it does. May be of some help to you
22:40.45p3nguinIt could have a similar DND setup.
22:41.02ChrisInSydneymust go and attend to the 2 year old. Felix.
22:41.06ChrisInSydneyprobably
22:41.15ChrisInSydneyhe is trashing the place
22:41.29*** join/#asterisk [TK]D-Fender (~chatzilla@64.235.218.194)
22:41.30ChrisInSydneytype soon & good luck :-)
22:54.05*** part/#asterisk nosaj (~jbarinas@gwb.anditel.com.co)
23:13.31ChrisInSydneyHi all, just a "quick" one....
23:14.56ChrisInSydneyIs there any way to force CONNECTEDLINE info to the calling handset without using an Answer() but prior to the called party picking up the call
23:14.58ChrisInSydney??
23:15.07ChrisInSydneyeg: exten => s,n,Set(CONNECTEDLINE(name,i)=${NAME})
23:15.35ChrisInSydneywill not display on the handset unill an answer
23:16.03WIMPyWenn, if you hafe an ,i there it won;t do anything.
23:16.09ChrisInSydneyeither in the dial plan or by the called bparty
23:16.44WIMPyYou could also try REDIRECTIONG.
23:16.59WIMPyREDIRECTING
23:17.00ChrisInSydneyWIMPy: 'splain
23:17.25ChrisInSydneyWIMPy: you are typing like its Friday
23:17.29ChrisInSydney:D
23:17.30WIMPyBut only if Asterisk works like normal telephon which I haven;t tested for that.
23:17.47WIMPyI guess I'm 17 minutes late then :-)
23:18.24ChrisInSydneyhehe
23:18.27WIMPyYou know the ,i is there to tell it not to do anything.
23:18.39ChrisInSydneyahh
23:18.46ChrisInSydneylet me try
23:18.51ChrisInSydneywithout the i
23:19.32WIMPyThe idea is ath you can set multiple values and only set the last one without ,i so all information is sent in one go.
23:19.59*** join/#asterisk revolve (~3@cpc11-bagu10-2-0-cust741.1-3.cable.virginmedia.com)
23:20.25*** part/#asterisk revolve (~3@cpc11-bagu10-2-0-cust741.1-3.cable.virginmedia.com)
23:20.40ChrisInSydneyWIMPy_: you are a F*&^%t genius. I dont care what p3nguin says about you , you're allright ;-)
23:20.57ChrisInSydneythanks heaps
23:21.05WIMPyWhat did he say? o.O
23:21.24ChrisInSydneynothing: just stirring
23:21.53ChrisInSydneynot that it needs much this time of the day / week
23:22.04WIMPyOk, so you make the drinks from now on :-)
23:22.31ndespresis everyone else drinking already, too?
23:22.36ChrisInSydneyI'm a Aussie, isn't that what we are paid to do ?
23:23.06WIMPyBut having CONNECTEDLINE without a connection seems a litle strange anyway.
23:23.30WIMPyWell, surely you've got the right time of year for that.
23:23.34ChrisInSydneyWhen I dial a number, I would like the name of the person to show on the handset
23:24.12ChrisInSydneyYup, just heading into autum, however, its raining heaps at the moment
23:24.51ChrisInSydneybit of flooding too
23:24.59WIMPyWarm rain?
23:25.09ChrisInSydneytempid rain
23:25.27ChrisInSydneyI'm still in a tee and shorts
23:25.30WIMPySo you can shower for free?
23:27.45ChrisInSydneyyep.
23:29.15ChrisInSydneyIts also Gay and Lesbian Mardi Gras this weekend too. Every year it rains heavily. All the "angry God botherers" are saying that "this is a sign" then 30 mins before it starts, it clears up.,
23:29.36ChrisInSydneymust go, 2year old on the rampage
23:29.37WIMPyLOL
23:35.29*** join/#asterisk cyborg-one (1000@31.31.97.143)
23:54.47phixChrisInSydney: hehe
23:55.20phixChrisInSydney: Never been to one, probably wont go tonight either
23:56.00ChrisInSydneyphix: You in aus too ?
23:56.07phixyup
23:56.15ChrisInSydneysydney or where ?
23:56.25phixyeah Sydney
23:56.55ChrisInSydneyWhere ? I'm around the eastern suburbs beaches
23:57.08phixSutherland area
23:57.14ChrisInSydneya shire lad
23:57.19phixyup
23:57.24phixnot a lad though :)
23:57.41ChrisInSydney:)
23:57.45phixlads live in bankstown
23:57.53ChrisInSydneyYeah, the floats dont head quite that far south
23:57.59ChrisInSydneytrue
23:59.03ChrisInSydneyThats right, after the Cronulla riots, they were talking about building a new motorway from there to the shire...the Middle Eastern Distributor
23:59.19phixheh
23:59.36ChrisInSydneypoor taste I know
23:59.40phixvery :)

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