Re: [Asterisk-Users] Iax Client Library Issues? (DIAX, iaxComm, etc.)

2003-12-04 Thread Dan
Hi,

- Original Message - 
From: Grzegorz Nosek [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, December 04, 2003 12:52 AM
Subject: Re: [Asterisk-Users] Iax Client Library Issues? (DIAX, iaxComm,
etc.)


 On Wed, 3 Dec 2003 20:45:21 +0200, Dan wrote
  Hi,
 
  - Original Message -
  From: Grzegorz Nosek [EMAIL PROTECTED]
  To: [EMAIL PROTECTED]
  Sent: Wednesday, December 03, 2003 5:08 PM
  Subject: Re: [Asterisk-Users] Iax Client Library Issues?
  (DIAX, iaxComm, etc.)
 
   On Tue, 2 Dec 2003 21:11:31 -0500 (EST), firedude wrote
The new versions of iaxcomm and DIAX are both now using the
iax2 protocol. So in order to receive incoming calls on
either of them in your extensions.conf file change
IAX/clientname to IAX2clientname.  Then you should be able
to receive incoming calls on either iaxcomm or DIAX.  Also
there is a mailing list for the iaxclient library.  It's
[EMAIL PROTECTED]  Hope this helps. AJ
   
  
   or:
  
   exten=1500,1,Dial(IAX/clientIAX2/client,30)
  
 
  This is the best option in the mean time, till the IAX2
  library bug will be solved. DIAX can use both IAX and IAX2,
   so please check if with IAX this is not an issue and send
  me your feedback.
 
  Thank you and best regards,
  Dan
 

 is this the bug that you mean? filed it today, patch included, works
 for me (tm). even if it isn't, take a look, it was a big showstopper
 for me as it essentially blocked any iax2 - iax2 call if any client
 used libiax2 (asterisk itself doesn't).

 http://bugs.digium.com/bug_view_page.php?bug_id=621


Great!!!
I never suspected a problem in the * but in the libiax2 library
Let's wait for a feedback from the iaxclient library users (DIAX, Iaxcomm,
etc)

Best regards,
Dan


___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] Iax Client Library Issues? (DIAX, iaxComm, etc.)

2003-12-04 Thread Peter Zeltins
 I seem to be having problems with IAX clients based on the iaxClient
 library.  I have been working on my own client (an augmentation to the
 Call Manager I released last week) and it seems to regularly miss
 incoming calls entirely.  It also occasionally misses the drop signal

Same here. Generally an incoming call would go thru immediately after
registration, but not always. Some 5min or more after registration, and
incoming calls almost never show up. SIP client (Xten) is ringing just fine
(on the same computer at the same time - I'm setup on both IAX and SIP), so
it's not NAT/firewall issue.

Oh yes, and I'm almost always behind NAT (the client side, that is).

Peter

___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] Iax Client Library Issues? (DIAX, iaxComm, etc.)

2003-12-03 Thread Grzegorz Nosek
On Tue, 2 Dec 2003 21:11:31 -0500 (EST), firedude wrote
 The new versions of iaxcomm and DIAX are both now using the 
 iax2 protocol. So in order to receive incoming calls on 
 either of them in your extensions.conf file change 
 IAX/clientname to IAX2clientname.  Then you should be able 
 to receive incoming calls on either iaxcomm or DIAX.  Also 
 there is a mailing list for the iaxclient library.  It's 
 [EMAIL PROTECTED]  Hope this helps. AJ
 

or:

exten=1500,1,Dial(IAX/clientIAX2/client,30)

my 0.02pln
 grzegorz nosek

___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] Iax Client Library Issues? (DIAX, iaxComm, etc.)

2003-12-03 Thread Alastair Maw
On 03/12/03 16:43, Steven Sokol wrote:

Thanks, but I already have the clients configured as IAX2 rather than
IAX.  The failure is not universal (not ALL calls are missed).  Rather
the client seems to go to sleep for some reason -- almost always after
handling a call.
I have been monitoring the process from both the Asterisk CLI (with IAX2
debug and IAX debug turned on), from Gastman (monitoring call activity),
and from a packet sniffer (unfortunately not Ethereal with the new
plugin).
Trust me on this one - you *really* want to take the time to install 
Etheral with the plugin. It makes debugging problems like this much 
easier - you'll be able to see whether the client sees the packet, 
whether it sends a response, if there's version skew causing INVALID 
packets to be sent for certain challenge/responses, etc.

