Question : Asterisk Dial Plans

Ive been trying to figure out the following dial plans:

1.) User dials 2XXX asterisk auto adds 1234 to the beginning
2.) Inbound route, DID is 1111111111 forwards to a trunk

Any help would be awesome!@

Answer : Asterisk Dial Plans

"Inbound route, DID is 1111111111 forwards to a trunk"
"but only certain incoming DIDs will xfer to CUCM"

[globals]
SIPTRUNK1=cucmtrunkname
SIPTRUNKDID=1111

[incoming]

exten => _1111111111,1,Answer()
exten => _1111111111,n,Dial(SIP/{SIPTRUNKDID}@{SIPTRUNK1})
exten => _1111111111,n,Hangup()


Random Solutions  
 
programming4us programming4us