[OpenSIPS-Users] Redirect

Stefano Pisani stefano.pisani at omnianet.it
Mon Mar 10 09:32:33 CET 2014


Simply replace the $ru ($ru = NEWURI) and the call goes to the right 
destination

If the remapping is fixed you and use ALIAS. for example.

Il 10/03/2014 08.11, Mike Claudi Pedersen ha scritto:
> Can someone please help me ind the right direction, i need to 
> implement a system to rewrite the destination URI from a list of 
> possible destinations.
> eg
> call from 20304050
> if(method == "INVITE") {
>              "check where 20304050 is"
>
> then return and replace 20304050 with something like 
> +4520304050 at voip123.local and redirect
>
> -- 
> Med venlig hilsen
> ipnordic A/S
>
> Mike Claudi Pedersen
> Tekniker
>
> Telefon: 79301033
> www.ipnordic.dk <http://www.ipnordic.dk/>
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20140310/d4763476/attachment.htm>


More information about the Users mailing list