View previous topic :: View next topic |
Author |
Message |
daniel at tryba.nl Guest
|
Posted: Fri Jul 04, 2014 7:35 am Post subject: [asterisk-users] Getting source ip adress of incoming INVITE |
|
|
I'm interested in finding out what the source ip is of an invite in the
dialplan (Asterisk 11). As far as I can see this information isn't
accessible. The only solution I can think of is parsing either
Record-Route or Via headers. This is for recognizing "guests" in the
default context for sip.
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users |
|
Back to top |
|
|
kenner at gnat.com Guest
|
Posted: Fri Jul 04, 2014 9:05 am Post subject: [asterisk-users] Getting source ip adress of incoming INVITE |
|
|
Quote: | I'm interested in finding out what the source ip is of an invite in the
dialplan (Asterisk 11).
|
${CHANNEL(recvip)}
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users |
|
Back to top |
|
|
daniel at tryba.nl Guest
|
Posted: Mon Jul 07, 2014 7:21 am Post subject: [asterisk-users] Getting source ip adress of incoming INVITE |
|
|
On Fri, Jul 04, 2014 at 10:04:45AM -0400, Richard Kenner wrote:
Quote: | Quote: | I'm interested in finding out what the source ip is of an invite in the
dialplan (Asterisk 11).
|
${CHANNEL(recvip)}
|
Doh! That is an obviouls place to look. I'm wondering why I didn't
think about this or couldn't find any hints. Thank you for your prompt
answer.
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users |
|
Back to top |
|
|
|