01-27-2016 08:32 AM - edited 03-17-2019 05:38 AM
Dear All :
i have FXS station which is related to our office kitchen and i want to allow the kitchen person to just make a normal call through voice-port 0/2/1 only to the PSTN
currently the FXS can make just internal call(just to call manger directory numbers)
voice-port 0/2/1
trunk-group freezone-land 1
supervisory disconnect dualtone mid-call
supervisory custom-cptone voice
timeouts interdigit 3
timeouts call-disconnect 5
timeouts wait-release 1
connection plar opx 100199
description Land Line 0112133181
caller-id enable
!
voice-port 0/2/2
trunk-group freezone-land 2
supervisory disconnect dualtone mid-call
supervisory custom-cptone voice
timeouts interdigit 3
timeouts call-disconnect 5
timeouts wait-release 1
connection plar opx 100199
description Land Line 0112133182
caller-id enable
--- this is the FXS Port (port 0/1/1) for the Kitchen
dial-peer voice 869 pots
description Kitchen 3
destination-pattern 100109
port 0/1/1
how can i route the outbound call from (port 0/1/1) to the PSTN thru voice-port 0/2/1 only (which is FXO connected to CO: 0112133181) ?
Best Regards,
Basel
01-27-2016 08:55 AM
Simply configure the dial-peer using the FXO, PRI, etc for outbound calls.
01-27-2016 10:19 AM
basel,
configure like this only
dial-peer voice 10 pots
destination-pattern <called number0112133181 >
Description<anything you can put>
port <0/2/1>
01-28-2016 04:10 AM
Dear Nadeem:
thank you for your help
basically the number "0112133181"is the line connected to the FXO (0/2/1) in the voice gateway,
it is not the destination called number
however i did the following dial-peers:
voice translation-rule 1
rule 1 /^9/ //
voice translation-profile remove9
translate called 1
dial-peer voice 807 pots
description ---- (Branch Users Outgoing Dial peer)
translation-profile outgoing remove9
destination-pattern 9[2345678]......
port 0/2/2
forward-digits all
dial-peer voice 808 pots
description ---- Inside (Kitchen Outgoing Dial Peer)
translation-profile outgoing remove9
destination-pattern 9[2345678]......
port 0/2/1
forward-digits all
the problem that kitchen is going to the PSTN(Destination pattern "9[2345678]......") through the (dial-peer voice 807 pots meaning port port 0/2/2 )
i want the kitchen to go to to the PSTN(Destination pattern "9[2345678]......") through the (dial-peer voice 808 pots meaning port port 0/2/1 )
since the dial peer 807 is for Branch users and dial peer 808 will be for the kitchen only ?
thank you
01-28-2016 04:24 AM
Hi,
You probably would like to use CoR to restrict usage of analog trunk to specific extension. Please check below thread and let us know in case of any question;
https://supportforums.cisco.com/discussion/12738046/cme-3-analog-lines
Other point you would like to pay attention that explicit matched digits on POTS dial peer are stripped automatically, so even in absence of translation profile to outbound call, 9 will be stripped. However you will have to remove 'forward-digits all' command.
- Vivek
01-30-2016 12:06 AM
Thank you Vivek for your help
the link is so helpful and it works with me .
one more question please , can i use outgoing Translation rule to block the calls going via dial peer 869 or going via port 0/1/1 to reach the different destination like
destination-pattern 0909........
meaning i want to block the FXS analog phone to go to GSM Mobile Number?
basically i have the outgoing dial peer
dial-peer voice 805 pots
description ---- GSM
destination-pattern 0909........
port 0/3/3
forward-digits all
but i want to prevent the port 0/1/1 from using it ?
thank you
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