Hello,
Here’s my setup:
- Sipura / Linksys / CISCO 3102 ATA
- FreePBX 15.0.16.49
- Asterisk 13.20.0
- Configured in “deviceanduser” mode
- Using chan_pjsip on port 5060 (chan_sip is disabled).
I am trying to configure the Line 1 of the ATA to act as an extension (device). The (relevant) Line 1 settings are:
Auth Invite : YES
Register : YES
Proxy Server : <ip address of my asterisk server>
User ID: 801
Password : <set to the password configured on FreePBX>
In FreePBX I’ve created a Device “801” using chan_pjsip listening on port 5060:
Device name: 801
Password : <set to the password configured on the ATA>
Device type : fixed
Default user : 202
all other settings as default
I am seeing a registration failure reported on the ATA. If I turn on the PJSIP logger on the Asterisk, I see this reported each time the ATA tries to register:
<--- Received SIP request (494 bytes) from UDP:{ata ip address}:5060 --->
REGISTER sip:{asterisk ip address} SIP/2.0
Via: SIP/2.0/UDP {ata ip address}:5060;branch=z9hG4bK-d347b941
From: 202 <sip:801@{asterisk ip address}>;tag=2820ceb8c17ff4cco0
To: 202 <sip:801@{asterisk ip address}>
Call-ID: 6454802f-d3bb98c3@{ata ip address}
CSeq: 24423 REGISTER
Max-Forwards: 70
Contact: 202 <sip:801@{ata ip address}:5060>;expires=60
User-Agent: Linksys/SPA3102-5.2.13(GW002)
Content-Length: 0
Allow: ACK, BYE, CANCEL, INFO, INVITE, NOTIFY, OPTIONS, REFER
Supported: x-sipura, replaces
<--- Transmitting SIP response (364 bytes) to UDP:{ata ip address}:5060 --->
SIP/2.0 404 Not Found
Via: SIP/2.0/UDP {ata ip address}:5060;rport=5060;received={ata ip address};branch=z9hG4bK-d347b941
Call-ID: 6454802f-d3bb98c3@{ata ip address}
From: "202" <sip:801@{asterisk ip address}>;tag=2820ceb8c17ff4cco0
To: "202" <sip:801@{asterisk ip address}>;tag=z9hG4bK-d347b941
CSeq: 24423 REGISTER
Server: FPBX-15.0.16.49(13.20.0)
Content-Length:0
This appears to be reporting (404) that it can’t find the device 801 on the asterisk server? I do note that the “From” and “To” fields are identical.
I also have this ATA configured on it’s PSTN phone side as a trunk to the same asterisk server, and that’s functioning OK (but it’s not trying to register with asterisk or accept registrations from asterisk).
Any ideas on what’s not working, or what I can do to get the ATA to register as a device? Most posts seem to say “give up, use chan_sip”.
Thanks