Re: Get the PSTN tone after dialing the outside access code

From: Victor Cappuccio <vcappuccio_at_gmail.com>
Date: Sat, 15 Aug 2009 03:06:34 +0300

Hi,

The query is related to which device?

1.-
for example on the SIPURA devices, specifically the SPA9000 you can
configure for example 9 to use line 1 and 8 to use line 2 the
configuration is straightforward on the SIP TAB Call Routing Rule:
(9:L1>xx.|8:L2>xx.) And then PBX Phone Parameters to support 8 or 9
dialing as for example.
(1xx|300|301|*x|99x|9,:9>[5-9]xxxxxxxxS0|8,:8>[5-9]xxxxxxxxS0|9,:9>00xx.)

Do not forget outbound dialplan for each of the lines:
on Line 1 (<9:>xx.) to delete 9 prefix number.
on Line 2 (<8:>xx.) to delete 8 prefix number.

2.-
now on the UC5X0

you can configure:
dial-peer voice 1 pots
direct-inward-dial
destination-pattern 9....
port 0/2:23

with this configuration we are Explicitly matching the digit 9 and
this is consumed so other digits are forwarded to that port.

I find very useful this link if you want to play around with
translation rules and have another numbers instead of 9, or 0 in some
countries

http://www.voip-info.org/wiki/view/CallManager+Express

By adding a translation rule to correct incoming calls caller ID
information, you can remove the area code for local calls, and add a 1
for long distance calls. Add the following translation rule to your
configuration then apply it to your incoming voice ports (i.e. FXO or
PRI). This will enable you to correctly be able to place outgoing
calls from the Missed Call/Received Calls directory. Replace 559 in
the example with your area code. Remove the 9 if you don't need an
outbound dial number.

   voice translation-rule 1
    rule 1 /^559\(.*\)/ /9\1/
    rule 2 /\(..........\)/ /91\1/
   !
   voice translation-profile filter_559
    translate calling 1
   !
   voice-port 1/0
    translation-profile incoming filter_559
    !
   voice-port 1/1
    translation-profile incoming filter_559

To test and troubleshoot the proper operation of the translation-rule,
use the "test voice translation-rule 1 <number>" command. An example
below shows the area code being removed, and a 9 correctly being
added.

   CCME30-1751V#test voice translation-rule 1 5591234567
   Matched with rule 1
   Original number: 5591234567 Translated number: 91234567
   Original number type: none Translated number type: none
   Original number plan: none Translated number plan: none

Thanks!
Victor.-

On Mon, Aug 10, 2009 at 3:43 PM, Nick Matthews<matthn_at_gmail.com> wrote:
> This is a feature on CUCM and CME.
>
> CME:
> secondary-dialtone 9
>
> CUCM:
> You must make sure your dial peers that start with 9 have 'provide
> outside dialtone'.
>
>
> If your customer is on a PBX or is interfacing to the router directly
> via SIP/H323/Analog ports then this isn't an option.
>
> -nick
>
> On Sat, Aug 8, 2009 at 3:02 AM, CCIE<ccie_at_axizo.com> wrote:
>> Hello experts,
>>
>>
>>
>> I want my customer to dial directly through the PSTN, i.e. dial 9 then get
>> the PSTN tone and continue his dialing process.
>>
>> Can you please advice about that?
>>
>>
>>
>> Regards,
>>
>> Amin
>>
>>
>> Blogs and organic groups at http://www.ccie.net
>>
>> _______________________________________________________________________
>> Subscription information may be found at:
>> http://www.groupstudy.com/list/CCIELab.html
>
>
> Blogs and organic groups at http://www.ccie.net
>
> _______________________________________________________________________
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html
>
>
>
>
>
>
>
>

-- 
Victor Cappuccio
CCIE R/S# 20657
CCSI# 30452
www.anetworkerblog.com
www.linkedin.com/in/vcappuccio
Blogs and organic groups at http://www.ccie.net
Received on Sat Aug 15 2009 - 03:06:34 ART

This archive was generated by hypermail 2.2.0 : Tue Sep 01 2009 - 05:43:56 ART