Ozeki softphone cant register with 3cx PBX

Discussion in '3CX Phone System - General' started by persiandeveloper, Apr 6, 2015.

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

    Joined:
    Apr 6, 2015
    Messages:
    3
    Likes Received:
    0
    Hi

    I installed #cx PBX server and tested it with 3CX Phone (Windows) but When I try to register it using Ozeki it throws timeout error. Here is the documentation I Followed. http://voip-sip-sdk.com/p_124-3cx-pbx-setup-voip.html
     
  2. leejor

    leejor Well-Known Member

    Joined:
    Jan 22, 2008
    Messages:
    10,375
    Likes Received:
    231
    Is this device (Ozeki), on the local LAN, or a remote device?

    What does the 3CX Server Log show just after a registration attempt? If there is no log, then the device is probably not registering to the correct IP and port.
     
  3. persiandeveloper

    Joined:
    Apr 6, 2015
    Messages:
    3
    Likes Received:
    0
    First thanks for your consideration

    Pbx installed on a server which runs on workstation, with NAT network connected to host computer and Ozeki runs on host computer.

    I could Connect and register with other softphone client like this: http://www.portsip.com/downloads/voip/CSharpSample_WPF.zip

    This is all I get in logs, when I try to register with Ozeki :

    06/04/2015 22:24:08:017 | There's 8 contact(s) registered
    06/04/2015 22:24:08:017 | Checking sip:*888@127.0.0.1:40000;rinstance=e2b1975406d15562; expires in 90
    06/04/2015 22:24:08:017 | Checking sip:EndCall@127.0.0.1:40600;rinstance=dd426462ba289a10; expires in 90
    06/04/2015 22:24:08:017 | Checking sip:*777@127.0.0.1:40000;rinstance=d7edd40386cad742; expires in 90
    06/04/2015 22:24:08:017 | Checking sip:*1@127.0.0.1:40000;rinstance=28d917bbd5fb60a7; expires in 91
    06/04/2015 22:24:08:017 | Checking sip:888@127.0.0.1:5100;user=phone; expires in 397
    06/04/2015 22:24:08:017 | Checking sip:HOL@127.0.0.1:40600;rinstance=23e51a019ec9e617; expires in 90
    06/04/2015 22:24:08:017 | Checking sip:*0@127.0.0.1:40000;rinstance=77cd53c8391a0c2f; expires in 90
    06/04/2015 22:24:08:017 | Checking sip:999@127.0.0.1:40600;rinstance=365b8eecf10feabf; expires in 90
    06/04/2015 22:24:29:976 | Currently active calls [none]
    06/04/2015 22:24:38:052 | There's 8 contact(s) registered
    06/04/2015 22:24:38:052 | Checking sip:*888@127.0.0.1:40000;rinstance=e2b1975406d15562; expires in 60
    06/04/2015 22:24:38:052 | Checking sip:EndCall@127.0.0.1:40600;rinstance=dd426462ba289a10; expires in 60
    06/04/2015 22:24:38:052 | Checking sip:*777@127.0.0.1:40000;rinstance=d7edd40386cad742; expires in 60
    06/04/2015 22:24:38:052 | Checking sip:*1@127.0.0.1:40000;rinstance=28d917bbd5fb60a7; expires in 61
    06/04/2015 22:24:38:052 | Checking sip:888@127.0.0.1:5100;user=phone; expires in 367
    06/04/2015 22:24:38:052 | Checking sip:HOL@127.0.0.1:40600;rinstance=23e51a019ec9e617; expires in 60
    06/04/2015 22:24:38:052 | Checking sip:*0@127.0.0.1:40000;rinstance=77cd53c8391a0c2f; expires in 60
    06/04/2015 22:24:38:052 | Checking sip:999@127.0.0.1:40600;rinstance=365b8eecf10feabf; expires in 60

    But for other softphone I get this:

    06/04/2015 22:30:45:790 | [Auth] Expired nonce: (414d535c0b3359a150:7b87803c5ae8be675057460fd833815f) made 300 sec. ago
    06/04/2015 22:30:45:897 | Updating device Dev(28):[sip:888@127.0.0.1:5100;user=phone / 888] by message: DevUpd Recv Req REGISTER from 127.0.0.1:5100 tid=77B09BC1 Call-ID=WpRFdtdVMpEfp54d@127.0.0.1:
    REGISTER sip:127.0.0.1:5060 SIP/2.0
    Via: SIP/2.0/UDP 127.0.0.1:5100;branch=z9hG4bK77B09BC1
    Max-Forwards: 70
    Route: <sip:127.0.0.1:5060;lr>
    Contact: <sip:888@127.0.0.1:5100;user=phone>
    To: <sip:888@127.0.0.1:5060;user=phone>
    From: <sip:888@127.0.0.1:5060>;tag=0-C7E5
    Call-ID: WpRFdtdVMpEfp54d@127.0.0.1
    CSeq: 28 REGISTER
    Expires: 600
    Allow: INVITE, BYE, ACK, OPTIONS, CANCEL
    Proxy-Authorization: Digest username="888",realm="3CXPhoneSystem",nonce="414d535c0b335acd23:eca2933e265dec61bbbdc9199fd71af0",uri="sip:127.0.0.1",response="64c3f98d1a44190b96af9d1daf66c44a",algorithm=MD5,cnonce="5265",opaque="",nc=00000001
    User-Agent: Netbricks-Sip-T.38IAF/2.01 (PRODUCT ID:5, 05 Jul 2007)
    Content-Length: 0


    06/04/2015 22:30:45:902 | Dev(28):[sip:888@127.0.0.1:5100;user=phone / 888]: PBX contact is local IP: <sip:888@127.0.0.1:5060>
    06/04/2015 22:30:45:902 | Caller <sip:888@127.0.0.1:5060>;tag=0-C7E5 has been authenticated successfully
    06/04/2015 22:30:45:904 | Found 1 contact(s) for AOR sip:888@127.0.0.1:5060
    06/04/2015 22:30:45:904 | Update AOR sip:888@127.0.0.1:5060 with contact [<sip:888@127.0.0.1:5100;user=phone>]
    06/04/2015 22:30:45:904 | Updated; cid = 1831285092
    06/04/2015 22:30:45:904 | There's 1 contact record(s) found for DN 888
    06/04/2015 22:30:45:904 | Found 1 contact(s) for AOR sip:888@127.0.0.1:5060
    06/04/2015 22:30:45:904 | Look for contact: sip:888@127.0.0.1:5100;user=phone
    06/04/2015 22:30:45:904 | Updating device Dev(28):[sip:888@127.0.0.1:5100;user=phone / 888] by message: DevUpd Recv Req REGISTER from 127.0.0.1:5100 tid=77B09BC1 Call-ID=WpRFdtdVMpEfp54d@127.0.0.1:
    REGISTER sip:127.0.0.1:5060 SIP/2.0
    Via: SIP/2.0/UDP 127.0.0.1:5100;branch=z9hG4bK77B09BC1
    Max-Forwards: 70
    Route: <sip:127.0.0.1:5060;lr>
    Contact: <sip:888@127.0.0.1:5100;user=phone>
    To: <sip:888@127.0.0.1:5060;user=phone>
    From: <sip:888@127.0.0.1:5060>;tag=0-C7E5
    Call-ID: WpRFdtdVMpEfp54d@127.0.0.1
    CSeq: 28 REGISTER
    Expires: 600
    Allow: INVITE, BYE, ACK, OPTIONS, CANCEL
    Proxy-Authorization: Digest username="888",realm="3CXPhoneSystem",nonce="414d535c0b335acd23:eca2933e265dec61bbbdc9199fd71af0",uri="sip:127.0.0.1",response="64c3f98d1a44190b96af9d1daf66c44a",algorithm=MD5,cnonce="5265",opaque="",nc=00000001
    User-Agent: Netbricks-Sip-T.38IAF/2.01 (PRODUCT ID:5, 05 Jul 2007)
    Content-Length: 0


    06/04/2015 22:30:45:909 | Dev(28):[sip:888@127.0.0.1:5100;user=phone / 888]: PBX contact is local IP: <sip:888@127.0.0.1:5060>
    06/04/2015 22:30:45:912 | Update registration: key=888;contact=sip:888@127.0.0.1:5100;user=phone; id=27
    06/04/2015 22:30:48:043 | Currently active calls [none]
    06/04/2015 22:31:04:270 | [Auth] Saving nonce (414d535c0b335ae092:f0bbbec2018837fe2f70d7763be12370) for user [102] at pos=0
    06/04/2015 22:31:04:270 | Caller "102"<sip:102@192.168.150.132>;tag=e1567822 has been authenticated successfully
    06/04/2015 22:31:04:270 | Successful authentication from IP: 192.168.150.1
    06/04/2015 22:31:04:270 | No contacts found for AOR sip:102@192.168.150.132
    06/04/2015 22:31:04:271 | Update AOR sip:102@192.168.150.132 with contact [<sip:102@192.168.150.1:5186>;+sip.instance="<urn:uuid:D4AAF9E0-C9A3-6EE4-FF38-955B8C42FE1E>"]
    06/04/2015 22:31:04:271 | Created device 29: AOR = <sip:102@192.168.150.132:5060>, contact: <sip:102@192.168.150.1:5186>
    06/04/2015 22:31:04:271 | Dev(29):[sip:102@192.168.150.1:5186 / 102]: Real source is not known yet, is set to outbound: 192.168.150.1:5186
    06/04/2015 22:31:04:273 | Check locality of IP 192.168.150.1
    06/04/2015 22:31:04:273 | IPADDR(0): addr = 192.168.150.132, mask 255.255.255.0
    06/04/2015 22:31:04:273 | IP 192.168.150.1 is local
    06/04/2015 22:31:04:274 | Dev(29):[sip:102@192.168.150.1:5186 / 102]: PBX contact is local IP: <sip:102@192.168.150.132:5060>
    06/04/2015 22:31:04:275 | Contact record is created; cid = 3920578951
    06/04/2015 22:31:04:275 | There's 1 contact record(s) found for DN 102
    06/04/2015 22:31:04:275 | Found 1 contact(s) for AOR sip:102@192.168.150.132
    06/04/2015 22:31:04:275 | Look for contact: sip:102@192.168.150.1:5186
    06/04/2015 22:31:04:275 | Updating device Dev(29):[sip:102@192.168.150.1:5186 / 102] by message: DevUpd Recv Req REGISTER from 192.168.150.1:5186 tid=-524287-1---565059023e3e9d1a Call-ID=S8fM-DHxIDDb3XMw0C6AnA..:
    REGISTER sip:192.168.150.132 SIP/2.0
    Via: SIP/2.0/UDP 192.168.150.1:5186;branch=z9hG4bK-524287-1---565059023e3e9d1a;rport=5186
    Max-Forwards: 70
    Contact: <sip:102@192.168.150.1:5186>;+sip.instance="<urn:uuid:D4AAF9E0-C9A3-6EE4-FF38-955B8C42FE1E>"
    To: "102"<sip:102@192.168.150.132>
    From: "102"<sip:102@192.168.150.132>;tag=e1567822
    Call-ID: S8fM-DHxIDDb3XMw0C6AnA..
    CSeq: 2 REGISTER
    Expires: 120
    Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE, REGISTER, SUBSCRIBE, INFO
    Proxy-Authorization: Digest username="102",realm="3CXPhoneSystem",nonce="414d535c0b335ae092:f0bbbec2018837fe2f70d7763be12370",uri="sip:192.168.150.132",response="37b174d0beb77364df500522186cfccb",algorithm=MD5
    Supported: replaces
    User-Agent: PortSIP VoIP SDK 11.2
    Content-Length: 0


    06/04/2015 22:31:04:276 | Check locality of IP 192.168.150.1
    06/04/2015 22:31:04:276 | IPADDR(0): addr = 192.168.150.132, mask 255.255.255.0
    06/04/2015 22:31:04:276 | IP 192.168.150.1 is local
    06/04/2015 22:31:04:278 | Dev(29):[sip:102@192.168.150.1:5186 / 102]: PBX contact is local IP: <sip:102@192.168.150.132:5060>
    06/04/2015 22:31:04:284 | Insert registration: key=102;contact=sip:102@192.168.150.1:5186; id=28
    06/04/2015 22:31:04:284 | Look for contact: sip:102@192.168.150.1:5186
    06/04/2015 22:31:04:284 | There's 1 contact record(s) found for DN 102
    06/04/2015 22:31:04:284 | [CM504001]: Endpoint Extn:102: new contact is registered. Contact(s): [sip:102@192.168.150.1:5186 / 102]
    06/04/2015 22:31:04:284 | Endpoint Extn:102 has added contact <sip:102@192.168.150.1:5186> for device Dev(29):[sip:102@192.168.150.1:5186 / 102]
    06/04/2015 22:31:04:286 | Issue: [Pres:102; act=Open;1;210]
     
  4. leejor

    leejor Well-Known Member

    Joined:
    Jan 22, 2008
    Messages:
    10,375
    Likes Received:
    231
    So there is nothing showing in the 3CX server logs for a registration attempt?

    Did you install the softphone on the same "host computer" that shows in the logs (working extension) 192.168.150.1?

    And you have it attempting to register to the server located at IP 192.168.150.132:5060 ?

    These devices are using static IPs, or DHCP?

    What IP is your router? In many cases is is 192.168.XXX.1, but default can also use 192.168.XXX.254.
     
  5. persiandeveloper

    Joined:
    Apr 6, 2015
    Messages:
    3
    Likes Received:
    0
    Hi Again

    That was all the log I got from the log viewer of 3cX

    Yes I installed the softphone on the same host computer with 192.168.150.1 IP Address

    And I have it attempting to register ti the server with 192.168.150.132 Address.

    The server has static IP address.

    As I said before server is running on VMware workstation and host connected to server using Virtual NAT, I dont know what is the router Address But I saw IPV4 Settings of server and its Defaultgatreway is 192.168.150.2.
     
  6. leejor

    leejor Well-Known Member

    Joined:
    Jan 22, 2008
    Messages:
    10,375
    Likes Received:
    231
    You might consider using Wireshark to see if the computer running Ozeki is sending out a registration attempt, and if so, to what destination? You might also want to contact Ozeki for assistance, as it would appear to be some sort of issue with their softphone and possibly your particular computer..
     
Thread Status:
Not open for further replies.