Hi,
Below is my configurations. I want to send calling number 5945151 and called number 0114430432 on SIP trunk. Phone from which i would dial 0114430432 has extension number 151 configured.
Is my configuration is correct?
voice class codec 1
codec preference 1 g711alaw
codec preference 2 g711ulaw
!
voice translation-rule 1
rule 1 // //
!
voice translation-rule 11
rule 1 /151/ /5945151/
!
voice translation-profile 1
translate calling 11
translate called 1
!
dial-peer voice 200 voip
translation-profile outgoing 1
destination-pattern 0114430432$
session protocol sipv2
session target ipv4:10.205.20.50
voice-class codec 1
voice-class sip early-offer forced
dtmf-relay rtp-nte
!
BR
Abdul Karim