Re: [asterisk-users] IAX2 help needed...

2009-07-01 Thread Michael Maxwell
On Thursday 02 July 2009 10:02:03 am David Backeberg wrote:
> On Tue, Jun 30, 2009 at 10:47 AM, Ade
>
> Vickers wrote:
> > I run a phone in a remote office using the IAX2 protocol. It mostly works
> > fine; except that every 5 mins it loses connection with Asterisk, before
> > reconnecting 30 seconds later; rinse & repeat.
>
> I used to have that happen a lot. I had no idea what caused it, or
> what the solution was. I ended up using SIP instead. Problem no longer
> existed, but I never found a solution.

In iax.conf try:

qualifysmoothing=yes


-- 
Thanks, Michael Maxwell

eMail: metalm...@gmail.com
Phone: +61 (03) 8680 4946
Web: mikey.webhop.org

Powered By: PCBSD.org | FreeBSD.org | OpenSource.org


PRAIL.org - Australia-Wide radio communications for free
Sponsor:

  Hightek Hosting - A New Wave in IT and Hosting Technology
  Hosting, IT services, sales and onsite support!
  1300 85 34 30 - www.hightekhosting.com.au



___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

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


Re: [asterisk-users] IAX2 help needed...

2009-07-01 Thread Darrin Henshaw
Check out http://www.voip-info.org/wiki/view/Asterisk+iax+qualify.

I've ran into problems with home routers not keeping the connection alive, udp 
timeouts most likely. These options particularly, the qualifyfreqnotok will 
have asterisk send out a poke to the soft phone if it reports the phone is 
offline. Might not be the best for a soft phone which is not always in use, but 
we use it on our iax trunks.


From: asterisk-users-boun...@lists.digium.com 
[asterisk-users-boun...@lists.digium.com] On Behalf Of David Backeberg 
[dbackeb...@gmail.com]
Sent: Wednesday, July 01, 2009 9:02 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] IAX2 help needed...

On Tue, Jun 30, 2009 at 10:47 AM, Ade
Vickers wrote:
>
> I run a phone in a remote office using the IAX2 protocol. It mostly works
> fine; except that every 5 mins it loses connection with Asterisk, before
> reconnecting 30 seconds later; rinse & repeat.

I used to have that happen a lot. I had no idea what caused it, or
what the solution was. I ended up using SIP instead. Problem no longer
existed, but I never found a solution.

___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

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

This email and its attachments may be confidential and are intended solely for 
the use of the individual or parties' to whom it is addressed. All comments are 
solely those of the author and do not necessarily represent those of Ignition.  
If you are not the intended recipient of this email and its attachments, you 
must take no action based upon them, nor must you copy or show them to anyone.  
Please contact the sender if you believe you have received this email in error. 
 Thanks for considering the environmental impact before printing this email.

___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

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


Re: [asterisk-users] IAX2 help needed...

2009-07-01 Thread David Backeberg
On Tue, Jun 30, 2009 at 10:47 AM, Ade
Vickers wrote:
>
> I run a phone in a remote office using the IAX2 protocol. It mostly works
> fine; except that every 5 mins it loses connection with Asterisk, before
> reconnecting 30 seconds later; rinse & repeat.

I used to have that happen a lot. I had no idea what caused it, or
what the solution was. I ended up using SIP instead. Problem no longer
existed, but I never found a solution.

___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

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


[asterisk-users] IAX2 help needed...

2009-06-30 Thread Ade Vickers
 
I run a phone in a remote office using the IAX2 protocol. It mostly works
fine; except that every 5 mins it loses connection with Asterisk, before
reconnecting 30 seconds later; rinse & repeat.
 
Using the IAX2 debugging, I'm seeing this a lot:
 
Tx-Frame Retry[000] -- OSeqno: 000 ISeqno: 000 Type: IAX Subclass: POKE

   Timestamp: 00018ms  SCall: 04050  DCall: 0 [**.**.***.***:4673]
Rx-Frame Retry[ No] -- OSeqno: 000 ISeqno: 001 Type: IAX Subclass: ACK

   Timestamp: 00018ms  SCall: 16174  DCall: 04050 [**.**.***.***:4673]
Rx-Frame Retry[ No] -- OSeqno: 000 ISeqno: 001 Type: IAX Subclass: PONG

   Timestamp: 00018ms  SCall: 16174  DCall: 04050 [**.**.***.***:4673]
   RR_JITTER   : 0
 
Tx-Frame Retry[-01] -- OSeqno: 001 ISeqno: 001 Type: IAX Subclass: ACK

   Timestamp: 00018ms  SCall: 04050  DCall: 16174 [**.**.***.***:4673]
Rx-Frame Retry[Yes] -- OSeqno: 000 ISeqno: 001 Type: IAX Subclass: PONG

   Timestamp: 00018ms  SCall: 16174  DCall: 04050 [**.**.***.***:4673]
   RR_JITTER   : 0
 
Tx-Frame Retry[ No] -- OSeqno: 000 ISeqno: 000 Type: IAX Subclass: INVAL

   Timestamp: 0ms  SCall: 04050  DCall: 16174 [**.**.***.***:4673]
Rx-Frame Retry[ No] -- OSeqno: 000 ISeqno: 000 Type: IAX Subclass:
REGREQ 
   Timestamp: 3ms  SCall: 16175  DCall: 0 [**.**.***.***:4673]
   USERNAME: 5111
   REFRESH : 60
 
Tx-Frame Retry[000] -- OSeqno: 000 ISeqno: 001 Type: IAX Subclass:
REGACK 
   Timestamp: 00019ms  SCall: 08339  DCall: 16175 [**.**.***.***:4673]
   USERNAME: 5111
   DATE TIME   : 2009-06-30  15:27:40
   REFRESH : 60
   APPARENT ADDRES : IPV4 **.**.***.***:4673
   CALLING NUMBER  : 5111
   CALLING NAME: Ade Vickers (home)

 
Note in particular:
 
Tx-Frame Retry[ No] -- OSeqno: 000 ISeqno: 000 Type: IAX Subclass: INVAL

   Timestamp: 0ms  SCall: 04050  DCall: 16174 [**.**.***.***:4673]

Whenever this happens, the phone loses connection until a REGACK is
received.
 
 
This started happening when I upgraded Asterisk to v 1.4.22 (from an earlier
v1.4.x), on a new machine.
 
Any ideas what I need to do to fix the issue?
 
Phone is a Quartel 710E, in case that's of any use, and it worked fine with
my previous Asterisk setup.
 
Cheers,
Ade.
___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

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