[OpenSIPS-Users] Redirect

Mike Claudi Pedersen mike.pedersen at ipnordic.dk
Mon Mar 10 09:42:02 CET 2014


this makes no sense to me, im not sure alias is what i wanna use. i just
want some method to redirect calls to another server, using a list of known
users and locations


2014-03-10 9:32 GMT+01:00 Stefano Pisani <stefano.pisani at omnianet.it>:

>  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
>
>
> _______________________________________________
> Users mailing listUsers at lists.opensips.orghttp://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>


-- 
Med venlig hilsen
ipnordic A/S

Mike Claudi Pedersen
Tekniker

Telefon: 79301033
www.ipnordic.dk
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20140310/da602add/attachment.htm>


More information about the Users mailing list