External extension - call problem.

Discussion in '3CX Phone System - General' started by h2009, Mar 23, 2008.

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

    h2009 Member

    Joined:
    Mar 15, 2008
    Messages:
    447
    Likes Received:
    0
    Hi
    I'm just trying to finish off my external extensions but i've ran into a problem im hoping you could help me with if thats ok.
    At the moment, i've manage to connect the external client to the 3CX server, on the client side, the list of extension do not come up and every time i try to make a call, i get this problem below:
    Any idea what is causing this?

    Time Function Message
    00:39:03.937 ExtnCfg::updateContact [CM504001]: Ext.115: new contact is registered. Contact(s): [sip:115@82.43.211.100:5060;rinstance=6300c10bc15f6a23/115]
    00:39:03.546 ExtnCfg::updateContact [CM504002]: Ext.115: a contact is unregistered. Contact(s): []
    00:38:55.750 Call::Terminate [CM503008]: Call(2): Call is terminated
    00:38:55.734 CallCtrl::eek:nIncomingCall [CM502001]: Source info: From: 2; To: "3CXPhone"[sip:115@82.24.13.76:5060];tag=4a4dc162[sip:100@82.24.13.76:5060]
    00:38:55.734 CallCtrl::eek:nIncomingCall [CM503012]: Call(2): Incoming call rejected, caller is unknown; msg=SipReq: INVITE 100@82.24.13.76:5060 tid=d264f46a2150094c cseq=INVITE contact=115@82.43.211.100:5060 / 2 from(wire)
    00:38:55.265 evt::CheckIfAuthIsRequired::not_handled [CM500002]: Unidentified incoming call. Review INVITE and adjust source identification:
    INVITE sip:100@82.24.13.76:5060 SIP/2.0
    Via: SIP/2.0/UDP 82.43.211.186:5060;branch=z9hG4bK-d87543-b66e203b4c444606-1--d87543-;rport=5060
    Max-Forwards: 70
    Contact: [sip:115@82.43.211.100:5060]
    To: [sip:100@82.24.13.76:5060]
    From: "3CXPhone"[sip:115@82.24.13.76:5060];tag=4a4dc162
    Call-ID: YTc0ZDFlNWRiNjU5M2FhNzA1ZWUyNDYwNDNlZWE2M2U.
    CSeq: 1 INVITE
    Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, NOTIFY, REFER
    Supported: replaces
    User-Agent: 3CX Phone v5.1
    Content-Length: 0


    00:38:55.265 evt::CheckIfAuthIsRequired::not_handled [CM302001]: Authorization system can not identify source of: SipReq: INVITE 100@82.24.13.76:5060 tid=b66e203b4c444606 cseq=INVITE contact=115@82.43.211.100:5060 / 1 from(wire)
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. h2009

    h2009 Member

    Joined:
    Mar 15, 2008
    Messages:
    447
    Likes Received:
    0
    I've tried loads of softphones, all the same problems.

    it also seems if i change my password the 3cx server does not pick up the change.
    Is anyone else having a problem with external extensions?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. amygoda

    amygoda Member

    Joined:
    Sep 18, 2006
    Messages:
    436
    Likes Received:
    0
    Hello
    The most problem you force for outside ext. is the ports
    the best way to set the router is fwd the port then use dmz
    you have to use stun server
    and the best way you install a server in both sites
    and make regisration for ext lines in first server as a line in the second server
     
  4. h2009

    h2009 Member

    Joined:
    Mar 15, 2008
    Messages:
    447
    Likes Received:
    0
    Both the 3CX server is DMZ and the 3CX client trying to connect is in the DMZ - so i cant see the conflict.
    The port forwarding i've got open when i pull things out of the DMZ are: TCP = 5090, 5060, 5065, 9000-9015, 35914 ; UDP = 9000-9015, 5004, 7000-7499, 58110, 10000

    Im using a dir-655 router on the server side and dir -615 for the client - this is emulator : http://www.support.dlink.com/emulators/dir655/login.html

    At the moment i've only got the free version to bridging to servers would be easier but not an option for now, until i can prove that the system will work for everything i need.

    So back to the problem, as you can see in the log the authorisation is failing, but the password is right.

    Thanks for your help.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. amygoda

    amygoda Member

    Joined:
    Sep 18, 2006
    Messages:
    436
    Likes Received:
    0
    you can install a free version in each site and config the line in the second server to connect the extention number in the first server (as you register in any sip provider)
    then make your dial plans to route the calls as your need
    notice : I did this way with main server 3cx and the branch server was other ip pbx
    but i think if booth are 3cx it will work fine
    i'll try to test it for you
     
  6. h2009

    h2009 Member

    Joined:
    Mar 15, 2008
    Messages:
    447
    Likes Received:
    0
    Ah thats a good idea,
    Thanks - i'll have to try and do that if i can get another spare pc
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  7. h2009

    h2009 Member

    Joined:
    Mar 15, 2008
    Messages:
    447
    Likes Received:
    0
    Ok i've setup two servers, but how would i link the extensions togethere?
    I.e. Calling from remote office to main office, and the other way.

    The servers have connected to each other.

    Thanks
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  8. amygoda

    amygoda Member

    Joined:
    Sep 18, 2006
    Messages:
    436
    Likes Received:
    0
    HELLO
    HOW YOU MAKE YOUR TOW SERVER CONNECTED
    MY IDEA DEPEND ON CONNECT EXTERNAL LINE IN THE SECOND SERVER TO EXTENTION NUMBRE IN THE FIRST SERVER

    1 - IN MAIN SERVER CREATE A NEW EXTENTION NUMBRE (70001)
    2 - IN SECOND SERVER CREATE EXTERNAL LINE WITH THE IP OF FIRST SERVER AND USER NAME PASSWORD
    3 - AFTER YOUR EXTERNAL LINE IN SECOND SERVER REGISTERD IN FIRST SERVER AS EXTENTION NUMBRE
    4 - MAKE A DIAL PLANE IN SECOND SERVER (EX: 88) TO USE THIS EXERNAL
    5- WHEN YOU WANT TO DIAL EXTENSTION 70101 IN MAIN SERVER FROM SECOND SERVER YOU DIAL 88 70101
    6- WHEN YOU WANT TO DIAL OUTSIDE NUMBRE FROM MAIN SERVER PSTN GATEWAY FROM SECOND SERVER YOU DIAL 88 +(GATE WAY DIAL PLANE) + OUT SIDE NUMBRE (EX 88 81 X XXX XXX XXXX
     
  9. h2009

    h2009 Member

    Joined:
    Mar 15, 2008
    Messages:
    447
    Likes Received:
    0
    Hi there,
    When i was testing i created the same thing as you suggested but it didnt work - i even remade everything but no luck.

    Here is the log from the SECOND server:

    Time Function Message
    20:25:30.777 Call::Terminate [CM503008]: Call(12): Call is terminated
    20:25:30.767 Call::RouteFailed [CM503014]: Call(12): Attempt to reach [sip:88100@192.168.0.194] failed. Reason: Not Found
    20:25:30.767 CallLeg::eek:nFailure [CM503003]: Call(12): Call to sip:88100@roedean.ath.cx:5060 has failed; Cause: 404 User unknown.; from IP:82.24.13.76:5060
    20:25:29.656 CallLeg::eek:nFailure [CM503003]: Call(12): Call to sip:88100@roedean.ath.cx:5060 has failed; Cause: 404 User unknown.; from IP:82.24.13.76:5060
    20:25:28.624 CallLeg::eek:nFailure [CM503003]: Call(12): Call to sip:88100@roedean.ath.cx:5060 has failed; Cause: 404 User unknown.; from IP:82.24.13.76:5060
    20:25:27.535 CallLeg::eek:nFailure [CM503003]: Call(12): Call to sip:88100@roedean.ath.cx:5060 has failed; Cause: 404 User unknown.; from IP:82.24.13.76:5060
    20:25:26.501 CallLeg::eek:nFailure [CM503003]: Call(12): Call to sip:88100@roedean.ath.cx:5060 has failed; Cause: 404 User unknown.; from IP:82.24.13.76:5060
    20:25:25.484 CallLeg::eek:nFailure [CM503003]: Call(12): Call to sip:88100@roedean.ath.cx:5060 has failed; Cause: 403 Forbidden; warning: Caller is forbidden; from IP:82.24.13.76:5060
    20:25:24.519 CallLeg::eek:nFailure [CM503003]: Call(12): Call to sip:88100@roedean.ath.cx:5060 has failed; Cause: 403 Forbidden; warning: Caller is forbidden; from IP:82.24.13.76:5060
    20:25:23.432 CallCtrl::eek:nSelectRouteReq [CM503004]: Call(12): Calling: VoIPline:10000@[Dev:sip:116@roedean.ath.cx:5060, Dev:sip:116@roedean.ath.cx:5060, Dev:sip:115@roedean.ath.cx:5060, Dev:sip:115@roedean.ath.cx:5060, Dev:sip:115@roedean.ath.cx:5060, Dev:sip:115@roedean.ath.cx:5060, Dev:sip:115@roedean.ath.cx:5060]
    20:25:23.376 CallCtrl::eek:nIncomingCall [CM503001]: Call(12): Incoming call from Ext.100 to [sip:88100@192.168.0.194]


    Log from the main server (sorry for the lenght - its seems since the last update the log level of detail isnt changable!)

    20:28:17.443 AuthMgr::eek:nAuthFailure [CM102001]: Authentication failed for SipReq: INVITE 88100@roedean.ath.cx:5060 tid=de2d8b2a5679fb09 cseq=INVITE contact=115@82.43.211.186:5060 / 2 from(wire); Reason: Credentials don't match, check that authorization-ID and password match the ones in extension settings
    20:28:16.662 evt::CheckIfAuthIsRequired::not_handled [CM500002]: Unidentified incoming call. Review INVITE and adjust source identification:
    INVITE sip:88100@roedean.ath.cx:5060 SIP/2.0
    Via: SIP/2.0/UDP 82.43.211.186:5060;branch=z9hG4bK-d87543-1117580208665c57-1--d87543-;rport=5060
    Max-Forwards: 70
    Route: [sip:roedean.ath.cx:5060;lr]
    Contact: [sip:115@82.43.211.186:5060]
    To: [sip:88100@roedean.ath.cx:5060]
    From: "100"[sip:115@roedean.ath.cx:5060];tag=bd120262
    Call-ID: NmU0ODg3NmFlM2I3NjFmNDgyMTY5NjlkYjk0MmEyZDE.
    CSeq: 1 INVITE
    Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REGISTER, SUBSCRIBE, NOTIFY, REFER, INFO
    User-Agent: 3CXPhoneSystem 5.1.4128.0
    Content-Length: 0


    20:28:16.662 evt::CheckIfAuthIsRequired::not_handled [CM302001]: Authorization system can not identify source of: SipReq: INVITE 88100@roedean.ath.cx:5060 tid=1117580208665c57 cseq=INVITE contact=115@82.43.211.186:5060 / 1 from(wire)
    20:28:16.396 AuthMgr::eek:nAuthFailure [CM102001]: Authentication failed for SipReq: INVITE 88100@roedean.ath.cx:5060 tid=c16f6c540668643a cseq=INVITE contact=115@82.43.211.186:5060 / 2 from(wire); Reason: Credentials don't match, check that authorization-ID and password match the ones in extension settings
    20:28:15.599 evt::CheckIfAuthIsRequired::not_handled [CM500002]: Unidentified incoming call. Review INVITE and adjust source identification:
    INVITE sip:88100@roedean.ath.cx:5060 SIP/2.0
    Via: SIP/2.0/UDP 82.43.211.186:5060;branch=z9hG4bK-d87543-9e65a674ce53ed5d-1--d87543-;rport=5060
    Max-Forwards: 70
    Route: [sip:roedean.ath.cx:5060;lr]
    Contact: [sip:115@82.43.211.186:5060]
    To: [sip:88100@roedean.ath.cx:5060]
    From: "100"[sip:115@roedean.ath.cx:5060];tag=75202274
    Call-ID: ZjMxMWNkYjBmY2FmYjFkNzNiMzlkMWQxNmJjYWQ3ZGY.
    CSeq: 1 INVITE
    Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REGISTER, SUBSCRIBE, NOTIFY, REFER, INFO
    User-Agent: 3CXPhoneSystem 5.1.4128.0
    Content-Length: 0


    20:28:15.599 evt::CheckIfAuthIsRequired::not_handled [CM302001]: Authorization system can not identify source of: SipReq: INVITE 88100@roedean.ath.cx:5060 tid=9e65a674ce53ed5d cseq=INVITE contact=115@82.43.211.186:5060 / 1 from(wire)
    20:28:15.349 AuthMgr::eek:nAuthFailure [CM102001]: Authentication failed for SipReq: INVITE 88100@roedean.ath.cx:5060 tid=8c55885bb0494805 cseq=INVITE contact=115@82.43.211.186:5060 / 2 from(wire); Reason: Credentials don't match, check that authorization-ID and password match the ones in extension settings
    20:28:14.458 evt::CheckIfAuthIsRequired::not_handled [CM500002]: Unidentified incoming call. Review INVITE and adjust source identification:
    INVITE sip:88100@roedean.ath.cx:5060 SIP/2.0
    Via: SIP/2.0/UDP 82.43.211.186:5060;branch=z9hG4bK-d87543-0653e37dfe27f945-1--d87543-;rport=5060
    Max-Forwards: 70
    Route: [sip:roedean.ath.cx:5060;lr]
    Contact: [sip:115@82.43.211.186:5060]
    To: [sip:88100@roedean.ath.cx:5060]
    From: "100"[sip:115@roedean.ath.cx:5060];tag=c9479743
    Call-ID: YjliZmQ2MjgzYjZlYTRiNGY5M2NhMjViYWUzYTc1ODM.
    CSeq: 1 INVITE
    Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REGISTER, SUBSCRIBE, NOTIFY, REFER, INFO
    User-Agent: 3CXPhoneSystem 5.1.4128.0
    Content-Length: 0


    20:28:14.458 evt::CheckIfAuthIsRequired::not_handled [CM302001]: Authorization system can not identify source of: SipReq: INVITE 88100@roedean.ath.cx:5060 tid=0653e37dfe27f945 cseq=INVITE contact=115@82.43.211.186:5060 / 1 from(wire)
    20:28:14.099 AuthMgr::eek:nAuthFailure [CM102001]: Authentication failed for SipReq: INVITE 88100@roedean.ath.cx:5060 tid=9915ca0e64574546 cseq=INVITE contact=115@82.43.211.186:5060 / 2 from(wire); Reason: Credentials don't match, check that authorization-ID and password match the ones in extension settings
    20:28:13.333 evt::CheckIfAuthIsRequired::not_handled [CM500002]: Unidentified incoming call. Review INVITE and adjust source identification:
    INVITE sip:88100@roedean.ath.cx:5060 SIP/2.0
    Via: SIP/2.0/UDP 82.43.211.186:5060;branch=z9hG4bK-d87543-c522e3037e531f4e-1--d87543-;rport=5060
    Max-Forwards: 70
    Route: [sip:roedean.ath.cx:5060;lr]
    Contact: [sip:115@82.43.211.186:5060]
    To: [sip:88100@roedean.ath.cx:5060]
    From: "100"[sip:115@roedean.ath.cx:5060];tag=e477214f
    Call-ID: YTdhM2NiNDI5NmRlNDhmYTEwYjc5ZTQwZjM0ZTc0MDg.
    CSeq: 1 INVITE
    Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REGISTER, SUBSCRIBE, NOTIFY, REFER, INFO
    User-Agent: 3CXPhoneSystem 5.1.4128.0
    Content-Length: 0


    20:28:13.333 evt::CheckIfAuthIsRequired::not_handled [CM302001]: Authorization system can not identify source of: SipReq: INVITE 88100@roedean.ath.cx:5060 tid=c522e3037e531f4e cseq=INVITE contact=115@82.43.211.186:5060 / 1 from(wire)
    20:28:13.083 AuthMgr::eek:nAuthFailure [CM102001]: Authentication failed for SipReq: INVITE 88100@roedean.ath.cx:5060 tid=0d6a896251557531 cseq=INVITE contact=115@82.43.211.186:5060 / 2 from(wire); Reason: Credentials don't match, check that authorization-ID and password match the ones in extension settings
    20:28:12.224 evt::CheckIfAuthIsRequired::not_handled [CM500002]: Unidentified incoming call. Review INVITE and adjust source identification:
    INVITE sip:88100@roedean.ath.cx:5060 SIP/2.0
    Via: SIP/2.0/UDP 82.43.211.186:5060;branch=z9hG4bK-d87543-192f3f4f2f438a73-1--d87543-;rport=5060
    Max-Forwards: 70
    Route: [sip:roedean.ath.cx:5060;lr]
    Contact: [sip:115@82.43.211.186:5060]
    To: [sip:88100@roedean.ath.cx:5060]
    From: "100"[sip:115@roedean.ath.cx:5060];tag=ad5fc755
    Call-ID: YzI4ZTRjNzYyY2JhNDY1ZGQ3YWUyY2FkODc4Y2Q3Nzg.
    CSeq: 1 INVITE
    Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REGISTER, SUBSCRIBE, NOTIFY, REFER, INFO
    User-Agent: 3CXPhoneSystem 5.1.4128.0
    Content-Length: 0


    20:28:12.224 evt::CheckIfAuthIsRequired::not_handled [CM302001]: Authorization system can not identify source of: SipReq: INVITE 88100@roedean.ath.cx:5060 tid=192f3f4f2f438a73 cseq=INVITE contact=115@82.43.211.186:5060 / 1 from(wire)
    20:28:11.880 Call::Terminate [CM503008]: Call(2): Call is terminated
    20:28:11.880 CallCtrl::eek:nIncomingCall [CM502001]: Source info: From: 2; To: "100"[sip:116@roedean.ath.cx:5060];tag=78561b26[sip:88100@roedean.ath.cx:5060]
    20:28:11.880 CallCtrl::eek:nIncomingCall [CM503012]: Call(2): Incoming call rejected, caller is unknown; msg=SipReq: INVITE 88100@roedean.ath.cx:5060 tid=cd0762149a2efa46 cseq=INVITE contact=116@82.43.211.186:5060 / 2 from(wire)
    20:28:11.177 evt::CheckIfAuthIsRequired::not_handled [CM500002]: Unidentified incoming call. Review INVITE and adjust source identification:
    INVITE sip:88100@roedean.ath.cx:5060 SIP/2.0
    Via: SIP/2.0/UDP 82.43.211.186:5060;branch=z9hG4bK-d87543-534cbb1dc53a7478-1--d87543-;rport=5060
    Max-Forwards: 70
    Route: [sip:roedean.ath.cx:5060;lr]
    Contact: [sip:116@82.43.211.186:5060]
    To: [sip:88100@roedean.ath.cx:5060]
    From: "100"[sip:116@roedean.ath.cx:5060];tag=78561b26
    Call-ID: NThlYTg3NjU3OWQ5M2YxM2UwYTEzMDU4ZDYzZDI4NmE.
    CSeq: 1 INVITE
    Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REGISTER, SUBSCRIBE, NOTIFY, REFER, INFO
    User-Agent: 3CXPhoneSystem 5.1.4128.0
    Content-Length: 0


    20:28:11.177 evt::CheckIfAuthIsRequired::not_handled [CM302001]: Authorization system can not identify source of: SipReq: INVITE 88100@roedean.ath.cx:5060 tid=534cbb1dc53a7478 cseq=INVITE contact=116@82.43.211.186:5060 / 1 from(wire)
    20:28:10.990 Call::Terminate [CM503008]: Call(1): Call is terminated
    20:28:10.912 CallCtrl::eek:nIncomingCall [CM502001]: Source info: From: 1; To: "100"[sip:116@roedean.ath.cx:5060];tag=1370b22a[sip:88100@roedean.ath.cx:5060]
    20:28:10.912 CallCtrl::eek:nIncomingCall [CM503012]: Call(1): Incoming call rejected, caller is unknown; msg=SipReq: INVITE 88100@roedean.ath.cx:5060 tid=616a14544a15d81b cseq=INVITE contact=116@82.43.211.186:5060 / 2 from(wire)
    20:28:10.146 evt::CheckIfAuthIsRequired::not_handled [CM500002]: Unidentified incoming call. Review INVITE and adjust source identification:
    INVITE sip:88100@roedean.ath.cx:5060 SIP/2.0
    Via: SIP/2.0/UDP 82.43.211.186:5060;branch=z9hG4bK-d87543-af62ce099c19811f-1--d87543-;rport=5060
    Max-Forwards: 70
    Route: [sip:roedean.ath.cx:5060;lr]
    Contact: [sip:116@82.43.211.186:5060]
    To: [sip:88100@roedean.ath.cx:5060]
    From: "100"[sip:116@roedean.ath.cx:5060];tag=1370b22a
    Call-ID: ZGJkZWIxMDIzYzJmYzc3MzY0MGM5NDBmNjYzNjM0MjI.
    CSeq: 1 INVITE
    Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REGISTER, SUBSCRIBE, NOTIFY, REFER, INFO
    User-Agent: 3CXPhoneSystem 5.1.4128.0
    Content-Length: 0


    20:28:10.146 evt::CheckIfAuthIsRequired::not_handled [CM302001]: Authorization system can not identify source of: SipReq: INVITE 88100@roedean.ath.cx:5060 tid=af62ce099c19811f cseq=INVITE contact=116@82.43.211.186:5060 / 1 from(wire)
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  10. h2009

    h2009 Member

    Joined:
    Mar 15, 2008
    Messages:
    447
    Likes Received:
    0
    FIXED

    Ok i seem to have it all working now!
    I down graded the server version (now just install the downloaded free/licensed software - DO NOT UPDATE.

    Make sure you have your 3CX main server working and set the following:

    Under general settings - 'settings for SIP calls' - tick box on, local domain (your public ip address)

    The external extension - PBX delivier audio (ticked off)

    -------------

    On the remote side, test with the softphone client:
    the logon details as follows:

    IP or FQDN : your public ip address

    Use the 3CX phone settings (not the SIP settings)
    Extension number: same as above you wish to connect
    password: for the ext above

    Don't use the tunnel, dont use the stun server setting - so leave the boxes unticked.

    And it should work. The only thing which doesnt work is the internal extension numbers list
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Thread Status:
Not open for further replies.