[OpenSIPS-Users] Custom headers b2b!

Bogdan-Andrei Iancu bogdan at opensips.org
Wed Dec 12 13:27:30 CET 2012


Hi Pinho,

You mean something like for the FROM hdr (see b2bl_from_spec_param):
     http://www.opensips.org/html/docs/modules/1.8.x/b2b_logic.html#id250248
?

Unfortunately there is nothing like that for the TO hdr.

Regards,

Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.com


On 12/12/2012 01:51 PM, Jorge Henrique Pinho wrote:
> Hi bogdan,
>
> Is there a possibility to have a flag in script or code to preserve the To header uri using b2b.
>
> Kind regards,
>
> Jorge Pinho
> Analyst/Developer
> Network Platforms and Multimedia Solutions
> Multimedia Division
> ________________________________________
> From: Bogdan-Andrei Iancu [bogdan at opensips.org]
> Sent: 11 December 2012 10:16
> To: Jorge Henrique Pinho
> Cc: OpenSIPS users mailling list
> Subject: Re: [OpenSIPS-Users] Custom headers b2b!
>
> Hi Jorge,
>
> You cannot preserve the TO hdr, as TO is generated by the B2B (as a
> element of the new dialog).
>
> Also the UA is added by OpenSIPs automatically, to all locally generated
> requests. You many try to propagate the received UA, but in this case
> you need to stop opensips in generating its UA hdr, by disabling the
> server_signature (see http://www.opensips.org/Resources/DocsCoreFcn18#toc73)
>
> Regards,
>
> Bogdan-Andrei Iancu
> OpenSIPS Founder and Developer
> http://www.opensips-solutions.com
>
>
> On 12/11/2012 11:58 AM, Jorge Henrique Pinho wrote:
>> Hi bogdan,
>> I want to preserve the 'To' header and the 'User-Agent' header.
>>
>> Jorge Pinho
>> Analyst/Developer
>> Network Platforms and Multimedia Solutions
>> Multimedia Division
>> ________________________________________
>> From: Bogdan-Andrei Iancu [bogdan at opensips.org]
>> Sent: 10 December 2012 18:40
>> To: OpenSIPS users mailling list
>> Cc: Jorge Henrique Pinho
>> Subject: Re: [OpenSIPS-Users] Custom headers b2b!
>>
>> Hi Jorge,
>>
>> What are the headers you want to preserve ? (as you cannot put there any
>> kind of hdr)
>>
>> Regards,
>>
>> Bogdan-Andrei Iancu
>> OpenSIPS Founder and Developer
>> http://www.opensips-solutions.com
>>
>>
>> On 12/05/2012 07:54 PM, Jorge Henrique Pinho wrote:
>>> Hi, I am using opensips-1.7.2 with b2b.
>>> When i set the custom_headers parameter with the headers that i want to preserve, this headers appear repeated with different values in the message generated by b2b.
>>> Is this the correct behavior, or is there a fix for this problem?
>>>
>>> Best regards
>>>
>>> Jorge
>>> _______________________________________________
>>> Users mailing list
>>> Users at lists.opensips.org
>>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>> >



More information about the Users mailing list