I need it when the SIP calls comes to me in some context in a
dialplan. The only way I can think of is right now which is kind of
messy is to do 'sip show peers' parse the output in some agi script ,
get the ip from there.
On Nov 26, 2007 1:53 AM, Johnny Tam [EMAIL PROTECTED] wrote:
if you run asterisk in verbose mode.. asterisk -vvr then you will see
ips being made in and out in the log.
Date: Mon, 26 Nov 2007 01:20:48 -0500
From: [EMAIL PROTECTED]
To: asterisk-users@lists.digium.com
Subject: [asterisk-users] Get IP address of an incoming or outgoing SIP
call
Hi * Users,
What is the way from the dial-plan to get the IP address of an
incoming or outgoing SIP call? I can see the IP address of the SIP
call using 'sip show peers' from the CLI.
Thanks
Regards
--
Arpit Mehta
Graduate Student
Department of Computer Science
Columbia University
Tel: 1-646-387-5998
___
--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
--
Arpit Mehta
Graduate Student
Department of Computer Science
Columbia University
Tel: 1-646-387-5998
___
--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