07-09-2019 02:51 PM - edited 07-11-2019 11:57 AM
Hi im trying to forward a 888 number to a 973 so when i get the sip call to my as5400xm gateway i can forward it to 973 number. Im not sure how to edit my dial peers for this.
Forwards call from 888 the Main office
|
caller------Sip carrier-------as54000---------PBX Scenario 1
(calls 888 number) |------------Main office(97321880000)Scenario 2
07-09-2019 07:22 PM
Can you add your current config to the post please
07-10-2019 08:19 AM
These are the rules and Dial peers in place what we need is just one number to route to 9732188000 so the clients that call the 888 number route to a external location number (9732188000) and not to where our pbx is.
voice translation-rule 1
rule 1 /8887830300/ /9732188000/
!
!
voice translation-profile Transfer888
translate called 1
dial-peer voice 28 pots
trunkgroup voip
destination-pattern .T
!
dial-peer voice 99 voip
voice cut-through alert
session protocol sipv2
incoming called-number .T
voice-class codec 99
dtmf-relay rtp-nte
no vad
!
dial-peer voice 100 voip
description outgoing
destination-pattern [2-9].........
session protocol sipv2
session target ipv4:23.29.23.68
voice-class codec 99
dtmf-relay rtp-nte
no vad
!
dial-peer voice 29 pots
preference 8
destination-pattern [2-9].........
clid network-number 8883903955
port 7/0:26:D
!
dial-peer voice 30 pots
preference 9
destination-pattern [2-9].........
clid network-number 8883903955
port 7/0:27:D
!
dial-peer voice 31 pots
preference 10
destination-pattern [2-9].........
clid network-number 8883903955
port 7/0:28:D
!
dial-peer voice 101 voip
translation-profile incoming Transfer888
destination-pattern 8887830300
session protocol sipv2
session target ipv4:23.29.23.68
voice-class codec 99
dtmf-relay rtp-nte
no vad
!
dial-peer voice 32 pots
translation-profile outgoing Transfer888
destination-pattern 8887830300
!
!
dial-peer hunt 1
07-12-2019 10:42 AM
dial-peer voice 101 voip
translation-profile incoming Transfer888
destination-pattern 8887830300$
session protocol sipv2
session target ipv4:23.29.23.68
voice-class codec 99
dtmf-relay rtp-nte
no vad
Could you please try to change the destination pattern as shown above? and let me know whats the status.
07-09-2019 11:33 PM
From your description, it seems you need to add voice translation rule and profile to convert your 888 number to 973 number on your GW and then have dial peer with appropriate pattern and destination to do whatever you want to do with the call.
07-11-2019 11:59 AM
Example please review my update
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