Block Outbound Caller ID Dial Code - "Caller is Forbidden"

Discussion in '3CX Phone System - General' started by mjt, Jan 24, 2013.

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

    mjt

    Joined:
    Aug 9, 2012
    Messages:
    2
    Likes Received:
    0
    Greetings Everyone,

    I recently backed up, then imported Tenant 2 from a multi-tenant install to Tenant 2 of a different multi-tenant install. Since then, the "Block outgoing Caller ID" dial code has not worked. When used, the call fails instantly. Please find below a sanitized log of one such call:

    Code:
    24-01-2013 13:19:19.221   L:23240.1[Unknown:]: Terminating targets, reason:
    24-01-2013 13:19:19.221   Leg L:23240.1[Unknown:] is terminated: Cause: BYE from PBX
    24-01-2013 13:19:19.221   L:23240.1[Unknown:] Sending: OnSendResp Send 403/INVITE from 0.0.0.0:0 tid=2971065acb5a065d Call-ID=b36bef9474bba14d@{PHONE LAN IP}:
    SIP/2.0 403 Forbidden
    Via: SIP/2.0/TCP {PHONE LAN IP}:5060;branch=z9hG4bK2971065acb5a065d
    To: <sip:{DIALED #}@{3CX PBX LAN IP}:6060;user=phone>;tag=91082335
    From: "Anonymous"<sip:anonymous@anonymous.invalid;user=phone>;tag=d174cdcfabf01c7e
    Call-ID: b36bef9474bba14d@{PHONE LAN IP}
    CSeq: 22522 INVITE
    Warning: 499 {3CX PBX HOST NAME} "Caller is forbidden"
    Content-Length: 0
    24-01-2013 13:19:19.172   [CM503013]: Call(C:23240): Incoming call rejected, caller is unknown; msg=Ivite-IN Recv Req INVITE from {PHONE LAN IP}:5060 tid=2971065acb5a065d Call-ID=b36bef9474bba14d@{PHONE LAN IP}:
    INVITE sip:{DIALED #}@{3CX PBX LAN IP}:6060;user=phone SIP/2.0
    Via: SIP/2.0/TCP {PHONE LAN IP}:5060;branch=z9hG4bK2971065acb5a065d
    Max-Forwards: 70
    Route: <sip:{3CX PBX LAN IP};transport=tcp;lr>
    Contact: <sip:102@{PHONE LAN IP}:5060;transport=tcp;user=phone>
    To: <sip:{DIALED #}@{3CX PBX LAN IP}:6060;user=phone>
    From: "Anonymous"<sip:anonymous@anonymous.invalid;user=phone>;tag=d174cdcfabf01c7e
    Call-ID: b36bef9474bba14d@{PHONE LAN IP}
    CSeq: 22522 INVITE
    Allow: INVITE, ACK, CANCEL, BYE, NOTIFY, REFER, OPTIONS, INFO, SUBSCRIBE, UPDATE, PRACK, MESSAGE
    Content-Type: application/sdp
    Proxy-Authorization: Digest username="102",realm="3CXPhoneSystem",algorithm=MD5,uri="sip:{DIALED #}@{3CX PBX LAN IP}:6060;user=phone",nonce="414d535c07120c2664:baedf02b6a91bbee29a99af3591b0e44",response="5ac73ce15e12b09219733901c7157cd1"
    Supported: replaces, timer, path
    User-Agent: Grandstream GXP2000 1.2.5.3
    Content-Length: 379
    P-Early-Media: Supported
    
    v=0
    o=102 8001 8001 IN IP4 {PHONE LAN IP}
    s=SIP Call
    c=IN IP4 {PHONE LAN IP}
    t=0 0
    m=audio 6556 RTP/AVP 18 0 8 97 2 4 3 101
    a=sendrecv
    a=rtpmap:18 G729/8000
    a=rtpmap:0 PCMU/8000
    a=rtpmap:8 PCMA/8000
    a=rtpmap:97 iLBC/8000
    a=fmtp:97 mode=20
    a=rtpmap:2 G726-32/8000
    a=rtpmap:4 G723/8000
    a=rtpmap:3 GSM/8000
    a=ptime:20
    a=rtpmap:101 telephone-event/8000
    a=fmtp:101 0-11
    24-01-2013 13:19:19.171   Call(C:23240) is terminated
    24-01-2013 13:19:19.171   IncomingCall: C:23240 from <sip:anonymous@anonymous.invalid:5060> to <sip:{DIALED #}@{3CX PBX LAN IP}:6060>
    24-01-2013 13:19:19.171   Added leg L:C:23240.1[No endpoint yet]
    
    Any suggestions on how to fix this would be greatly appreciated.
     
  2. 3CXfoxhallsolutions

    3CXfoxhallsolutions New Member

    Joined:
    Sep 8, 2012
    Messages:
    211
    Likes Received:
    0
    Re: Block Outbound Caller ID Dial Code - "Caller is Forbidde

    Obvious question ... Same 3CX software version on both platforms???
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. mjt

    mjt

    Joined:
    Aug 9, 2012
    Messages:
    2
    Likes Received:
    0
    Re: Block Outbound Caller ID Dial Code - "Caller is Forbidde

    Yes, same version of 3CX used for backup and restore. Figured out the issue, though. Since the backup process does not retain changes to the templates (among other things, extremely frustrating), I lost some of the changes I had made. Namely, enabling dial codes for my GXP-2000 phones. If anyone stumbled upon this post with the same issue, the P code is:

    # Enable Call Features for Account 1. 0 - no, 1 - yes
    P191 = 1
     
  4. 3CXfoxhallsolutions

    3CXfoxhallsolutions New Member

    Joined:
    Sep 8, 2012
    Messages:
    211
    Likes Received:
    0
    Re: Block Outbound Caller ID Dial Code - "Caller is Forbidde

    Thanks for the closure ...
    Yes - not obvious, but upgrades also overwrite template changes. Always useful to have a e.g. .txt file copy of your amended template.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Thread Status:
Not open for further replies.