[OpenSIPS-Users] B2B to/from header formatting

Duane Larson duane.larson at gmail.com
Sat Mar 24 01:41:15 CET 2012


Thanks for working with me offline.  Your patch fixed the "From: display"
issue and the b2b_logic "custom_headers" parameters allowed
p-asserted-identity to go through.










On Fri, Mar 23, 2012 at 6:12 PM, Ovidiu Sas <osas at voipembedded.com> wrote:

> It is working ok for me.  Are you sure that you are not messing with:
> http://www.opensips.org/html/docs/modules/1.8.x/b2b_logic.html#id250298
>
> Regards,
> Ovidiu Sas
>
> --
> VoIP Embedded, Inc.
> http://www.voipembedded.com
>
> On Fri, Mar 23, 2012 at 6:50 PM, Ovidiu Sas <osas at voipembedded.com> wrote:
> > 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 $
> >>> >
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>



-- 
--
*--*--*--*--*--*
Duane
*--*--*--*--*--*
--
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20120323/225cacfc/attachment.htm>


More information about the Users mailing list