02-20-2009 07:42 AM - edited 03-15-2019 04:21 PM
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
Solved! Go to Solution.
02-20-2009 07:59 AM
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.
02-20-2009 07:59 AM
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.
02-20-2009 08:32 AM
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
02-20-2009 08:39 AM
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".
02-20-2009 08:56 AM
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.
02-20-2009 09:02 AM
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.
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