Hi. I have the following line in the default context of all my internal extensions: exten => 9876,1,Transfer(125) When I dial extension 9876 from any sip phone, * dutifully transferrs it to extension 125, which is just what I want. Unfortunately when I dial 9786 from my Zap connected analogue phone, the transfer doesn't go through and the dialplan drops through to a hangup. debug output is: Jul 8 17:07:32 DEBUG[8416]: chan_zap.c:4358 zt_read: DTMF digit: 9 on Zap/3-1 Jul 8 17:07:32 DEBUG[8416]: chan_zap.c:4358 zt_read: DTMF digit: 8 on Zap/3-1 Jul 8 17:07:32 DEBUG[8416]: chan_zap.c:4358 zt_read: DTMF digit: 7 on Zap/3-1 Jul 8 17:07:32 DEBUG[8416]: chan_zap.c:4358 zt_read: DTMF digit: 6 on Zap/3-1 Jul 8 17:07:36 DEBUG[8416]: chan_zap.c:1361 zt_enable_ec: Enabled echo cancellation on channel 3 Jul 8 17:07:36 DEBUG[8416]: pbx.c:1625 pbx_extension_helper: Launching 'Transfer' -- Executing Transfer("Zap/3-1", "125") in new stack Urgent handler Jul 8 17:07:46 DEBUG[8416]: chan_sip.c:1124 __sip_autodestruct: Auto destroying call '49395f481f056ac26eb1e5e37505dff5@220.244.62.6' Jul 8 17:07:46 WARNING[8416]: pbx.c:2419 __ast_pbx_run: Timeout, but no rule 't' in context 'default' Jul 8 17:07:46 DEBUG[8416]: pbx.c:1468 pbx_substitute_variables_helper_full: Function result is '"Radio" <140>' Jul 8 17:07:46 DEBUG[8416]: pbx.c:1468 pbx_substitute_variables_helper_full: Function result is '140' Jul 8 17:07:46 DEBUG[8416]: pbx.c:1468 pbx_substitute_variables_helper_full: Function result is '9876' Jul 8 17:07:46 DEBUG[8416]: pbx.c:1468 pbx_substitute_variables_helper_full: Function result is 'default' Jul 8 17:07:46 DEBUG[8416]: pbx.c:1468 pbx_substitute_variables_helper_full: Function result is 'Zap/3-1' Jul 8 17:07:46 DEBUG[8416]: pbx.c:1468 pbx_substitute_variables_helper_full: Function result is '(null)' Jul 8 17:07:46 DEBUG[8416]: pbx.c:1468 pbx_substitute_variables_helper_full: Function result is 'Transfer' Jul 8 17:07:46 DEBUG[8416]: pbx.c:1468 pbx_substitute_variables_helper_full: Function result is '125' Jul 8 17:07:46 DEBUG[8416]: pbx.c:1468 pbx_substitute_variables_helper_full: Function result is '2005-07-08 17:07:36' Jul 8 17:07:46 DEBUG[8416]: pbx.c:1468 pbx_substitute_variables_helper_full: Function result is '(null)' Jul 8 17:07:46 DEBUG[8416]: pbx.c:1468 pbx_substitute_variables_helper_full: Function result is '2005-07-08 17:07:46' Jul 8 17:07:46 DEBUG[8416]: pbx.c:1468 pbx_substitute_variables_helper_full: Function result is '10' Jul 8 17:07:46 DEBUG[8416]: pbx.c:1468 pbx_substitute_variables_helper_full: Function result is '0' Jul 8 17:07:46 DEBUG[8416]: pbx.c:1468 pbx_substitute_variables_helper_full: Function result is 'NO ANSWER' Jul 8 17:07:46 DEBUG[8416]: pbx.c:1468 pbx_substitute_variables_helper_full: Function result is 'DOCUMENTATION' Jul 8 17:07:46 DEBUG[8416]: pbx.c:1468 pbx_substitute_variables_helper_full: Function result is '(null)' Jul 8 17:07:46 DEBUG[8416]: pbx.c:1468 pbx_substitute_variables_helper_full: Function result is '1120806449.1' Jul 8 17:07:46 DEBUG[8416]: pbx.c:1468 pbx_substitute_variables_helper_full: Function result is '(null)' Jul 8 17:07:46 DEBUG[8416]: channel.c:948 ast_hangup: Hanging up channel 'Zap/3-1' indicating that the transfer is being attempted, but failing somehow and dropping out. this is my zapata.conf file: [channels] busydetect=1 busycount=7 ;relaxdtmf=yes callwaiting=yes callwaitingcallerid=yes threewaycalling=yes transfer=yes cancallforward=yes usecallerid=yes echocancel=yes echocancelwhenbridged=yes rxgain=0.0 txgain=0.0 group=1 pickupgroup=1-4 immediate=no signalling=fxs_ks callerid=asreceived context=from-external-telstra channel => 4 group=2 signalling=fxo_ks mailbox=140 callerid="Radio" <140> context=default channel => 3 Can anyone see anything here that is missing that might cause the transfer I am doing to fail? Note, dialing 9876 with a SIP phone works a treat... cheers, Mark. Mark P. Edwards FWD: 667917 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20050708/2d70ef73/attachment.htm
Why don't you just use Dial(SIP/125)?? Or better, if you have your extensions defined in context e.g. [from-internal], just do: exten => 9876,1,Goto(from-internal,125,1) Julian. On 7/8/05, Mark Edwards <mark.p.edwards@gmail.com> wrote:> Hi. > > I have the following line in the default context of all my internal > extensions: > > exten => 9876,1,Transfer(125) > > When I dial extension 9876 from any sip phone, * dutifully transferrs it to > extension 125, which is just what I want. > > Unfortunately when I dial 9786 from my Zap connected analogue phone, the > transfer doesn't go through and the dialplan drops through to a hangup.