Incoming issues with AT&T IP Flex

Using Ver 12.7.5-1807-1.sng7
with Asterisk 13.22.0

Have 2 nic’s
192.168.2.210 - inside lan and handsets
172.16.90.10, gw 172.16.90.1 (which is the interface to AT&T’s IP FLEX, for sip handoff.)

Trunk

Outgoing - which works fine.

name = att_out_1

ty;e=peer
host=172.16.90.1
dtmfmode=rfc2833
qualify=2000

Incoming, which doesn’t work

att_in_1

type=friend
host=172.16.90.1
dtmfmode=rfc2833
qualify=2000
insecure=port,invite

Error I see in logs

[2018-11-14 14:10:00] NOTICE[860] res_pjsip/pjsip_distributor.c: Request ‘INVITE’ from ‘“KEL-TEK” sip:[email protected]’ failed for ‘172.16.90.1:5060’ (callid: [email protected]_2_1) - No matching endpoint found

[2018-11-14 14:10:03] NOTICE[23489] res_pjsip/pjsip_distributor.c: Request ‘INVITE’ from ‘“KEL-TEK” sip:[email protected]’ failed for ‘172.16.90.1:5060’ (callid: [email protected]_2_2) - No matching endpoint found

I have all inbound traffic routed to extension 107, which is working fine.

It is AT&T’s sip handoff product, it doesn’t require or want any usernames or passwords, just for sip to it, and receive sip from it.

I also get the following errors with wireshark;
from 172.16.90.10 (my pbx) to 172.16.90.1 status 401 Unauthorized

You appear to have created a chan_sip trunk but the provider is sending calls to the PJSIP port. You need to configure the provider to send INVITES (calls) to the chan_sip port.

Thank you,

I’ll get on that right now.

Jon

1 Like

What did I not look at?
In short order you saw I was, what did I miss?

Thank you again,

Jon

From the log line you provided:

[2018-11-14 14:10:00] NOTICE[860] res_pjsip/pjsip_distributor.c: Request ‘INVITE’ from ‘“KEL-TEK” sip:[email protected]’ failed for ‘172.16.90.1:5060’ (callid: [email protected]_2_1) - No matching endpoint found

The log line was created by the PJSIP channel driver, and the way you had your trunk details formatted, it was obvious you had created a chan_sip trunk. Apart from that, it’s just experience; we’ve all learned this one the hard way early in the learning process.

2 Likes