[Users] Parsing SIP responses

Bogdan-Andrei Iancu bogdan at voice-system.ro
Tue Jan 31 22:01:11 CET 2006


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