[asterisk-dev] Code Support request for IAX provider sending registration refreshes of 0

Tim Panton tim at mexuar.com
Fri Nov 3 13:29:04 MST 2006


On 3 Nov 2006, at 10:44, James Trix wrote:

> Hello list
>
> I have been trying to work out why my registration to my provider
> keeps getting droped every few seconds and all my inbound calls go to
> the providers voicemail. After some traceing and some googleing I
> found the problem.
>
> Tx-Frame Retry[000] -- OSeqno: 001 ISeqno: 001 Type: IAX      
> Subclass: REGREQ
>   Timestamp: 00320ms  SCall: 00002  DCall: 00393 [202.148.48.108:4569]
>   USERNAME        : XXXXXXXXXXX
>   REFRESH         : 60
>   MD5 RESULT      : XXXXXXXXXXX
>
> Rx-Frame Retry[ No] -- OSeqno: 001 ISeqno: 002 Type: IAX      
> Subclass: REGACK
>   Timestamp: 00313ms  SCall: 00393  DCall: 00002 [202.148.48.108:4569]
>   USERNAME        : XXXXXXXXXXX
>   DATE TIME       : 2006-10-29  12:49:58
>   REFRESH         : 0
>   APPARENT ADDRES : IPV4 58.106.XX.X:4569
>
> The provider sends a REFRESH : 0 so asterisk does not reregister the
> connection again.
>
> As the provider does not seem willing to fix this I throught that only
> way to fix it would be to
> compile some code. The problem is I am not a coder so I can't fix this
> my self so I was wondering if there where any kind devloeprs out there
> that would be able to help me patch the code so that I could fix this
> problem.
>
> what I through to do was that if a refresh was sent as 0 from the
> provider hard code that to be a refesh of 60 seconds.
>


You could try adding qualify=60 to the iax.conf entry.

Big providers don't like re-registration every 60 seconds because  
each registration
requires a database lookup and several roundtrip packets. Qualify is  
much cheaper.



Tim Panton

www.mexuar.com





More information about the asterisk-dev mailing list