|
From: Matthew N. <mni...@di...> - 2007-06-05 15:58:43
|
You can us the SIPCHANINFO and SIPPEER dialplan functions to get the info:
agi.get_variable("SIPCHANINFO(recvip)")
FERNANDO VILLARROEL wrote:
> Hello Matthew:
>
> I need to know the IP that receipt in my Asterisk for
> an incoming call?
>
> It is possible using pyst ?
>
>
> I hope you understand to me .
>
> Greetings.
>
> Fernando Villarroel Noriel
> Chillan-Chile.
>
>
> --- Matthew Nicholson <mni...@di...> wrote:
>
>> Are you asking how you can determine the IP address
>> that a call you
>> originated goes to?
>>
>> FERNANDO VILLARROEL wrote:
>>> Hello I use pyst and python to control the calls
>> of
>>> asterisk.
>>>
>>> I want to know as I can recover the IP I number
>> that
>>> it originates the call?
>>>
>>> Thanks
>>>
>>> Fernando Villarroel Noriel.
>>>
>>>
>>>
>>>
> ____________________________________________________________________________________
>>> Food fight? Enjoy some healthy debate
>>> in the Yahoo! Answers Food & Drink Q&A.
>>>
> http://answers.yahoo.com/dir/?link=list&sid=396545367
>>>
> -------------------------------------------------------------------------
>>> This SF.net email is sponsored by DB2 Express
>>> Download DB2 Express C - the FREE version of DB2
>> express and take
>>> control of your XML. No limits. Just data. Click
>> to get it now.
>>> http://sourceforge.net/powerbar/db2/
>>> _______________________________________________
>>> Pyst-users mailing list
>>> Pys...@li...
>>>
> https://lists.sourceforge.net/lists/listinfo/pyst-users
>> --
>> Matthew Nicholson
>> Digium
>>
>>
> -------------------------------------------------------------------------
>> This SF.net email is sponsored by DB2 Express
>> Download DB2 Express C - the FREE version of DB2
>> express and take
>> control of your XML. No limits. Just data. Click to
>> get it now.
>> http://sourceforge.net/powerbar/db2/
>> _______________________________________________
>> Pyst-users mailing list
>> Pys...@li...
>>
> https://lists.sourceforge.net/lists/listinfo/pyst-users
>
>
>
>
> ____________________________________________________________________________________
> Choose the right car based on your needs. Check out Yahoo! Autos new Car Finder tool.
> http://autos.yahoo.com/carfinder/
--
Matthew Nicholson
Digium
|