We have a UC520 with a T1 connection and incoming DID calls.
as long as a normal call handling everything works fine. I mean someone dials a DID from outside and an extension on the UC520 rings.
now they decide to move to an Asterisk PBX, So instead of terminating an incoming call on the UC520 and sending it to an extension, I want to forward the call to the Asterisk PBX.
any idea how can I accomplish that?
Thanks a lot for your help
Solved! Go to Solution.
Should it be done under the dial-peer?
what I did :
dial-peer voice 202 voip
description ** SIP Trunk to Asterisk **
rtp payload-type nse 104
rtp payload-type nte 100
voice-class codec 1
voice-class sip dtmf-relay force rtp-nte
session protocol sipv2
session target ipv4:10.101.101.56
session transport udp
incoming called-number .
** Before I send all the calls , I need to configure it for just one DID number. **
In the dial-peer configuration, you can use wildcard's for destination pattern instead of a single DID number.
well the thing is when a call come in for 7139491622 trough my T1, the UC520 sends the call to the 622 extension by default. I want to change this behavior and send it to PBX. I am not sure if the diar-peer is the answer. :(
I am not sure if the dial-peer is the right way to do this.
Normally Destination-patterns deals with the digits that you "DIAL" not the calls that "Pass" es the UC520. Is that right?