[OpenSER-Users] manipulate INVITES

Patrick Miccio patrick.miccio at upc.at
Mon Jul 2 16:11:31 CEST 2007



> No.
> 
> Let's assume your R-URI is sip:01234100 at some.domain. Your AOR
> registered to OpenSER is sip:01234 at some.domain with a contact
> sip:01234 at ip, and in some circumstances you only want to send
> sip:100 at ip to the UAC, right?
> 
> So you have to extract the extension "100" from the R-URI. Save it
> into a var or an AVP. Your resulting R-URI then is
> sip:01234 at some.domain. Then do a lookup in the location table, which
> results in an R-URI sip:01234 at ip. Then, replace the user-part of the
> new R-URI with the value saved in the AVP or var, so your final R-URI
> is sip:100 at ip, which you can relay to the UAC.
> 
> Cheers,
> Andreas

Hey,

I thought about it on the week end, and I was sure you were gonna tell
me this, rewriting the R-URI after the userloc check did the trick,
didn't know/understand it was possible like this.

Thanks for the help :-)

cheers,

Patrick.




More information about the Users mailing list