Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
New Member

Digit stripping with dial peer voip

Hello,

I have a quescom 200 gsm Gateway and I want to use it with my uc520.

I would like to have call redirected to Quescom if I dial a number with a prefix of 9.

The dial peer correctly forward the call to the quescom gateway but the call fails due to the presence of the 9 digit which is not stripped.

Ho can I do it?

The configuration I made is the following:

dial-peer voice 8000 voip

description SIP Quescom

destination-pattern 9T

session protocol sipv2

session target ipv4:192.168.123.250

incoming called-number .T

dtmf-relay h245-alphanumeric

codec g711ulaw

Thank you very much for your help.

Johnny

1 ACCEPTED SOLUTION

Accepted Solutions
Hall of Fame Super Gold

Re: Digit stripping with dial peer voip

voice translation-rule 9

rule 1 /^9/ //

voice translation-profile strip9

translate called 9

dial-peer voice 8000 voip

translational-profile outgoing strip9

Note most likely you wan a destination pattern like 93........T

That preventing misdialing to domestic cellphone.

5 REPLIES
Hall of Fame Super Gold

Re: Digit stripping with dial peer voip

voice translation-rule 9

rule 1 /^9/ //

voice translation-profile strip9

translate called 9

dial-peer voice 8000 voip

translational-profile outgoing strip9

Note most likely you wan a destination pattern like 93........T

That preventing misdialing to domestic cellphone.

New Member

Re: Digit stripping with dial peer voip

very good, it works.

How can I make the calling number appear to my gsm phone?

Also, while my gsm phone is ringing no tone can be heard by my IP phone for almost 10 seconds. Is there a way to change this behaviour?

Thank you very much, very helpfull as usual.

Johnny

Hall of Fame Super Gold

Re: Digit stripping with dial peer voip

Check the GW settings, probably it has calling identity restricted now.

You heard nothing probably because the GW is sending an alerting message, but no actual progress tones in-band. I suggest you leave you this way, there are a bunch of settings that do not resolve always. If you want to work on this, begin taking "debug isdn q931" and "term mon".

New Member

Re: Digit stripping with dial peer voip

Now I have more information,

I don't know if the could be useful, i try to post them.

As soon as my gsm mobile phone starts ringing i have these situation on dial peer:

Feb 20 16:53:01.166: //-1/C03505CF98B6/DPM/dpMatchPeersCore:

Match Rule=DP_MATCH_DEST; Called Number=9338979abcd

Feb 20 16:53:01.170: //-1/C03505CF98B6/DPM/dpMatchPeersCore:

Result=Success(0) after DP_MATCH_DEST

Feb 20 16:53:01.170: //-1/C03505CF98B6/DPM/dpMatchPeersMoreArg:

Result=SUCCESS(0)

List of Matched Outgoing Dial-peer(s):

1: Dial-peer Tag=8000

The dial peer 8000 is mached, the phone rings but no dial tone can be heard.

As soon as I can hear a tone I have this new situation on dial peer:

Feb 20 16:55:50.814: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:

Calling Number=, Called Number=25, Peer Info Type=DIALPEER_INFO_SPEECH

Feb 20 16:55:50.814: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:

Match Rule=DP_MATCH_DEST; Called Number=25

Feb 20 16:55:50.814: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:

Result=Success(0) after DP_MATCH_DEST

Feb 20 16:55:50.814: //-1/xxxxxxxxxxxx/DPM/dpMatchPeers:

Result=SUCCESS(0)

List of Matched Outgoing Dial-peer(s):

1: Dial-peer Tag=20010

Feb 20 16:55:50.814: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:

Calling Number=, Called Number=338979abcd, Peer Info Type=DIALPEER_INFO_SPEEC

H

Feb 20 16:55:50.814: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:

Match Rule=DP_MATCH_DEST; Called Number=338979abcd

Feb 20 16:55:50.814: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:

No Outgoing Dial-peer Is Matched; Result=NO_MATCH(-1)

Feb 20 16:55:50.814: //-1/xxxxxxxxxxxx/DPM/dpMatchPeers:

Result=NO_MATCH(-1)

NOw the mobile phone is ringing and the a tone can be heard from the IP phone.

Hall of Fame Super Gold

Re: Digit stripping with dial peer voip

Hi, I don't think these debugs are for the same call, are there are 2min 50 secs in between.

Just take debug isdn q931,nothing else is required.

2816
Views
0
Helpful
5
Replies
CreatePlease to create content