sábado, 31 de octubre de 2015

VIA SIP header

SIP VIA header tells the receiving device where it should respond:
INVITE sip:45555@10.108.1.12:5060 SIP/2.0
Via: SIP/2.0/TCP 10.108.2.41:5060;branch=z9hG4bK100EDA11
Respond to 10.108.2.41 at port 5060
Tip: You can test the remote port with any telnet client i.e. “telnet 10.108.1.120 5060”

1 comentario:

Ricardo Rendon dijo...

So when you receive:
INVITE sip:45555@10.1.56.40;user=phone SIP/2.0
VIA: SIP/2.0/TCP 10.7.1.220:57722;branch=z9hG4bK0c554e6

And later you find:
045539: *Oct 30 17:36:00.592: //-1/xxxxxxxxxxxx/SIP/Error/sip_tcp_createconnfailed_to_spi:
TCP create conn failed to SPI (addr:10.7.1.220, port:57722)
045541: *Oct 30 17:36:00.592: //78438/CFC76D47B5B3/SIP/Error/act_recd_invite_send_msg_failure:
Send Error to 10.7.1.220:57722 for transport TCP
045545: *Oct 30 17:36:00.592: //78438/CFC76D47B5B3/CCAPI/cc_api_call_disconnected:
Cause Value=38, Interface=0x2669264, Call Id=78438

That is when you know port 57722 is not right.