Hi
I am using standard debian package, 13.14 - I’ve switched recently from chan_sip to pjsip (mostly for the HEP interface).
I am getting some occasional failure to dial (I see Everyone is busy/congested at this time), while “pjsip show aors” gives a status of Available.
I’ve added a trace of ${DEVICE_STATE(PJSIP/kamailio)} => when a regular call works, it shows INUSE. I havent yet manage to capture the value when the issue arises.
The pjsip.conf comes from the conversion with the contrib script, and is pretty bare to me (see at the end).
What could be wrong ?
Rgds
J.
[transport-udp]
type = transport
protocol = udp
bind = 0.0.0.0:5060
The DIALSTATUS is ANSWER, yet 1/no sip traces to host kamailio, 2/ the first route is not tried (no sip traces) 3/and indeed a call to the backup route while DIALSTATUS=ANSWER !
It is not so much the fact that DIALSTATUS is wrong, but that the Dial does not proceed - also, why is always DEVICE_STATE to INUSE !
It is getting really weird. I have clear traces that show that dialplan execution continues, even if the first dial was successful. Yet, the documentation says “Dialplan execution will continue if no requested channels can be called, or if the timeout expires” - I would assume it does not continue if it succeeds
By default Dial does not continue if it does not succeed. Your output is verbose you’ve added, the normal dialplan execution logging is what is needed.