12-31-2014 02:28 AM - edited 03-17-2019 01:27 AM
Hello,
we have the following setup. The CUCM connect via SIP trunk to a Cisco 2921. The 2921 have a SIP trunk to a phone provider and BRI interfaces for ISDN connections. The SIP trunk provide the phone numbers for office 1, the BRI interfaces the phone numbers for office 2.
Incoming calls working fine, the problem are outgoing calls. How can I define the outgoing trunk/interface by source? The phone numbers in office 1 starting all with 0691234567 + 1 digit for the extension. The phone numbers in office 2 starting all with 073112345 + 2 digits for the extension. Currently the Router use 1 time the SIP trunk, 1 time the BRI interfaces.
If it is not possible to do that in the router by phone number, is it possible to connect from the CUCM 2 times to the router, over different ports or something else and bind the first trunk to the SIP trunk and the second trunk to the BRI interfaces?
Andreas
Solved! Go to Solution.
01-05-2015 08:23 AM
Hi
If you set a prefix on CUCM, e.g. 979, then on your destination-pattern use 'destination-pattern 979T' for example.
It's not a seperate command, just use of prefixes in the same ones..
Aaron
12-31-2014 04:13 AM
Hi
Two options:
Option 1: Register the BRI as MGCP to CUCM, leaving the SIP trunk routing as is. This way you can sent calls from Ofifce 2 (through use of seperate CSS,Parititon, Route Pattern/RG/RLs) to the MGCP BRI 'gateawy'. Office 1 calls can be sent to the SIP trunk, and will use the non-MGCP bound destinations (dial peers pointing to SIP).
Option 2: Set up separate CSS/Pt/RP/RL/RGs for office 2. Prefix calls sent to the gateway from office 1 with a particular prefix, and those from office 2 with a different prefix (configuring the CUCM RGs or RPs to prefix the digits, not making the users dial them). On the gateway, configure the peers for the BRI with the office 2 prefix, and the peers for SIP with the office 1 prefix.
Regards
Aaron
12-31-2014 06:36 AM
Hi,
thanks
I tried the second option, how can I configure the dial-peer with a prefix of the source of the call?
I found in the documentation only the destination-pattern command for a outbound dial-peer.
Regards
Andreas
01-05-2015 08:23 AM
Hi
If you set a prefix on CUCM, e.g. 979, then on your destination-pattern use 'destination-pattern 979T' for example.
It's not a seperate command, just use of prefixes in the same ones..
Aaron
01-15-2015 05:29 AM
Hi,
thanks for help. The system is working perfect.
Andreas
01-15-2015 06:43 AM
Great news :-)
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