Hi,
I need to convert sip trunk configuration to pjsip. The provider is Irideos/Clouditalia and with the sip configuration it works for both outgoing and incoming calls, while when I configure the pjsip I can register and outgoing calls while incoming calls are rejected, I activated sngrep which returns me the following log:
2023/06/14 17:28:23.294963 10.39.XXX.XXX:5060 → 83.XXX.XXX.XXX:5060
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 83.XXX.XXX.XXX:5060;rport=5060;received=83.211.227.21;branch=z9hG4bK98a2.708aa582.0
Via: SIP/2.0/UDP 62.XXX.XXX.XXX:5060;branch=z9hG4bKf85012b7.Acc0008.Tra00740
Record-Route: sip:883.XXX.XXX.XXX;lr;ftag=5b686d96.Acc8.B2b634.DbtqUJ4Z1pCXXAIECKrfpF008;did=25a.961cba23
Record-Route: sip:ITL-RR@62.XXX.XXX.XXX:5060;transport=UDP;lr
Call-ID: df15be7e25ab52e8-Acc8-B2b634@10.15.15.8
From: “0815XXXXX” sip:081XXXXXXX@voip.eutelia.it;tag=5b686d96.Acc8.B2b634.DbtqUJ4Z1pCXXAIECKrfpF008
To: sip:081XXXXXXX@83.XXX.XXX.XXX;tag=z9hG4bK98a2.708aa582.0
CSeq: 1 INVITE
WWW-Authenticate: Digest realm=“asterisk”,nonce=“1686756503/bf5f8910e34bb75e5045deb7f7dd5042”,opaque=“3e0987e92fa1eb02”,algorithm=md5,qop=“auth”
Server: VitalPBX
Content-Length: 0
Hi,
I need to convert insecure=port, invite sip trunk to pjsip trunk, because incoming calls are rejected by Vitalpbx 4.
The voip account of the provider Irideos/Clouditalia works perfectly with the sip trunk, but when I configure the pjsip trunk it doesn’t only incoming calls work. Here is the log taken with sngrep: