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 When the call comes in, the console shows that TRANSFERSTATUS contains SUCCESS, but there is no evidence that the lines at extension 1000 ever execute. The caller hears silence; he is not disconnected. I'm wondering what is happening or what I'm doing wrong, or if it can be done.
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,hangupWhy 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)
Hi! Where can I find more informations about the Transfer() application in a All-SIP environment? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20060713/bde40ee9/attachment.htm
Goto voip-info.org and search it. On 7/13/06, Benjamin Stocker <bstocker@gmail.com> wrote:> > Hi! > > Where can I find more informations about the Transfer() application in a > All-SIP environment? > > _______________________________________________ > --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 > > >-- Regards Rizwan Hisham Software Engineer -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20060713/c4b16fd0/attachment.htm