[asterisk-users] Called number as variable - how to?

Trevor Peirce tpeirce at digitalcon.ca
Sat Feb 28 22:21:44 CST 2009


Michael wrote:
> I want to obtained the called number (aka DID) as a variable. How is this 
> done?
>
> (Upline connectivity is via SIP provider).
>
> With verbose = 100, the called number is clearly shown as 
> follows "Wait("SIP/[called number]-64e6", "1")" for example, but I can't find 
> the info as to how to get it as a variable.
>   

Generally you'd find it as ${EXTEN} in your incoming context. If you 
don't, I'd say your service provider is not delivering that information 
to you.



More information about the asterisk-users mailing list