On Friday 03 November 2006 12: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.

Hi James

   I am no expert but inspection of chan_iax2.c shows that in subroutine 

        iax2_ack_registry()

   there is a refresh variable declared 

        int refresh = 0;

   Change this to

        int refresh = IAX_DEFAULT_REG_EXPIRE;

   recompile and see if it solves your problem.

Paul


-- 
Paul Hewlett  Technical Director 
Global Call Center Solutions Ltd, 2nd Floor, Milnerton Mall
Cnr Loxton & Koeberg Roads, 7435 Milnerton
[EMAIL PROTECTED]  www.gccs.co.za
Tel: +27 86 111 3433 Fax: +27 86 111 3520 Cel: +27 84 420 9282
Gizmo: 1 747 659 6171

_______________________________________________
--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

Reply via email to