[OpenSIPS-Users] drouting question

Bogdan-Andrei Iancu bogdan at voice-system.ro
Fri Mar 26 11:30:05 CET 2010


Hi Erik,

the module extracts the FROM uri from the original message, so it will 
not "see" your change on the from hdr.

A better approach for you will be to detect the DR group from the script 
and pass it to the do_routing as param.

Regards,
Bogdan

erik pepermans wrote:
> Hi,
>  
> I want to pass an aliased user to the drouting module like :
>  
> route[8] {
>         uac_replace_from("$avp(s:from_alias)");
>         do_routing("","1");
>         uac_restore_from();
>    
> This doesn't work; is the module reparsing the from-header or is there 
> another solution ?
>  
> Brgds
> Erik
>
> -- 
> This message has been scanned for viruses and
> dangerous content by *MailScanner* <http://www.mailscanner.info/>, and is
> believed to be clean.
> ------------------------------------------------------------------------
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>   


-- 
Bogdan-Andrei Iancu
www.voice-system.ro




More information about the Users mailing list