Bill Michaelson wrote:
I am having trouble understanding how to use this. I want to transfer certain incoming calls from an IAX ITSP based on caller ID. From what I can make of the docs, I thought I need to do something like this...

exten => _NXXNXXXXXX,n(nocid),transfer(1000)
exten => _NXXNXXXXXX,n,noop(boo,${TRANSFERSTATUS})
exten => _NXXNXXXXXX,n,hangup


exten => 1000,1,Dial(IAX2/jnctn_out/16665551234,45,t)
exten => 1000,n,hangup

Why don't you just do:

exten => _NXXNXXXXXX,n(nocid),Dial(IAX2/jnctn_out/16665551234,45,t)

--
Cheers,

Matt Riddell
_______________________________________________

http://www.sineapps.com/news.php (Daily Asterisk News - html)
http://freevoip.gedameurope.com (Free Asterisk Voip Community)
http://www.sineapps.com/rssfeed.php (Daily Asterisk News - rss)

_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

Asterisk-Users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to