[Freeswitch-users] how do I get my DID number from lua script with session:getvariable

Uzo Uzo uzoechi at yahoo.com
Tue Apr 6 12:55:30 PDT 2010


I placed the script in the public context and tried that, but it shows nothing.  In the default context, it will show 1002.  But in public, it shows nothing. 



________________________________
From: David Ponzone <david.ponzone at gmail.com>
To: freeswitch-users at lists.freeswitch.org
Sent: Mon, April 5, 2010 12:58:03 PM
Subject: Re: [Freeswitch-users] how do I get my DID number from lua scriptwith session:getvariable

try rdnis

But you could put your lua script in your public context, where the  
calls are handled first.
I dont really see the point to do that in default.

David Ponzone  Direction Technique
email: david.ponzone at ipeva.fr
tel:      01 74 03 18 97
gsm:   06 66 98 76 34

Service Client IPeva
tel:      0811 46 26 26
www.ipeva.fr  -   www.ipeva-studio.com 


      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100406/f23d446b/attachment.html 


More information about the FreeSWITCH-users mailing list