cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
387
Views
0
Helpful
2
Replies

Voice Router Prefix adding problem ( iam beginner)

i Configured SIP trunk between Voice Router and Freepbx 

the Freepbx Extensions are 3..

i need to add Prefix Number 8 on Voice router , so i will call 83.. instead of 3.. and i need to reach to FreePbx with its original 3..

 

what i made as below but not worked ( i know i missed something or i misunderstand )

 

voice translation-rule 5
rule 1 /^8\(3..$\)/ /\1/   ------- need to translate 83.. to 3..


voice translation-profile TO-Egypt
translate calling 5

 

dial-peer voice 150 voip

description FreePbx outgoing
translation-profile outgoing TO-Egypt
destination-pattern 3..
session protocol sipv2
session target ipv4:xxxxxxxxxxxxxxxxxxx ( that the IP of FreePbx)
dtmf-relay rtp-nte
codec g711ulaw

 i need solutionASAP

2 Replies 2

If you are dialing 8+3XX the dial peer is wrong, try with:

 

dial-peer voice 150 voip

 destination-pattern 83..

 

If the connection to Freepbx it is already working, it should work.

Rolando A. Valenzuela.

i will change it tomorrow and i think your solution will work , thank you