Failure on register when behind nat

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I try register in a pbx behind nat, but the port in "VIA" is wrong, the port "1032032" not exists. This is my log in server (using sngrep)

I using the pjsip 2.8, compiled in "MINGW64_NT-6.1 x86_64 Msys". The server when i try connect is a asterisk with issabel.

I develop in c++.


REGISTER sip:pabx.i9corp.com.br SIP/2.0
Via: SIP/2.0/UDP 191.191.241.166:1032032;rport;branch=z9hG4bKPj9e4103819ee34b8193b683e958a027ec
Route: <sip:pabx.i9corp.com.br;lr>
Max-Forwards: 70
From: <sip:5081@xxxxxxxxxxxxxxxxxx>;tag=e3007ee9a217455ab6834719b6e40dcb
Call-ID: e5570ac5733340dba954c8f09d9cf1db
CSeq: 17653 REGISTER
Contact: <sip:5081@191.191.241.166:1032;ob>
Expires: 300
Allow: PRACK, INVITE, ACK, BYE, CANCEL, UPDATE, INFO, SUBSCRIBE, NOTIFY, REFER, MESSAGE, OPTIONS
Content-Length:  0


SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 191.191.241.166:1032032;branch=z9hG4bKPj9e4103819ee34b8193b683e958a027ec;received=191.191.241.166;rport=1032
From: <sip:5081@xxxxxxxxxxxxxxxxxx>;tag=e3007ee9a217455ab6834719b6e40dcb
To: <sip:5081@xxxxxxxxxxxxxxxxxx>;tag=as5d3db5a6
Call-ID: e5570ac5733340dba954c8f09d9cf1db
CSeq: 17653 REGISTER
Server: FPBX-2.11.0.47(11.25.3)
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
Supported: replaces, timer
WWW-Authenticate: Digest algorithm=MD5, realm="asterisk", nonce="6f81b4a1"
Content-Length: 0
_______________________________________________
Visit our blog: http://blog.pjsip.org

pjsip mailing list
pjsip@xxxxxxxxxxxxxxx
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org

[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux