Dialing Mexico gives a 'Forbidden' message.

Discussion in '3CX Phone System - General' started by tlsallada, Dec 12, 2013.

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

    Joined:
    Oct 23, 2013
    Messages:
    29
    Likes Received:
    0
    I had a user try to call a number in Mexico and the display indicated 'Forbidden'. There's nothing in the 'Outgoing Rule' that should prevent the call going out (There are more digits allowed that the number is long). When 3CX was initially set up, I didn't prevent any countries from being called.
    Any help is appreciated!!
     
  2. AndreasP_3CX

    AndreasP_3CX New Member
    3CX Support

    Joined:
    Feb 15, 2013
    Messages:
    196
    Likes Received:
    2
    Hi tlsallada,

    do you have an outgoing rule specified for outgoing calls to Mexico? the 3CX Server activity log should also help in seeing what goes wrong and why. If you have any further questions or inquiries please let us know.

    Best Regards
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. tlsallada

    Joined:
    Oct 23, 2013
    Messages:
    29
    Likes Received:
    0
    Here is the log when I try to call the number in Mexico..


    Terry Sallada


    To
    terry@advancedcommsec.com











    13-Dec-2013 11:13:46.350 L:1840.1[Extn]: Terminating targets, reason:
    13-Dec-2013 11:13:46.350 Leg L:1840.1[Extn] is terminated: Cause: BYE from PBX
    13-Dec-2013 11:13:46.350 L:1840.1[Extn] Sending: OnSendResp Send 403/INVITE from 0.0.0.0:0 tid=1886629003 Call-ID=1460806@10.1.5.54:
    SIP/2.0 403 Forbidden
    Via: SIP/2.0/UDP 10.1.5.54:5062;branch=z9hG4bK1886629003
    To: <sip:9011528999580285@10.1.5.28>;tag=ed694252
    From: "Server Room"<sip:3265@10.1.5.28>;tag=921767165
    Call-ID: 1460806@10.1.5.54
    CSeq: 2 INVITE
    Warning: 499 PATTON-SNBX "Forbidden"
    Content-Length: 0
    13-Dec-2013 11:13:46.336 [CM503020]: Call(C:1840): Normal call termination. Call originator: Extn:3265. Reason: Forbidden
    13-Dec-2013 11:13:46.336 [CM503016]: Call(C:1840): Attempt to reach <sip:9011528999580285@10.1.5.28:5060> from Extn:3265 has failed. Reason: Busy
    13-Dec-2013 11:13:46.335 [Flow] Call(C:1840): has built target endpoint: EndCall:EndCall for call from L:1840.1[Extn]
    13-Dec-2013 11:13:46.334 [CM503010]: Call(C:1840): Making route(s) from Extn:3265 to <sip:9011528999580285@10.1.5.28:5060>
    13-Dec-2013 11:13:46.334 Remote SDP is set for leg L:1840.1[Extn]
    13-Dec-2013 11:13:46.334 [CM505001]: Endpoint Extn:3265: Device info: Device Not Identified: User Agent not matched; Capabilities:[reinvite, replaces, able-no-sdp, recvonly] UserAgent: [Yealink SIP-T42G 29.71.0.91] PBX contact: [sip:3265@10.1.5.28:5060]
    13-Dec-2013 11:13:46.331 [CM500002]: Call(C:1840): Info on incoming INVITE from Extn:3265:
    Invite-IN Recv Req INVITE from 10.1.5.54:5062 tid=1886629003 Call-ID=1460806@10.1.5.54:
    INVITE sip:9011528999580285@10.1.5.28:5060 SIP/2.0
    Via: SIP/2.0/UDP 10.1.5.54:5062;branch=z9hG4bK1886629003
    Max-Forwards: 70
    Contact: <sip:3265@10.1.5.54:5062>
    To: <sip:9011528999580285@10.1.5.28>
    From: "Server Room"<sip:3265@10.1.5.28>;tag=921767165
    Call-ID: 1460806@10.1.5.54
    CSeq: 2 INVITE
    Allow: INVITE, INFO, PRACK, ACK, BYE, CANCEL, OPTIONS, NOTIFY, REGISTER, SUBSCRIBE, REFER, PUBLISH, UPDATE, MESSAGE
    Conten
     
  4. leejor

    leejor Well-Known Member

    Joined:
    Jan 22, 2008
    Messages:
    10,360
    Likes Received:
    226
    While calls can be blocked using 3CX outbound rules, as well as blocked to certain countries/regions using other features within 3CX, it would appear as if the forbidden is coming from your Gateway.

    I'm not familiar with the Patton Smartnode Branch Exchange, but the name suggests that it probably has the ability to route and reject calls based on the country codes, or other factors.
     
  5. sigma1

    sigma1 Active Member

    Joined:
    Nov 20, 2009
    Messages:
    542
    Likes Received:
    1
    Do you have an outbound rule for International? Are you using a SIP trunk?

    Outbound rule (looks like you use 9)

    Prefix 9011
    STRIP 4 if using most SIP trunks so that it sends only Country CODE and number
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Thread Status:
Not open for further replies.