Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[asterisk-users] Getting source ip adress of incoming INVITE


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users
View previous topic :: View next topic  
Author Message
daniel at tryba.nl
Guest





PostPosted: Fri Jul 04, 2014 7:35 am    Post subject: [asterisk-users] Getting source ip adress of incoming INVITE Reply with quote

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





PostPosted: Fri Jul 04, 2014 9:05 am    Post subject: [asterisk-users] Getting source ip adress of incoming INVITE Reply with quote

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





PostPosted: Mon Jul 07, 2014 7:21 am    Post subject: [asterisk-users] Getting source ip adress of incoming INVITE Reply with quote

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
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services