Forbidden

Discussion in '3CX Phone System - General' started by Rel82me, Aug 8, 2010.

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

    Joined:
    Aug 8, 2010
    Messages:
    7
    Likes Received:
    0
    HI everyone,

    Having a bit of an issue here and after having spent a couple of hours attempting to research this myself, I've finally come to the conclusion that I'm going to need some help from the community at large.

    Alright, I've setup the 3CX SIP client, and can make calls and receive calls with a profile setup for Call Centric. However, I've installed the 3CX PBX and have created a separate profile for use with it. The PBX Port/Trunk Status is green and appears to be registered with Call Centric. I can also visually see my extension status as enabled when I connect using the 3CX SIP software, and disable when I disconnect. Further, I can also see the Phone Model, user ID, etc under Phones and can receive incoming calls.

    But I CAN'T place out going calls. When I attempt to dial 1xxx-xxx-xxxx the SIP phone displays "Dialing" then a moment later "Forbidden" I've seen a number of posts here regarding this, but can't seem to resolve the issue.

    Here's the latest part of my log:

    20:55:20.258 Requests rate from IP 127.0.0.1:64739 is too high! Blacklisted for 167 seconds
    20:55:20.258 [CM500002]: Unidentified incoming call. Review INVITE and adjust source identification:
    INVITE sip:14165256595@localhost:5060 SIP/2.0
    Via: SIP/2.0/UDP 127.0.0.1:64739;branch=z9hG4bK-d8754z-f5610f6ff9006d66-1---d8754z-;rport=64739
    Max-Forwards: 70
    Contact: <sip:101@127.0.0.1:64739;rinstance=54a3441b7b083da1>
    To: <sip:14165256595@localhost:5060>
    From: "A&O Systems Group"<sip:101@localhost:5060>;tag=9a338045
    Call-ID: ZWM4ODVlYjE3ZjM1ZGY1MTA4MzczZjhjZjczYmI1NGM.
    CSeq: 1 INVITE
    Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REGISTER, SUBSCRIBE, NOTIFY, REFER, INFO, MESSAGE
    Supported: replaces
    User-Agent: 3CXPhone 4.0.13679.0
    Content-Length: 0

    20:55:20.258 [CM302001]: Authorization system can not identify source of: SipReq: INVITE 14165256595@localhost:5060 tid=f5610f6ff9006d66 cseq=INVITE contact=101@127.0.0.1:64739 / 1 from(wire)
    20:52:34.907 [CM302001]: Authorization system can not identify source of: SipReq: SUBSCRIBE 101@localhost:5060 tid=5e28306a480e7267 cseq=SUBSCRIBE contact=101@127.0.0.1:64739 / 1 from(wire)
    20:52:34.709 [CM504001]: Ext.101: new contact is registered. Contact(s): [sip:101@127.0.0.1:64739;rinstance=54a3441b7b083da1/101]
    20:48:07.804 Requests rate from IP 127.0.0.1:51841 is too high! Blacklisted for 167 seconds
    20:48:07.804 [CM500002]: Unidentified incoming call. Review INVITE and adjust source identification:
    INVITE sip:14165859658@localhost:5060 SIP/2.0
    Via: SIP/2.0/UDP 127.0.0.1:51841;branch=z9hG4bK-d8754z-1820e8504d158e19-1---d8754z-;rport=51841
    Max-Forwards: 70
    Contact: <sip:101@127.0.0.1:51841;rinstance=908f9ad6c0f738d8>
    To: <sip:14165859658@localhost:5060>
    From: "A&O Systems Group"<sip:101@localhost:5060>;tag=c256a53e
    Call-ID: YjNiNDZjNjRmMWJkMWM1N2ExZGViNjdlZjM4MmJhOTY.
    CSeq: 1 INVITE
    Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REGISTER, SUBSCRIBE, NOTIFY, REFER, INFO, MESSAGE
    Supported: replaces
    User-Agent: 3CXPhone 4.0.13679.0
    Content-Length: 0

    Thanks or any help you can provide.
     
  2. leejor

    leejor Well-Known Member

    Joined:
    Jan 22, 2008
    Messages:
    10,868
    Likes Received:
    304
    Well, right of the bat, I don't see any "normal" private IP addresses in the log, which means that a few things may not be set up properly. What is the IP of your PC running 3CX? What is the IP of the PC running the 3CX soft phone? Are you trying to run the softphone on the same PC?
     
  3. Rel82me

    Joined:
    Aug 8, 2010
    Messages:
    7
    Likes Received:
    0
    leejor,

    Thanks for your response.

    The sip client and the pbx are both running on the same box and adjusted port forwarding on my linksys router for both tcp and udp on port 5060 to 192.168.1.102. (this address assigned by the router, through DHCP.) I also stopped all pbx servers and used the "test firewall" function and everything came back as "passed".
     
  4. Rel82me

    Joined:
    Aug 8, 2010
    Messages:
    7
    Likes Received:
    0
    And yes, I am running both the sip client and the pbx on the same box, if I didn't mention that in my previous post.
     
  5. leejor

    leejor Well-Known Member

    Joined:
    Jan 22, 2008
    Messages:
    10,868
    Likes Received:
    304
    You are probably going have issues. I suspect that the soft phone was not intended to run on the same PC as the PBX. The IP for both devices will be the same. You might try changing the port on the softphone to something other than the default of 5060 since 3CX uses that already. Good luck.
     
  6. Rel82me

    Joined:
    Aug 8, 2010
    Messages:
    7
    Likes Received:
    0
    Strange..Even during configuration, the server provided me with the following:

    Proxy Server or FQDN: 169.25483.226:5060
    SIP ID: 101
    authentication id: 101
    password: *********


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

    I've reconfigured the server according to the FAQ on Call Centric as well as the SIP client. Here's the latest log output. Suggestions anyone?

    00:01:04.222 [CM503020]: Normal call termination. Reason: Not found
    00:01:04.221 [CM503016]: Call(13): Attempt to reach <sip:14162198504@169.254.83.226:5060> failed. Reason: Not Found
    00:01:04.221 [CM503014]: Call(13): No known route to target: <sip:14162198504@169.254.83.226:5060>
    00:01:04.219 [CM503010]: Making route(s) to <sip:14162198504@169.254.83.226:5060>
    00:01:04.216 [CM505001]: Ext.101: Device info: Device Not Identified: User Agent not matched; Capabilities:[reinvite, replaces, able-no-sdp, recvonly] UserAgent: [3CXPhone 4.0.13679.0] PBX contact: [sip:101@169.254.83.226:5060]
    00:01:04.209 [CM503001]: Call(13): Incoming call from Ext.101 to <sip:14162198504@169.254.83.226:5060>
    23:59:33.147 [CM503016]: Call(12): Attempt to reach <sip:14165321979@169.254.83.226:5060> failed. Reason: Not Found
    23:59:33.145 [CM503010]: Making route(s) to <sip:14165321979@169.254.83.226:5060>
    23:59:33.129 [CM503001]: Call(12): Incoming call from Ext.101 to <sip:14165321979@169.254.83.226:5060>
    23:59:26.538 [CM504002]: Ext.101: a contact is unregistered. Contact(s): []
    23:58:54.415 [CM503016]: Call(11): Attempt to reach <sip:14165321979@169.254.83.226:5060> failed. Reason: Not Found
    23:58:54.413 [CM503010]: Making route(s) to <sip:14165321979@169.254.83.226:5060>
     
  7. leejor

    leejor Well-Known Member

    Joined:
    Jan 22, 2008
    Messages:
    10,868
    Likes Received:
    304
    Does the 3CX log show that it is registering properly with Call Centric?

    Can you ping that IP from the 3CX PC?

    All of the IP's are the same. And none (the extension) are the private IP you listed earlier.

    [/quote]Phone 4.0.13679.0] PBX contact: [sip:101@169.254.83.226:5060][/quote]

    And this is troubling..

     
  8. Rel82me

    Joined:
    Aug 8, 2010
    Messages:
    7
    Likes Received:
    0
    Microsoft Windows [Version 6.1.7600]
    Copyright (c) 2009 Microsoft Corporation. All rights reserved.
    I can, here's the results of the ping. I'm not sure where it's getting this IP from though.

    C:\Users\Oliver>ping 169.254.83.226

    Pinging 169.254.83.226 with 32 bytes of data:
    Reply from 169.254.83.226: bytes=32 time<1ms TTL=128
    Reply from 169.254.83.226: bytes=32 time<1ms TTL=128
    Reply from 169.254.83.226: bytes=32 time<1ms TTL=128
    Reply from 169.254.83.226: bytes=32 time<1ms TTL=128

    Ping statistics for 169.254.83.226:
    Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
    Approximate round trip times in milli-seconds:
    Minimum = 0ms, Maximum = 0ms, Average = 0ms

    C:\Users\Oliver>
     
  9. Rel82me

    Joined:
    Aug 8, 2010
    Messages:
    7
    Likes Received:
    0
    Dudes:

    It's working. It was all in the call prefix. Instructions at Call Centric and badly written. But thanks everyone for your help!
     
Thread Status:
Not open for further replies.