[Serusers] Re: [Serdev] Dynamic Redirect Issue about SER!
Marian Dumitru
marian.dumitru at voice-sistem.ro
Fri Feb 4 19:59:13 CET 2005
Hi George,
you can implement the logic you require very easily with the avpops module:
rewritehost("new_host");
avp_write("$to/username","i:13");
avp_pushto("$ruri/username","i:13");
Best regards,
Marian
George Lee wrote:
> Hello Jan :
> In fact, I need SER to implement a speific request-redirect routing logic that currently not supported by SER. At present, we can call this logic "ip pbx redirect logic" described as follows in detail:
> =============================================================================
> When incoming "Invite" request arrives, SER extracts username of "To" header field of "Invite" request as username of
> "Contact" header field in 3xx response whereas hostname or hostip of "Contact" header is retrieved from external configuration such as ser.cfg file. Simply speaking:
>
> redirect-generated "Contact" = [username of "To" header field of "Invite" request]@[hostname or hostip get from
> external configuration such as
> ser.cfg file]
>
> Thanks a Lot!
> George Lee
>
--
Voice System
http://www.voice-system.ro
More information about the sr-users
mailing list