Country Blocking not working

Discussion in '3CX Phone System - General' started by craigreilly, Dec 1, 2014.

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

    craigreilly Well-Known Member

    Joined:
    Feb 1, 2012
    Messages:
    3,079
    Likes Received:
    202
    My system is setup to not allow calls to many North American areas, including Dominican Republic.
    (+1 809/829/849)


    Yet, calls go through just fine.

    However, someone tried to call Panama today, and it did not go through, as it is restricted.
    Code:
    Call from [1221] to [011507xxxxxx0] has been rejected by the 3CX Country Blocking Feature [011507].
    Reason: 011507xxxxxx0 contains Prefix  011507. Calls to 011507 are not allowed by system. 
    Resolution: To allow this call access the 3CX Management Console, Settings, Security, Allowed Country Codes and enable the country or continent that matches this prefix.
    
    My outbound rules treat this country as 11 digit dialing (or add a 1 if missing the area code).


    Call Log:
    Code:
    01-Dec-2014 15:18:34.446	Leg L:15196.2[Line:10005>>1809xxxxxxx] is terminated: Cause: 487 Request Terminated/INVITE from 198.x.x.33:5060
    01-Dec-2014 15:18:34.293	[CM503008]: Call(C:15196): Call is terminated
    01-Dec-2014 15:18:34.291	Leg L:15196.1[Extn] is terminated: Cause: CANCEL from 10.0.3.65:5062
    01-Dec-2014 15:18:31.172	[CM503025]: Call(C:15196): Calling T:Line:10005>>1809xxxxxxx@[Dev:sip:account@switch2.sigmavoip.com:5060] for L:15196.1[Extn]
    01-Dec-2014 15:18:30.954	[CM503027]: Call(C:15196): From: Extn:4954 ("Craig Reilly" <sip:4954@10.0.0.12:5060>)  to  T:Line:10000>>1809xxxxxxx@[Dev:sip:account@losangeles.voip.ms:5060]
    01-Dec-2014 15:18:30.954	[CM503004]: Call(C:15196): Route 2: from L:15196.1[Extn] to T:Line:10000>>1809xxxxxxx@[Dev:sip:account@losangeles.voip.ms:5060]
    01-Dec-2014 15:18:30.954	[CM503027]: Call(C:15196): From: Extn:4954 ("Craig Reilly" <sip:4954@10.0.0.12:5060>)  to  T:Line:10005>>1809xxxxxxx@[Dev:sip:account@switch2.sigmavoip.com:5060]
    01-Dec-2014 15:18:30.954	[CM503004]: Call(C:15196): Route 1: from L:15196.1[Extn] to T:Line:10005>>1809xxxxxxx@[Dev:sip:account@switch2.sigmavoip.com:5060]
    01-Dec-2014 15:18:30.954	Call(C:15196): Call from Extn:4954 to 1809xxxxxxx matches outbound rule 'CORP - 11'
    01-Dec-2014 15:18:30.953	[CM503001]: Call(C:15196): Incoming call from Extn:4954 to <sip:1809xxxxxxx@10.0.0.12:5060>
    01-Dec-2014 15:18:30.952	NAT/ALG check:L:15196.1[Extn] REQUEST 'INVITE' - basic check passed. No information for extended checks
    
     

    Attached Files:

    • dr.png
      dr.png
      File size:
      20.8 KB
      Views:
      873
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. craigreilly

    craigreilly Well-Known Member

    Joined:
    Feb 1, 2012
    Messages:
    3,079
    Likes Received:
    202
    Apparently the issue is that the DR does not require a 011 to call. It is an 11 digit number
    1-809/1829/1849-xxx-xxxx i considered like a US Number

    So, maybe if I uncheck USA - it wouldn't go thru...
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. jasit

    jasit New Member

    Joined:
    Feb 12, 2013
    Messages:
    171
    Likes Received:
    1
    good to know, I would have never guessed that one, i am going to create an outbound rule to block those calls.
     
  4. craigreilly

    craigreilly Well-Known Member

    Joined:
    Feb 1, 2012
    Messages:
    3,079
    Likes Received:
    202
    I haven't tested it yet by turning off calls to the USA...

    We actually want to be able to make calls to the Dominican Republic.

    We have 4 offices there with 1 phone in each. They connect back to my corporate 3cx switch with a separate VoIP Account.
    Some of their calls are to area hotels... the rate isn't awful for some calls. I think about 4.5 cents or so.
    However some are 13 or 16 cents for some mobile providers.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. jasit

    jasit New Member

    Joined:
    Feb 12, 2013
    Messages:
    171
    Likes Received:
    1
    Just create two outbound rules for the three area codes with and without the one 10 and 11 digit and move it to the top of your outbound list. Should block it. I am in Canada, so blocking us is not an option.
     
Thread Status:
Not open for further replies.