Page 1 of 1

PJSIP Asterisk and FIDO and UDP

PostPosted: 10/01/2020
by slvrsi
Hi,

So using UDP over FIDO network doesn't work with PJSIP.

System works over wired network and also works with chan_sip which is weird (also set to UDP). But why not PJSIP_chan? no clue and I'm looking for Ideas.

Setting debugger on I basicly see
Recieved Sip; REGISTER

Transmitting SIP reponse

but never a response comming back. this is only over the FIDO LTE network.... Tried the recommended v4 / v6 settings in the APN for the network found here:
https://forums.fido.ca/t5/General-Suppo ... 158#M47683

This allowed for chan_sip to work, but pjsip still doesnt.....

Re: PJSIP Asterisk and FIDO and UDP

PostPosted: 10/01/2020
by slvrsi
attaching pjsip logger on:

<--- Received SIP request (635 bytes) from UDP:FIDO.IP:20372 --->
REGISTER sip:ASTERISKEXTHOSTNAME SIP/2.0
Via: SIP/2.0/UDP NoClueWhatIpThisIs-fidogateway?-25.109.120.46:5080;branch=z9hG4bK.OmsF6NghP;rport
From: <sip:username@ASTERISKEXTHOSTNAME>;tag=lcHCQ7S7U
To: sip:username@ASTERISKEXTHOSTNAME
CSeq: 20 REGISTER
Call-ID: bcjR7YcPFZ
Max-Forwards: 70
Supported: replaces, outbound, gruu
Accept: application/sdp
Accept: text/plain
Accept: application/vnd.gsma.rcs-ft-http+xml
Contact: <sip:username@NoClueWhatIpThisIs-fidogateway?-25.109.120.46:5080;transport=udp>;+sip.instance="<urn:uuid:883f5ef2-690e-0058-9ebe-c04afeb8fa0b>";+org.linphone.specs="groupchat,lime"
Expires: 3600
User-Agent: LinphoneAndroid/4.2 (Pixel 2) LinphoneSDK/4.3 (tags/4.3^0)


<--- Transmitting SIP response (475 bytes) to UDP:FIDO.IP:20372 --->
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP NoClueWhatIpThisIs-fidogateway?-25.109.120.46:5080;rport=20372;received=FIDO.IP;branch=z9hG4bK.OmsF6NghP
Call-ID: bcjR7YcPFZ
From: <sip:username@ASTERISKEXTHOSTNAME>;tag=lcHCQ7S7U
To: <sip:username@ASTERISKEXTHOSTNAME>;tag=z9hG4bK.OmsF6NghP
CSeq: 20 REGISTER
WWW-Authenticate: Digest realm="asterisk",nonce="1601559616/a7bac9b2dd972764d199712a3be03c03",opaque="1fc8f0854bd2f521",algorithm=md5,qop="auth"
Server: Asterisk PBX 16.3.0
Content-Length: 0