I have newly set up Asterisk 13.0.1 with PJSIP.
The pbx box is located behind a firewalling router, it is a DS-Lite setup (means the NAT-ing is done on providerside) additionally I have set up iptables with a strict policy of not allowing unknown hosts, with the exemption of some open port for incoming RTP packets.
I managed at last to have configuration where I can dial out to my SIP provider (at least to one).
The call is set up and seems to be ok.
I receive the following messages when setting up the call:
[Dec 18 12:15:31] WARNING pjsip: tsx0x1237c2c .......Temporary failure in sending Request msg INVITE/cseq=18615 (tdta0x1207af8), will try next server: Unsuitable transport selected (PJSIP_ETPNOTSUITABLE)
[Dec 18 12:48:46] WARNING pjsip: tsx0x1230644 .......Temporary failure in sending Request msg INVITE/cseq=3665 (tdta0xb3378e90), will try next server: Unsuitable transport selected (PJSIP_ETPNOTSUITABLE)
[Dec 18 12:49:12] WARNING[C-00000013] app_dial.c: Unable to write frametype: 2
The transport and endpoint settings look like this:
Any idea what the reason for that message(s) might be and how I could prevent them?
When turning on debug 5 and verbose 5 this message shows up:
[Dec 19 19:42:23] DEBUG pjsip: endpoint .......Request msg INVITE/cseq=14948 (tdta0x1293448) exceeds UDP size threshold (1300), sending with TCP
[Dec 19 19:42:23] WARNING pjsip: tsx0x12944b4 .......Temporary failure in sending Request msg INVITE/cseq=14948 (tdta0x1293448), will try next server: Unsuitable transport selected (PJSIP_ETPNOTSUITABLE)
I am even more confused, as I have TCP not switched on as a transport (at last I did not intentionally) and it seems that still UDP is used, the next message is:
[code][Dec 19 19:42:23] VERBOSE res_pjsip_logger.c: <— Transmitting SIP request (1397 bytes) to UDP:aaa.bbb.cc.1dd:5060 —>
INVITE sip:01776804900@:5060 SIP/2.0
Via: SIP/2.0/UDP 192.168.178.99:5060;rport;branch=z9hG4bKPj5c0db9ad-d1ba-4b8f-93be-34a03436a98e
CSeq: 14948 INVITE
Allow: OPTIONS, SUBSCRIBE, NOTIFY, PUBLISH, INVITE, ACK, BYE, CANCEL, UPDATE, PRACK, REGISTER, REFER, MESSAGE
Supported: 100rel, timer, replaces, norefersub
Proxy-Authorization: Digest username="", realm=“127.0.1.1”, nonce=“VJRyulSUcY5Vs6gaPIrnFL4O6Chat49R”, uri=“sip::5060”, response="cc09fdc905cac13ab80a373f84e08e97"
o=- 1614771262 1614771262 IN IP4 192.168.178.99
c=IN IP4 192.168.178.99
m=audio 14114 RTP/AVP 9 8 0 101
a=candidate:Hc0a8b263 1 UDP 2130706431 192.168.178.99 14114 typ host
a=candidate:Hc0a8b263 2 UDP 2130706430 192.168.178.99 14115 typ host