Re: [asterisk-users] Timeout in IAX vs SIP

2007-02-01 Thread Dinesh Nair



On 02/01/07 02:15 Olle E Johansson said the following:
both channels should act the same unless there's a configuration  that's 
giving wrong information

to chan_sip, like you having a username= or defaultip= setting.


how does a username= entry in sip.conf affect dialling behaviour when the 
phone is not registered ? by default as a matter of practice, we have 
username=something for our peers, though they may be on dynamic IP 
addresses and register with asterisk.


is what we're doing a Bad Thing(tm) ?

--
Regards,   /\_/\   All dogs go to heaven.
[EMAIL PROTECTED](0 0)   http://www.openmalaysiablog.com/
+==oOO--(_)--OOo==+
| for a in past present future; do|
|   for b in clients employers associates relatives neighbours pets; do   |
|   echo The opinions here in no way reflect the opinions of my $a $b.  |
| done; done  |
+=+
___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Timeout in IAX vs SIP

2007-01-31 Thread Olle E Johansson


30 jan 2007 kl. 06.38 skrev Yuan LIU:

When Asterisk dials an IAX destination with no registration, it  
very quickly comes to the conclusion that it can't make the call
   -- Executing [EMAIL PROTECTED]:2] Dial(Zap/1-1, IAX2/ 
[EMAIL PROTECTED]/[EMAIL PROTECTED]) in new stack

   -- Called [EMAIL PROTECTED]/[EMAIL PROTECTED]
[Jan 29 21:43:15] NOTICE[1957]: chan_iax2.c:2686 __auto_congest:  
Auto-congesting call due to slow response

   -- IAX2/216.207.245.8:4569-1 is circuit-busy
   -- Hungup 'IAX2/216.207.245.8:4569-1'
 == Everyone is busy/congested at this time (1:0/1/0)
But if Asterisk Dials a SIP destination it doesn't have a  
registration, it waits for a very long time before giving up.


What is the difference?  Does IAX use TCP instead of UDP?  Is there  
some way to change timeout value in SIP attempt so it gives up in a  
reasonable time?


Both protocols use UDP, bot the timers are a bit different. However,  
if there's no registration
both channels should act the same unless there's a configuration  
that's giving wrong information

to chan_sip, like you having a username= or defaultip= setting.

/O
___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


[asterisk-users] Timeout in IAX vs SIP

2007-01-29 Thread Yuan LIU
When Asterisk dials an IAX destination with no registration, it very quickly 
comes to the conclusion that it can't make the call
   -- Executing [EMAIL PROTECTED]:2] Dial(Zap/1-1, 
IAX2/[EMAIL PROTECTED]/[EMAIL PROTECTED]) in new stack

   -- Called [EMAIL PROTECTED]/[EMAIL PROTECTED]
[Jan 29 21:43:15] NOTICE[1957]: chan_iax2.c:2686 __auto_congest: 
Auto-congesting call due to slow response

   -- IAX2/216.207.245.8:4569-1 is circuit-busy
   -- Hungup 'IAX2/216.207.245.8:4569-1'
 == Everyone is busy/congested at this time (1:0/1/0)
But if Asterisk Dials a SIP destination it doesn't have a registration, it 
waits for a very long time before giving up.


What is the difference?  Does IAX use TCP instead of UDP?  Is there some way 
to change timeout value in SIP attempt so it gives up in a reasonable time?


Yuan Liu


___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users