[OpenSIPS-Users] Dial Plan

Bogdan-Andrei Iancu bogdan at opensips.org
Thu Aug 16 16:09:19 CEST 2012


I guess a simple search in the text file would have answered your question.

That AVP is populated during caller authentication, being loaded from 
the subscriber table, the "countrycode" column.

Regards,

Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.com


On 08/16/2012 01:38 PM, Binan AL Halabi wrote:
> Hi Bogdan,
> thank you very much ,
> the attached file is the script,
>
> regards
> --- On *Thu, 8/16/12, Bogdan-Andrei Iancu /<bogdan at opensips.org>/* wrote:
>
>
>     From: Bogdan-Andrei Iancu <bogdan at opensips.org>
>     Subject: Re: [OpenSIPS-Users] Dial Plan
>     To: "OpenSIPS users mailling list" <users at lists.opensips.org>
>     Cc: "Binan AL Halabi" <binanalhalabi at yahoo.com>
>     Date: Thursday, August 16, 2012, 3:17 AM
>
>     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  </mc/compose?to=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/525da60f/attachment.htm>


More information about the Users mailing list