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
[email protected] and redirect
--
Med venlig hilsen
ipnordic A/S
Mike Claudi Pedersen
Tekniker
Telefon: 79301033
www.ipnordic.dk <http://www.ipnordic.dk/>
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users