I am using IAX to send a call to my cell phone. I want to be able to hit # and transfer it back into the office. I have added tTr to the dial command and hitting # prompts me for the transfer, but after I start dialing 103, it stops at 1 and tries to transfer it within nufone instead of my dialplan. This is the debug output: -- Called me@NuFone/1515480XXXX -- Call accepted by 65.127.126.42 (format GSM) -- Format for call is GSM -- IAX2[NuFone]/3 is ringing -- IAX2[NuFone]/3 stopped sounds -- IAX2[NuFone]/3 answered Zap/1-1 -- Started music on hold, class 'default', on Zap/1-1 -- Playing 'pbx-transfer' -- Unable to find extension '1' in context 'NANPA' -- Playing 'pbx-invalid' -- Stopped music on hold on Zap/1-1 How do I make this work? dave -- Dave Weis "I believe there are more instances of the abridgment djweis@sjdjweis.com of the freedom of the people by gradual and silent encroachments of those in power than by violent and sudden usurpations."- James Madison
I recreated your problem using the 09/09 cvs source tree. The only way I found around that is to create the extensions.conf context for [NANPA], like this: [NANPA] include => local ; Allow transfers from IAX calls to cellphone through NuFone in local pbx context (ie, 1000 for queue, 1001 for Admin, 1002 for Tech) Works like a charm. -------------------------- Josh Roberson Indigent Networks 1.877.677.9647 x1 twisted@indigent.sytes.net -----Original Message----- From: asterisk-users-admin@lists.digium.com [mailto:asterisk-users-admin@lists.digium.com] On Behalf Of Dave Weis Sent: Friday, October 03, 2003 7:42 AM To: asterisk-users@lists.digium.com Subject: [Asterisk-Users] Transfer from IAX call I am using IAX to send a call to my cell phone. I want to be able to hit # and transfer it back into the office. I have added tTr to the dial command and hitting # prompts me for the transfer, but after I start dialing 103, it stops at 1 and tries to transfer it within nufone instead of my dialplan. This is the debug output: -- Called me@NuFone/1515480XXXX -- Call accepted by 65.127.126.42 (format GSM) -- Format for call is GSM -- IAX2[NuFone]/3 is ringing -- IAX2[NuFone]/3 stopped sounds -- IAX2[NuFone]/3 answered Zap/1-1 -- Started music on hold, class 'default', on Zap/1-1 -- Playing 'pbx-transfer' -- Unable to find extension '1' in context 'NANPA' -- Playing 'pbx-invalid' -- Stopped music on hold on Zap/1-1 How do I make this work? dave -- Dave Weis "I believe there are more instances of the abridgment djweis@sjdjweis.com of the freedom of the people by gradual and silent encroachments of those in power than by violent and sudden usurpations."- James Madison _______________________________________________ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.516 / Virus Database: 313 - Release Date: 9/1/2003 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.516 / Virus Database: 313 - Release Date: 9/1/2003
you'll find that the context is being overwritten. look in chan_iax.c line 1628 and chan_iax2.c line 1645 (or within 3 lines of each) there is a sprintf that is stuff the context, if you comment those out, it should work again. Disclaimer: i have NO CLUE what else this BREAKS!!! Dave Weis wrote:> > I am using IAX to send a call to my cell phone. I want to be able to hit # > and transfer it back into the office. I have added tTr to the dial command > and hitting # prompts me for the transfer, but after I start dialing 103, > it stops at 1 and tries to transfer it within nufone instead of my > dialplan. This is the debug output: > > -- Called me@NuFone/1515480XXXX > -- Call accepted by 65.127.126.42 (format GSM) > -- Format for call is GSM > -- IAX2[NuFone]/3 is ringing > -- IAX2[NuFone]/3 stopped sounds > -- IAX2[NuFone]/3 answered Zap/1-1 > -- Started music on hold, class 'default', on Zap/1-1 > -- Playing 'pbx-transfer' > -- Unable to find extension '1' in context 'NANPA' > -- Playing 'pbx-invalid' > -- Stopped music on hold on Zap/1-1 > > How do I make this work? > > dave > > -- > Dave Weis "I believe there are more instances of the abridgment > djweis@sjdjweis.com of the freedom of the people by gradual and silent > encroachments of those in power than by violent > and sudden usurpations."- James Madison > > _______________________________________________ > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com > http://lists.digium.com/mailman/listinfo/asterisk-users