[Users] Parsing SIP responses
osas at somanetworks.com
Tue Jan 31 22:07:50 CET 2006
What I want to do is to get some headers from the 3xx response. I
wonder if there's a way to retrieve headers from a response (I know that
it is posible from a request).
Bogdan-Andrei Iancu wrote:
> Hi Ovidiu,
> a redirect on server feature is implemented in the uac_redirect module -
> it gets all the contacts from the 3xx branches and push them as new
> branches - filtering is also possible.
> take a look, it might fit your needs.
> Ovidiu Sas wrote:
>> I configured openser to handle redirect responses and re-route calls
>> based on the Contact header from the 3xx response using the
>> uac_redirect module. In addition to that, I would like to transfer
>> some headers from the 3xx response into the redirected INVITE (see
>> UAC openser UAS1 UAS2
>> | | | |
>> |---INVITE--->| | |
>> | |---INVITE--->| |
>> | |<--3XX-------| |
>> | | with Diversion header |
>> | |---ACK------>| |
>> | |---------------INVITE------->|
>> | | | with Diversion header
>> | | | from 3xx response from UAS1
>> Is there an API that will allow me to search for headers inside a
>> response and save them in to an AVP?
>> Users mailing list
>> Users at openser.org
More information about the Users