Re: [Asterisk-java-users] obtain IP address of extension
Brought to you by:
srt
From: Carlos G M. <tr...@hu...> - 2007-12-07 09:38:26
|
You can always keep a directory of extensions -> IPs and look it up. Lambros.L @ 07/12/2007 06:32 -0300 dixit: > Dear Carlos, > Thanks for the reply. > I thought of doing that but my ultimate aim is to get the IP addresses > of 2 SIP phones as soon as a call is established between them. > > What i basically need is to match a channel to an extension's IP... > > Regards, > Lambros > > > On 12/7/07, *Carlos G Mendioroz* <tr...@hu... > <mailto:tr...@hu...>> wrote: > > May be someone else has a better way. > But depending on the kind (i.e. signaling protocol) of your extensions > you can do a "sip show registry" via commandAction, and parse the output > you get with managerConnection.sendAction(). > > -Carlos > > > Lambros.L @ 07/12/2007 05:36 -0300 dixit: > > Hi, > > I've been going through the documentation of the classes > > but was not able to find a way to get the IP address of > > an extension that is currently logged in on asterisk. > > > > Is it possible ? Pointers to some relevant documentation > > would be highly useful. > > > > Regards, > > Lambros > > > > > > > ------------------------------------------------------------------------ > > > > > ------------------------------------------------------------------------- > > > SF.Net email is sponsored by: > > Check out the new SourceForge.net Marketplace. > > It's the best place to buy or sell services for > > just about anything Open Source. > > http://sourceforge.net/services/buy/index.php > > > > > > > ------------------------------------------------------------------------ > > > > _______________________________________________ > > Asterisk-java-users mailing list > > Ast...@li... > <mailto:Ast...@li...> > > https://lists.sourceforge.net/lists/listinfo/asterisk-java-users > <https://lists.sourceforge.net/lists/listinfo/asterisk-java-users> > > -- > Carlos G Mendioroz <tr...@hu... > <mailto:tr...@hu...>> LW7 EQI Argentina > > ------------------------------------------------------------------------- > SF.Net email is sponsored by: > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source. > http://sourceforge.net/services/buy/index.php > <http://sourceforge.net/services/buy/index.php> > _______________________________________________ > Asterisk-java-users mailing list > Ast...@li... > <mailto:Ast...@li...> > https://lists.sourceforge.net/lists/listinfo/asterisk-java-users > > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > SF.Net email is sponsored by: > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source. > http://sourceforge.net/services/buy/index.php > > > ------------------------------------------------------------------------ > > _______________________________________________ > Asterisk-java-users mailing list > Ast...@li... > https://lists.sourceforge.net/lists/listinfo/asterisk-java-users -- Carlos G Mendioroz <tr...@hu...> LW7 EQI Argentina |