00:05.39 | *** join/#asterisk spatel (~spatel@pool-96-237-230-175.bstnma.fios.verizon.net) |
00:05.55 | *** join/#asterisk drathir_tor (~drathir@gateway/tor-sasl/drathir) |
00:16.30 | *** join/#asterisk mmlj4 (~mmlj4@ip68-11-51-163.no.no.cox.net) |
00:32.52 | *** join/#asterisk gtjoseph_ (~gtjoseph@unaffiliated/gtj) |
00:32.52 | *** mode/#asterisk [+o gtjoseph_] by ChanServ |
00:59.08 | *** join/#asterisk verzo (~verzo@gateway/tor-sasl/verzo) |
01:26.54 | *** join/#asterisk dmacias (~dmacias@104.0.36.146) |
01:27.41 | dmacias | I've done a clean install of Asterisk on Cent7, should I be seeing port 5060 open? I can't register my softphone and I wonder if it's because something didn't start correctly. |
01:46.33 | Samot | Just installing Asterisk isn't enough. You did configure things, correct? |
01:46.43 | Samot | You are using Chan_PJSIP for this? |
01:46.50 | dmacias | yes. |
01:47.05 | Samot | And what error are you getting when you try to register? |
01:47.06 | dmacias | I hope I configured things correctly using this https://www.errorhat.com/install-asterisk-on-centos-8/ |
01:47.16 | dmacias | just a timeout on the client |
01:47.25 | dmacias | nothing in asterisk cli. |
01:47.45 | Samot | But you setup everything? |
01:47.56 | dmacias | I'm going back and making sure I have all the deps, maybe that's making pjsip failing to load. |
01:47.57 | Samot | Did all the needed steps for pjsip.conf? |
01:48.04 | dmacias | yes |
01:48.18 | Samot | Did you *configure* a Chan_PJSIP endpoint? |
01:49.09 | Samot | And the softphone is local to the Asterisk system? |
01:49.37 | dmacias | Using this for the pjsip config, endpoing config after midway under pjsip.conf settings https://www.lumenvox.com/knowledgebase/index.php?/article/AA-02067/0/Configuring-Asterisk-13.html |
02:25.22 | Samot | How about your show your settings |
02:25.32 | Samot | dmacias: Pastebin your pjsip.conf |
02:27.07 | dmacias | doh, i just blew away the VM and I'm going to try with CentOS 8. If you have a good guide for the installation please let me know. |
02:27.33 | Samot | I just follow the guide on the Asterisk wiki |
02:52.03 | *** join/#asterisk spatel (~spatel@pool-96-237-230-175.bstnma.fios.verizon.net) |
03:36.22 | *** join/#asterisk verzo (~verzo@gateway/tor-sasl/verzo) |
04:16.50 | igcewieling | I fucking hate kamailio. |
04:20.02 | Samot | Why? |
04:23.28 | *** join/#asterisk aness (~aness@cm-84.209.61.205.getinternet.no) |
04:36.39 | Samot | Are you having a specific problem? |
05:38.22 | *** join/#asterisk tomaluca95 (~quassel@kde/developer/tomaluca) |
05:52.43 | *** join/#asterisk Ner0Zer0 (~Ner0Zer0@87.253.63.54) |
06:07.14 | *** join/#asterisk verzo (~verzo@gateway/tor-sasl/verzo) |
06:15.03 | *** join/#asterisk tsal (~tsal@i59F4AFD7.versanet.de) |
07:29.54 | *** join/#asterisk fstd_ (~fstd@unaffiliated/fisted) |
08:08.56 | *** join/#asterisk verzo (~verzo@gateway/tor-sasl/verzo) |
08:18.33 | *** join/#asterisk hardwire (sid415742@gateway/web/irccloud.com/x-wywmsyyvyiuwbuyp) |
08:19.16 | *** join/#asterisk Samot (sid133316@gateway/web/irccloud.com/x-gqpuxbtvrmnywlni) |
08:31.58 | *** join/#asterisk idtentee (sid101023@gateway/web/irccloud.com/x-xtcficektrxvqbwj) |
10:14.17 | *** join/#asterisk verzo (~verzo@gateway/tor-sasl/verzo) |
12:15.26 | *** join/#asterisk ruied (~ruied@po2-84-90-121-174.netvisao.pt) |
12:32.44 | *** join/#asterisk ruied (~ruied@po2-84-90-121-174.netvisao.pt) |
12:48.19 | *** join/#asterisk verzo (~verzo@gateway/tor-sasl/verzo) |
12:55.03 | *** join/#asterisk paulgrmn__ (~paulgrmn@c-98-250-183-21.hsd1.mi.comcast.net) |
13:10.59 | *** join/#asterisk rodolfojcj (~rodolfojc@190-78-67-66.dyn.dsl.cantv.net) |
14:17.21 | *** join/#asterisk Jesterboxboy (~Thunderbi@84-115-150-8.cable.dynamic.surfer.at) |
15:01.54 | *** join/#asterisk tombriden (~tom@176.248.52.163) |
15:27.46 | *** join/#asterisk verzo (~verzo@gateway/tor-sasl/verzo) |
16:16.26 | *** join/#asterisk Ner0Zer0 (~Ner0Zer0@87.253.63.54) |
16:58.23 | *** join/#asterisk ruied (~ruied@po2-84-90-121-174.netvisao.pt) |
17:27.16 | *** join/#asterisk [NC] (~NC@208.94.241.140) |
18:01.15 | *** join/#asterisk tafa2 (~tafa2@185.115.101.208) |
18:17.48 | *** join/#asterisk MillerBoss (~shit@your.mom.loves.millerboss.com) |
18:39.43 | *** join/#asterisk sinaowolabi (~Sina@102.134.114.1) |
18:40.51 | *** join/#asterisk sinaowolabi (~Sina@102.134.114.1) |
18:46.22 | igcewieling | Samot: I suspect the issue is with the carrier or with SIP. Some idiot (a new hire, I hope) ported numbers for 3 customers our "trunk group" which points to Kamailio, instead of the one which points to our Asterisk servers. I'd hoped changing the $ruri and using send_reply with a 302, I could bounce the call to the IP of our Asterisk boxes. Call never arrives on the Asterisk box, Level 3 retries several times. At this point I |
18:46.22 | igcewieling | 'm just sending back a 486 for those calls. |
18:47.16 | igcewieling | tcpdump shows the correct contact. |
18:49.38 | igcewieling | hmmm...apparently sending back a 486 doesn't work either. |
18:50.28 | Samot | So the call hits kamailio and you're trying to send a redirect back to the carrier? |
18:53.29 | igcewieling | yes. |
18:53.58 | Samot | Why don't you just route the call to the Asterisk box? |
18:54.34 | igcewieling | The order to do that is inplace. |
18:54.52 | Samot | Well I meant at Kamailio. |
18:55.23 | igcewieling | Ah. Routing the call to Asterisk would take me longer than waiting for the orders to complete. NOTHING in my kamailio config does that. |
18:56.40 | Samot | Well I mean you could add a dbaliase lookup within a few minutes that routes the call if it is needed before the carrier changes the route. |
18:57.09 | igcewieling | You might be able to, but I have no idea what you mean and would have to research it and try to figure it out. |
18:57.53 | igcewieling | right now, call comes in, I do a DB lookup in my external database to verify the number is fax and the source IP is allowed, then the call is sent to the carrier IP. |
18:57.59 | Samot | dbaliases is one of the routing methods along with CarrierRoute and others. |
18:58.18 | igcewieling | *nod* |
19:00.01 | igcewieling | I doun't use any kamailio routing methods. |
19:02.48 | igcewieling | Even sending back a 486 doesn't work. |
19:03.52 | igcewieling | so far, this is what I tried https://pastebin.com/3QkQRxgs |
19:04.38 | igcewieling | bbiab |
19:10.28 | igcewieling | back for a while |
19:21.32 | Samot | https://www.irccloud.com/pastebin/1Y6xSaTB/ |
19:21.55 | Samot | Doing a rewriteuri and sending backing a 302 isn't right. |
19:22.17 | Samot | I'm sure they expect redirect headers. |
19:22.41 | Samot | But that snippet gives you two methods to simple route it someplace |
19:31.24 | igcewieling | How so? |
19:33.28 | igcewieling | Those are all based on samples from the internet |
19:34.02 | *** join/#asterisk MillerBoss (~shit@your.mom.loves.millerboss.com) |
19:38.54 | Samot | Well, some places want eaxtra headers. But mainly because a 302 reply should have the new destination in the contact URI |
19:39.00 | Samot | So it's the wrong spot. |
19:39.34 | igcewieling | um, the new destination is in the contact URI, I verified using tcpdump. They must require a diversion header. |
19:39.52 | Samot | OK, so if the contact header is correct that could be the case. |
19:39.55 | *** join/#asterisk verzo (~verzo@gateway/tor-sasl/verzo) |
19:40.12 | *** join/#asterisk spatel (~spatel@pool-96-237-230-175.bstnma.fios.verizon.net) |
19:41.31 | igcewieling | I still don't understand why sending a 486 doesn't appear to work. Carrier keeps retrying the call. |
19:52.10 | Samot | To the same server? |
19:53.17 | igcewieling | Hmm? Yes, same server |
19:53.28 | igcewieling | there is only one ip in the "trunk group" |
19:54.33 | igcewieling | Normally we only use kamailio for outgoing faxes, out Adtrans talk directly to Kamailo, no Asterisk involved. |
19:55.05 | igcewieling | kamailio talks to the carrier. In this case numbers were ported to the fax "trunk group" instead of the voice "trunk group" which has our Asterisk IPs. |
19:56.23 | igcewieling | incoming faxes are send direct to Asterisk from the carrier. |
19:57.20 | igcewieling | Hmmm..I don't think I've tried outbound faxing using Asterisk since I upgraded to Asterisk 16 and switched to pjsip. |
20:01.52 | *** join/#asterisk MillerBoss (~shit@your.mom.loves.millerboss.com) |
20:05.35 | Samot | Oh these are incoming faxes? |
20:06.21 | igcewieling | no, incoming faxes are send directly to Asterisk, no Kamailio. Only outgoing faxes are handled by kamailio |
20:07.18 | igcewieling | in this case, incoming calls to the incorrectly ported numbers are being sent to kamailio by the carrier. There is an order to fix this, but since it is a "change" and not a "repair", it won't happen until monday at the earliest. |
20:07.54 | igcewieling | the incorreclty ported numbers are all supposed to be voice. |
20:20.00 | igcewieling | I'm VERY glad I don't live in New Orleans anymore. I'm in Pensacola, which doesn't appear very likely to be a problem. |
20:48.46 | *** join/#asterisk verzo (~verzo@gateway/tor-sasl/verzo) |
20:52.12 | *** join/#asterisk ruied (~ruied@po2-84-90-121-174.netvisao.pt) |
21:38.56 | *** join/#asterisk ruied (~ruied@po2-84-90-121-174.netvisao.pt) |
21:41.51 | *** join/#asterisk tehgooch (tehgooch@unaffiliated/tehgooch) |
21:44.58 | *** join/#asterisk idtentee (sid101023@gateway/web/irccloud.com/x-dgiojinsobedhpgo) |
22:27.11 | *** join/#asterisk NightMonkey (~NightMonk@pdpc/supporter/professional/nightmonkey) |
23:37.37 | *** join/#asterisk meph (~mepholic@unaffiliated/mepholic) |
23:43.59 | *** join/#asterisk yokel (~yokel@unaffiliated/contempt) |
23:47.42 | *** join/#asterisk spatel (~spatel@pool-96-237-230-175.bstnma.fios.verizon.net) |