cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
610
Views
0
Helpful
4
Replies

Force call forwardings to PSTN

nmdc.kzstan
Level 1
Level 1

Hi,

IP phones registered to CME are assigned 1XX ephon-dn's. There are four 3 digit PSTN numbers that start with 1 (1XX).

Users call PSTN with 9 prefix (91XX) and after translation 91XX transformed to 1XX and internal number is called instead of

PSTN number. Is there any workaround for this issue except changing internal numbers?    

4 Replies 4

acampbell
VIP Alumni
VIP Alumni

Hi,

Can you post the config of the CME

Show runn

Rehards

Alex

Regards, Alex. Please rate useful posts.

Hi Alex,

Here is the part of the config regarding the issue, ephone-dn's 101-104 and dial-peer 11 overlap.

voice translation-rule 1

rule 1 /.../ /3129556/

!

voice translation-rule 10

rule 1 /^92/ /2/

rule 2 /^93/ /3/

rule 10 /^98/ /8/

rule 11 /^91/ /1/

!

!

voice translation-profile SIP_OUT

translate calling 1

translate called 10

dial-peer voice 10 voip

translation-profile outgoing SIP_OUT

destination-pattern 9[2-3]......

session protocol sipv2

session target ipv4:10.1.1.10

session transport udp

dtmf-relay rtp-nte

codec g711alaw

no vad

!

dial-peer voice 11 voip

translation-profile outgoing SIP_OUT

destination-pattern 910.

session protocol sipv2

session target ipv4:10.1.1.10

session transport udp

dtmf-relay rtp-nte

codec g711alaw

no vad

!

ephone-dn  101  dual-line

number 101 no-reg both

!

!

ephone-dn  102  dual-line

number 102 no-reg both

!

!

ephone-dn  104  dual-line

number 104 no-reg both

Is your PSTN connection a SIP trunk?

Can you post your configuration for telephony-service?

Chris

Since it is overlapping dial-peer 11 and ephone-dn, you might have to configure 'dial-peer hunt' with the longest match.

Try with following global command:

dial-peer hunt 2

dial-peer 11 voice voip

preference 1