I'd only stick trace code in the iax-client library when you've sniffed 
what's going on so you know where to add it. :)

I can, I suppose, add some trace code to the iaxClient library, but I
don't really know where to go in the code to get it to trace/log.  I
would like to place it as low as possible -- in the listener function,
then perhaps in the parser.
If anybody knows how to do this, please let me know.  My C coding skills
are fairly rusty.  Just point out the proper file and function(s) and I
will be on my way.
iaxclient/lib/libiax2/src/iax.c is probably where you'd want to look. 
Which functions depends on what's happening. iax_do_event() might be 
relevant for outbound packets, for example. You'll have to delve.

Alastair

___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] Iax Client Library Issues? (DIAX, iaxComm, etc.)

2003-12-03 Thread Dan
Hi,

- Original Message - 
From: Grzegorz Nosek [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, December 03, 2003 5:08 PM
Subject: Re: [Asterisk-Users] Iax Client Library Issues? (DIAX, iaxComm,
etc.)


 On Tue, 2 Dec 2003 21:11:31 -0500 (EST), firedude wrote
  The new versions of iaxcomm and DIAX are both now using the
  iax2 protocol. So in order to receive incoming calls on
  either of them in your extensions.conf file change
  IAX/clientname to IAX2clientname.  Then you should be able
  to receive incoming calls on either iaxcomm or DIAX.  Also
  there is a mailing list for the iaxclient library.  It's
  [EMAIL PROTECTED]  Hope this helps. AJ
 

 or:

 exten=1500,1,Dial(IAX/clientIAX2/client,30)


This is the best option in the mean time, till the IAX2 library bug will be
solved.
DIAX can use both IAX and IAX2, so please check if with IAX this is not an
issue and send me your feedback.

Thank you and best regards,
Dan

___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] Iax Client Library Issues? (DIAX, iaxComm, etc.)

