asterisk-java-users Mailing List for Asterisk-Java Library (Page 123)
Brought to you by:
srt
You can subscribe to this list here.
2005 |
Jan
|
Feb
(8) |
Mar
(33) |
Apr
(36) |
May
(19) |
Jun
(21) |
Jul
(53) |
Aug
(30) |
Sep
(36) |
Oct
(34) |
Nov
(43) |
Dec
(72) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2006 |
Jan
(123) |
Feb
(75) |
Mar
(86) |
Apr
(46) |
May
(41) |
Jun
(29) |
Jul
(76) |
Aug
(38) |
Sep
(39) |
Oct
(68) |
Nov
(16) |
Dec
(17) |
2007 |
Jan
(34) |
Feb
(18) |
Mar
(39) |
Apr
(30) |
May
(20) |
Jun
(10) |
Jul
(59) |
Aug
(54) |
Sep
(60) |
Oct
(22) |
Nov
(14) |
Dec
(10) |
2008 |
Jan
(34) |
Feb
(67) |
Mar
(65) |
Apr
(67) |
May
(60) |
Jun
(51) |
Jul
(88) |
Aug
(75) |
Sep
(47) |
Oct
(143) |
Nov
(54) |
Dec
(42) |
2009 |
Jan
(46) |
Feb
(80) |
Mar
(162) |
Apr
(159) |
May
(200) |
Jun
(34) |
Jul
(46) |
Aug
(59) |
Sep
(5) |
Oct
(35) |
Nov
(73) |
Dec
(30) |
2010 |
Jan
(23) |
Feb
(50) |
Mar
(8) |
Apr
(24) |
May
(19) |
Jun
(49) |
Jul
(56) |
Aug
(35) |
Sep
(26) |
Oct
(79) |
Nov
(39) |
Dec
(34) |
2011 |
Jan
(27) |
Feb
(22) |
Mar
(28) |
Apr
(12) |
May
(16) |
Jun
(19) |
Jul
(1) |
Aug
(64) |
Sep
(19) |
Oct
(11) |
Nov
(17) |
Dec
(12) |
2012 |
Jan
(6) |
Feb
(8) |
Mar
(15) |
Apr
(43) |
May
(41) |
Jun
(14) |
Jul
(32) |
Aug
(3) |
Sep
(4) |
Oct
(7) |
Nov
(11) |
Dec
(11) |
2013 |
Jan
(35) |
Feb
(11) |
Mar
(23) |
Apr
(25) |
May
(37) |
Jun
(47) |
Jul
(25) |
Aug
(21) |
Sep
|
Oct
(1) |
Nov
(9) |
Dec
|
2014 |
Jan
(26) |
Feb
(2) |
Mar
(18) |
Apr
(41) |
May
(7) |
Jun
(7) |
Jul
(24) |
Aug
(5) |
Sep
(6) |
Oct
(8) |
Nov
(9) |
Dec
(7) |
2015 |
Jan
(7) |
Feb
(15) |
Mar
(8) |
Apr
(12) |
May
(7) |
Jun
|
Jul
|
Aug
(5) |
Sep
(1) |
Oct
(3) |
Nov
(30) |
Dec
(3) |
2016 |
Jan
(1) |
Feb
|
Mar
(2) |
Apr
|
May
(9) |
Jun
|
Jul
|
Aug
(3) |
Sep
|
Oct
|
Nov
|
Dec
|
2017 |
Jan
|
Feb
|
Mar
(3) |
Apr
|
May
|
Jun
|
Jul
|
Aug
(1) |
Sep
(2) |
Oct
|
Nov
|
Dec
|
2018 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(8) |
Dec
(4) |
2019 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(1) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(1) |
Dec
|
2020 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(2) |
Jul
(1) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Martin S. <ma...@be...> - 2008-01-23 16:19:36
|
Does your Hello class extend the Base class or implement the correct interface? =20 The example has: "public class HelloAgiScript extends BaseAgiScript" =20 Does yours? If yes, can we see it? Also, how do you run the Manager script? Your error: "Error: SEVERE: Unable to create AgiScript instance of type HelloManager: Class does not implement the AgiScript interface" Like the tutorial says, you should be using a command line for the Agi script like: $ java -cp asterisk-java.jar:. org.asteriskjava.fastagi.DefaultAgiServer AND for the Manager one, with a main method of your own design. Please give us more information. =20 Martin Smith, Systems Developer ma...@be... Bureau of Economic and Business Research University of Florida (352) 392-0171 Ext. 221=20 =20 ________________________________ From: ast...@li... [mailto:ast...@li...] On Behalf Of Gopal krishnan Sent: Wednesday, January 23, 2008 7:41 AM To: ast...@li... Subject: [Asterisk-java-users] classpath not found error =09 =09 Hi, =09 I am using asteriskjava 0.3.1, when I tried the HelloAgi example in the url http://asterisk-java.org/development/tutorial.html it was working fine, in the same page Manager API programs are there, HelloManager, HelloEvents, I tried both of them, but i am getting the following error in fastagi console,=20 =09 Error: SEVERE: Unable to create AgiScript instance of type HelloManager: Class does not implement the AgiScript interface Jan 23, 2008 4:13:24 PM org.asteriskjava.fastagi.AbstractMappingStrategy createA giScriptInstance=20 SEVERE: Unable to create AgiScript instance of type hello.agi: Class not found, make sure the class exists and is available on the CLASSPATH Jan 23, 2008 4:13:24 PM org.asteriskjava.fastagi.internal.AgiConnectionHandler r un SEVERE: No script configured for URL 'agi://localhost/hello.agi?user=3D5101' (scri pt 'hello.agi') =09 Can you please help me on this. =09 --=20 Thank you with regards, Gopal,=20 PeopleTech Systems Private Limited www.peopletech.co.in=20 |
From: <dwi...@aa...> - 2008-01-23 13:38:55
|
<html><body>Hello Gopal.<br><br>I just run my HelloAgiScript in the directory with the asterisk-java-0.3.1.jar<br><br>/usr/bin/java -cp asterisk-java-0.3.1.jar:. org.asteriskjava.fastagi.DefaultAgiServer<br><br>And make sure you have the fastagi-mapping.properties file in the same directory as well,<br>And it should look like this.<br><br>hello.agi = HelloAgiScript<br><br>Hope this helps.<br><br>Best Regards,<br>Danny Williams JR<br>Act As One Technologies<br><br> <blockquote webmail="1" style="border-left: 2px solid blue; margin-left: 8px; padding-left: 8px;"> -------- Original Message --------<br> Subject: [Asterisk-java-users] classpath not found error<br> From: "Gopal krishnan" <gop...@pe...><br> Date: Wed, January 23, 2008 5:40 am<br> To: ast...@li...<br> <br> Hi,<br><br> I am using asteriskjava 0.3.1, when I tried the HelloAgi example in the url <a href="http://asterisk-java.org/development/tutorial.html" target="_blank">http://asterisk-java.org/development/tutorial.html</a> it was working fine, in the same page Manager API programs are there, HelloManager, HelloEvents, I tried both of them, but i am getting the following error in fastagi console, <br><br>Error:<br>SEVERE: Unable to create AgiScript instance of type HelloManager: Class<br>does not implement the AgiScript interface<br>Jan 23, 2008 4:13:24 PM org.asteriskjava.fastagi.AbstractMappingStrategy<br>createA giScriptInstance <br>SEVERE: Unable to create AgiScript instance of type hello.agi: Class not<br>found, make sure the class exists and is available on the CLASSPATH<br>Jan 23, 2008 4:13:24 PM<br>org.asteriskjava.fastagi.internal.AgiConnectionHandler r un<br>SEVERE: No script configured for URL 'agi://localhost/hello.agi?user=5101'<br>(scri pt 'hello.agi')<br><br>Can you please help me on this.<br clear="all"><br>-- <br>Thank you with regards,<br>Gopal, <br>PeopleTech Systems Private Limited<br><a href="http://www.peopletech.co.in" target="_blank">www.peopletech.co.in </a> <hr>-------------------------------------------------------------------------<br> This SF.net email is sponsored by: Microsoft<br> Defy all challenges. Microsoft(R) Visual Studio 2008.<br> <a href="http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/" target="_blank">http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/</a><hr>_______________________________________________<br> Asterisk-java-users mailing list<br> <a href="http://email.secureserver.net/pcompose.php#Compose" onclick="Popup.composeWindow('pcompose.php?sendto=Asterisk-java-users%40lists.sourceforge.net'); return false;">Asterisk-java-users<b></b>@lists.sourceforge.net</a><br> <a href="https://lists.sourceforge.net/lists/listinfo/asterisk-java-users" target="_blank">https://lists.sourceforge.net/lists/listinfo/asterisk-java-users</a><br> </blockquote></body></html> |
From: Gopal k. <gop...@pe...> - 2008-01-23 12:40:38
|
Hi, I am using asteriskjava 0.3.1, when I tried the HelloAgi example in the url http://asterisk-java.org/development/tutorial.html it was working fine, in the same page Manager API programs are there, HelloManager, HelloEvents, I tried both of them, but i am getting the following error in fastagi console, Error: SEVERE: Unable to create AgiScript instance of type HelloManager: Class does not implement the AgiScript interface Jan 23, 2008 4:13:24 PM org.asteriskjava.fastagi.AbstractMappingStrategy createA giScriptInstance SEVERE: Unable to create AgiScript instance of type hello.agi: Class not found, make sure the class exists and is available on the CLASSPATH Jan 23, 2008 4:13:24 PM org.asteriskjava.fastagi.internal.AgiConnectionHandler r un SEVERE: No script configured for URL 'agi://localhost/hello.agi?user=5101' (scri pt 'hello.agi') Can you please help me on this. -- Thank you with regards, Gopal, PeopleTech Systems Private Limited www.peopletech.co.in |
From: Mark H. R. <mar...@gm...> - 2008-01-22 01:04:47
|
Hello Everyone, I am using Manager API and I just wanna ask if it is possible to originate call on two extensions then connect them to a meet me room? Or Do I need to redirect the calls to meetme room immediately after I originate 2 calls? Mark Rivera |
From: Martin S. <ma...@be...> - 2008-01-18 22:40:39
|
Hello, You'll find samples at http://asterisk-java.org/development/tutorial.html. If you think a simple sample of some functionality is missing, and that it should be added, we'd welcome your samples or suggestions. Martin Smith, Systems Developer ma...@be... Bureau of Economic and Business Research University of Florida (352) 392-0171 Ext. 221=20 =20 > -----Original Message----- > From: ast...@li...=20 > [mailto:ast...@li...] On=20 > Behalf Of LWATCDR > Sent: Friday, January 18, 2008 4:35 PM > To: ast...@li... > Subject: [Asterisk-java-users] Sample Code. >=20 > Anybody have any sample code for dailing a phone from a java=20 > application? > I want to add an Autodial feature to an existing program. > I didn't see any example code and just a jar for download. >=20 > -------------------------------------------------------------- > ----------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Asterisk-java-users mailing list > Ast...@li... > https://lists.sourceforge.net/lists/listinfo/asterisk-java-users >=20 |
From: LWATCDR <lw...@gm...> - 2008-01-18 22:24:33
|
Okay I did see that. But I was looking for an example of making a call from an application. Those examples will be very handy to be sure but I didn't see one where it made a call. On Jan 18, 2008 5:09 PM, Stefan Reuter <ste...@re...> wrote: > > Anybody have any sample code for dailing a phone from a java application? > > I want to add an Autodial feature to an existing program. > > http://asterisk-java.org/development/tutorial.html > the sections about the Manager API and the Life API > > > I didn't see any example code and just a jar for download. > > where did you look? on asterisk-java.org? > > =Stefan > > -- > reuter network consulting > Neusser Str. 110 > 50760 Koeln > Germany > Telefon: +49 221 1305699-0 > Telefax: +49 221 1305699-90 > E-Mail: ste...@re... > Jabber: ste...@re... > WWW: http://www.reucon.com > > Steuernummern 215/5140/1791 USt-IdNr. DE220701760 > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Asterisk-java-users mailing list > Ast...@li... > https://lists.sourceforge.net/lists/listinfo/asterisk-java-users > > |
From: LWATCDR <lw...@gm...> - 2008-01-18 22:14:00
|
Thanks I used google and couldn't find any . I will take a look. On Jan 18, 2008 5:09 PM, Stefan Reuter <ste...@re...> wrote: > > Anybody have any sample code for dailing a phone from a java application? > > I want to add an Autodial feature to an existing program. > > http://asterisk-java.org/development/tutorial.html > the sections about the Manager API and the Life API > > > I didn't see any example code and just a jar for download. > > where did you look? on asterisk-java.org? > > =Stefan > > -- > reuter network consulting > Neusser Str. 110 > 50760 Koeln > Germany > Telefon: +49 221 1305699-0 > Telefax: +49 221 1305699-90 > E-Mail: ste...@re... > Jabber: ste...@re... > WWW: http://www.reucon.com > > Steuernummern 215/5140/1791 USt-IdNr. DE220701760 > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Asterisk-java-users mailing list > Ast...@li... > https://lists.sourceforge.net/lists/listinfo/asterisk-java-users > > |
From: Stefan R. <ste...@re...> - 2008-01-18 22:10:05
|
> Anybody have any sample code for dailing a phone from a java applicatio= n? > I want to add an Autodial feature to an existing program. http://asterisk-java.org/development/tutorial.html the sections about the Manager API and the Life API > I didn't see any example code and just a jar for download. where did you look? on asterisk-java.org? =3DStefan --=20 reuter network consulting Neusser Str. 110 50760 Koeln Germany Telefon: +49 221 1305699-0 Telefax: +49 221 1305699-90 E-Mail: ste...@re... Jabber: ste...@re... WWW: http://www.reucon.com Steuernummern 215/5140/1791 USt-IdNr. DE220701760 |
From: LWATCDR <lw...@gm...> - 2008-01-18 21:34:55
|
Anybody have any sample code for dailing a phone from a java application? I want to add an Autodial feature to an existing program. I didn't see any example code and just a jar for download. |
From: Stefan R. <ste...@re...> - 2008-01-18 12:07:01
|
Gopal krishnan wrote: > But i need to use like this, >=20 > exten =3D> _XXXXXXXXXX,1,Agi(agi://localhost/hello.ag) You can get the dialed number from AgiRequest's getExtension method: http://asterisk-java.org/development/apidocs/org/asteriskjava/fastagi/Agi= Request.html#getExtension() =3DStefan --=20 reuter network consulting Neusser Str. 110 50760 Koeln Germany Telefon: +49 221 1305699-0 Telefax: +49 221 1305699-90 E-Mail: ste...@re... Jabber: ste...@re... Steuernummern 215/5140/1791 USt-IdNr. DE220701760 |
From: Gopal k. <gop...@pe...> - 2008-01-18 11:03:16
|
Hi, The asterisk-java project is excellent to use with asterisk and with customized java code. We are developing a application for DNC scrubbing, where the procedure as follows, 1. dial a outbound number 2. the outbound number is captured by the fastagi 3. the captured number is matched with database, if the number is available a message will play saying that the number is DNC and the call will hangup 4. If the number is not in the database the call will be established And we have done this thru fastagi but the problem is we are using getdata function, but in getdata we need to initiate the agi first then only we are able to check the outgoing number. like, exten => 1300,1,Agi(agi://localhost/hello.agi) for each call we need to dial 1300 first and then only we can able to dial the outgoing number becuase we are using getdata function. But i need to use like this, exten => _XXXXXXXXXX,1,Agi(agi://localhost/hello.ag) Is there a function that the dialing number has to be captured directly to the fastagi. so that instead of dialing a static number at every time the dynamic outbound number dialed will be captured in our java program, then we can able to match with the database. no need of static number. Please let us know the possibilities if any. -- Thank you with regards, Gopal, PeopleTech Systems Private Limited www.peopletech.co.in |
From: <gm...@ea...> - 2008-01-16 07:47:32
|
Hi Just sent. Patrick has reviewed it and is waiting for me to do some corrections before it goes into svn, that's my fault :( Gaetan On 15/01/2008, at 18:44, Rajkumar S wrote: > Hi Gaetan, > > I was looking in the archives for queues in live api and saw your > patches. Can you send those to me off list? The archives does not have > the attachment. > > raj > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Asterisk-java-users mailing list > Ast...@li... > https://lists.sourceforge.net/lists/listinfo/asterisk-java-users |
From: Stefan R. <ste...@re...> - 2008-01-15 23:24:25
|
Rajkumar S wrote: > JIRA is down for couple of hours now. Thanks, should be fixed now. =3DStefan --=20 reuter network consulting Neusser Str. 110 50760 Koeln Germany Telefon: +49 221 1305699-0 Telefax: +49 221 1305699-90 E-Mail: ste...@re... Jabber: ste...@re... Steuernummern 215/5140/1791 USt-IdNr. DE220701760 |
From: Rajkumar S <raj...@gm...> - 2008-01-15 17:44:44
|
Hi Gaetan, I was looking in the archives for queues in live api and saw your patches. Can you send those to me off list? The archives does not have the attachment. raj |
From: Rajkumar S <raj...@gm...> - 2008-01-15 17:41:06
|
Hi, JIRA is down for couple of hours now. raj |
From: Stefan R. <ste...@re...> - 2007-12-22 22:59:09
|
Hi Matias, > How do I do a custom action like vgsm_send_tx ? Can I do it my self? > May I help? > Can you point me the right direction? yes all you have to do is to subclass the ManagerAction and send it through ManagerConnection's sendAction method. =3DStefan --=20 reuter network consulting Neusser Str. 110 50760 Koeln Germany Telefon: +49 221 1305699-0 Telefax: +49 221 1305699-90 E-Mail: ste...@re... Jabber: ste...@re... Steuernummern 215/5140/1791 USt-IdNr. DE220701760 |
From: MaTias B. <mr...@li...> - 2007-12-22 22:38:29
|
Hi List!. First- Merry xmas for all of u. How do I do a custom action like vgsm_send_tx ? Can I do it my self? May I help? Can you point me the right direction? Thanks! Matias Barletta |
From: Lambros.L <lam...@gm...> - 2007-12-11 22:51:20
|
Dear Carlos, Thanks for your help. In the end i went for a solution along the lines that you suggested as i could not think of a neater way. It seems like a nasty hack but it will do the job.... Thanks. On 12/7/07, Carlos G Mendioroz <tr...@hu...> wrote: > > 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 > > ------------------------------------------------------------------------- > 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 > |
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 |
From: Lambros.L <lam...@gm...> - 2007-12-07 09:32:22
|
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...> 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... > > https://lists.sourceforge.net/lists/listinfo/asterisk-java-users > > -- > Carlos G Mendioroz <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 > _______________________________________________ > Asterisk-java-users mailing list > Ast...@li... > https://lists.sourceforge.net/lists/listinfo/asterisk-java-users > |
From: Carlos G M. <tr...@hu...> - 2007-12-07 09:26:54
|
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... > https://lists.sourceforge.net/lists/listinfo/asterisk-java-users -- Carlos G Mendioroz <tr...@hu...> LW7 EQI Argentina |
From: Lambros.L <lam...@gm...> - 2007-12-07 08:36:16
|
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 |
From: <gm...@ea...> - 2007-12-05 12:16:47
|
Hi Patrick Have you had some spare time to look to this patch ? Kind regards, Gaetan On 03/11/2007, at 00:23, Ga=EBtan Minet wrote: > Hi Patrick > > It's ok for me; > > Kind regards, > Gaetan > > On 02-nov.-07, at 14:21, Breucking Patrick wrote: > >> Hi >> >> sorry, but I am currently involved in another project for next two >> weeks. I will check your patch than- Is this OK for you? >> >> Best regards, >> Patrick >> >> Am 30.10.2007 um 23:14 schrieb Stefan Reuter: >> >>> Sorry, not yet. >>> Patrick is currently working on the Queues in the live API. >>> >>> Patrick, can you have a look at Gaetan's patch? >>> >>> =3DStefan >>> >>> Ga=EBtan Minet wrote: >>>> Hi Stefan >>>> >>>> Have you had some time to look into this ? Does it seem of >>>> general interest for the library ? >>>> >>>> Regards, >>>> Gaetan >>>> >>>> Begin forwarded message: >>>> >>>>> *From: *Ga=EBtan Minet <gm...@ea... =20 >>>>> <mailto:gm...@ea...>> >>>>> *Date: *22 octobre 2007 18:35:35 GMT+02:00 >>>>> *To: *ast...@li... >>>>> <mailto:ast...@li...> >>>>> *Subject: **[Asterisk-java-users] Queues in live api* >>>>> *Reply-To: *ast...@li... >>>>> <mailto:ast...@li...> >>>>> >>>>> Hi Stefan >>>>> >>>>> Here is another bit of code I use for some time now and that maybe >>>>> you >>>>> might consider including ? >>>>> It provides a more complete queue implementation in the live api, >>>>> with >>>>> listeners interfaces on server, queues, queue entries and channels >>>>> property changes. It is somehow similar to your MeetMeRoom >>>>> implementation. >>>>> >>>>> I just merged it against head (... for the third time... I wish I >>>>> had >>>>> sent this earlier) and performed some tests to confirm it's still >>>>> working. >>>>> Anyway, I hope I have not broken anything else during the merge >>>>> (QueueMembers and recently timers have arrived in the interim, but >>>>> most of the work was only due to a heavy coding style change ?) >>>>> >>>>> The patch is not too intrusive I think. For old code, the only >>>>> modification should be that the queue entries are now wrapped in a >>>>> QueueEntry object. >>>>> >>>>> >>>>> Kind regards >>>>> >>>>> Gaetan >>>> >>>> >>>> = ------------------------------------------------------------------------ >>>> >>>> = ------------------------------------------------------------------------- >>>> This SF.net email is sponsored by: Splunk Inc. >>>> Still grepping through log files to find problems? Stop. >>>> Now Search log events and configuration files using AJAX and a >>>> browser. >>>> Download your FREE copy of Splunk now >> http://get.splunk.com/ >>>> >>>> >>>> = ------------------------------------------------------------------------ >>>> >>>> _______________________________________________ >>>> Asterisk-java-users mailing list >>>> Ast...@li... >>>> https://lists.sourceforge.net/lists/listinfo/asterisk-java-users >>> >>> >>> -- reuter network consulting >>> Neusser Str. 110 >>> 50760 Koeln >>> Germany >>> Telefon: +49 221 1305699-0 >>> Telefax: +49 221 1305699-90 >>> E-Mail: ste...@re... >>> Jabber: ste...@re... >>> >>> Steuernummern 215/5140/1791 USt-IdNr. DE220701760 >>> >>> = ------------------------------------------------------------------------- >>> This SF.net email is sponsored by: Splunk Inc. >>> Still grepping through log files to find problems? Stop. >>> Now Search log events and configuration files using AJAX and a >>> browser. >>> Download your FREE copy of Splunk now >> = http://get.splunk.com/_______________________________________________ >>> Asterisk-java-users mailing list >>> Ast...@li... >>> https://lists.sourceforge.net/lists/listinfo/asterisk-java-users >> >> >> >> = ------------------------------------------------------------------------- >> This SF.net email is sponsored by: Splunk Inc. >> Still grepping through log files to find problems? Stop. >> Now Search log events and configuration files using AJAX and a >> browser. >> Download your FREE copy of Splunk now >> http://get.splunk.com/ >> _______________________________________________ >> Asterisk-java-users mailing list >> Ast...@li... >> https://lists.sourceforge.net/lists/listinfo/asterisk-java-users > > > = ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a =20 > browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > Asterisk-java-users mailing list > Ast...@li... > https://lists.sourceforge.net/lists/listinfo/asterisk-java-users |
From: Martin S. <ma...@be...> - 2007-12-03 14:23:19
|
Hello Guillermo, =20 DIALSTATUS is a channel variable that is ONLY set by the Dial() command. I can't speak to why it isn't in an originate failure response, but those OriginateSuccess and OriginalFailure appear to be deprecated in the trunk (I didn't check stable, but I'd imagine it might be good to not use them). =20 Also, the javadocs for AJ suggest the response String should be "success" or "failure", not "1". That's suspicious. =20 Have you tried just checking the channel variable with something like org.asteriskjava.manager.action.GetVarAction? =20 The only catch is that if the channel is hung up and destroyed before you get a chance to use the GetVarAction, you won't be able to find out the variables on it. Unfortunately, the Dial event also doesn't have DIALSTATUS in it (at least according to the docs for 1.4). Martin Smith, Systems Developer ma...@be... Bureau of Economic and Business Research University of Florida (352) 392-0171 Ext. 221=20 =20 ________________________________ From: ast...@li... [mailto:ast...@li...] On Behalf Of guillermo correa.paredes Sent: Saturday, December 01, 2007 3:14 PM To: ast...@li... Subject: [Asterisk-java-users] Hello =09 =09 Hi all: =09 Java asterisk is a Great library , I like a lot. =09 How I can get the DialStatus when I tried a originateAction with the library? Not a function OriginateFailureEvent.getReason() =09 =09 + OriginateFailure +=20 + OriginateFailureEvent.getUniqueId() :<null> + OriginateFailureEvent.getChannel() :ZAP/g1/0xxxxxxxxxx + OriginateFailureEvent.getContext() :incalls + OriginateFailureEvent.getUniqueId() :<null>=20 + OriginateFailureEvent.getReason() :1 <=3D=3D=3D=3D NOT=20 + OriginateFailureEvent.getExten() :1753 =09 =09 =09 =09 I want get a Dial status like this (CHANUNAVAIL), when I call in a phone SIP a get this data:=20 =09 Executing Macro("SIP/1702-09571320", "dial-result|/0xxxxxxxxxx") in new stack -- Executing NoOp("SIP/1702-09571320", "HANGUPCAUSE is 1 and DIALSTATUS is CHANUNAVAIL") in new stack <=3D I wanna this = DialStatus in java-asterisk API=20 -- Executing GotoIf("SIP/1702-09571320", "0?s|4") in new stack -- Executing Goto("SIP/1702-09571320", "cause-1|1") in new stack -- Goto (macro-dial-result,cause-1,1)=20 -- Executing NoOp("SIP/1702-09571320", "AST_CAUSE_NORMAL") in new stack -- Executing Set("SIP/1702-09571320", "LANGUAGE()=3Des") in new stack -- Executing Playback("SIP/1702-09571320", "discon-or-out-of-service") in new stack=20 =20 =09 If you see this CLI, I get the DialStatus CHANUNAVAIL but when a try a call with the managerConnection.sendAction( originateAction,30000); =09 ONLY get the OriginateFailureEvent.getReason() :1 not the DialStatus=20 =09 In a few words I wanna knowledge the DialStatus in a OriginateFailureEvent : circuits-busy, discon-or-out-of-service .... =09 =09 =09 Thanks and best regards. =09 =09 =09 =09 =09 |
From: guillermo correa.p. <vad...@gm...> - 2007-12-01 20:13:55
|
Hi all: Java asterisk is a Great library , I like a lot. How I can get the DialStatus when I tried a originateAction with the library? Not a function OriginateFailureEvent.getReason() + OriginateFailure + + OriginateFailureEvent.getUniqueId() :<null> + OriginateFailureEvent.getChannel() :ZAP/g1/0xxxxxxxxxx + OriginateFailureEvent.getContext() :incalls + OriginateFailureEvent.getUniqueId() :<null> + OriginateFailureEvent.getReason() :1 <==== NOT + OriginateFailureEvent.getExten() :1753 I want get a Dial status like this (CHANUNAVAIL), when I call in a phone SIP a get this data: Executing Macro("SIP/1702-09571320", "dial-result|/0xxxxxxxxxx") in new stack -- Executing NoOp("SIP/1702-09571320", "HANGUPCAUSE is 1 and DIALSTATUS is CHANUNAVAIL") in new stack <= I wanna this DialStatus in java-asterisk API -- Executing GotoIf("SIP/1702-09571320", "0?s|4") in new stack -- Executing Goto("SIP/1702-09571320", "cause-1|1") in new stack -- Goto (macro-dial-result,cause-1,1) -- Executing NoOp("SIP/1702-09571320", "AST_CAUSE_NORMAL") in new stack -- Executing Set("SIP/1702-09571320", "LANGUAGE()=es") in new stack -- Executing Playback("SIP/1702-09571320", "discon-or-out-of-service") in new stack If you see this CLI, I get the DialStatus CHANUNAVAIL but when a try a call with the managerConnection.sendAction( originateAction,30000); ONLY get the OriginateFailureEvent.getReason() :1 not the DialStatus In a few words I wanna knowledge the DialStatus in a OriginateFailureEvent : circuits-busy, discon-or-out-of-service .... Thanks and best regards. |