[Asterisk-Users] transfer application

Matt Riddell (IT) matt.riddell at sineapps.com
Sat Jan 7 09:46:22 MST 2006


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)




More information about the asterisk-users mailing list