[OpenSIPS-Users] Dial Plan
Bogdan-Andrei Iancu
bogdan at opensips.org
Thu Aug 16 12:17:08 CEST 2012
Hi Binan,
Where do you have this example from? check the script where you copied
this from, as you will find there also your answer.
The avp s:country may be populated in tens of ways, depending on what
you are trying to do.
Regards,
Bogdan
Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.com
On 08/15/2012 12:57 PM, Binan AL Halabi wrote:
>
> Hi all ,
> can any one tell me how the AVP s:country takes its value,
>
> $var(sdpid)=$avp(s:country);
> $var(dpid)=$(var(sdpid){s.int});
> xlog("$var(dpid)");
> if(!dp_translate("$var(dpid)","$ruri.user/$ruri.user")){
> send_reply("420", "Invalid Destination");
> }
>
> one thing more : what is the result of executing dp_translate
>
>
> thank you very much
>
>
> _______________________________________________
> 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/20120816/ac39ffd9/attachment.htm>
More information about the Users
mailing list