[asterisk-users] AGI script

michel freiha michofr at gmail.com
Mon Feb 23 05:25:57 CST 2009


Hello Hadi,

EXTEN is working fine and I can get the dialed number...Now suppose I need
to fetche the extension username from where I'm dialing...What is the
variable name here?Or where i can find Variables name...Can you give me a
link where these variables are defined?

Regards

On Mon, Feb 23, 2009 at 10:56 AM, Yawar Hadi <yawarhadi at gmail.com> wrote:

> i got the problem.....
>
> i am looking for a wrong variable.....
> if u want to read variables from astersk with $AGI->get_variable() command
> then write the variable name as mentioned on voip-info site.
>
> so if u want to read extension then supplu variable name like
> $myno=$AGI->get_variable('EXTEN');
> hope u get it
>
>
>
> On Mon, Feb 23, 2009 at 1:14 PM, michel freiha <michofr at gmail.com> wrote:
>
>> Dear Sir,
>>
>> Kindly note that the problem is on command  $AGI->get_variable('
>> variablename');
>>
>> The AGI seems that it's not reading nothing from asterisk
>>
>> Regards
>>
>>
>> On Mon, Feb 23, 2009 at 9:26 AM, Yawar Hadi <yawarhadi at gmail.com> wrote:
>>
>>> ohh got it.......sorry for miss interpretation
>>>
>>>
>>>
>>>
>>> On Mon, Feb 23, 2009 at 12:23 PM, Yawar Hadi <yawarhadi at gmail.com>wrote:
>>>
>>>> How ?
>>>>
>>>>
>>>> On Mon, Feb 23, 2009 at 12:09 PM, Steve Edwards <asterisk.org@
>>>> sedwards.com> wrote:
>>>>
>>>>> On Mon, 23 Feb 2009, Yawar Hadi wrote:
>>>>>
>>>>> > dear steve
>>>>> >               any issue u havent replied.....?
>>>>>
>>>>> You have me confused with michel freiha.
>>>>>
>>>>> Thanks in advance,
>>>>>
>>>>> ------------------------------------------------------------------------
>>>>> Steve Edwards      sedwards at sedwards.com      Voice: +1-760-468-3867
>>>>> PST
>>>>> Newline                                             Fax:
>>>>> +1-760-731-3000
>>>>>
>>>>> _______________________________________________
>>>>> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>>>>>
>>>>> asterisk-users mailing list
>>>>> To UNSUBSCRIBE or update options visit:
>>>>>   http://lists.digium.com/mailman/listinfo/asterisk-users
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> Best regards
>>>>
>>>> Yawar Hadi Noshahi
>>>>  QAU Islamabad
>>>> (+92-0300-5504798)
>>>>
>>>
>>>
>>>
>>> --
>>> Best regards
>>>
>>> Yawar Hadi Noshahi
>>>  QAU Islamabad
>>> (+92-0300-5504798)
>>>
>>> _______________________________________________
>>> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>>>
>>> asterisk-users mailing list
>>> To UNSUBSCRIBE or update options visit:
>>>   http://lists.digium.com/mailman/listinfo/asterisk-users
>>>
>>
>>
>> _______________________________________________
>> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>>
>> asterisk-users mailing list
>> To UNSUBSCRIBE or update options visit:
>>   http://lists.digium.com/mailman/listinfo/asterisk-users
>>
>
>
>
> --
> Best regards
>
> Yawar Hadi Noshahi
>  QAU Islamabad
> (+92-0300-5504798)
>
> _______________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20090223/20eb0344/attachment.htm 


More information about the asterisk-users mailing list