11-25-2010 03:30 PM - edited 03-19-2019 01:59 AM
Hi,
Our Telco requires us to send them the allocated DID range when making a successful outgoing calls.
For example, Telco has given us DID of 8888 1000 to 1100 (so 100 DID range). We send them a calling number of 8888 1000 ID. If the ID does not match the range they give us, they will not route the call out. For example, calling number is 8888 1200 (not part of the DID range).
Our problem is when we forward a phone to any numbder external to us, the calling number is beeing sent to the telco and they see it as a mismatch of our DID range.
Is there a way we can override the calling number by setting up a pilot number (8888 1099) for calls the are forwarded outside?
The debug below is what I get on a failed call. Calling from an external number to 88881000 which has forward all calls to 0061292315555
Nov 25 23:40:09.883: ISDN Se0/0/0:15 Q931: RX <- SETUP pd = 8 callref = 0x0169
Bearer Capability i = 0x8090A3
Standard = CCITT
Transfer Capability = Speech
Transfer Mode = Circuit
Transfer Rate = 64 kbit/s
Channel ID i = 0xA9839B
Exclusive, Channel 27
Called Party Number i = 0xA1, '88881000'
Plan:ISDN, Type:National
Sending Complete
Nov 25 23:40:09.891: ISDN Se0/0/0:15 Q931: TX -> CALL_PROC pd = 8 callref = 0x8169
Channel ID i = 0xA9839B
Exclusive, Channel 27
Nov 25 23:40:09.903: ISDN Se0/0/1:15 Q931: Applying typeplan for sw-type 0x12 is 0x0 0x0, Called num 0061292315555
Nov 25 23:40:09.903: ISDN Se0/0/1:15 Q931: TX -> SETUP pd = 8 callref = 0x0809
Bearer Capability i = 0x8090A3
Standard = CCITT
Transfer Capability = Speech
Transfer Mode = Circuit
Transfer Rate = 64 kbit/s
Channel ID i = 0xA98381
Exclusive, Channel 1
Called Party Number i = 0x80, '0061292315555'
Plan:Unknown, Type:Unknown
Nov 25 23:40:09.959: ISDN Se0/0/1:15 Q931: RX <- CALL_PROC pd = 8 callref = 0x8809
Channel ID i = 0xA98381
Exclusive, Channel 1
Nov 25 23:40:09.963: ISDN Se0/0/1:15 Q931: RX <- ALERTING pd = 8 callref = 0x8809
Progress Ind i = 0x8088 - In-band info or appropriate now available
ATO-GW1#
Nov 25 23:40:09.975: ISDN Se0/0/0:15 Q931: TX -> ALERTING pd = 8 callref = 0x8169
Progress Ind i = 0x8188 - In-band info or appropriate now available
We are running:
Thanks
Solved! Go to Solution.
11-25-2010 06:42 PM
I can suggest two methods.
1. You could change the gateway setting in the CallManager to send last redirect number as the calling number, instead of the default "Originator". Change the "Calling Party Selection" setting from default "Originator" to "Last Redirect Number (External)". This assumes that your DNs are configured with external phone number mask (8888XXXX), or something similar.
2. If you are using SIP or H.323 protocol to control gateway, you could configure translation on the gateway itself, like this:
voice translation-rule 1
rule 1 /^0.*/ /88881099/
!
voice translation-profile CALLING
translate calling 1
!
voice-port D_CHANNEL_INTERFACE
translation-profile outgoing CALLING
This will translate any outbound call CLID that starts with "0" to 88881099. If it starts with 8888xxxx, it won't be translated.
Regards,
Roman
11-25-2010 06:42 PM
I can suggest two methods.
1. You could change the gateway setting in the CallManager to send last redirect number as the calling number, instead of the default "Originator". Change the "Calling Party Selection" setting from default "Originator" to "Last Redirect Number (External)". This assumes that your DNs are configured with external phone number mask (8888XXXX), or something similar.
2. If you are using SIP or H.323 protocol to control gateway, you could configure translation on the gateway itself, like this:
voice translation-rule 1
rule 1 /^0.*/ /88881099/
!
voice translation-profile CALLING
translate calling 1
!
voice-port D_CHANNEL_INTERFACE
translation-profile outgoing CALLING
This will translate any outbound call CLID that starts with "0" to 88881099. If it starts with 8888xxxx, it won't be translated.
Regards,
Roman
11-25-2010 07:48 PM
Many Thanks Roman,
That works. I use the translation pattern for outgoing and setup a pilot number.
The Callmanager setup didnt work, that's what I did originally before posting this question.
Cheers
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide