sábado, 31 de octubre de 2015

VIA SIP header

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

1 comentario:

Ricardo Rendon dijo...

So when you receive:
INVITE sip:45555@;user=phone SIP/2.0
VIA: SIP/2.0/TCP;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:, port:57722)
045541: *Oct 30 17:36:00.592: //78438/CFC76D47B5B3/SIP/Error/act_recd_invite_send_msg_failure:
Send Error to 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.