Dismiss Notice
We would like to remind you that we’re updating our login process for all 3CX forums whereby you will be able to login with the same credentials you use for the Partner or Customer Portal. Click here to read more.

Outbound rule with + in callerid

Discussion in 'Windows' started by erike4, Dec 29, 2010.

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

    Joined:
    Nov 19, 2010
    Messages:
    13
    Likes Received:
    0
    In South Africa here (Tanzania, Mozambique and others) the callerid has a "+" rather that the two leading zeros for international calls and local calls (local calls are all prepended with +27 <South African country code> rather than the leading zero). Out providor and I have tried many rules to strip this off but it seems that the "+" make the number skip ruel processing. The reason for this is to return a call without punching in the number and just using the redial button.
     
  2. erike4

    Joined:
    Nov 19, 2010
    Messages:
    13
    Likes Received:
    0
    Here is log:
    11:03:17.677 [CM503008]: Call(4): Call is terminated
    11:03:17.671 [CM503023]: Call(4): Call recording is stopped, audio file: D:\Recordings\15\[27123720330]_15-+27123779000_20101229110312(4).wav
    11:03:12.851 Session 240 of leg C:4.1 is confirmed
    11:03:12.732 [CM503007]: Call(4): Device joined: sip:EndCall@127.0.0.1:40600;rinstance=66c5e7bb06784f6f
    11:03:12.726 [CM503007]: Call(4): Device joined: sip:15@192.168.1.100:5060;transport=udp
    11:03:12.725 [CM503022]: Call(4): Call recording is started, audio file: D:\Recordings\15\[27123720330]_15-+27123779000_20101229110312(4).wav
    11:03:12.715 [MS210003] C:4.1:Answer provided. Connection(transcoding mode[unsecure]):192.168.1.250:7006(7007)
    11:03:12.708 [MS210001] C:4.2:Answer received. RTP connection[unsecure]: 127.0.0.1:40610(40611)
    11:03:12.706 Remote SDP is set for legC:4.2
    11:03:12.696 [CM503002]: Call(4): Alerting sip:EndCall@127.0.0.1:40600;rinstance=66c5e7bb06784f6f
    11:03:12.553 [CM503025]: Call(4): Calling Unknown:Ext.EndCall@[Dev:sip:EndCall@127.0.0.1:40600;rinstance=66c5e7bb06784f6f]
    11:03:12.551 [MS210002] C:4.2:Offer provided. Connection(transcoding mode): 127.0.0.1:7008(7009)
    11:03:12.539 [CM503016]: Call(4): Attempt to reach "+27123779000"<sip:+27123779000@192.168.1.250:5060> failed. Reason: Not Found
    11:03:12.539 [CM503014]: Call(4): No known route to target: "+27123779000"<sip:+27123779000@192.168.1.250:5060>
    11:03:12.523 [CM503010]: Making route(s) to "+27123779000"<sip:+27123779000@192.168.1.250:5060>
    11:03:12.522 [MS210000] C:4.1:Offer received. RTP connection: 192.168.1.100:3000(3001)
    11:03:12.517 Remote SDP is set for legC:4.1
    11:03:12.512 [CM505001]: Ext.15: Device info: Device Not Identified: User Agent not matched; Capabilities:[reinvite, replaces, able-no-sdp, recvonly] UserAgent: [Aastra 6731i/2.6.0.2010] PBX contact: [sip:15@192.168.1.250:5060]
    11:03:12.505 [CM503001]: Call(4): Incoming call from Ext.15 to "+27123779000"<sip:+27123779000@192.168.1.250:5060>
    11:03:12.493 [CM500002]: Info on incoming INVITE:
    INVITE sip:+27123779000@192.168.1.250:5060 SIP/2.0
    Via: SIP/2.0/UDP 192.168.1.100:5060;branch=z9hG4bKd593ec15d6e7e8e62.1620e7c61614a75da
    Max-Forwards: 70
    Contact: "27123720330"<sip:15@192.168.1.100:5060;transport=udp>;+sip.instance="<urn:uuid:00000000-0000-1000-8000-00085D29157B>"
    To: "+27123779000"<sip:+27123779000@192.168.1.250:5060>
    From: "27123720330"<sip:15@192.168.1.250:5060>;tag=dfc8d1cfab
    Call-ID: e9f1c2f4c1ca0e78
    CSeq: 14193 INVITE
    Allow: INVITE, ACK, CANCEL, BYE, NOTIFY, REFER, OPTIONS, UPDATE, PRACK, SUBSCRIBE, INFO
    Proxy-Authorization: Digest username="15",realm="3CXPhoneSystem",nonce="414d535c032b8a5095:8d2cbc4f0bca322019e29dcf6f5422d1",uri="sip:+27123779000@192.168.1.250:5060",response="0b35ff946eb572ae18ca8578311c3118",algorithm=MD5
    Supported: gruu, path, timer, 100rel, replaces
    User-Agent: Aastra 6731i/2.6.0.2010
    Allow-Events: talk, hold, conference, LocalModeStatus
    Content-Length: 0


    rule is Numbers starting with prefix = +27 strip=3 prepend=0
     
Thread Status:
Not open for further replies.