[asterisk-users] Call routing based on CID
Geoffrey Yeoh
pbyeoh at gelxis.co.uk
Thu Oct 11 12:15:21 CDT 2012
Hi,
I've been trying to route incoming calls based on CID to a trunk but the
calls are not getting though. I am trying to use a wild card prefix based
on countries so I can point the call to the appropriate trunk.
I am running Asterisk 1.8 with FreePBX.
Here is a sample of my configuration in extentions_custom.conf
exten => _00336123412xx/44XX.,1,Set(RINGTIME=90,g)
exten => _00336123412xx/44XX.,n,Answer(10) exten =>
_00336123412xx/44XX.,n,Dial(SIP/trunk01/${EXTEN},${RINGTIME})
exten => _00336123412xx/44XX.,n,Hangup()
Any kind suggestions is appreciated. Thanks.
Best Regards,
Geoffrey Yeoh
More information about the asterisk-users
mailing list