Calling Forward to Destination with specific format

Hi,


Anyone can help me with the below, I got this information from a telecommunication company, what do I have to do to send the number as per his request

 
You are sending the originating Number (A#) as “0” and  the Destination Number as “94888231”.

While it should be as follows:

The originating Number (A#), should be 96611510XXXX format.

The Destination Number should be “0114777231”.
 

Regards
waref86Asked:
Who is Participating?
 
sr75Commented:
use voice translation rules
To create a rule for the destination,  when you create the profile set it as CALLED.  
To create a rule for the origination, when you create the profile set it as CALLING.

Apply the voice translation profile as OUTGOING.

Sort of like this:

voice translation-rule 1
    rule 1 /^94888231/ /0114777231/

voice translation-rule 2
    rule 1 /^0\(....\)/ /96611510\1/

voice translation profile CHANGE-ME
    translate called 1
    translate calling 2

dial-peer voice 1 pots
   translation-profile outgoing CHANGE-ME
0
 
Mohammed HamadaSenior IT ConsultantCommented:
What Sip/VoIP gateway or PBX are you using ? You will need to change the normalization rule on it in order to match the telecom company's request.
0
 
waref86Author Commented:
I'm using Cisco CME 2921, and telecom connected to my CME through Ethernet.
the rule which I have to change is it translation rules for out calls
0
Improve Your Query Performance Tuning

In this FREE six-day email course, you'll learn from Janis Griffin, Database Performance Evangelist. She'll teach 12 steps that you can use to optimize your queries as much as possible and see measurable results in your work. Get started today!

 
waref86Author Commented:
Hi,

thank you for suggestion, still not working, kindly fine below the debug after applying the translation-rules:


*May  7 10:32:22.931: //3518/270355639660/SIP/Msg/ccsipDisplayMsg:
Received:
SIP/2.0 100 Trying
Via: SIP/2.0/UDP 10.65.8.102:5060;branch=z9hG4bK1E5C5
From: "Reception" <sip:0@10.65.8.102>;tag=ACCA4C8-1615
To: <sip:0114777231@94.77.211.70>

Call-ID: 2E5D0B7F-F3DB11E4-9665A9E6-7CC56A7A@10.65.8.102
CSeq: 101 INVITE
Timestamp: 1430994742


*May  7 10:32:22.931: //3518/270355639660/SIP/Msg/ccsipDisplayMsg:
Received:
SIP/2.0 480 No Routes Found
Via: SIP/2.0/UDP 10.65.8.102:5060;branch=z9hG4bK1E5C5
From: "Reception" <sip:0@10.65.8.102>;tag=ACCA4C8-1615
To: <sip:0114777231@94.77.211.70>;tag=aprqngfrt-mupl1s20000a6
Call-ID: 2E5D0B7F-F3DB11E4-9665A9E6-7CC56A7A@10.65.8.102
CSeq: 101 INVITE
Timestamp: 1430994742


*May  7 10:32:22.935: //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg:
Sent:
ACK sip:0114777231@94.77.211.70:5060 SIP/2.0
Via: SIP/2.0/UDP 10.65.8.102:5060;branch=z9hG4bK1E5C5
From: "Reception" <sip:0@10.65.8.102>;tag=ACCA4C8-1615
To: <sip:0114777231@94.77.211.70>;tag=aprqngfrt-mupl1s20000a6
Date: Thu, 07 May 2015 10:32:22 GMT
Call-ID: 2E5D0B7F-F3DB11E4-9665A9E6-7CC56A7A@10.65.8.102
Max-Forwards: 70
CSeq: 101 ACK
Allow-Events: telephone-event
Content-Length: 0
0
 
Mohammed HamadaSenior IT ConsultantCommented:
Your configuration is still not correct, can you post reception profile configuration along with Call routing translation pattern you're using and the route pattern too.
0
 
waref86Author Commented:
Hi,

Do you mean to separate below each profile alone? and inside dial-peer configure inside translation-rule for called and caling

voice translation profile CHANGE-ME
    translate called 1
    translate calling 2
0
 
waref86Author Commented:
I forget to mention something, there are a format for outgoing calls and format for incoming calls.

•             For outgoing Calls :

                The originating Number (A#), should be 96611510XXXX format.

                The Destination Number should be 0NXXXXXX (N area code) or 00XXXXXXXXX (for international)

•             For incoming Calls:

                The Destination Number (B#), should be 011510XXXX Format.

                The originating Number (A#), will be 0NXXXXXXX or 00XXXXXXXXXXX Format



and I figure out something, when I'm using a ip phone with extension 0, it shows on SIP calls
From: "Reception" <sip:0@10.65.8.102>;tag=ACCA4C8-1615

any solution please
regards
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.