Grandstream drops inbound calls after about 40 seconds

Discussion in '3CX Phone System - General' started by Henrik, Feb 17, 2007.

  1. Henrik

    Joined:
    Jan 13, 2007
    Messages:
    3
    Likes Received:
    0
    Grandstream drops inbound calls after about 40 seconds, even though the call was picked up and was active as soon as the phone rang (ie.. call has been active for about 20-30 seconds when it drops).

    Here is what the Grandstream debug log looks like:

    Code:
    2007-02-17 12:55:09	User.Info	65.97.129.38	GS_LOG: [00.0B.82.0C.DD.9F][000][FF50][01000028] 1325 sip.c Received SIP message: 200 Acc:1
    2007-02-17 12:55:09	User.Info	65.97.129.38	GS_LOG: [00.0B.82.0C.DD.9F][000][FF50][01000028] fxo_ctl.c 199 Port:1 DAA Pickup 4
    2007-02-17 12:55:09	User.Info	65.97.129.38	GS_LOG: [00.0B.82.0C.DD.9F][000][FF50][01000028]  556 sip.c Sess: 6 Send SIP message: 3 To 65.97.128.132:5060
    2007-02-17 12:55:09	User.Debug	65.97.129.38	GS_LOG: [00.0B.82.0C.DD.9F][000][FF50][01000028] 721 sip.c Sess: 6 ACK sip:200@65.97.128.132:5060 SIP/2.0  Via: SIP/2.0/UDP 192.168.0.11:5062;branch=z9hG4bK6233cd81a2b080a1  From: ""<sip:9049102700@192.168.0.10>;tag=5a87acf195a0bbe3  To: <sip:200@192.168.0.10>;tag=9278e52c  Contact: <sip:201@192.168.0.11:5062>  Proxy-Authorization: Digest username="201", realm="3CXPhoneSystem", algorithm=MD5, uri="sip:200@65.97.128.132:5060", nonce="12816208489:c3d1ca934d49342a39146efc23f7cf5f", response="652bad23d14f7ec82f4dce9a9a3a285e"  Call-ID: 5ab7fb64cfc54b35@192.168.0.11  CSeq: 16088 ACK  User-Agent: Grandstream GXW4104 (HW 0001, Ch:6) 1.0.0.40  Max-Forwards: 70  Allow: INVITE,ACK,CANCEL,BYE,NOTIFY,REFER,OPTIONS,INFO,SUBSCRIBE,UPDATE,PRACK  Content-Length: 0
    2007-02-17 12:55:09	User.Debug	65.97.129.38	GS_LOG: [00.0B.82.0C.DD.9F][000][FF50][01000028] fxo_ctl.c 1085 Port:1 DAA Event: 1
    2007-02-17 12:55:13	User.Info	65.97.129.38	GS_LOG: [00.0B.82.0C.DD.9F][000][FF50][01000028] 1325 sip.c Received SIP message: 200 Acc:1
    2007-02-17 12:55:13	User.Info	65.97.129.38	GS_LOG: [00.0B.82.0C.DD.9F][000][FF50][01000028] fxo_ctl.c 199 Port:1 DAA Pickup 4
    2007-02-17 12:55:13	User.Info	65.97.129.38	GS_LOG: [00.0B.82.0C.DD.9F][000][FF50][01000028]  556 sip.c Sess: 6 Send SIP message: 3 To 65.97.128.132:5060
    2007-02-17 12:55:13	User.Debug	65.97.129.38	GS_LOG: [00.0B.82.0C.DD.9F][000][FF50][01000028] 721 sip.c Sess: 6 ACK sip:200@65.97.128.132:5060 SIP/2.0  Via: SIP/2.0/UDP 192.168.0.11:5062;branch=z9hG4bK756410932486a9d0  From: ""<sip:9049102700@192.168.0.10>;tag=5a87acf195a0bbe3  To: <sip:200@192.168.0.10>;tag=9278e52c  Contact: <sip:201@192.168.0.11:5062>  Proxy-Authorization: Digest username="201", realm="3CXPhoneSystem", algorithm=MD5, uri="sip:200@65.97.128.132:5060", nonce="12816208489:c3d1ca934d49342a39146efc23f7cf5f", response="652bad23d14f7ec82f4dce9a9a3a285e"  Call-ID: 5ab7fb64cfc54b35@192.168.0.11  CSeq: 16088 ACK  User-Agent: Grandstream GXW4104 (HW 0001, Ch:6) 1.0.0.40  Max-Forwards: 70  Allow: INVITE,ACK,CANCEL,BYE,NOTIFY,REFER,OPTIONS,INFO,SUBSCRIBE,UPDATE,PRACK  Content-Length: 0
    2007-02-17 12:55:13	User.Debug	65.97.129.38	GS_LOG: [00.0B.82.0C.DD.9F][000][FF50][01000028] fxo_ctl.c 1085 Port:1 DAA Event: 1
    2007-02-17 12:55:16	User.Debug	65.97.129.38	GS_LOG: [00.0B.82.0C.DD.9F][000][FF50][01000028] fxo_ctl.c 1085 Port:1 DAA Event: 12
    2007-02-17 12:55:17	User.Info	65.97.129.38	GS_LOG: [00.0B.82.0C.DD.9F][000][FF50][01000028] 1325 sip.c Received SIP message: 200 Acc:1
    2007-02-17 12:55:17	User.Info	65.97.129.38	GS_LOG: [00.0B.82.0C.DD.9F][000][FF50][01000028] fxo_ctl.c 199 Port:1 DAA Pickup 4
    2007-02-17 12:55:17	User.Info	65.97.129.38	GS_LOG: [00.0B.82.0C.DD.9F][000][FF50][01000028]  556 sip.c Sess: 6 Send SIP message: 3 To 65.97.128.132:5060
    2007-02-17 12:55:17	User.Debug	65.97.129.38	GS_LOG: [00.0B.82.0C.DD.9F][000][FF50][01000028] 721 sip.c Sess: 6 ACK sip:200@65.97.128.132:5060 SIP/2.0  Via: SIP/2.0/UDP 192.168.0.11:5062;branch=z9hG4bKadc42500df73d490  From: ""<sip:9049102700@192.168.0.10>;tag=5a87acf195a0bbe3  To: <sip:200@192.168.0.10>;tag=9278e52c  Contact: <sip:201@192.168.0.11:5062>  Proxy-Authorization: Digest username="201", realm="3CXPhoneSystem", algorithm=MD5, uri="sip:200@65.97.128.132:5060", nonce="12816208489:c3d1ca934d49342a39146efc23f7cf5f", response="652bad23d14f7ec82f4dce9a9a3a285e"  Call-ID: 5ab7fb64cfc54b35@192.168.0.11  CSeq: 16088 ACK  User-Agent: Grandstream GXW4104 (HW 0001, Ch:6) 1.0.0.40  Max-Forwards: 70  Allow: INVITE,ACK,CANCEL,BYE,NOTIFY,REFER,OPTIONS,INFO,SUBSCRIBE,UPDATE,PRACK  Content-Length: 0
    2007-02-17 12:55:17	User.Debug	65.97.129.38	GS_LOG: [00.0B.82.0C.DD.9F][000][FF50][01000028] fxo_ctl.c 1085 Port:1 DAA Event: 1
    2007-02-17 12:55:22	User.Info	65.97.129.38	GS_LOG: [00.0B.82.0C.DD.9F][000][FF50][01000028] 1325 sip.c Received SIP message: 200 Acc:1
    2007-02-17 12:55:22	User.Info	65.97.129.38	GS_LOG: [00.0B.82.0C.DD.9F][000][FF50][01000028] fxo_ctl.c 199 Port:1 DAA Pickup 4
    2007-02-17 12:55:22	User.Info	65.97.129.38	GS_LOG: [00.0B.82.0C.DD.9F][000][FF50][01000028]  556 sip.c Sess: 6 Send SIP message: 3 To 65.97.128.132:5060
    2007-02-17 12:55:22	User.Debug	65.97.129.38	GS_LOG: [00.0B.82.0C.DD.9F][000][FF50][01000028] 721 sip.c Sess: 6 ACK sip:200@65.97.128.132:5060 SIP/2.0  Via: SIP/2.0/UDP 192.168.0.11:5062;branch=z9hG4bK7d246136ff2471d2  From: ""<sip:9049102700@192.168.0.10>;tag=5a87acf195a0bbe3  To: <sip:200@192.168.0.10>;tag=9278e52c  Contact: <sip:201@192.168.0.11:5062>  Proxy-Authorization: Digest username="201", realm="3CXPhoneSystem", algorithm=MD5, uri="sip:200@65.97.128.132:5060", nonce="12816208489:c3d1ca934d49342a39146efc23f7cf5f", response="652bad23d14f7ec82f4dce9a9a3a285e"  Call-ID: 5ab7fb64cfc54b35@192.168.0.11  CSeq: 16088 ACK  User-Agent: Grandstream GXW4104 (HW 0001, Ch:6) 1.0.0.40  Max-Forwards: 70  Allow: INVITE,ACK,CANCEL,BYE,NOTIFY,REFER,OPTIONS,INFO,SUBSCRIBE,UPDATE,PRACK  Content-Length: 0
    2007-02-17 12:55:22	User.Debug	65.97.129.38	GS_LOG: [00.0B.82.0C.DD.9F][000][FF50][01000028] fxo_ctl.c 1085 Port:1 DAA Event: 1
    2007-02-17 12:55:24	User.Info	65.97.129.38	GS_LOG: [00.0B.82.0C.DD.9F][000][FF50][01000028] 1325 sip.c Received SIP message: 4 Acc:1
    2007-02-17 12:55:24	User.Info	65.97.129.38	GS_LOG: [00.0B.82.0C.DD.9F][000][FF50][01000028]  556 sip.c Sess: 6 Send SIP message: 200 To 192.168.0.10:5060
    2007-02-17 12:55:24	User.Debug	65.97.129.38	GS_LOG: [00.0B.82.0C.DD.9F][000][FF50][01000028] 721 sip.c Sess: 6 SIP/2.0 200 OK  Via: SIP/2.0/UDP 192.168.0.10:5060;branch=z9hG4bK-d87543-ab725c11e0784e0e-1--d87543-;rport  From: <sip:200@192.168.0.10>;tag=9278e52c  To: <sip:9049102700@192.168.0.10>;tag=5a87acf195a0bbe3  Call-ID: 5ab7fb64cfc54b35@192.168.0.11  CSeq: 2 BYE  User-Agent: Grandstream GXW4104 (HW 0001, Ch:6) 1.0.0.40  Contact: <sip:201@192.168.0.11:5062>  Allow: INVITE,ACK,CANCEL,BYE,NOTIFY,REFER,OPTIONS,INFO,SUBSCRIBE,UPDATE,PRACK  Supported: replaces, timer, 100rel, path  Content-Length: 0
    2007-02-17 12:55:24	User.Info	65.97.129.38	GS_LOG: [00.0B.82.0C.DD.9F][000][FF50][01000028] 273 fxo_ctl.c Port:1 DAA Line Status: 2
    2007-02-17 12:55:24	User.Info	65.97.129.38	GS_LOG: [00.0B.82.0C.DD.9F][000][FF50][01000028] cm_utility.c 880 Port:1 Sess:6 0 0
    2007-02-17 12:55:24	User.Info	65.97.129.38	GS_LOG: [00.0B.82.0C.DD.9F][000][FF50][01000028] fxo_ctl.c 218 Port:1 DAA Hangup 4
    2007-02-17 12:55:24	User.Debug	65.97.129.38	GS_LOG: [00.0B.82.0C.DD.9F][000][FF50][01000028] cm_control.c 612 Teardown Call, sees:6 0
    2007-02-17 12:55:24	User.Debug	65.97.129.38	GS_LOG: [00.0B.82.0C.DD.9F][000][FF50][01000028] fxo_ctl.c 1085 Port:1 DAA Event: 2
    2007-02-17 12:55:24	User.Debug	65.97.129.38	GS_LOG: [00.0B.82.0C.DD.9F][000][FF50][01000028] 986 fxo_ctl.c Port:1 DAA State: 2
    2007-02-17 12:55:24	User.Debug	65.97.129.38	GS_LOG: [00.0B.82.0C.DD.9F][000][FF50][01000028]  aud_tone.c 221 Port: 1 tone stop
    
    Outbound calls through the Grandstream do not drop...
     
  2. 3CXsupport

    3CXsupport New Member
    3CX Staff

    Joined:
    Aug 21, 2006
    Messages:
    193
    Likes Received:
    0
    Hi,

    The problem seems to be in your gateway's FXO interface. Did you test the phoneline normally (i.e. using a regular phone) ?

    I beleive this is the cause because of this entry in your logs :

    2007-02-17 12:55:24 User.Info 65.97.129.38 GS_LOG: [00.0B.82.0C.DD.9F][000][FF50][01000028] fxo_ctl.c 218 Port:1 DAA Hangup 4

    The FXO interface (port1) is detecting a hangup. I assume the line is fine because you said outgoing calls work perfect, but still try a test. Alternativly please have a look at the grandstream's FXO settings, make sure that if you made any changes there they apply to you scenario.
     

Share This Page