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

James Trix jamestrix at gmail.com
Fri Nov 3 18:00:30 MST 2006


Tim that setting looks like it worked thank you for the fix and also
the background info its been 20 minutes and the registered status
looks ok. I will have to google a little more to find out more about
this setting to fully understand what the command is doing to the
connection but for now you have saved me doing a rebuild..... I was a
little worried about doing the rebuild but deep now I think I was
looking forward to it  so I could get a better understanding of linux
and Asterisk

Thanks again for your help



IAX2 Sip Registry
Host                  Username    Perceived             Refresh  State
202.148.48.108:4569   xxxxxxxxx  xxx.xxx.xxx.xxx:4569            0  Registered
Verbosity is at least 1










On 11/4/06, Tim Panton <tim at mexuar.com> wrote:
>
> 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
>
>
>
> _______________________________________________
> --Bandwidth and Colocation provided by Easynews.com --
>
> asterisk-dev mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-dev
>


More information about the asterisk-dev mailing list