[OpenSIPS-Users] B2B to/from header formatting

Ovidiu Sas osas at voipembedded.com
Fri Mar 23 23:50:29 CET 2012


Ooops ... I missed that.
I will take a look and get back to you.

Regards,
Ovidiu Sas

-- 
VoIP Embedded, Inc.
http://www.voipembedded.com


On Fri, Mar 23, 2012 at 6:46 PM, Duane Larson <duane.larson at gmail.com> wrote:
> Thanks Ovidiu.  Ill try that for the p asserted identity but what about the
> from: display getting taken off?
>
> On Mar 23, 2012 5:40 PM, "Ovidiu Sas" <osas at voipembedded.com> wrote:
>>
>> The To header doesn't need to contain the <>.
>> The original commit for that "fix" was creating issues with the
>> underline tm API and therefore it was reverted.
>>
>> If you want to pass extra headers from the received INVITE to the
>> generated INVITE, you need to declare them:
>> http://www.opensips.org/html/docs/modules/1.8.x/b2b_logic.html#id250020
>>
>> Regards,
>> Ovidiu Sas
>>
>> --
>> VoIP Embedded, Inc.
>> http://www.voipembedded.com
>>
>> On Fri, Mar 23, 2012 at 6:14 PM, Duane Larson <duane.larson at gmail.com>
>> wrote:
>> > I think an old B2B bug might have popped up again. (unless I need to be
>> > doing something in my B2B opensips.cfg but there really isn't much to
>> > the
>> > script)
>> >
>> > I found this old email
>> >
>> > http://opensips-open-sip-server.1449251.n2.nabble.com/b2b-top-hiding-from-to-header-formatting-td6099976.html
>> >
>> > I see that when my SIP provider sends me an INVITE with the "From"
>> > having
>> > display info and also a "P-Asserted-Identity" header it gets removed
>> > when my
>> > OpenSIPS B2B server passes the INVITE on to my OpenSIPS Proxy server.
>> > Also
>> > the To header is not contained in the <> like Jeff Pyle points out in
>> > the
>> > email I referenced above.
>> >
>> > Here is the debug and NGREP from this.
>> >
>> > http://pastebin.com/Fb6BmwMA
>> >
>> > Here is the trunk version I am currently running
>> >
>> > more main.c
>> > /*
>> >  * $Id: main.c 8772 2012-03-08 11:16:13Z bogdan_iancu $
>> >



More information about the Users mailing list