2003-12-03 Thread Grzegorz Nosek
On Wed, 3 Dec 2003 20:45:21 +0200, Dan wrote
 Hi,
 
 - Original Message -
 From: Grzegorz Nosek [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Wednesday, December 03, 2003 5:08 PM
 Subject: Re: [Asterisk-Users] Iax Client Library Issues? 
 (DIAX, iaxComm, etc.)
 
  On Tue, 2 Dec 2003 21:11:31 -0500 (EST), firedude wrote
   The new versions of iaxcomm and DIAX are both now using the
   iax2 protocol. So in order to receive incoming calls on
   either of them in your extensions.conf file change
   IAX/clientname to IAX2clientname.  Then you should be able
   to receive incoming calls on either iaxcomm or DIAX.  Also
   there is a mailing list for the iaxclient library.  It's
   [EMAIL PROTECTED]  Hope this helps. AJ
  
 
  or:
 
  exten=1500,1,Dial(IAX/clientIAX2/client,30)
 
 
 This is the best option in the mean time, till the IAX2 
 library bug will be solved. DIAX can use both IAX and IAX2,
  so please check if with IAX this is not an issue and send 
 me your feedback.
 
 Thank you and best regards,
 Dan
 

is this the bug that you mean? filed it today, patch included, works
for me (tm). even if it isn't, take a look, it was a big showstopper
for me as it essentially blocked any iax2 - iax2 call if any client
used libiax2 (asterisk itself doesn't).

http://bugs.digium.com/bug_view_page.php?bug_id=621

regards,
 greg

___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users


[Asterisk-Users] Iax Client Library Issues? (DIAX, iaxComm, etc.)

2003-12-02 Thread Steven Sokol
Hi,

I seem to be having problems with IAX clients based on the iaxClient
library.  I have been working on my own client (an augmentation to the
Call Manager I released last week) and it seems to regularly miss
incoming calls entirely.  It also occasionally misses the drop signal
when the remote end drops a call.

Has anybody else seen this kind of behavior?  I have tested with my
client, with DIAX and with iaxComm and all three act the same way.  I
would really like to know if it has something to do with my asterisk
setup, or if it is specific to the client library I am using.

I can watch calls on Gastman and see Asterisk trying to establish the
call (the IAX phone appears) but the actual client never receives a
ringing state event.

Any pointers would be greatly appreciated.

Thanks,

Steve Sokol


___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] Iax Client Library Issues? (DIAX, iaxComm, etc.)

2003-12-02 Thread Michael Van Donselaar
On Tue, 2 Dec 2003 12:14:24 -0600, Steven Sokol [EMAIL PROTECTED]
wrote:

Hi,

I seem to be having problems with IAX clients based on the iaxClient
library.  I have been working on my own client (an augmentation to the
Call Manager I released last week) and it seems to regularly miss
incoming calls entirely.  It also occasionally misses the drop signal
when the remote end drops a call.

Has anybody else seen this kind of behavior?  I have tested with my
client, with DIAX and with iaxComm and all three act the same way.  I
would really like to know if it has something to do with my asterisk
setup, or if it is specific to the client library I am using.

I am seeing the same behaviour ocassionally, but had attributed it to something
wrong in my application code, rather than the library.
___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users


RE: [Asterisk-Users] Iax Client Library Issues? (DIAX, iaxComm, etc.)

2003-12-02 Thread David Gomillion
Steven Sokol  wrote:
 Hi,
 
 I seem to be having problems with IAX clients based on the iaxClient
 library.  I have been working on my own client (an augmentation to
 the Call Manager I released last week) and it seems to regularly miss
 incoming calls entirely.  It also occasionally misses the drop signal
 when the remote end drops a call.
 
 Has anybody else seen this kind of behavior?  I have tested with my
 client, with DIAX and with iaxComm and all three act the same way.  I
 would really like to know if it has something to do with my asterisk
 setup, or if it is specific to the client library I am using.   
 
 I can watch calls on Gastman and see Asterisk trying to establish the
 call (the IAX phone appears) but the actual client never receives a
 ringing state event.  
 
 Any pointers would be greatly appreciated.
 
 Thanks,
 
 Steve Sokol
 
 
 ___
 Asterisk-Users mailing list
 [EMAIL PROTECTED]
 http://lists.digium.com/mailman/listinfo/asterisk-users 

I can agree that some incoming calls are being missed entirely by DIAX,
but I am not ready to point fingers... I am just starting the
troubleshooting.  I have messed with dialstrings, to no avail, and will
soon be testing that cool Ethereal plugin :)

I will let you know if I discover anything useful.

Thanks,
David Gomillion

___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] Iax Client Library Issues? (DIAX, iaxComm, etc.)

2003-12-02 Thread firedude
The new versions of iaxcomm and DIAX are both now using the iax2 protocol.  
So in order to receive incoming calls on either of them in your 
extensions.conf file change IAX/clientname to IAX2clientname.  Then you 
should be able to receive incoming calls on either iaxcomm or DIAX.  Also 
there is a mailing list for the iaxclient library.  It's 
[EMAIL PROTECTED]  Hope this helps.
AJ




On Tue, 2 Dec 2003, Steven Sokol wrote:

 Hi,
 
 I seem to be having problems with IAX clients based on the iaxClient
 library.  I have been working on my own client (an augmentation to the
 Call Manager I released last week) and it seems to regularly miss
 incoming calls entirely.  It also occasionally misses the drop signal
 when the remote end drops a call.
 
 Has anybody else seen this kind of behavior?  I have tested with my
 client, with DIAX and with iaxComm and all three act the same way.  I
 would really like to know if it has something to do with my asterisk
 setup, or if it is specific to the client library I am using.
 
 I can watch calls on Gastman and see Asterisk trying to establish the
 call (the IAX phone appears) but the actual client never receives a
 ringing state event.
 
 Any pointers would be greatly appreciated.
 
 Thanks,
 
 Steve Sokol
 
 
 ___
 Asterisk-Users mailing list
 [EMAIL PROTECTED]
 http://lists.digium.com/mailman/listinfo/asterisk-users
 

___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users