hi list,

I'm using opensips as a redirect server based on the TO or R-URI 
header.  If the user is in the IVR group the proxy will respond with a 
redirect.

(is_user_in("To", "ivr")) {
     xlog("The call will be redirect to calling card server");
     rewritehostport("x.x.x.x:5060");
     sl_send_reply("302", "Moved Temporarily");
     exit;
}

but I would also want to tell the UAC (a PSTN gateway) to change the 
FROM header from a local number to a international number.  Is this 
possible?  If not, which is the best way to handle it if the IVR needs 
to recognize an international CallerID and must be easily scalable (my 
idea is to use the dispatcher module and stateless transactions for that)

Thanks for you answers.


_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to