@fboyd wrote:
Hello, I have a strange problem with inbound calls, they all seem to fail with a 401 unauthorized and I'm not quite sure what the issue is. There is no authentication required for this trunk the call is making it to me but I cant seem to accept it.
<--- SIP read from UDP:172.16.30.2:5060 ---> INVITE sip:14192212113@my.pbx.publicIP SIP/2.0 Max-Forwards: 67 Session-Expires: 3600;refresher=uac Min-SE: 600 Supported: timer, 100rel To: <sip:14192212113@my.pbx.publicIP> From: "WIRELESS CALLER" <sip:15555550841@172.16.30.2>;tag=3670166336-1674400842 P-Asserted-Identity: "WIRELESS CALLER" <sip:+15555550841@172.16.30.2:5060> Call-ID: 20380-3670166336-487296215@genq10-1 CSeq: 1 INVITE Allow: PUBLISH,MESSAGE,UPDATE,PRACK,SUBSCRIBE,REFER,INFO,NOTIFY,REGISTER,OPTIONS,BYE,INVITE,ACK,CANCEL Via: SIP/2.0/UDP 172.16.30.2:5060;branch=z9hG4bK953d8d277984fd58ba3ac74bf115923b Contact: <sip:15555550841@172.16.30.2:5060> Content-Type: application/sdp Accept: application/sdp Content-Length: 283 v=0 o=genq10-1 188 1 IN IP4 172.16.30.2 s=sip call c=IN IP4 172.16.30.3 t=0 0 m=audio 2102 RTP/AVP 0 8 18 101 a=rtpmap:0 PCMU/8000 a=rtpmap:8 PCMA/8000 a=rtpmap:18 G729/8000 a=fmtp:18 annexb=no a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-15 a=sendrecv a=maxptime:20 <-------------> --- (16 headers 14 lines) --- Sending to 172.16.30.2:5060 (NAT) Sending to 172.16.30.2:5060 (NAT) Using INVITE request as basis request - 20380-3670166336-487296215@genq10-1 Found peer '998' for '15555550841' from 172.16.30.2:5060 <--- Reliably Transmitting (NAT) to 172.16.30.2:5060 ---> SIP/2.0 401 Unauthorized Via: SIP/2.0/UDP 172.16.30.2:5060;branch=z9hG4bK953d8d277984fd58ba3ac74bf115923b;received=172.16.30.2;rport=5060 From: "WIRELESS CALLER" <sip:15555550841@172.16.30.2>;tag=3670166336-1674400842 To: <sip:14192212113@my.pbx.publicIP>;tag=as219d7254 Call-ID: 20380-3670166336-487296215@genq10-1 CSeq: 1 INVITE Server: FPBX-13.0.105(11.21.2) Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE Supported: replaces, timer WWW-Authenticate: Digest algorithm=MD5, realm="asterisk", nonce="38694e25" Content-Length: 0 <------------>
These are the settings I have on the trunk:
Peer Details:
Context: from-tunkpeer=172.16.30.2
insecure=very
type=friend
dissallow=all
allow=ulawAny ideas?
Posts: 5
Participants: 2