ā01-20-2011 03:44 PM - edited ā03-16-2019 02:59 AM
Hello I have a problem with GW my incoming calls from PSTN have a DID 037X but I have another numbers internaly with same numbers 037XXXXX: Can I to do that DID 037[0-9] are sent to exts but calls outgoing 037XXXXX also work?
Any suggestion?
This Work
dial-peer voice 37 voip
destination-pattern 037.
translate-outgoing called 1
voice-class h323 1
session target ipv4:10.X.X.X
dtmf-relay h245-alphanumeric
codec g711ulaw
fax rate 9600
no vad
But I need use this but do not work
dial-peer voice 30 voip
destination-pattern 037.....
voice-class h323 1
session target ipv4:10.X.X.X
dtmf-relay h245-alphanumeric
codec g711ulaw
fax rate 9600
no vad
can anyone help me?
Thanks
ā01-20-2011 03:54 PM
Santiago,
your problem description is not very clear.
are you sure you have 037x coming from PSTN (inbound), in which case I am assuming you are stripping down to 4 digits using a translation set "translate-outgoing called 1" as on dial-peer 37? what does this translation look like?
how many digits are youn internal extensions?
can you paste the complete configuration in.?
Thanks
ā01-20-2011 04:14 PM
dial-peer voice 37 voip
destination-pattern 037.
translate-outgoing called 8
voice-class h323 1
session target ipv4:10.X.X.X
dtmf-relay h245-alphanumeric
codec g711ulaw
fax rate 9600
ip qos dscp cs5 media
no vad
My call flow is
outgoing fails
PBX>Gateway>call 03712345 failed
incoming work ok
Mobile>PSTN>GW>DID037[0-9]>Ext IP Phone
Thanks
hello Dennis, I have 037X ibound from PSTN,
controller E1 0/2/0
framing NO-CRC4
line-termination 75-ohm
ds0-group 0 timeslots 1-15,17-31 type r2-digital r2-compelled ani
cas-custom 0
country telmex
category 2
answer-signal group-b 1
caller-digits 4
groupa-callerid-end
description TELMEX
I have a PBX in this port 1/0, the Phone analog of PBX is necessary to call 037XXXXX but the calls to do match with DID is my problem
controller E1 1/0
framing NO-CRC4
clock source internal
line-termination 75-ohm
ds0-group 0 timeslots 1-15,17-31 type r2-digital dtmf dnis
description enlace PBX
voice-port 0/2/0:0
cptone MX
timeouts initial 2
timeouts interdigit 2
timeouts call-disconnect 5
timeouts wait-release 5
voice-port 1/0:0
translation-rule 8
Rule 0 0370 93444 ANY network
Rule 1 0371 93409 ANY network
Rule 2 0372 93426 ANY network
Rule 3 0373 93588 ANY network
Rule 4 0374 93230 ANY network
Rule 5 0375 93242 ANY network
Rule 6 0376 93222 ANY network
Rule 7 0377 93518 ANY network
Rule 8 0378 93231 ANY network
Rule 9 0379 93203 ANY network
!
ā01-20-2011 04:17 PM
Hello Dennis this is my config
controller E1 0/2/0
framing NO-CRC4
line-termination 75-ohm
ds0-group 0 timeslots 1-15,17-31 type r2-digital r2-compelled ani
cas-custom 0
country telmex
category 2
answer-signal group-b 1
caller-digits 4
groupa-callerid-end
description TELMEX
I have a PBX in this port 1/0, the Phone analog of PBX is necessary to call 037XXXXX but the calls to do match with DID is my problem
controller E1 1/0
framing NO-CRC4
clock source internal
line-termination 75-ohm
ds0-group 0 timeslots 1-15,17-31 type r2-digital dtmf dnis
description enlace PBX
voice-port 0/2/0:0
cptone MX
timeouts initial 2
timeouts interdigit 2
timeouts call-disconnect 5
timeouts wait-release 5
voice-port 1/0:0
translation-rule 8
Rule 0 0370 93444 ANY network
Rule 1 0371 93409 ANY network
Rule 2 0372 93426 ANY network
Rule 3 0373 93588 ANY network
Rule 4 0374 93230 ANY network
Rule 5 0375 93242 ANY network
Rule 6 0376 93222 ANY network
Rule 7 0377 93518 ANY network
Rule 8 0378 93231 ANY network
Rule 9 0379 93203 ANY network
!
dial-peer voice 37 voip
destination-pattern 037.
translate-outgoing called 8
voice-class h323 1
session target ipv4:10.X.X.X
dtmf-relay h245-alphanumeric
codec g711ulaw
fax rate 9600
ip qos dscp cs5 media
no vad
My call flow is
outgoing fails
PBX>Gateway>call 03712345 failed
incoming work ok
Mobile>PSTN>GW>DID037[0-9]>Ext IP Phone
Thanks
ā01-20-2011 04:40 PM
Santiago,
so If I understand this correctly:
-you have a PBX on port 1/0, with some analog phones that need to make an external call in 037XXXXX range, and currently that does not work
a-where is you incoming pots dial-peer for all incoming calls on port 1/0?
b-where is you pots dial-peer that directs external calls to PSTN (on port 2/0)?
if you are on the gateway and do a show dialplan number 03712345 what dial-peer is being hit? Also can you do a debug voip dialpeer and make an outbound call to 03712345 from one of the analog phones on the PBX.
Thanks
ā01-20-2011 05:16 PM
Hello Dennis thanks you.
My answer below
a-where is you incoming pots dial-peer for all incoming calls on port 1/0?
dial-peer voice 830 pots
preference 5
destination-pattern 73...
progress_ind alert enable 8
progress_ind progress enable 8
progress_ind connect enable 8
port 1/0:0
forward-digits all
no register e164
b-where is you pots dial-peer that directs external calls to PSTN (on port 2/0)
!
dial-peer voice 840 pots
destination-pattern 09T
progress_ind alert enable 8
progress_ind progress enable 8
progress_ind connect enable 8
port 0/2/0:0
incoming called-number .
direct-inward-dial
no register e164
if you are on the gateway and do a show dialplan number 03712345 what dial-peer is being hit? This go to dial-peer voice 37 voip
dial-peer voice 37 voip
destination-pattern 037.
translate-outgoing called 8
voice-class h323 1
session target ipv4:10.40.7.3
dtmf-relay h245-alphanumeric
codec g711ulaw
fax rate 9600
ip qos dscp cs5 media
no vad
Also can you do a debug voip dialpeer and make an outbound call to 03712345 from one of the analog phones on the PBX.
I can get this tomorrow.
ā01-21-2011 05:09 PM
Hello Dennis I already resolve my problem I change that PBX dial 8037XXXXX and add dial-peer for that.
Thanks
Best Regards
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: