Bria SIP software on Iphone and 3CX PBX - disconnect calls

Discussion in '3CX Phone System - General' started by miro, May 18, 2012.

Thread Status:
Not open for further replies.
  1. miro

    Joined:
    Jan 17, 2012
    Messages:
    51
    Likes Received:
    0
    Hi,

    we have a problem with Bria SIP software on Iphone, when we are making outgoing call after about 30 seconds call is disconnected, in Wireshark we see that our 3CX PBX send BYE SIP messages to both side. When there is incoming call for Bria there is no disconnect calls, issue is only with outgoing call.

    Capture from 3CX PBX:


    09:30:57.174 [CM503008]: Call(12): Call is terminated
    09:30:57.168 [CM503021]: Call(12): ACK is not received
    09:30:50.097 Currently active calls - 1: [12]
    09:30:38.188 [CM503008]: Call(11): Call is terminated
    09:30:38.184 [CM503021]: Call(11): ACK is not received
    09:30:25.130 [CM503007]: Call(12): Device joined: sip:510@192.168.3.237:5070;transport=udp;user=phone
    09:30:25.128 [CM503007]: Call(12): Device joined: sip:528@31.45.162.116:52690;transport=tcp
    09:30:25.125 [MS210005] C:12.1:Answer provided. Connection(proxy mode):89.201.x.x:9004(9005)
    09:30:25.125 [MS210001] C:12.2:Answer received. RTP connection[unsecure]: 192.168.3.237:5082(5083)
    09:30:25.122 Remote SDP is set for legC:12.2
    09:30:23.678 [CM505001]: Ext.510: Device info: Device Identified: [Man: Grandstream;Mod: GXP Series;Rev: General] Capabilities:[reinvite, replaces, able-no-sdp, recvonly] UserAgent: [Grandstream GXP2000 1.2.5.3] PBX contact: [sip:510@10.160.250.130:5060]
    09:30:23.678 [CM503002]: Call(12): Alerting sip:510@192.168.3.237:5070;transport=udp;user=phone
    09:30:23.644 [CM503025]: Call(12): Calling Ext:Ext.510@[Dev:sip:510@192.168.3.237:5070;transport=udp;user=phone]
    09:30:23.624 [MS210004] C:12.2:Offer provided. Connection(proxy mode): 10.160.250.130:7038(7039)
    09:30:23.523 [MS210000] C:12.1:Offer received. RTP connection: 31.45.162.116:4002(4003)
    09:30:23.521 [CM503004]: Call(12): Route 1: Ext:Ext.510@[Dev:sip:510@192.168.3.237:5070;transport=udp;user=phone]
    09:30:23.520 [CM503010]: Making route(s) to <sip:510@89.201.x.x>
    09:30:23.520 Remote SDP is set for legC:12.1
    09:30:23.520 [CM505001]: Ext.528: Device info: Device Identified: [Man: Counterpath;Mod: Bria;Rev: General] Capabilities:[reinvite, no-replaces, unable-no-sdp, recvonly] UserAgent: [Bria iOS 2.0.5] PBX contact: [sip:528@10.160.250.130:5060;transport=TCP]
    09:30:23.517 [CM503001]: Call(12): Incoming call from Ext.528 to <sip:510@89.201.x.x>
    09:30:23.512 [CM500002]: Info on incoming INVITE:
    INVITE sip:510@89.201.173.151 SIP/2.0
    Via: SIP/2.0/TCP 31.45.162.116:52690;rport=52690;branch=z9hG4bKPjVqsEP7eRtwcACH1mYbuybTjXlN9ZtaS7;alias
    Max-Forwards: 70
    Contact: <sip:528@31.45.162.116:52690;transport=tcp>
    To: <sip:510@89.201.x.x>
    From: "528"<sip:528@89.201.x.x>;tag=SWHi2JUInoS69ufbD6.UKU8sAs5HNAV1
    Call-ID: WK1v3MU3Bodz9p28SAodT0HT8qS-ZoDv
    CSeq: 27330 INVITE
    Session-Expires: 1800
    Min-SE: 90
    Allow: PRACK, INVITE, ACK, BYE, CANCEL, UPDATE, SUBSCRIBE, NOTIFY, REFER, MESSAGE, OPTIONS
    Proxy-Authorization: Digest username="528",realm="3CXPhoneSystem",nonce="414d535c05c68b8e58:422ee3ac8b956cafd318b2be5a5d1477",uri="sip:510@89.201.x.x",response="9986760bed87eabe44cc3895e895e91f",algorithm=MD5
    Supported: replaces, 100rel, timer, norefersub
    User-Agent: Bria iOS 2.0.5
    Content-Length: 0


    89.201.x.x are our 3CX PBX


    Please help.

    Best regards.
     
  2. paul.hadley

    paul.hadley New Member

    Joined:
    Aug 24, 2010
    Messages:
    122
    Likes Received:
    0
    Re: Bria SIP software on Iphone and 3CX PBX - disconnect cal

    Are you using "stun" on the 3CX Server.

    Does the location of the 3CX server have a fixed IP address for its internet connection.
     
  3. miro

    Joined:
    Jan 17, 2012
    Messages:
    51
    Likes Received:
    0
    Re: Bria SIP software on Iphone and 3CX PBX - disconnect cal

    Hi,

    we dont use stun ,our 3CX PBX is on fixed public IP address.

    Best regards.
     
  4. paul.hadley

    paul.hadley New Member

    Joined:
    Aug 24, 2010
    Messages:
    122
    Likes Received:
    0
    Re: Bria SIP software on Iphone and 3CX PBX - disconnect cal

    09:30:38.188 [CM503008]: Call(11): Call is terminated
    09:30:38.184 [CM503021]: Call(11): ACK is not received

    It may be that 3CX is sending the wrong IP to the soft phone and therefore not getting a response. Check these settings are all OK.

    Settings Network Stun Server

    Stun Server Off and Your Public IP entered as Contact & SDP

    Settings Network Public IP

    Static Public Address set a Your Public IP

    Settings Advanced Advances

    Allow Calls to External SIP Ticked

    Local Sip Domain set to your Your Public IP

    Settings Advanced Custom Parameters

    SIPDOMAIN - Your Public IP

    PBXPUBLICIP - Your Public IP

    DEFAULTLOCALIP - Your Local IP

    MSEXTERNALADDRESS - Your Public IP

    CMEXTERNALADDRESS - Your Public IP

    MSEXTERNALINTERFACE - Your Local IP

    CMEXTERNALINTERFACE - Your Local IP

    I have found its possible to get calls to work with the wrong settings in 3CX as a NAT router has changed some of these setting in the out going message. Also I remember reading some where on the forum of problems when changing from Stun to Fixed IP and back with entries in the Custom Parameters not being updated correctly.

    Once you are happy with these settings restart 3CX and try it again to see is the "ACK is not received" is gone.
     
  5. mixig

    mixig Active Member

    Joined:
    Dec 13, 2011
    Messages:
    523
    Likes Received:
    12
    Re: Bria SIP software on Iphone and 3CX PBX - disconnect cal

    Hi,

    i had same issue with my router, i turn on sip helper and after that calls form outside via NAT working without any problems..

    Regards...
     
  6. miro

    Joined:
    Jan 17, 2012
    Messages:
    51
    Likes Received:
    0
    Re: Bria SIP software on Iphone and 3CX PBX - disconnect cal

    Thank you mixig, i have tried your solution and it works.

    Best regards.
     
Thread Status:
Not open for further replies.