[OpenSIPS-Users] Modifying INVITE header to add phone-context
Julian Yap
julianokyap at gmail.com
Wed Apr 8 09:24:25 CEST 2009
I pretty much solved the issue.
This is what I used:
subst_uri('/^sip:([0-9]+)@(.*)$/sip:\1@\2;phone-context=sip.server.com/i
On Tue, Apr 7, 2009 at 4:25 PM, Julian Yap <julianokyap at gmail.com> wrote:
> I have a PSTN gateway which requires a Phone-Context value in the
> outgoing SIP INVITE message to further apply ISDN NPI/TON details.
>
> Here's an example of what I currently have going out to the PSTN gateway:
> INVITE sip:1234 at sip.server.com:5060;user=phone SIP/2.0.
>
> This is what I require:
> INVITE sip:1234 at sip.server.com:5060;phone-context=sip.server.com;user=phone
> SIP/2.0.
>
> Any clues on how to add the Phone-Context value?
>
> Thanks,
> Julian
>
More information about the Users
mailing list