[OpenSIPS-Users] Dial Plan

Binan AL Halabi binanalhalabi at yahoo.com
Wed Aug 15 11:55:35 CEST 2012


Hi all , 
can any one tell me 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20120815/77111be3/attachment.htm>


More information about the Users mailing list