Is there a way of adding a routing prefix to the SIP INVITE URI so that it’s not included in the To URI? So that for example you would end up with the following lines in the SIP invite:
INVITE sip:[PREFIX]+firstname.lastname@example.org SIP/2.0.
Which channel driver are you referring to? I don’t believe chan_pjsip does, but do not remember about chan_sip.
This would be for chan_sip.
Looking at some old source code, you can put an ! at the end of the dialstring, followed by either the To: user part or the To: user@domain string.
Wow - I can’t believe that works! Thanks so much!
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.