IRC log for #asterisk on 20210128

00:04.47*** join/#asterisk yoavz (~yoavz@82.166.176.37)
00:51.14*** join/#asterisk pchero (~pchero@211.178.226.108)
01:12.06*** join/#asterisk guerby (~guerby@april/board/guerby)
01:15.12*** join/#asterisk Snuupy0 (~Snuupy@unaffiliated/snuupy)
01:15.23*** join/#asterisk thansen6 (~thansen@192.74.130.86)
01:17.27*** join/#asterisk pvoigt (~Linux@unaffiliated/pvoigt)
01:38.54*** join/#asterisk FH_thecat (~FH_thecat@75.11.25.212.ftth.as8758.net)
02:08.29*** join/#asterisk tsal (~tsal@i59F52D0F.versanet.de)
02:13.21*** join/#asterisk nonasuomy (~nonasuomy@kodi/staff/TeknoJuce)
02:15.44nonasuomyTrying to convert my chan_sip setup to pjsip using 18.2 with voip.ms I seem to have outbound and inbound working but kept getting this error when I turn logger on "<--- Transmitting SIP response (361 bytes) to UDP:192.168.1.42:5060 ---> SIP/2.0 404 Not Found"
02:17.24nonasuomyI was reading about adding NoOp options so I tried to first add this to my inbound rule but it stopped inbound from working.
02:19.05nonasuomyhttps://pastebin.com/esqwbJSS
02:20.53*** join/#asterisk X-Rob_ (X-Rob@gateway/web/irccloud.com/x-kbofpbinatkixabf)
02:21.43*** join/#asterisk babak_ (uid19622@gateway/web/irccloud.com/x-dlfsvjpvrofxxetl)
02:21.43*** join/#asterisk file_ (sid178970@asterisk/developer-and-muffin-lover/file)
02:21.43*** mode/#asterisk [+o file_] by ChanServ
02:21.49*** join/#asterisk csavinovich_ (sid296765@gateway/web/irccloud.com/x-mhyqglaocoqsglwx)
02:25.28*** join/#asterisk jameswf (uid27319@gateway/web/irccloud.com/x-sbxeglzvotdutixz)
02:25.28*** mode/#asterisk [+o jameswf] by ChanServ
02:27.17igcewielingsounds like qualifys.  are they options packets?
02:38.24*** join/#asterisk UncleKiwi (~UncleKiwi@unaffiliated/unclekiwi)
02:42.34UncleKiwiHola - i have a setup where i have a couple of hardphones and some ATAs the PBX is registed to a SIP provider and I cam make calls between internal phones and the PSTN. I can use a phone that is connect to the ATA and make a call to the PSTN network and then transfer that call to another phone and if it is unanswered the call will return to me . When I try this same situation with the
02:42.34UncleKiwihardphone the call is ended upon the target of the transfer reaching busy tone.
02:43.00UncleKiwijust wondering how i can have failed xfers return to this hardphone
02:44.02SamotUncleKiwi: talk to the provider
02:44.32UncleKiwithe issue is in my PBX i think Samot
02:45.26SamotOh i missed that. Sorry. So what hard phones?
02:45.48UncleKiwiits a GXP2160
02:46.43UncleKiwithis phone seems to behave different in a call xfer than the ATA
02:46.52SamotWhere is the forwarding being handled?
02:47.01SamotFrom the phone?
02:47.16UncleKiwiI think so
02:47.37SamotHow is the transfer initiated?
02:47.56UncleKiwiusing the BLF keys or the softkeys
02:49.14SamotWhat do sip debugs show between the calls?
02:50.32UncleKiwii'll have to get that info
02:50.37UncleKiwisorry
02:51.38UncleKiwii find it interesting that the ATA can deal with the situation nicely
02:52.37UncleKiwiflash - extn - ringing - hangup - if call is not answered -- the phone rings again with the call
03:03.49drmessanoWhat is a hardphone?
03:04.37UncleKiwihttps://getvoip.com/blog/2019/04/04/hardphones-vs-softphones/
03:04.50UncleKiwii thought it was a common term
03:05.08UncleKiwito describe a physical sip phone
03:06.11drmessanoWell
03:06.16drmessanoI don't call them hardphones
03:06.19drmessanoor sip phones
03:06.22drmessanoThey're phones
03:06.28drmessanoor maybe a desktop phone
03:07.06drmessanoBut the term "softphone" doesn't require other phones to be qualified as "hardphones"
03:14.55SamotUncleKiwi: ATAs dont have blind xfer as a primary option
03:15.14SamotA lot of sip phones will
03:15.31SamotThis could be a blind xfer
03:16.02SamotWithout seeing how a call is handled hard to say
03:33.27nonasuomy@igcewieling full burp looks like this https://pastebin.com/raw/h0CTBMRk
03:35.27UncleKiwiThanks Samot
03:37.53Samotnonasuomy: that looks like a MWI subscribe
03:39.16nonasuomyIs there a way for that to cleanly complete without a 404 not found message?
03:40.02SamotWell 404 means it didnt find what was being subscribed for
03:40.41SamotYou have mailbox= set in the AOR?
03:41.03Samotor mailboxes= actaully
03:42.25*** join/#asterisk electronic_eel (~quassel@213.240.182.149)
03:48.47nonasuomyThis is my full config of pjsip.conf/extensions.conf https://pastebin.com/UeWL6Evn
04:08.17*** join/#asterisk akp55 (~akp55@c-73-148-15-31.hsd1.va.comcast.net)
04:10.32SamotOK you have an phone trying to register for MWI and nothing setup to accept MWI registrations.
04:10.37SamotSo you're going to have that error.
04:10.57SamotYour options are 1) Set up Asterisk to allow it or 2) Turn it off in the phone.
04:11.22nonasuomyHow do I fix that from the config above as I'm not sure how I process that.
04:11.52nonasuomy(I've only added those settings above to the server)
04:12.27nonasuomyOh the phone itselfs config.
04:12.54nonasuomyhmm
04:20.22nonasuomySo I see that there https://pastebin.com/raw/y6Gr5Y7g when I was using sip I was using that because I was specifying a mailbox for it to dial.
04:22.24nonasuomyOh for the message indicator
04:22.46nonasuomySo I need to add this for pjsip
04:24.05nonasuomyall of the phone sets point to the same mailbox
04:25.03nonasuomyso how I revise the above to enable this feature to work again with pjsip?
04:30.38*** join/#asterisk jayjo (~jayjo@unaffiliated/jayjo)
04:31.07*** join/#asterisk jayjo- (jayjo@gateway/vpn/privateinternetaccess/jayjo)
04:46.10nonasuomyso mailboxes=201@default,203@default,204@default
04:51.48nonasuomyOr do I just do mailboxes=203@default in all the phone set [###]
04:55.00*** join/#asterisk sa02irc (~mbax@155-079-043-212.ip-addr.inexio.net)
04:56.37nonasuomy1st one didn't seem to work.
05:07.49nonasuomyso added it to all the sets like this https://pastebin.com/9HG7S9f0
05:08.43nonasuomyand all their message indicators are blinking properly as there is a new message sitting in the inbox but the 404 error message still persists when you turn the pjsip set logger on.
05:15.49*** join/#asterisk ih8wndz (~jwpierce3@mail.zero.svr.trnkmstr.com)
05:20.18nonasuomySIP/2.0 200 OK
05:21.31nonasuomyAfter putting it properly in the AOR like you suggested.
05:22.08nonasuomyAnd this gave me more information to clarify it as well https://www.spinics.net/lists/asterisk/msg170464.html
05:23.23nonasuomy@Samot thank you for slapping me in the right direction!
05:27.39nonasuomyhttps://pastebin.com/raw/vJsQpn4j
05:36.56*** join/#asterisk Dovid (~dovid@ool-2f10fda7.dyn.optonline.net)
06:20.31nonasuomySeems I have another issue when I dial outbound the server works and inbound works. When I let the server sit for awhile and then call into the server it no longer works until I call outbound again.
06:36.43*** join/#asterisk TandyUK (~admin@TandyUK/staff/James)
06:38.08*** join/#asterisk Maliuta (maliutamat@gateway/shell/matrix.org/x-efhkifiuescogfqz)
06:38.38*** join/#asterisk jayjo (jayjo@gateway/vpn/privateinternetaccess/jayjo)
06:48.21*** join/#asterisk TandyUK2 (~admin@TandyUK/staff/James)
06:48.46*** join/#asterisk jkroon (~jkroon@41.183.141.223)
06:49.45*** join/#asterisk csavinovich_ (sid296765@gateway/web/irccloud.com/x-ivfqnscewztygoof)
07:01.54*** join/#asterisk jayjo- (~jayjo@unaffiliated/jayjo)
07:19.28*** join/#asterisk jayjo (~jayjo@unaffiliated/jayjo)
07:42.56*** join/#asterisk jayjo- (~jayjo@unaffiliated/jayjo)
07:45.09igcewielingclassic nat translation closing
07:45.10*** join/#asterisk sa02irc (~mbax@155-079-043-212.ip-addr.inexio.net)
07:45.39igcewielingtry setting your qualify frequency to 20 seconds or switch to using TCP.
08:03.17*** join/#asterisk jkroon (~jkroon@41.183.141.223)
10:01.41*** join/#asterisk jkroon (~jkroon@41.183.141.223)
11:06.10*** join/#asterisk UncleKiwi (~UncleKiwi@unaffiliated/unclekiwi)
11:14.17*** join/#asterisk DMJC (~DMJC@124.182.38.11)
11:14.57DMJCquick SIP question. DTMF negotiation. If the SIP INVITE doesn't include the formats for RFC2833 or RFC4733 is it still possible to negotiate those formats?
11:15.09*** join/#asterisk FH_thecat (~FH_thecat@75.11.25.212.ftth.as8758.net)
11:15.48file_no.
11:15.58DMJCthanks.
11:16.26DMJCthat's exactly what I wanted to know. Carrier isn't offerint RTP EVENTs
12:04.30*** join/#asterisk rpifan (~rpifan@p200300d26710aa006e8b51ce027c0d15.dip0.t-ipconnect.de)
12:56.48*** join/#asterisk jkroon (~jkroon@41.183.141.206)
13:14.31*** join/#asterisk aoeui (~aoeui@unaffiliated/aoeui)
13:24.05*** join/#asterisk gerhard7 (~gerhard7@86-87-238-48.fixed.kpn.net)
14:04.02*** join/#asterisk overyander (~overyande@216.163.21.11)
14:10.27*** join/#asterisk paulgrmn (~paulgrmn@c-98-250-183-21.hsd1.mi.comcast.net)
14:15.32*** join/#asterisk gerhard7 (~gerhard7@86-87-238-48.fixed.kpn.net)
14:15.53*** join/#asterisk drathir_tor (~drathir@gateway/tor-sasl/drathir)
14:16.49nonasuomyI'm looking for information for qualify freqency for pjsip but seem to be all related to chan_sip, what is the way to do it for pjsip?
14:19.05Samot...
14:19.09SamotIt's in the docs.
14:26.50nonasuomyso it spelt different qualify_frequency = 15 found this example https://wiki.asterisk.org/wiki/display/AST/PJSIP+Configuration+Wizard
14:39.54SamotAs are most of the settings shared by both
14:40.05Samotfromdomain in chan_sip is from_domain in chan_pjsip.
14:40.09*** join/#asterisk Janos (~textual@201.204.94.76)
14:51.48*** join/#asterisk post-factum (~post-fact@vulcan.natalenko.name)
14:55.19*** join/#asterisk kharwell (uid358942@gateway/web/irccloud.com/x-sxfmnosbqirzdzck)
14:55.19*** mode/#asterisk [+o kharwell] by ChanServ
14:56.51*** join/#asterisk ckb (~ckb@unaffiliated/ckb)
15:04.27*** join/#asterisk drathir_tor (~drathir@gateway/tor-sasl/drathir)
15:09.31*** join/#asterisk drathir_tor (~drathir@gateway/tor-sasl/drathir)
15:22.52*** join/#asterisk waldo323 (~waldo323@d149-67-45-83.clv.wideopenwest.com)
15:48.25*** join/#asterisk bford (uid283514@gateway/web/irccloud.com/x-mzwgkbrfujhlizef)
15:48.25*** mode/#asterisk [+o bford] by ChanServ
15:55.49*** join/#asterisk rpifan (~rpifan@p4fca2179.dip0.t-ipconnect.de)
16:38.22*** join/#asterisk X-Rob (X-Rob@gateway/web/irccloud.com/x-mqjakglonrojtdrb)
16:45.44*** join/#asterisk Jesterboxboy (~Thunderbi@84-115-150-8.cable.dynamic.surfer.at)
17:02.34*** join/#asterisk akp55_ (~akp55@c-73-148-15-31.hsd1.va.comcast.net)
17:03.59igcewielingfile: you around?
17:04.26*** join/#asterisk Blashyrkh (~Thunderbi@84-115-150-8.cable.dynamic.surfer.at)
17:04.36filebarely
17:05.06igcewielingThe AGISIGHUP channel variable determines if Asterisk sends a SIGHUP to an AGI if the channel hangs up while the AGI is running.    My question is, does it need to be set before the AGI is run, or can it be changed/set from within the AGI.   It looks to me, like it must be set before.
17:06.40seanbrightlooks at the code
17:07.10filebefore
17:07.16igcewielingseanbright: when I look at the code, all I get is a headache.  C isn't my strong point.  lol.
17:07.49igcewielingfile: thanks.  As always your answers are helpful/
17:08.20seanbrightbefore is confirmed.
17:17.56*** join/#asterisk movozo (5e6446e7@94.100.70.231)
17:18.29movozoHi guys. Hope you are doing well. Can you plese help on this one?
17:18.36movozoCall Recording is on. Call from Outside (03437123456) comes in. Ext 11 answers the call. 11 then does Attended transfer to 12. CDR will then think 11 and 12 talked all the time but in the End 03437123456 was talking to 12.
17:18.37movozoBut when transferting the call from 11 to 12 the Phone (Fanivl X6U) can see the original CID in the Screen (0343712345).
17:18.37movozoIs it possible for Asterisk to see that CID (03437123456) as well so we can use it in the Dialplan?
17:18.38movozoOr would be a Custom Dilplan possible that records everything from the beginning to the end and can have all the involved Extensions in this call at the end?
17:18.38movozoThank you
17:19.47movozoAttended Transfer is going from Fanivl X6U to Fanvil X6U. Those are initializing a new call.
17:20.13movozoTrunk is SIP. Phones use PJSIP.
17:31.39ckbHi friends! What's the easiest way I can listen in on an active call? AMI?
17:32.50ckbfor reference: I'm building a web app, that I will want to be able to originate/receive calls with.
17:34.42SamotYou would have to spy on the call.
17:36.02ckb(I understand FCC compliance here)... but would asterisk allow me to stream it over a websocket?
17:36.55SamotYou need to spy on the call. Whether or not you do that over websocket is up to you.
17:37.17ckbokay, so where do I need to start looking about "spying" on the call?
17:38.10Samothttps://wiki.asterisk.org
17:38.17Samothttps://wiki.freepbx.org
17:38.28ckbno other details?
17:41.42SamotAre you unable to read documents?
17:42.34ckbSamot: ChanSpy(), yes. but how does another device listen?
17:42.43ckbOH
17:42.59ckb555 would ChanSpy on a channel?
17:43.25SamotWell in FreePBX, yes
17:44.38SamotBecause that was the arbitrary extension they came up with
17:44.41ckbChanSpy(...) is an asterisk function though, right?
17:44.54SamotOf course
17:45.09filedialplan application, specifically
17:45.22ckbexten=> 555,n,ChanSpy(...) would make 555 listen in on ...?
17:45.59filethe dialing of extension 555 (if there was a priority of 1 as well) would listen in on whatever is given to ChanSpy
17:46.08SamotThe wiki covers this
17:46.10filebehavior documented on the wiki for the ChanSpy dialplan application.
17:48.56ckbthanks guys
17:49.25SamotYou are welcome.
17:49.51ckbAnd if I'm originating/receiving calls, we're talking AMI, correct?
17:50.09SamotThat is one option
17:50.19fileAMI is for third party call control, initiating actions, it's not a VoIP protocol for calling itself
17:50.30Samot^^^^
17:50.31fileyou can't write a VoIP client that speaks only AMI to send and receive calls
17:50.41ckbAsterisk is the protocol to do so.... no?
17:50.46SamotNo
17:50.54SamotAsterisk is a toolkit
17:50.56fileAsterisk is a telecommunications toolkit
17:51.09fileand AMI is one of those tools, for third party call control and events
17:52.09ckbhttps://wiki.asterisk.org/wiki/display/AST/Configuring+Asterisk+for+WebRTC+Clients
17:52.15ckbis that what I'm looking for?
17:52.26fileWebRTC is a mechanism by which web browsers can send and receive calls, yes.
17:53.16ckbWould it be easier to use webRTC for spying if I'm planning on going web client route?
17:53.35SamotWeb client that does what?
17:53.42ckbsending and receiving calls
17:53.47filewell since AMI is not a VoIP client... you couldn't use that to spy and deliver audio to a browser anyway
17:53.48Samot....
17:54.18fileWebRTC is an option for providing calling functionality in a browser. Whether it meets your needs, I do not know.
17:54.20ckbfile: so webRTC... I was told AMI I could spy
17:54.34SamotWho said that?
17:55.03fileyou can originate calls from AMI, but your definition of originate and what AMI defines as originate differ in practice
17:55.18filein that AMI defines it as a mechanism by which you say "call Bob, upon answer send him here"
17:55.48ckbI can look back through the logs... but it's irrelevant
17:56.01SamotNo one said that
17:57.08fileWebRTC is complex.
17:57.35file(just throwing that out there)
18:01.05ckbfile: I'm willing to take on the challenge.
18:01.34SamotFor the love of Lemmy.
18:01.38ckbI can't find where someone told me that AMI could do the spying.
18:01.46SamotBecause no one did.
18:02.17igcewielingI just use a plain sip client for spying.
18:03.48Samotckb: Before you take on this challenge. Remember that asking questions on IRC every step of the way does not count.
18:04.51ckbSamot: This whole rabbit hole started with me asking how to list extensions and see what extensions had devices registered.
18:05.15igcewielingspying via a web page is a totally different rabbit.
18:05.28ckbI am still learning how VoIP works. In my case, whats my easiest way to spy? Using an extension?
18:05.30SamotYeah.
18:05.54SamotAn extension is a dialable location.
18:05.59*** join/#asterisk hfb (~hfb@193.36.225.16)
18:06.05SamotI pick up my phone and dial 100, that is an extension.
18:06.07ckbYes. But the dialplan to ChanSpy()
18:06.16SamotNow what happens with 100 is up the how the PBX is programmed
18:06.23ckbis that the EASIEST for me to do right now?
18:06.24SamotDoes 100 cause a device to be called?
18:06.29SamotDoes 100 send me to voicemail
18:06.36SamotDoes 100 activate chanspy
18:06.59ckbSamot: I understand this.
18:07.00SamotWe can't tell you what the easiest way to do is.
18:07.09SamotWe have no idea what you are actually doing.
18:07.14SamotWhat is all involved.
18:07.31ckbHow can I set the dialplan for #XNN(?) to spy?
18:07.42SamotLike any other dialplan.
18:07.48ckbis it literally just exten => #XNN?
18:07.49SamotDo you know how to make that happen?
18:07.56SamotNo.
18:08.27Samotckb: I've been saying this quite a bit. You need to read documentation. You need to learn how all this works.
18:08.35SamotAnd no, asking questions here doesn't count.
18:09.14SamotHow to write dialplan is a basic thing of Asterisk. It is well documented.
18:09.44ckbI have looked over extensions.conf and I -KNOW- I need to know the syntax
18:10.12fileyou need to know a lot of things for what you're attempting to achieve, like, a lot
18:10.23ckbFundamentally. If I have 100 extensions, and I want to spy on say 545.
18:10.45fileconceptually it's easy to say that - but Asterisk is about piecing things together to make a solution, so that's what you have to do
18:10.46ckbso I want to dial #545 and have that happen
18:11.16SamotOK so you do that and call on ChanSpy() with the right options to spy on a specific channel
18:11.30ckbso why can't I do exten => #XNN,...
18:11.44SamotYou could but that's incomplete.
18:11.51ckbI can probably figure it out from there
18:11.58fileif the dialplan were configured appropriately then it would.
18:11.59ckb(Gotta figure out the active channel, etc)
18:12.12SamotIt's not that hard.
18:12.35fileChanSpy has options to control its behavior, including searching for channels
18:12.43ckbperfect
18:12.46ckbthat's all I need
18:12.56ckbbut #XNN will match 545, yes?
18:13.01SamotNo.
18:13.02ckbwait NXX XD
18:13.15SamotBecause that's not how pattern matching works in Asterisk.
18:14.53ckb_NXXNXXXXXX... ?
18:15.04ckbI'll google... thanks
18:15.44ckbwhy the _?
18:16.42SamotREAD THE DOCUMENTS
18:16.56SamotStop asking questions that can be answered by reading the documents.
18:19.00ckbhttps://wiki.asterisk.org/wiki/display/AST/Pattern+Matching
18:19.07ckbDoes NOT explain what _ is
18:19.41SamotIt is how it knows to look for a pattern match.
18:19.55ckbThank you.
18:19.57SamotOtherwise it will try to do an exact match.
18:25.17ckbone last question. # and * are valid digits even in pattern matching?
18:37.03*** join/#asterisk hfb (~hfb@193.36.225.12)
18:47.52*** join/#asterisk rpifan (~rpifan@p200300d26710aa006e8b51ce027c0d15.dip0.t-ipconnect.de)
18:55.15igcewielingyes
19:27.31igcewieling@*@  <- a Princess Leia Tribble.
19:38.13ckbSo does exten => 1234567890,... ; not match on outbound calls to 1234567890? (of course these are fake numbers)
19:40.59ckbI only have 3 directives. Answer, curl, and Hangup... I'm trying to dial out and get the curl to run.
19:41.57ckb(yes I have reload and restart)
19:42.23*** join/#asterisk Zombie (~masterz@h221.23.191.173.dynamic.ip.windstream.net)
19:42.34ZombieHey friends?
19:42.58ZombieI am trying yo add a sip peer in pjsip.
19:43.26*** join/#asterisk hfb (~hfb@193.36.225.12)
19:46.11ZombieI'm trying to connect a system that has used chan_sip, and my system uses pjsip
19:49.56SamotThat doesn't matter at all.
19:56.24ZombieI figured out a conversion path.
20:00.15*** join/#asterisk movozo (5e6446e7@94.100.70.231)
20:00.40SamotA conversation path for what?
20:00.53SamotThe other system using Chan_SIP doesn't matter.
20:01.00SamotSIP is SIP.
20:02.27ckbexten => 1339,n,CURL(https://test.tld/test.php) <<<< if I dial 1339 I get "your call cannot be completed as dialed"
20:03.16igcewielingWell, without a priority 1, it won't work.
20:03.25igcewielingAre you using FreePBX?
20:03.49ckbyes igcewieling
20:03.57ckbit's in extensions_custom.conf
20:04.09ckband I changed it to 1, and still no dice
20:04.15igcewielingTry #FreePBX.
20:04.32igcewielingFreePBX is MUCH MUCH more complicated.
20:04.38sibiriatry prio 's'
20:05.07sibiria(without apostrophes of course)
20:05.15ckbnope
20:05.31sibiriaand you're reloading the dial plan between tries?
20:05.33igcewielingIt is freepbx, I doubt the extension is even tried.
20:05.50ckbrestart now everytime
20:44.56*** join/#asterisk ryoshu (~kamil@netbsd/developer/kamil)
20:59.26*** join/#asterisk allizom (~Thunderbi@unaffiliated/allizom)
21:03.29allizomHi, I have analog phones connected to asterisk through an ATA, the latter has an option "Send Hook Flash Event (as DTMF)", is there a way for asterisk to react to pressing the R button on the phone? What I want is having multiple calls handled within asterisk. The ATA connects to asterisk via SIP
21:07.12igcewielingGenerally the ATA would handle that without needing to send a hookflash to Asterisk.
21:08.15allizomigcewieling: yes, currently my ATA handles the multiple calls. That is what I'd like to avoid, using asterisk to bridge/handle the calls instead
21:08.37igcewielingallizom: I've never heard of it being done that way with SIP.
21:08.47*** join/#asterisk eXistenZ (~pectic@bzq-109-67-190-6.red.bezeqint.net)
21:08.52SamotYou mean 3 way calls?
21:09.06allizomSamot: including, but not limited to.
21:09.20SamotWhat else would there be?
21:09.39allizommore than 3 parties
21:09.50SamotOn an ATA?
21:10.02allizomyes
21:10.10allizomon asterisk
21:10.13SamotOnly if the ATA supports using a conference server
21:10.56allizomSamot: it should be a single call to asterisk from the ATA point to view
21:11.18allizomlet asterisk take care of what to do if the user presses that button
21:11.42SamotHow does asterisk know what to dial?
21:12.29allizomSamot: sorry, what do you mean?
21:12.45SamotYou have call 1.
21:12.51SamotYou want to add call 2
21:13.16SamotYou hit Flash, it puts call 1 on hold so you can use another line
21:13.38SamotYou make call 2, you hit Flash again. 3 way call
21:14.10allizomSamot: my ATA should not put the call on hold, it should not react at all except for sending the event
21:14.24SamotAnd then what?
21:14.38SamotWhat does this event do?
21:15.18allizomSamot: it should trigger a dialplan action, whatever it may be
21:15.48SamotAnd how does that add more calls?
21:16.26allizomSamot: I will then probably wait for the phone to send an extension to call
21:16.41SamotSo you need to dial digits
21:16.58allizomyes
21:17.04SamotThat would require more DTMF
21:17.42allizomSamot: I'm not following your issue with that. That's what would happen, yes
21:18.15SamotThen how does Asterisk handle that?
21:19.12allizomWaitExten
21:19.40SamotNo.
21:19.51allizomcan you explain then?
21:19.55SamotIf you are doing this over a live call, that's In-Call features.
21:20.05SamotYou need to have Asterisk accept that DTMF to process it.
21:20.18SamotWaitExten does nothing in an active call.
21:20.21allizomok
21:20.38SamotYou not wanting to put a call on hold, which is how this works even in analog, is going to be problematic.
21:22.34allizomSamot: can I put the call on hold from within asterisk, while still being able to receive DTMF digits?
21:23.05allizomI suspect no at this point
21:39.09ckbcan I get PAMI support here or is there another channel I can go to?
21:45.20SamotDon't know about in here but there's definitely not a #pami channel.
21:46.28ckbI'm just getting a read timeout on the AMI :( Is there an easy way to test it?
21:51.12igcewielingThe question to ask is "How are other people who need to accomplish the same thing do this?"
21:51.47igcewielingthat was for allizom
21:55.31*** join/#asterisk allizom (~Thunderbi@unaffiliated/allizom)
22:00.24ckbPAMI is giving me a read timeout, but I can telnet just fine :(
22:08.35seanbrightwhat is pami?
22:08.53seanbrightah, php
22:09.29seanbrightlol. i love that you've already opened an issue on their github repo.
22:12.03seanbrightckb: can you pastebin the code you are using?
22:12.30ckbseanbright, one moment
22:12.38ckbI'm trying to just use telnet :|
22:13.05seanbrightyou just said telnet worked fine
22:13.30ckbwith PHP lol
22:13.40seanbrightannnnd i'm out
22:13.43seanbrightgood luck
22:13.47ckbno no no
22:13.52ckbI'm just trying these things
22:14.14seanbrightok, do me a favor first
22:14.24seanbrightclose the issue that you opened on the PAMI repo
22:14.38seanbrightthere is a 0% chance that it is a bug in that library
22:15.26seanbrighthttps://github.com/marcelog/PAMI/issues/199
22:15.27seanbrightthat one
22:16.26SamotOh wow.
22:16.31ckbhastebin is not working
22:17.21seanbright~pb
22:17.22infobotpastebin 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: https://pastebin.com, https://paste.ubuntu.com, http://paste.debian.net; or install pastebinit with yum or aptitude.
22:18.07ckbseanbright, https://privatebin.net/?a67ec90c3a80cc5d#8nejp9ihSjvCoqwM8sQVX1q3YYJvMUrNKu6gCPHQwrPy
22:18.22seanbrightckb: https://github.com/marcelog/PAMI/issues/199
22:18.24seanbrightclose that issue
22:18.39ckbI am having an issue.
22:18.59seanbrightwe can argue over the definition of 'issue' at a later time
22:20.00SamotIs that 100 milliseconds?
22:20.05SamotFor the timeout?
22:20.17SamotIs that measures in ms?
22:20.26ckbOOP
22:20.28seanbrightactually, if you search for "read timeout" (with quotes) on their issue tracker you will see a lot of complaints
22:20.30ckbgood call
22:20.58SamotWair
22:21.03SamotI am asking
22:21.16ckbafter changing to 1000000 it works fine
22:21.24SamotIs that measured in ms by the code?
22:21.25ckbso it HAS to be MS
22:22.23ckbThe example had 10, and doesn't specify if it's in ms or not
22:22.36SamotOk look
22:22.42SamotIts in the code
22:24.30SamotThere is example code that detailed that fact
22:24.39ckbIt very well might be, but I shouldn't have to dig through code for documentation, especially a quickstart guide? https://github.com/marcelog/PAMI/blob/master/doc/examples/quickstart/example.php
22:24.40SamotBut you opened a ticket
22:25.41Samothttp://marcelog.github.com/articles/pami_introduction_tutorial_how_to_install.html
22:27.01ckbI closed the ticket. And was going off the base .md
22:27.35SamotWhere do you think I got that link?
22:27.42SamotIn the .md
22:27.49ckbThen went to the source/doc/examples/quickstart and didn't see ANYTHING about timeouts
22:28.26ckbYes, but when the "10" didn't work, I figured I'd try telnet to see. And here we are now.
22:28.54SamotWith pami?
22:29.08SamotYou used telnet with pami?
22:29.14ckbNo.
22:29.35ckbI used telnet domain.tld 5038
22:30.07ckbAnd logged in via telnet to see if it could be a library issue. Because "10" wasn't cutting it.
22:31.06ckbWhen telnet worked, and I got my results, I assumed it was the library because the quickstart in doc/examples has no details about parameters.
22:32.33SamotOk but the install docs had that data
22:32.43ckbWhen it says "in-depth" I think "let me show you how to build a regex parser using php" type scenario.
22:33.56ckbInstall docs had a link for "in-depth" not a "quickstart"
22:34.29SamotRead that link i posted
22:34.34ckbI did.
22:34.42SamotIt has an example right in it
22:34.59SamotIt tells you what each setting is required to be
22:35.03ckbbut I wasn't going to try to go into an indepth tutorial when I just wanted a simple connection
22:35.14SamotNo of course not
22:35.20ckbThat should probably be like... in the README.md
22:35.34SamotNot really
22:36.00ckbk well thank you for your help
22:36.26SamotWell hold the thanks
22:36.42SamotThis is looking to be a routine thing
22:36.58ckbmountain.... mole hill
22:37.20SamotYes you are doing that
22:38.59Samotckb: let me explain something. What you are doing, already have done it
22:39.42SamotEven more Ive made Asterisk run in a multi-tenant mode
22:40.08SamotWhich basically made FreePBX obsolete for my needs
22:40.48ckbRight, but we're a VOIP reseller, essentially. so giving clients access to FPBX is useless
22:41.02SamotIm a telecom
22:41.04ckbIt's not my business. It's just paying my bills
22:41.24ckbHe asks me to build a system like X company, and I'm like "lets go"
22:42.04SamotExcept that requires a certain skill and knowledge set
22:42.34ckbor the willpower to find a way
22:42.49SamotThe way is to learn those things
22:43.12*** join/#asterisk cation21 (cation21@gateway/vpn/protonvpn/cation21)
22:43.21ckbUh huh
22:43.38SamotWhat was company x?
22:44.19ckbI can't remember the name. He pretty much wants me to make a drag and drop dialplan
22:44.27SamotHahahahha
22:44.30SamotHahahahahaha
22:44.44ckbWhy is that funny?
22:44.52SamotWell
22:45.14ckbJust because I don't know my way around the CLI/AMI/ARI/AGI atm?
22:45.14SamotThat wont work with FreePBX first off
22:45.22SamotNo
22:45.33ckbWhy won't it work with FPBX?
22:45.35SamotYou dont know diaplan
22:45.45ckbYes, and I'm learning.
22:45.50SamotBecause it is not how freepbx is designed
22:48.22ckbof course, I'm pretty much just taking pieces of FPBX that are clearly possible, and then in the future, completely get rid of it.
22:48.36ckbfor now it's serving it's purpose
22:49.22SamotWhich is doing all the things no one knows how to
22:49.42ckbwdym?
22:49.56SamotWell
22:50.13ckbSomeone has to know how to, because it's been done by a few companies so far
22:50.28ckbAnd it's been done by FPBX
22:50.33SamotBased on your conversations you boss has no idea what the current state of Asterisk and its features are
22:51.02SamotOther companies have people like me
22:51.11ckbCorrect. Queue me, and I'm like a kid in a candy store learning about the Asterisk CLI/AMI/ARI/AGI
22:51.16SamotThat actually know this stuff
22:51.39SamotBut you dont know either
22:51.59SamotSo how is cueing you a change?
22:52.31ckbBut I definitely have an education and background of computer science vs him not knowing what an if else if else statement is
22:52.53SamotOk
22:53.13SamotSo you can write an if/then statement
22:53.53SamotThere are people that know asterisk that cant program
22:54.23ckbIf you want my credentials, I wrote a Jacobi algorithm in PHP, I wrote a regex parser in Java, I wrote a FTP client/server in C, I built an 8 bit computer (ALU, memory, and bus) using a breadboard
22:54.31ckbwhat do you want from me?
22:54.33SamotOk
22:54.46SamotReading docs
22:55.09SamotNot asking questions that are easily answer in documentation
22:56.15ckbhere nor there, thank you for your continued help. I'd be a fool if I didn't atleast try to read the docs first. But asterisk and fpbx is a HEAVY load for someone to learn in a week. Some compassion would be wonderful.
22:56.41SamotWell you need time
22:56.52SamotYou aint pulling this off in a few weeks
22:57.01ckbAnd if I do?
22:57.17SamotI will be impressed
22:57.34ckb(:
22:58.24ckbI already have call logs and graphs using the database. I'm sure there would have been a much easier way, BUT alas here we are.
22:59.17ckbBoss wanted me to check if the fpbx firewall was on using the database, I told him there's no f'ing way. Figured out there's a firewall daemon php script that runs and I can just check that.
22:59.59SamotSo you answered without knowing
23:00.15ckbI've been in the dark, and now I have all the tools necessary. I just ask simple questions, and apparently, people like to go around their elbow to get to their butt.
23:00.35SamotHahah
23:01.50ckbsimple answer earlier "just use _override_pbx and -custom if you need a dialplan for 911 across your 100 servers
23:02.10SamotDont know why you need override
23:02.20ckbwell, if 911 is already defined
23:02.32SamotThen you should undefine it
23:02.37ckb-custom in _custom won't take?
23:02.42SamotDont be sloppy
23:02.43ckb100. servers.
23:02.57ckb(I didn't do this)
23:03.01SamotIf it is in the GUI remove it
23:03.12ckbbut I'm not going to sit around waiting for him to go remove it from 100 GUIs
23:03.15SamotSo FreePBX doesnt create it
23:03.27SamotAnd then you use yours
23:03.35ckbbecause I don't have the GUI password for anything except 1
23:03.38SamotSo sloppiness it is
23:03.47ckbI can always move it?!
23:03.57ckbuntil he gets his ducks in a row
23:04.23ckbbut tbh, 911 is definitely a use case where override would be warranted
23:04.58ckbcan't really argue that, right?
23:05.20SamotHey quick math
23:05.35SamotWhat is 10K x 100?
23:05.55ckb100000?
23:06.00ckbwait lol
23:06.18ckb10000000
23:06.21Samot1M
23:06.47Samot10K is the base fine per PBX that fails 911 compliance
23:06.50ckb4 zeros + 2 zeros = 6. 1 + 6 zeros
23:07.18ckbWe are 911 compliant.
23:07.33ckbI'm literally just COPYING the 911 we have, and adding a CURL
23:07.45SamotWell as long as what you are doing works
23:08.19ckbI'm testing this out with my personal phone number first, and leaving things be until I know it works for XXX-XXX-XXXX
23:09.27ckbwe just signed with a hotel with 50 rooms and did a random 3 room test with 911 and everything went PERFECT. (Not the server I'm testing on)
23:10.02SamotYou used the same number and address for all three rooms?
23:10.44ckbI'm not sure how many numbers we had.... but I have e911 addresses listed on our webapp for every number on an account
23:11.04SamotOK, a hotel requires a location per room.
23:11.08ckbthis whole app started with the need of SMS integration.
23:11.19SamotThat has the exact location of the call.
23:11.22ckbINTERESTING
23:11.35SamotWelcome to 911 Compliance.
23:11.36ckbone moment.
23:11.49SamotDispatchable Location is a requirement now.
23:12.04SamotIt comes from room 202 it needs to say FL 2 RM 202
23:12.39ckbSamot, this is critical information.
23:12.44SamotOf course it is.
23:12.52ckbOne second.
23:14.01ckbIf they all come from the same trunk/number.... how would I do that?
23:14.21ckbthe carrier is the one with e911 info
23:14.36ckbare you saying I need a number for EVERY room?
23:14.44SamotYou either need a provider that providers Dynamic Locations or you need to do it with DIDs.
23:15.01ckbso caller ID?
23:15.07ckbpretty much?
23:15.30SamotThe number you present has to be associated with a location.
23:15.53SamotIf your provider doesn't do Dynamic Locations, you need to use a DID per location.
23:16.04ckbwhich my carrier has an address for that #
23:16.08SamotSo your 50 room hotel would need 50+ DIDs.
23:16.38ckbright it's 48 rooms and 3 admin phones
23:16.42SamotOK, Dispatchable Location means that the ADDRESS presented to 911 has the exact location of the CALL
23:16.57SamotSo it must present FL 2 RM 202 when 202 calls 911
23:17.07SamotAnd FL 1 RM 104 when 104 makes a call
23:17.14ckbI understand this
23:17.21SamotYou'll need 49 registered locations.
23:17.24ckbbut the DID would mean the caller ID for that room?
23:17.38SamotFor 911 calls, yes.
23:17.52ckblike ######### <FL 2 Room 200> or whatever right?
23:17.58SamotNo.
23:18.00SamotFFS.
23:18.01*** join/#asterisk hvxgr (~wl2v_usrn@epjdn.zq3q.org)
23:18.09SamotYou need to have a *REGISTERED LOCATION*
23:18.19ckbYES BUT FOR DID
23:18.19SamotWith the PSAP/911 database.
23:18.24SamotNO PER ROOM
23:18.41ckb" you need to use a DID per location" <<<< per ROOM
23:18.44SamotThey don't care about CallerID Name
23:19.00ckboh I'm thinking CLID
23:19.03ckbnevermind
23:19.04SamotThere needs to be a registered location for each room.
23:19.08ckbI get it
23:19.26SamotIf the carrier doesn't do Dynamic Locations, which allows a single DID to many locations...
23:19.33SamotYou need to use a DID PER LOCATION.
23:19.35ckbI GET IT. Thank you. I'm going to hop on the phone right now and express this concern now. Thank you thank you thank you
23:19.37SamotThe normal way.
23:19.48SamotLike you need to do this *per PBX*
23:20.19ckbMost of our PBXs only use a couple numbers at the same location (e911 address)
23:20.33SamotOK.
23:20.35ckbThis is the ONLY case, but it's very useful info
23:20.45ckbSo I commend you for it. You're a saint.
23:21.36ckbso if we violate this it's 10k (just for this hotel)
23:22.03SamotInitial.
23:22.12SamotThen $500/per day until you get it in place.
23:22.29ckbMy carrier has Dynamic Location Routing
23:22.39SamotSo then you need to sign up for it.
23:22.42SamotGet it setup.
23:22.53SamotBut you still need to register the devices and locations.
23:22.58SamotYou just get to use a single DID.
23:23.10SamotYou're saved the cost of the DIDs.
23:23.10ckbRight I understand.
23:23.17SamotNot the 911 records.
23:24.06SamotSee it's not Bandwidth's job to tell you all this.
23:24.15SamotThey aren't on the hook for any of it.
23:24.24ckbThat's kind of shady tbh :\
23:24.28SamotNo.
23:24.30SamotIt's not.
23:24.34SamotYou're their customer.
23:24.39ckbWe just went through FCC compliance
23:24.42SamotThey provide you with PSTN transit.
23:25.00SamotThey don't have to be your only upstream.
23:25.17ckbI mean are they paying FCC fees? why do we have to as well? Just because we're on the "traceroute"?
23:25.24SamotThey don't.
23:25.33ckbOur bill has FCC fees
23:25.42ckb(I think)
23:25.47SamotAre you a USF contributor?
23:26.11ckbI don't have access to the main BW account. So I have no idea what USF even means.
23:26.17SamotIf you're not, then they charge you the taxes and fees.
23:26.39SamotIf you are, you give them your FCC ID and they don't charge those anymore.
23:26.44SamotSince it's on you to do it.
23:27.00ckbUSF means you're FCC compliant and pay your fees, right?
23:27.21SamotYou can be registered with the FCC and not a USF contributor.
23:27.22ckb(FCC compliant lol... e911 convo)
23:27.50SamotAnd the new 911 laws apply to everyone.
23:28.01SamotIncluding regular ole PBX installers and admin's.
23:28.06SamotNot just carriers/providers.
23:28.27SamotEvery PBX vendor had to update their systems to comply
23:28.37SamotIf they needed to.
23:29.18ckbOkay and just for the record, would LEO say something if they get a distress call from said hotel and didn't have a room #?
23:29.45SamotThat would be handled by the PSAPs.
23:29.52SamotHow they report it, etc.
23:29.55igcewielingAll it takes is for someone to file a complaint with the FCC.  LEOs won't be involved in the FCC regulations.
23:30.38SamotOr when reporting is done.
23:30.49SamotBecause there is reporting that is associated with this.
23:30.53ckboh so the operator would then be the one to file the complaint?
23:30.59SamotNot just waiting for a complaint to be filed.
23:31.08ckbgot it
23:31.09SamotThe PSAP will be giving reports.
23:31.20SamotFCC will probably require LECs to report.
23:31.36SamotInterconnect VOIP Providers, etc.
23:31.53ckbLECs?
23:31.58SamotWow.
23:32.02SamotLocal Exchange Carriers.
23:32.07ckbOH doh
23:32.07SamotBandwidth is a LEC
23:32.25ckbyeah don't mind me, I'm in 2 worlds right now.
23:33.12ckbvery valuable info, Samot. I can't thank you enough.
23:33.17*** join/#asterisk segnior (segnior@gateway/shell/xshellz/x-mzpvvqssqdmczaju)
23:37.03*** join/#asterisk gregs (sid160074@gateway/web/irccloud.com/x-ocsyvqqhjjmvwedr)
23:38.08*** join/#asterisk idtentee (sid101023@gateway/web/irccloud.com/x-dlmneldnimxxckzt)
23:46.01ckb<PROTECTED>
23:46.25SamotOk
23:46.35ckbalternatively, I'm reading over WebRTC atm, and I imagine it's only available for pjsips?
23:48.17ckbmight be confusing myself here, but I am going to start showing that an extension is in an active call, so I'm wondering if it's best I start going down the RTC route. I already have an understanding of websockets, as I've built a real-time chat application.
23:49.59igcewielingI think I shall take a break for a few days.  best of luck ckb.
23:50.03*** part/#asterisk igcewieling (~ewieling@199.27.202.86)

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