07-21-2015 02:10 AM - edited 03-17-2019 03:42 AM
Hi,
A,B are cisco ip phone ,registe at CUCM
A call B, B call forward to pstn or another voip gateway, call pstn have to dial 0,xxxxxxx,call voip gateway dial xxxx.
I want to
if B call forward A to pstn (0,xxxxxx), I can send B phone number as calling number.
if B call forward A to voip gateway(xxxx), I can send A phone number as calling number.
is there possible, I study translation partern, and transform pattern, but can't find a solution.
thank you!
Tom
Solved! Go to Solution.
07-21-2015 02:56 AM
What is the protocol is used between your CUCM and your gateways? Are you having separate gateways for PSTN and VoIP.
Assuming that you are using SIP trunk between CUCM and your gateways, what you are looking for is controlled by a parameter called "Calling Party Selection" which can be configured on the SIP trunk. Configure two trunks (one for each gateway) and modify this parameter for the VoIP gateway to be "First Redirect Number". For PSTN gateway, leave this parameter default which is originator.
07-21-2015 02:56 AM
What is the protocol is used between your CUCM and your gateways? Are you having separate gateways for PSTN and VoIP.
Assuming that you are using SIP trunk between CUCM and your gateways, what you are looking for is controlled by a parameter called "Calling Party Selection" which can be configured on the SIP trunk. Configure two trunks (one for each gateway) and modify this parameter for the VoIP gateway to be "First Redirect Number". For PSTN gateway, leave this parameter default which is originator.
07-21-2015 08:36 PM
Hi mohammed
Thank you!
can i config two seperae sip trunk to same gateway ip address,
because customer just have only one gateway router
if customer using h323 or MGCP gateway, can we achive this by config two seperate gateway?
but mgcp is a client server architechture, if we just have only one gateway router,i think i can't achive this
than you!
tom
07-21-2015 10:20 PM
Hi,
You configure multiple trunks with different names to the same IP.
The same setting can be applied to H323 or MGCP.
In the case of MGCP, you can't have VoIP network as MGCP endpoints should be connected to PSTN only (you need to configure the endpoint details in CUCM such as Digital Access PRI, etc).
07-21-2015 10:42 PM
Hi,
got is , becase customer haven't use dns, so i suggest customer config two ip address on router. may be need test.
can i configt tranlation pattern or tranformation pattern in CUCM to match redirect calling number and replace calling number with redirect calling number. suca as
B redirect to pstn,using 0.xxxxxxx,when match 0.xxxxxx, CUCM replace calling number with redirect number
B redirect to voip gateway,using XXXX, when match XXXX,cucm keep original dialing number?
but I can't find some method to config like this, because there is no condition match and relpace calling number with redirect number
thank you!
Jun li
07-22-2015 12:11 AM
Do you mean that you want to match the redirecting number and accordingly change the calling number display?
07-22-2015 12:18 AM
yes ,if redirect to 0.xxxxxxx(through pstn) we want send redirect number (Phone B) number as calling number
if redrect to xxxx (throug voip) we want t send orginal number(Phone A) as calling number.
but all are going through sam router!
07-22-2015 12:38 AM
I think I answered this unless I am missing something.
Create two trunks for two route patterns. Both trunks can point to same router. On one trunk keep the calling number as originator while on the other use First Redirect Number as calling number.
07-22-2015 02:45 AM
I understand,
I consider is there any other medthod to achive this
07-22-2015 07:57 AM
You can use transformation patterns with redirecting CSS at the gateway level.
07-22-2015 09:31 PM
thank you how can i config transfomation pattern with redirecting css?
08-05-2015 02:01 AM
thank you! we choose create two sip trunk!
08-05-2015 02:07 AM
Perfect ... Great to see things working.
Please mark the question as answered and remember to rate useful posts.
08-06-2015 12:11 AM
i found it's been already rated and marked, thank you!
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: