Remote-Party-ID Set To 0 On Re-invite Using Pjsip In Asterisk 16.

Home » Asterisk Users » Remote-Party-ID Set To 0 On Re-invite Using Pjsip In Asterisk 16.
Asterisk Users 1 Comment

We’ve been using Asterisk 16 for a while now, and tried turning on send_rpid = yes in my pjsip config for end points.  This solves a problem we’re having where attended transfers aren’t updating the CallerID when the transfer is complete (it would show the callerID of the party attempting the transfer, and never update after the transfer happened).

The side effect of this change is that now on all outgoing calls, the phone I placed the call on shows 0 as the dialed number, which is wrong of course.  This shows up in a pcap to the phone that dialed as a re-invite sent back to it (before the call even connects), and shows something like:

Remote-Party-ID:
;party

One thought on - Remote-Party-ID Set To 0 On Re-invite Using Pjsip In Asterisk 16.

  • We’ve found the problem.

    For anyone seeing this same problem in the future, the underlying problem was a miss-placed entry in our pjsip.conf

    callerid=0

    If this is set, any changes to Remote-Party-ID are ignored, even when CONNECTEDLINE(num) is called in the dialplan.  I don’t know if this is desired behavior or not, but it’s how pjsip seems to work.