[Users] Parsing SIP responses
Ovidiu Sas
osas at somanetworks.com
Tue Jan 31 22:07:50 CET 2006
Hi Bogdan,
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).
-ovi
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.
>
> regards,
> bogdan
>
> Ovidiu Sas wrote:
>
>> Hi,
>>
>> 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
>> diagram):
>>
>> 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?
>>
>>
>> Thx,
>> -ovi
>>
>> _______________________________________________
>> Users mailing list
>> Users at openser.org
>> http://openser.org/cgi-bin/mailman/listinfo/users
>>
>
More information about the sr-users
mailing list