[OpenSIPS-Users] history-Info header manipulation

xaled xaled at web.de
Wed Feb 21 11:11:25 EST 2018


Hi Bogdan,

 

ok, thank you for the info. 

It would be great to have a generic method of accessing such multipart
headers.

 

Greetings,

Xaled

 

From: Bogdan-Andrei Iancu [mailto:bogdan at opensips.org] 
Sent: Wednesday, February 21, 2018 3:57 PM
To: xaled <xaled at web.de>; 'OpenSIPS users mailling list'
<users at lists.opensips.org>
Subject: Re: [OpenSIPS-Users] history-Info header manipulation

 

Hi Xaled,

There were recently some fixes in regards to such headers - multi body
name-addr like. Internally the parser is able to handle it (the fixes I
mentioned were related to PAI/PPI hdr parsing).
Still, from script level there is no way (yet) to get access to each body
part, via variables or transformations :(

Regards,



Bogdan-Andrei Iancu
 
OpenSIPS Founder and Developer
  http://www.opensips-solutions.com
OpenSIPS Summit 2018
  http://www.opensips.org/events/Summit-2018Amsterdam

On 02/20/2018 02:51 PM, xaled wrote:

Hi Bogdan,

 

Mostly yes - single HI Header with multiple hi-entries. 

A general solution/advice that would work with both single and multiple HI
headers would be much appreciated. 

 

Thanks,

Xaled

 

From: Bogdan-Andrei Iancu [mailto:bogdan at opensips.org] 
Sent: Tuesday, February 20, 2018 1:15 PM
To: OpenSIPS users mailling list  <mailto:users at lists.opensips.org>
<users at lists.opensips.org>; xaled  <mailto:xaled at web.de> <xaled at web.de>
Subject: Re: [OpenSIPS-Users] history-Info header manipulation

 

Hi Xaled,

You mean if a single History header contains multiple hi-entry instances ?

Regards,




Bogdan-Andrei Iancu
 
OpenSIPS Founder and Developer
  http://www.opensips-solutions.com
OpenSIPS Summit 2018
  http://www.opensips.org/events/Summit-2018Amsterdam

On 02/19/2018 02:39 PM, xaled wrote:

Hi,

 

Is there any other/better way for the history-Info header manipulation like
adding or removing a hi-entry except subst? 

 

Thanks,

xaled







_______________________________________________
Users mailing list
Users at lists.opensips.org <mailto:Users at lists.opensips.org> 
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20180221/c2a8b47e/attachment-0001.html>


More information about the Users mailing list