[asterisk-users] Get IP address of an incoming or outgoing SIP call
Arpit Mehta
am2866 at columbia.edu
Mon Nov 26 00:56:55 CST 2007
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 <johnnycctam at hotmail.com> wrote:
>
> if you run asterisk in verbose mode.. asterisk -vvvvvvr then you will see
> ips being made in and out in the log.
>
>
> > Date: Mon, 26 Nov 2007 01:20:48 -0500
> > From: am2866 at columbia.edu
> > To: asterisk-users at 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
More information about the asterisk-users
mailing list