01:00.05 | *** join/#asterisk chuckf (~chuckf@pool-108-45-91-234.washdc.fios.verizon.net) |
01:10.45 | jfindley | hello, i'm acting as a B2BUA for a customer who wants to send 183 followed by a disclaimer to the caller, but asterisk isn't passing the audio on to the caller. I've tried all the combinations of prematuremedia and progressinband but asterisk won't pass the early media on to the caller. |
01:36.34 | *** join/#asterisk babak (uid19622@gateway/web/irccloud.com/x-ojpjeukiodrtkxud) |
02:17.17 | *** join/#asterisk boris_t (~boris_t@212.119.243.183) |
02:19.05 | *** join/#asterisk Oatmeal (~Suzeanne@99-103-96-198.lightspeed.iplsin.sbcglobal.net) |
02:46.39 | *** join/#asterisk [NC] (~nc@rv1.sabius.net) |
02:55.55 | snadge | if i have something like: |
02:56.09 | snadge | exten => _X.,n,ExecIF($[${CALLERID(num)}=anonymous]?Set(CALLERID(num)=private)) |
02:56.22 | snadge | but i also want to do that if CALLERID(num) is null.. |
02:57.48 | snadge | so i could maybe put something like ISNULL(${CALLERID(num)}) .. or just delete the anonymous.. i dont know |
03:00.12 | radicaldev | yep, add an OR in the if test |
03:00.58 | snadge | syntax for that? :| |
03:01.27 | radicaldev | verticle pipe: https://wiki.asterisk.org/wiki/display/AST/Operators |
03:01.43 | radicaldev | (cid=anonymous | isnull(cid)) |
03:02.26 | *** join/#asterisk fstd_ (~fstd@unaffiliated/fisted) |
03:02.39 | snadge | the sad thing is im a programmer.. but.. wrapping my head around the dialplan syntax is doing me in |
03:02.50 | snadge | i didnt write that above code.. but why is there a $[ |
03:03.51 | snadge | that must be similar to a bash style test.. eg.. if whats between [] is true, then set cid private |
03:04.52 | radicaldev | Yeah, I'm not sure what the guys who did the dialplan syntax were on about, but once you get used to it it's pretty expressive |
03:05.27 | radicaldev | do you understand anything about that command? |
03:07.00 | radicaldev | that line reads more or less like: when the extension is _X and we're at priority n, then set the cid to private if the cid is anonymous |
03:07.32 | radicaldev | you want to add 'or empty' to the end of it |
03:09.13 | radicaldev | that looks like: exten => _X,n,ExecIF($[${CALLERID(num)}=anonymous | isNull(${CALLERID(num)})]?Set(CALLERID(num)=private)) |
03:11.19 | *** join/#asterisk Oatmeal (~Suzeanne@99-103-96-198.lightspeed.iplsin.sbcglobal.net) |
03:21.32 | snadge | yeah i managed to get it sorted .. thats what i did yeah |
03:21.37 | snadge | thanks :) |
03:21.45 | radicaldev | no worries |
03:21.47 | snadge | but.. the problem is somewhere else of course.. hehe |
03:22.04 | radicaldev | what's the troiuble now? |
05:03.16 | *** join/#asterisk bof22 (~Thunderbi@185.13.183.107) |
05:54.17 | *** join/#asterisk bhans (ddfd4592@gateway/web/freenode/ip.221.253.69.146) |
05:58.00 | *** join/#asterisk CeBe (~CeBe@a81-14-235-90.net-htp.de) |
06:15.11 | *** join/#asterisk miralin (~Thunderbi@195.19.212.23) |
06:20.02 | *** join/#asterisk wyoung (~wyoung@wesleyy.com) |
06:32.22 | *** join/#asterisk babak (uid19622@gateway/web/irccloud.com/x-adyudnjxlkfhesdv) |
06:38.20 | *** join/#asterisk wyoung (~wyoung@wesleyy.com) |
06:44.07 | *** join/#asterisk jkroon (~jkroon@dustpuppy.is.co.za) |
06:50.25 | *** join/#asterisk evil_gordita (robert@ip70-188-41-127.rn.hr.cox.net) |
07:08.07 | *** join/#asterisk Oatmeal (~Suzeanne@99-103-96-198.lightspeed.iplsin.sbcglobal.net) |
07:11.06 | *** join/#asterisk mirela666 (~mirkob@89.184.168.160) |
07:14.47 | *** join/#asterisk pchero_work (~pchero@109.70.54.56) |
07:17.56 | *** join/#asterisk tzafrir (~tzafrir@local.xorcom.com) |
07:35.12 | *** join/#asterisk hehol (~hehol@gatekeeper.loca.net) |
07:39.00 | *** join/#asterisk karelk (~karel@gama-wlan0.ethz.ch) |
08:02.15 | *** join/#asterisk dasjoe (~dasjoe@americangirlscouts.org) |
08:10.38 | *** join/#asterisk bof22 (~Thunderbi@185.13.183.107) |
09:00.47 | *** join/#asterisk kunwon1 (~kunwon1@unaffiliated/kunwon1) |
09:42.32 | *** join/#asterisk genpaku (~genpaku@107.191.100.185) |
09:53.41 | *** join/#asterisk babak (uid19622@gateway/web/irccloud.com/x-jklujasjqtneztlk) |
10:05.03 | *** join/#asterisk matrix1233 (~matrix123@197.1.239.174) |
10:12.08 | *** join/#asterisk Tiffon (~name@unaffiliated/tiff0n) |
10:38.25 | *** join/#asterisk matrix1233 (~matrix123@197.1.239.174) |
10:40.37 | *** join/#asterisk eofster (~eofster@pf.eofster.com) |
10:41.05 | *** join/#asterisk netman (~netman@185.94.249.77) |
11:53.31 | pa | to enable tcp AND udp in asterisk sip, is it enough to have tcpenable=yes? |
12:12.37 | mirela666 | pa, i think it will be udp by default and with tcpenabe will go over tcp only |
12:12.44 | mirela666 | not 100% sure |
12:18.46 | *** join/#asterisk [TK]D-Fender (~joe@216-191-106-165.dedicated.allstream.net) |
12:23.07 | *** join/#asterisk AviiNL (~AviiNL@185.21.52.255) |
12:33.18 | *** join/#asterisk boris_t (~boris_t@212.119.243.183) |
12:42.00 | *** join/#asterisk kolko (~kolko@46.48.58.17) |
12:44.33 | *** join/#asterisk miralin (~Thunderbi@195.19.212.23) |
13:09.51 | *** join/#asterisk Tiffon (~name@unaffiliated/tiff0n) |
13:13.44 | *** join/#asterisk freebs (~freebs@unaffiliated/freebs) |
13:30.45 | *** join/#asterisk happy-dude (uid62780@gateway/web/irccloud.com/x-humbxrvknlpszwmj) |
13:32.11 | *** join/#asterisk libardi (~kvirc@189.61.225.190) |
13:44.15 | *** join/#asterisk newtonr (RustyNewto@nat/digium/x-mqtuotgnidxtxlbn) |
13:44.15 | *** mode/#asterisk [+o newtonr] by ChanServ |
14:03.41 | *** join/#asterisk gingitsune (~gingitsun@159.148.5.233) |
14:04.11 | gingitsune | If I'm starting out with asterisk and I want to integrate asterisk in our crm, how much telephony do i need to know? |
14:04.29 | gingitsune | And do you have a nice resource that covers the essentials? |
14:05.03 | Penguin | How much telephony do you want to integrate into your CRM? |
14:05.42 | gingitsune | Just handling the calls, the actual telephony part is still handled with hardware phones |
14:05.57 | gingitsune | Ansering, displaying queues, transfering etc |
14:07.23 | gingitsune | answering* |
14:07.37 | *** join/#asterisk kharwell (kharwell@nat/digium/x-vztpaqqugnpfjeml) |
14:09.03 | *** join/#asterisk brad_mssw (~brad@66.129.88.50) |
14:17.04 | *** join/#asterisk rmudgett (rmudgett@nat/digium/x-ykmlklcvitaxukvz) |
14:18.39 | gingitsune | i have to go, ill be back in a while |
14:22.42 | [TK]D-Fender | ~book |
14:22.42 | infobot | Asterisk: The Definitive Guide, 4th Edition (ISBN 1-4493-3242-0) available at http://oreilly.com/catalog/0636920025894 - Asterisk: The Definitive Guide is released under a Creative Commons License (http://creativecommons.org/licenses/by-nc-nd/3.0/us/) and a version is available for reading online at http://www.asteriskdocs.org/ or see ~buybook |
14:22.44 | [TK]D-Fender | ^^^ |
14:23.39 | *** join/#asterisk putnopvut (putnopvut@asterisk/master-of-queues/mmichelson) |
14:23.54 | *** mode/#asterisk [+o putnopvut] by ChanServ |
14:25.04 | *** join/#asterisk KaliLinuxGR (~alexandro@unaffiliated/kalilinuxgr) |
14:26.07 | *** join/#asterisk cresl1n (Adium@asterisk/libpri-and-libss7-expert/Cresl1n) |
14:26.07 | *** mode/#asterisk [+o cresl1n] by ChanServ |
14:32.17 | *** join/#asterisk [NC] (~nc@rv1.sabius.net) |
14:41.11 | *** join/#asterisk miralin (~Thunderbi@195.19.212.23) |
14:44.38 | *** join/#asterisk KaliLinuxGR (~alexandro@unaffiliated/kalilinuxgr) |
14:44.44 | *** join/#asterisk axisys (~axisys@unaffiliated/axisys) |
15:11.23 | *** join/#asterisk Jesterboxboy (~Thunderbi@80-109-194-26.cable.dynamic.surfer.at) |
15:18.50 | pa | mirela666, thanks |
15:18.54 | *** join/#asterisk raspberrypifan (~raspberry@73.106.74.150) |
15:19.37 | pa | so i also tried to add transport=tcp, and the client registers fine with the server |
15:19.57 | pa | however, when i place a call, i hear nothing and i see transmitted bytes many but received bytes = 0 |
15:19.59 | pa | not sure why |
15:20.13 | pa | if i need another port |
15:20.18 | pa | and if that port has to be udp |
15:20.57 | pa | or if it's about RTP being blocked |
15:23.13 | pa | i guess i need rtp over tcp somehow |
15:23.15 | pa | tunnel or something |
15:25.01 | *** join/#asterisk gingitsune (~gingitsun@46.109.15.23) |
15:25.06 | gingitsune | Hey, I'm back |
15:25.41 | gingitsune | I had a question: how much do i need to know about telephony to integrate asterisk into a crm |
15:26.01 | gingitsune | We need just basic things like making, droping calls |
15:26.07 | gingitsune | Redirecting them etc |
15:26.21 | gingitsune | And can anyone recommend a soft introduction on the topic |
15:27.50 | *** join/#asterisk puzzled (~puzzled@2001:982:1097:1::1:3) |
15:32.42 | [TK]D-Fender | ~book |
15:32.43 | infobot | Asterisk: The Definitive Guide, 4th Edition (ISBN 1-4493-3242-0) available at http://oreilly.com/catalog/0636920025894 - Asterisk: The Definitive Guide is released under a Creative Commons License (http://creativecommons.org/licenses/by-nc-nd/3.0/us/) and a version is available for reading online at http://www.asteriskdocs.org/ or see ~buybook |
15:32.45 | [TK]D-Fender | ^^^ |
15:33.45 | [TK]D-Fender | the basics for voip itself isn't all thatt much. More complicated will be the dialplan and other related bits |
15:34.51 | *** join/#asterisk ChkDigit (~u388mw@74.3.144.66) |
15:53.21 | gingitsune | Thanks! |
16:04.08 | *** join/#asterisk matrix1233 (~matrix123@197.1.239.174) |
16:07.53 | *** join/#asterisk jeff (~jeff@unaffiliated/jeff) |
16:35.10 | *** join/#asterisk Chotaire (chotaire@oahu.chotaire.net) |
16:36.04 | *** join/#asterisk babak_ (uid19622@gateway/web/irccloud.com/x-dwtnwjhwpcudukgw) |
16:36.16 | *** join/#asterisk ganbold (~ganbold@173.244.215.173) |
16:50.26 | *** join/#asterisk woose (~woose@unaffiliated/woose) |
16:56.26 | *** join/#asterisk Hyper_Eye (~mwoodj@pdpc/sponsor/digium/hyper-eye) |
17:19.41 | *** join/#asterisk flujan (~flujan@189-039-053-065.static.spo.ctbc.com.br) |
17:19.55 | flujan | hello, is there a func_odbc equivalent to postgresql in asterisk? |
17:21.47 | [TK]D-Fender | ? |
17:21.56 | *** part/#asterisk mfrager (~mfrager@38.79.68.242) |
17:22.55 | flujan | [TK]D-Fender: not using odbc a native one. :) |
17:23.13 | [TK]D-Fender | The smallest search will tell you "no" |
17:23.21 | [TK]D-Fender | no native |
17:27.33 | *** join/#asterisk miralin (~Thunderbi@46.45.211.142) |
17:28.17 | *** join/#asterisk bmg505 (~leon@165.255.72.155) |
17:44.17 | *** join/#asterisk Chotaire (chotaire@oahu.chotaire.net) |
17:52.19 | *** join/#asterisk flujan (~flujan@189-039-053-065.static.spo.ctbc.com.br) |
17:56.13 | *** join/#asterisk Chotizei (chotaire@oahu.chotaire.net) |
18:10.32 | *** join/#asterisk Chotaire (chotaire@oahu.chotaire.net) |
18:10.50 | *** join/#asterisk Chotizei (chotaire@oahu.chotaire.net) |
18:11.12 | *** join/#asterisk ledoktre (~Adium@23.252.154.176) |
18:11.39 | *** join/#asterisk lankanmon (~LKNnet@192-0-199-43.cpe.teksavvy.com) |
18:12.34 | ledoktre | hey y'all. Im wondering if anyone here knows what command asterisk uses to combine teh two channels (monitor) to stereo when you use the 'm' option. Im trying to do it in a script and having trouble figuring out how to get sox to read 2 wav49 files and mux them together. |
18:21.14 | *** join/#asterisk mub (~Jub@107.1.220.2) |
18:22.45 | *** join/#asterisk karelk (~karel@31.10.149.26) |
18:27.33 | *** join/#asterisk Chotaire (chotaire@oahu.chotaire.net) |
18:42.08 | *** join/#asterisk Chotaire (chotaire@oahu.chotaire.net) |
18:43.42 | ledoktre | bump |
18:51.39 | *** join/#asterisk Chotaire (chotaire@oahu.chotaire.net) |
18:58.38 | *** join/#asterisk bof22 (~Thunderbi@ARennes-650-1-218-79.w92-135.abo.wanadoo.fr) |
18:59.10 | *** join/#asterisk DivideBy0 (~DivideBy0@unaffiliated/divideby0x0) |
19:02.40 | *** join/#asterisk Cory (~C@unaffiliated/cory) |
19:08.40 | jfindley | https://wiki.asterisk.org/wiki/display/AST/Application_Monitor |
19:09.02 | *** join/#asterisk u0m3_ (~u0m3@89.120.204.99) |
19:09.17 | jfindley | MONITOR_EXEC (default is sox -M in.wav out.wav something.wav) |
19:13.31 | ledoktre | jfindley: I am seeing something like that in the source code, but Ive tried it, and it isn't putting them together that I can tell. It just writes one of the files to the wav. Im trying to use wav49 - not standard wav. When I use standard wav it works fine. I just want it smaller for emailing |
19:14.42 | WIMPy | You can't output stereo to a mono format, obviousely. |
19:14.49 | *** join/#asterisk vince1 (~vince@ip72-198-77-137.ok.ok.cox.net) |
19:25.23 | *** join/#asterisk tzafrir (~tzafrir@bzq-179-40-172.cust.bezeqint.net) |
19:32.11 | *** join/#asterisk miralin (~Thunderbi@46.45.211.142) |
19:35.40 | *** join/#asterisk Freenex (~Freenex@199.red-2-139-33.dynamicip.rima-tde.net) |
19:55.55 | jfindley | WIMPy: I think he's trying to merge two mono files into a mono file. Totally doable. |
19:56.47 | jfindley | I need some help figuring out how to pass early media to the caller from a downstream provider so they can play a disclaimer |
19:57.14 | jfindley | i get the 183/SDP followed by RTP but asterisk doesn't send it on |
19:58.46 | *** join/#asterisk ledoktre (~Adium@23.252.154.176) |
20:01.27 | WIMPy | did read the word stereo. |
20:08.04 | ledoktre | i had wondered about that. i had googled on it but had not found much on it. i did a test just now and it does appear it joins them. It threw me - same file size. But the files are muxed together. Thanks. |
20:25.10 | Freenex | jfindley may progressinband parameter help you? |
20:25.43 | Freenex | I didn't try it but I read this http://www.voip-info.org/wiki/view/Asterisk+sip+progressinband |
20:36.13 | jfindley | I tried working with that, set to yes, no, never.. same result. they stream the RTP to me from the called side and the RTP stops at asterisk |
20:48.41 | *** join/#asterisk tzafrir (~tzafrir@bzq-179-40-172.cust.bezeqint.net) |
20:51.05 | Freenex | Maybe prematuremedia parameter in combination with progressinband? It sems asterisk process Early media to deal with some ISDN providers |
20:51.48 | *** join/#asterisk kharwell (kharwell@nat/digium/x-cxuhlrwstjgfrxrd) |
21:06.00 | *** join/#asterisk [TK]D-Fender (~joe@64.235.216.2) |
21:20.06 | *** join/#asterisk cresl1n (Adium@asterisk/libpri-and-libss7-expert/Cresl1n) |
21:20.06 | *** mode/#asterisk [+o cresl1n] by ChanServ |
21:22.32 | *** join/#asterisk kharwell (kharwell@nat/digium/x-mfpkmcsjawkrtxfn) |
21:24.08 | jfindley | I tried PI=yes, PM=no - PI = no, PM =no - PI=no, PM=yes - PI=yes, PM=yes ---- and it doesn't pass the audio through |
21:24.20 | jfindley | i'm thinking maybe it's a dial command option or something I'm looking for |
21:51.29 | igcewieling | jfindley: comment out both settings and put Progress() in your dialplan. See if that helps. |
21:53.11 | jfindley | Progress before dial? or just somewhere early on? |
22:14.10 | *** join/#asterisk newtonr (RustyNewto@nat/digium/x-fidcqwveaonffmpt) |
22:14.10 | *** mode/#asterisk [+o newtonr] by ChanServ |
23:28.21 | wyoung | jfindley: did you try PI=3.141592653589793 ? |
23:28.39 | jfindley | Nope |
23:29.07 | wyoung | ok well don't :) |
23:29.14 | wyoung | I got bored |
23:33.15 | *** part/#asterisk kharwell (kharwell@nat/digium/x-mfpkmcsjawkrtxfn) |