IRC log for #asterisk on 20200329

00:23.30*** join/#asterisk sinaowolabi (~Sina@105.112.38.3)
00:27.39velixWow, the Alexa TTS is really nice. But I think, they cannot be used outside the Amazon cosmos.
01:11.23*** join/#asterisk sinaowolabi (~Sina@105.112.179.12)
01:17.16*** join/#asterisk sa02irc (~mbax@155-079-043-212.ip-addr.inexio.net)
01:52.26*** join/#asterisk sinaowolabi (~Sina@105.112.38.39)
01:52.55*** join/#asterisk deavmi (~quassel@165.255.253.203)
02:04.32*** join/#asterisk DannyA (~DannyA@cpe-74-64-125-9.nyc.res.rr.com)
02:05.02DannyAhey all.  i've been googline for hours and i can't figure this out.  how does redirect via ARI work?
02:05.38DannyAif i have two channels that are bridged, and i want to redirect one of them to a new extension (which will Dial a number), can i use redirect via ARI to do that?
02:09.33[TK]D-FenderAMI is certainly doable
02:10.28[TK]D-Fenderhttps://wiki.asterisk.org/wiki/display/AST/Asterisk+16+Channels+REST+API
02:10.35[TK]D-FenderARI should be as well
02:10.51DannyAbut what is the endpoint parameter?
02:11.42[TK]D-FenderI don't know ARI well enough
02:11.47[TK]D-Fender(AKA at all)
02:12.14DannyAhow would u do it through AMI?
02:12.53[TK]D-FenderRedirect
02:13.15DannyAright, but what are the parameters?
02:13.22[TK]D-FenderGo read the instructions
03:10.39DannyA@[TK]D-Fender got it to work with AMI.  thanks!
03:10.51[TK]D-Fenderglad to hear...
03:41.37*** join/#asterisk jmordica (uid18332@gateway/web/irccloud.com/x-fzxwhmkqtbdqiazw)
03:43.34jmordicaAnyone here that is interested in helping track down the cause of high load spikes on a fairly large asterisk setup? Willing to pay for some good consulting/direction.
03:44.56SamotWhat is a "fairly large" setup?
05:06.54jmordicaA set fronted by kamailio and approx 150 simultaneous calls per asterisk server with some recording, queues, fastagi (node) and odbc for realtime
05:42.55*** join/#asterisk tomaluca95 (~quassel@kde/developer/tomaluca)
06:05.57*** join/#asterisk CatCow97 (~mine9@c-73-96-109-206.hsd1.or.comcast.net)
06:20.34*** join/#asterisk tsal (~tsal@i59F4A08C.versanet.de)
06:26.18*** join/#asterisk Cyrillax (~Cyrillax@cpe-76-95-72-80.socal.res.rr.com)
06:36.31*** join/#asterisk Cyrillax (~Cyrillax@cpe-76-95-72-80.socal.res.rr.com)
08:07.46*** join/#asterisk overyander (~overyande@209.141.208.197)
08:31.30*** join/#asterisk scampbell (~scampbell@mail.scampbell.net)
09:09.50*** join/#asterisk theborger (~wifflebat@unaffiliated/theborger)
09:52.29*** join/#asterisk Jesterboxboy (~Thunderbi@84-115-150-8.cable.dynamic.surfer.at)
10:09.04*** join/#asterisk [sr] (~kvirc@pal-213-228-163-73.netvisao.pt)
11:16.20*** join/#asterisk sa02irc (~mbax@155-079-043-212.ip-addr.inexio.net)
11:34.46*** join/#asterisk sinaowolabi (~Sina@105.112.38.39)
12:11.18velixCan I test manager commands from the asterisk CLI ß
12:11.22velixCan I test manager commands from the asterisk CLI ?
12:29.16*** join/#asterisk deavmi (~quassel@165.255.253.203)
12:58.19*** join/#asterisk sa02irc (~mbax@155-079-043-212.ip-addr.inexio.net)
13:43.47*** join/#asterisk CatCow97 (~mine9@c-73-96-109-206.hsd1.or.comcast.net)
13:46.36*** join/#asterisk Nivex (nivex@triton.nivex.net)
13:59.18*** join/#asterisk jmordica (uid18332@gateway/web/irccloud.com/x-fddsjvmdupdahauv)
14:14.20*** join/#asterisk gerhard7 (~gerhard@ip5657ee30.direct-adsl.nl)
15:24.59*** join/#asterisk sekil (~sekil@178-223-3-39.dynamic.isp.telekom.rs)
15:38.38velixFORBIDDEn. I am going mad.
15:39.23*** part/#asterisk Nivex (nivex@triton.nivex.net)
15:42.24SamotOn a register or an invite?
15:44.10velixOn Register. I'm going up. I've informed the professor to kick the IT in the ass.
15:44.16velixgiving up*
15:44.44velixIt's not my fault. My PBX and the backup line are working perfectly stable.
15:45.22velixdialplan programming really makes fun.
16:20.11velixhttps://bpaste.net/CSKQ <-- That's the debug log of a working call (echo). It uses RTP port 27476, doesn't it? Just curious: is it UDP or TCP port? The transport for this peer has been set to TCP.
16:27.16velixLeft call worked (echo), right one didn't (no echo at all): https://www.diffchecker.com/Opmuz9LB
16:28.38velixFor me, it looks totally identical.
16:36.25velixI've set defaultexpiry=900 but it gets ignored. Still retries 120
16:40.54velix"sip show settings" also shows 900 ...
16:41.02velixWhere do the 120 come from?
16:41.45*** join/#asterisk [TK]D-Fender (~joe@64.235.216.2)
16:46.06velixAhm  this comes from the other PBX.
16:58.12*** join/#asterisk led_belly (led_belly@gateway/vpn/protonvpn/ledbelly/x-06903193)
17:05.47*** join/#asterisk alexandre9099 (~alexandre@unaffiliated/alexandre9099)
17:11.02*** join/#asterisk Janos (~Janos@201.204.94.76)
17:39.57velixI don't see any reason, why the echo service fails sometimes.
17:40.18velixI really think of running a second asterisk on another port...
17:40.37velixThat'll solve my problem
17:46.31*** join/#asterisk Janos (~Janos@201.204.94.76)
17:58.14*** join/#asterisk sa02irc (~mbax@155-079-043-212.ip-addr.inexio.net)
18:03.05*** join/#asterisk sekil (~sekil@178-223-3-39.dynamic.isp.telekom.rs)
18:03.17*** part/#asterisk sekil (~sekil@178-223-3-39.dynamic.isp.telekom.rs)
18:07.39*** join/#asterisk mir100 (~Vladimir@207.237.220.139)
18:15.30*** join/#asterisk sinaowolabi (~Sina@160.152.39.180)
18:35.14*** join/#asterisk Janos (~Janos@201.204.94.76)
18:35.35Testereewhy is codec_opus distributed as binary module yet?
18:59.22jmordicaSamot: did you see my message responding to you about server setup? Sorry I was offline and may have missed it
19:26.45*** join/#asterisk DannyA (~DannyA@cpe-74-64-125-9.nyc.res.rr.com)
19:27.38DannyAhey all.  if Tom calls me, and I blind transfer hime to Joe, Joe will see Tom's phone number as his caller ID.  When I do an attended transfer to Joe, Tom's number does NOT come up as the caller ID.  is there a way to change that?
19:28.05DannyA(this is all via PJSIP -> trunk channels)
19:28.50igcewielingDannyA: not really.  In an attended transfer YOU are the person calling.
19:29.27DannyAah.  hmm.  can i somehow access Tom's caller ID and set it as the callerid(num) variable?
19:30.00igcewielingif you are using trunks, you can limit the passed callerid in the trunk config.
19:30.14DannyAwhat do u mean by limit?
19:30.26igcewielingare you using Asterisk or are you using FreePBX?
19:30.31DannyAasterisk
19:30.54igcewielingah, nevermind then.   Yes, you can Set the CALLERID(num) in the dialplan.
19:32.01DannyAright, but what do i set it to?  so here's my flow.  Tom calls a verizon DID -> Asterisk -> FollowMe -> Pete answers -> Attended Transfer to Joe (extension 123 which does a PJSIP/+1212-call-joey)
19:32.10DannyAhow do i get Tom's caller_id to set that in the dialplan
19:33.25igcewielingget it at the start of the dialplan
19:34.08igcewielingSet(SAVEDCID=${CALLERID(num))  then just before the dial out Set(CALLERID(num)=${SAVEDCID})
19:34.28DannyAright but that's global, that wouldn't be per-call, right?
19:34.47DannyAif i have multiple people calling this DID simultaneously...
19:34.56igcewielingWhat?  No, CallerID is per call (sometimes per channel)
19:35.49DannyAso if the DID enters in the dialplan at Location A, and the attended transfer happens in the dialplan at Location B, if i set a variable in Location A, and access it in Location B, that will be unique to that particular caller?
19:36.00igcewielingyes
19:36.03DannyAahhh
19:36.05DannyAok let me try that now
19:36.16igcewielingexcept for situations where there are Local/ channels involved, then it gets complicated.
19:48.24*** join/#asterisk sa02irc (~mbax@155-079-043-212.ip-addr.inexio.net)
19:59.53DannyA@igcewieling ok, it's definitely getting lost somewhere
20:00.10DannyAand from the logs, Local/ channels ARE involved, though im not dialing a Local/ channel directly
20:00.29igcewielingTry setting it in the pre-dial handler.
20:00.43igcewielingI think followme uses local channels.
20:00.48DannyAwould it help to show my dialplan?
20:01.24igcewielingI'm not going to debug dialplan.
20:02.47DannyAnp
20:11.57DannyA@igcewieling got it working! needed to prefix the variable with __ so it flowed all the way through
20:14.01*** join/#asterisk thansen (~thansen@192.74.130.86)
20:31.55DannyAhow do i call goto from ael to go to a context in the extensions.conf file/
20:49.21jmordicaI’m not able to find any reviews or benchmarking on sangoma transcoding cards vs letting onboarding cpu handle transcoding. Should it really help cpu load when transcoding g711 - g722 with around 150 simultaneous calls?
20:54.54*** join/#asterisk zx81 (~zx81@181.197.170.181)
20:54.58igcewielingjmordica: I doubt transcoding ulaw/g722 is a very cpu intensive task.  you can run "core show translation recalc 10" to see transcoding costs.
20:55.46jmordicaOk thanks. Is there a transcoder that supports opus as well or no?
20:56.04zx81Hi all, quick question - is there any way in an AGI to record the audio but detect DTMF at the same time? I'm wanting to do "Please say or type your ZIP Code"
20:56.19igcewielingno idea.   I use Sangoma transcoding cards to do ulaw/g729 transcoding.
20:56.21zx81I see that AGI Record can be terminated by a DTMF but don't see a way to get it
20:56.25igcewielingSince 2009 or so.
20:56.44zx81alternatively is there a way for Asterisk to recognize DTMF in an audio file?
20:57.01zx81oh no that wouldn't work because the audio wouldn't contain the DTMF
20:57.14zx81so yeah just the first one - any way to get the DTMF that stopped the recording?
20:57.34igcewielingzx81: why do you need that information?
20:57.44zx81In normal Asterisk Record App you can get it in the record results var but don't know if this is available in AGI
20:57.54zx81doing a covid 19 support app for gov
20:58.02igcewielingAre you using the record app ion the AGI?
20:58.04zx81need to plot cases against zip code
20:58.07zx81yeah
20:58.19igcewielingthen it works the same, just get the variable.
20:58.21zx81I guess I could use the dialplan one via exec
20:58.25zx81oh cool
20:58.27zx81thanks man
20:58.38igcewielingwhen I said "use record app" I meant using exec.
20:58.41zx81yeah
20:58.45zx81I was typing that
20:58.51zx81I realized when you said it
20:58.59zx81I wasn't using exec but I'll just change over
20:59.01zx81thanks man
21:00.57igcewielinghere is part of the AGI code I used to get PINs.  https://pastebin.com/qVTtbr0n
21:22.36jmordicaAnyone here that is interested in helping track down the cause of high load spikes on a fairly large asterisk setup? Willing to pay for some good consulting/direction. Asterisk realtime with odbc, AEL dialplan, fronted by kamailio, and some fastagi (nodejs)
21:41.27*** join/#asterisk sa02irc (~mbax@155-079-043-212.ip-addr.inexio.net)
21:50.18velixSorry for asking, but how stable is chan_pjsip? I mean, are there any knows bugs?
21:52.37SamotSigh.
21:52.42SamotIt's the primary driver for ASterisk.
21:53.07SamotChan_SIP hasn't been worked on by Digium since 2014. It's marked OK for removal by 2023.
21:53.21SamotPJSIP has been in use since Asterisk 12.
21:53.24SamotWe're on Asterisk 17.
21:53.53*** join/#asterisk zapata (~zapata@2a02:1748:fad4:7260:c0f5:82e4:5a15:1a70)
21:55.16velixI've tried all iterations today. More than 12 hours again. I'm always getting "No response received from 'sip:pbx.univer.city:5060' on registration attempt to 'sip:student01@192.168.103.10', retrying in ..."
21:55.42[TK]D-Fendervelix, And you're showing the result and not the attempt
21:55.44velixHave to wait until tomorrow. I dropped the professor a message to get money for consulting.
21:58.04velixThat was the latest iteration of 48 in the last hour: https://bpaste.net/4WBA
21:59.45*** part/#asterisk wyoung (~wyoung@wesleyy.com)
22:06.59Samotoutbound_proxy=sip:pbx.univer.city:5060 <-- Wrong format.
22:07.05Samotoutbound_proxy=sip:pbx.univer.city:5060;\lr
22:07.14Samotoutbound_proxy=sip:pbx.univer.city:5060\;lr
22:07.19SamotThat last one
22:08.52velixuh?! hmm okay, let me try. Can I make chan_pjsip more verbose? I've set core to a high debug level, but pjsip only seems to have a history and a logger?
22:15.50sibiria'pjsip set logger on'
22:16.01sibiriais about the most you can get out of it, i think
22:19.49velixYeah, running this already ;)
22:20.10velixI've really read all the help manuals, sourcecode, wiki and *.conf.sample during the week on this.
22:20.41velixBut \;lr was new to me (and didn't help) ;)
22:20.56velixAh, it's for "loose-routing".
22:21.59fileif you want TCP you'd also need to specify that in the server URI... \;transport=tcp
22:22.32filewell, outbound proxy... and you probably also want server_uri to be whatever you're registering to...
22:23.42velix192.168.103.10 is the server behind pbx.univer.city. When I'm on the university network, I directly can access 192.168.103.10 by UDP and TCp.
22:27.23velixThis confuses me since hours: chan_pjsip: REGISTER sip:pbx.univer.city:5060;transport=tcp | chan_sip: REGISTER sip:192.168.103.10:5060
22:28.18filechange server_uri?
22:28.51velixDid so (iteration 23-28), then it tried to connect to 192.168.103.10, which is on my localhost somewhere. It didn't use the outbound proxy.
22:29.29velixLet me try with the new additions.
22:55.18*** join/#asterisk lambda (~xiretza@213-47-232-21.cable.dynamic.surfer.at)
23:01.17*** join/#asterisk yuljk (~yuljk@unaffiliated/yuljk)
23:16.29velixHighly interesting. I think, I'm getting into details, why the other PBX makes trouble: it suddenly changes the realm.
23:17.12velixother PBX suddently sends: Proxy-Authenticate: Digest realm="192.168.36.1"
23:17.22velixOf course, chan_sip doesn't have an answer for this.
23:23.38*** join/#asterisk sinaowolabi (~Sina@169.159.108.246)
23:28.27*** join/#asterisk tafa2 (~tafa2@t.ldn.dsrtnet.com)
23:41.50CyrillaxSo let me see if i understand the topology here
23:42.39CyrillaxThe university has multiple PBX systems on it's internal network. Is this pbx.univer.city proxy new or old? And you're trying to get outside asterisk installations to connect to the internal PBX via the proxy, yes?
23:52.06CyrillaxIs 192.168.103.10 the PBX inside the university network? Because you said that it tried to connect to your "localhost" somewhere. (Guessing you meant localnet?). If you have the same local network subnet as the PBX behind the proxy, that's going to cause you a lot of pain.

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