I can't transfer incoming calls. Please HELP!

Hello everybody!

I have problem with my Trixbox 2.6. Everything is working fine exclude transfer calls from external line (SIP). I have external number configure as trunks from provider’s side (2323058 and 2323061) and 3 internal extensions (110, 111 and 112). All incoming calls from trunk are configured to redirect to one internal extension (2323058 -> 111). All internal extensions are servicing by ZyXEL P-2300RDL phones. If I’m calling from one internal number to another, I can easy transfer call to third extension by ## command. But if I have call from external line, I can’t transfer the call to another extension. In this time, I have hanged up external line and I have sound ‘busy’ on extension, from which I tried to transfer.
Please help me! This is very important and urgent! Thanks a lot for any comments!

This is a PEER details of the trunk:
host=192.168.5.57
username=2323058
secret=XXXXXXX
context=from-pstn
type=peer
disallow=all
allow=g726
nat=no
insecure=invite
fromuser=2323058
fromdomain=192.168.5.57

Here is a log from Trixbox Alt-F9 console:
[trixbox1.localdomain ~]# asterisk -rvvvvvv
Asterisk 1.6.0.9-samy-r27, Copyright © 1999 - 2008 Digium, Inc. and others.
Created by Mark Spencer [email protected]
Asterisk comes with ABSOLUTELY NO WARRANTY; type ‘core show warranty’ for details.
This is free software, with components licensed under the GNU General Public
License version 2 and other licenses; you are welcome to redistribute it under
certain conditions. Type ‘core show license’ for details.

== Parsing ‘/etc/asterisk/asterisk.conf’: == Found
== Parsing ‘/etc/asterisk/extconfig.conf’: == Found
Connected to Asterisk 1.6.0.9-samy-r27 currently running on trixbox1 (pid = 10740)
Verbosity is at least 24
Core debug is at least 1
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
== Using SIP VRTP TOS bits 136
== Using SIP VRTP CoS mark 6
– Executing [2323058@from-pstn:1] Set(“SIP/2323061-b761c278”, “__FROM_DID=2323058”) in new stack
– Executing [2323058@from-pstn:2] Gosub(“SIP/2323061-b761c278”, “app-blacklist-check,s,1”) in new stack
– Executing [s@app-blacklist-check:1] GotoIf(“SIP/2323061-b761c278”, “0?blacklisted”) in new stack
– Executing [s@app-blacklist-check:2] Return(“SIP/2323061-b761c278”, “”) in new stack
– Executing [2323058@from-pstn:3] ExecIf(“SIP/2323061-b761c278”, “0 ?Set(CALLERID(name)=7273286388)”) in new stack
– Executing [2323058@from-pstn:4] Set(“SIP/2323061-b761c278”, “__CALLINGPRES_SV=allowed_not_screened”) in new stack
– Executing [2323058@from-pstn:5] Set(“SIP/2323061-b761c278”, “CALLERPRES()=allowed_not_screened”) in new stack
– Executing [2323058@from-pstn:6] Goto(“SIP/2323061-b761c278”, “from-did-direct,111,1”) in new stack
– Goto (from-did-direct,111,1)
– Executing [111@from-did-direct:1] Macro(“SIP/2323061-b761c278”, “exten-vm,novm,111”) in new stack
– Executing [s@macro-exten-vm:1] Macro(“SIP/2323061-b761c278”, “user-callerid”) in new stack
– Executing [s@macro-user-callerid:1] Set(“SIP/2323061-b761c278”, “AMPUSER=7273286388”) in new stack
– Executing [s@macro-user-callerid:2] GotoIf(“SIP/2323061-b761c278”, “0?report”) in new stack
– Executing [s@macro-user-callerid:3] ExecIf(“SIP/2323061-b761c278”, “1?Set(REALCALLERIDNUM=7273286388)”) in new stack
– Executing [s@macro-user-callerid:4] Set(“SIP/2323061-b761c278”, “AMPUSER=”) in new stack
– Executing [s@macro-user-callerid:5] Set(“SIP/2323061-b761c278”, “AMPUSERCIDNAME=”) in new stack
– Executing [s@macro-user-callerid:6] GotoIf(“SIP/2323061-b761c278”, “1?report”) in new stack
– Goto (macro-user-callerid,s,11)
– Executing [s@macro-user-callerid:11] GotoIf(“SIP/2323061-b761c278”, “0?continue”) in new stack
– Executing [s@macro-user-callerid:12] Set(“SIP/2323061-b761c278”, “__TTL=64”) in new stack
– Executing [s@macro-user-callerid:13] GotoIf(“SIP/2323061-b761c278”, “1?continue”) in new stack
– Goto (macro-user-callerid,s,20)
– Executing [s@macro-user-callerid:20] NoOp(“SIP/2323061-b761c278”, “Using CallerID “7273286388” <7273286388>”) in new stack
– Executing [s@macro-exten-vm:2] Set(“SIP/2323061-b761c278”, “RingGroupMethod=none”) in new stack
– Executing [s@macro-exten-vm:3] Set(“SIP/2323061-b761c278”, “VMBOX=novm”) in new stack
– Executing [s@macro-exten-vm:4] Set(“SIP/2323061-b761c278”, “EXTTOCALL=111”) in new stack
– Executing [s@macro-exten-vm:5] Set(“SIP/2323061-b761c278”, “CFUEXT=”) in new stack
– Executing [s@macro-exten-vm:6] Set(“SIP/2323061-b761c278”, “CFBEXT=”) in new stack
– Executing [s@macro-exten-vm:7] Set(“SIP/2323061-b761c278”, “RT=”"") in new stack
– Executing [s@macro-exten-vm:8] Macro(“SIP/2323061-b761c278”, “record-enable,111,IN”) in new stack
– Executing [s@macro-record-enable:1] GotoIf(“SIP/2323061-b761c278”, “1?check”) in new stack
– Goto (macro-record-enable,s,4)
– Executing [s@macro-record-enable:4] AGI(“SIP/2323061-b761c278”, “recordingcheck,20090916-022125,1253046085.133”) in new stack
– Launched AGI Script /var/lib/asterisk/agi-bin/recordingcheck
recordingcheck,20090916-022125,1253046085.133: Inbound recording not enabled
– <SIP/2323061-b761c278>AGI Script recordingcheck completed, returning 0
– Executing [s@macro-record-enable:5] MacroExit(“SIP/2323061-b761c278”, “”) in new stack
– Executing [s@macro-exten-vm:9] Macro(“SIP/2323061-b761c278”, “dial,”",tTr,111") in new stack
– Executing [s@macro-dial:1] GotoIf(“SIP/2323061-b761c278”, “1?dial”) in new stack
– Goto (macro-dial,s,3)
– Executing [s@macro-dial:3] AGI(“SIP/2323061-b761c278”, “dialparties.agi”) in new stack
– Launched AGI Script /var/lib/asterisk/agi-bin/dialparties.agi
dialparties.agi: Starting New Dialparties.agi
== Manager ‘admin’ logged on from 127.0.0.1
dialparties.agi: Caller ID name is ‘7273286388’ number is ‘7273286388’
> dialparties.agi: USE_CONFIRMATION: ‘FALSE’
> dialparties.agi: RINGGROUP_INDEX: ''
dialparties.agi: Methodology of ring is ‘none’
– dialparties.agi: Added extension 111 to extension map
> dialparties.agi: Extension 111 has call screening off
– dialparties.agi: Extension 111 cf is disabled
– dialparties.agi: Extension 111 do not disturb is disabled
> dialparties.agi: extnum 111 has: cw: 1; hascfb: 0 [] hascfu: 0 []
> dialparties.agi: ExtensionState: 0
– dialparties.agi: dbset CALLTRACE/111 to 7273286388
– dialparties.agi: Filtered ARG3: 111
== Manager ‘admin’ logged off from 127.0.0.1
– <SIP/2323061-b761c278>AGI Script dialparties.agi completed, returning 0
– Executing [s@macro-dial:7] Dial(“SIP/2323061-b761c278”, “SIP/111,”",tTr") in new stack
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
== Using SIP VRTP TOS bits 136
== Using SIP VRTP CoS mark 6
– Called 111
– SIP/111-0a4143c0 is ringing
– SIP/111-0a4143c0 answered SIP/2323061-b761c278
– Started music on hold, class ‘default’, on SIP/2323061-b761c278
– <SIP/111-0a4143c0> Playing ‘pbx-transfer.gsm’ (language ‘en’)
– Stopped music on hold on SIP/2323061-b761c278
== Channel ‘SIP/2323061-b761c278’ jumping out of macro ‘dial’
== Channel ‘SIP/2323061-b761c278’ jumping out of macro ‘exten-vm’
– Executing [112@from-internal-xfer:1] Macro(“SIP/2323061-b761c278”, “exten-vm,novm,112”) in new stack
– Executing [s@macro-exten-vm:1] Macro(“SIP/2323061-b761c278”, “user-callerid”) in new stack
– Executing [s@macro-user-callerid:1] Set(“SIP/2323061-b761c278”, “AMPUSER=7273286388”) in new stack
– Executing [s@macro-user-callerid:2] GotoIf(“SIP/2323061-b761c278”, “0?report”) in new stack
– Executing [s@macro-user-callerid:3] ExecIf(“SIP/2323061-b761c278”, “0?Set(REALCALLERIDNUM=7273286388)”) in new stack
– Executing [s@macro-user-callerid:4] Set(“SIP/2323061-b761c278”, “AMPUSER=”) in new stack
– Executing [s@macro-user-callerid:5] Set(“SIP/2323061-b761c278”, “AMPUSERCIDNAME=”) in new stack
– Executing [s@macro-user-callerid:6] GotoIf(“SIP/2323061-b761c278”, “1?report”) in new stack
– Goto (macro-user-callerid,s,11)
– Executing [s@macro-user-callerid:11] GotoIf(“SIP/2323061-b761c278”, “0?continue”) in new stack
– Executing [s@macro-user-callerid:12] Set(“SIP/2323061-b761c278”, “__TTL=63”) in new stack
– Executing [s@macro-user-callerid:13] GotoIf(“SIP/2323061-b761c278”, “1?continue”) in new stack
– Goto (macro-user-callerid,s,20)
– Executing [s@macro-user-callerid:20] NoOp(“SIP/2323061-b761c278”, “Using CallerID “7273286388” <7273286388>”) in new stack
– Executing [s@macro-exten-vm:2] Set(“SIP/2323061-b761c278”, “RingGroupMethod=none”) in new stack
– Executing [s@macro-exten-vm:3] Set(“SIP/2323061-b761c278”, “VMBOX=novm”) in new stack
– Executing [s@macro-exten-vm:4] Set(“SIP/2323061-b761c278”, “EXTTOCALL=112”) in new stack
– Executing [s@macro-exten-vm:5] Set(“SIP/2323061-b761c278”, “CFUEXT=”) in new stack
– Executing [s@macro-exten-vm:6] Set(“SIP/2323061-b761c278”, “CFBEXT=”) in new stack
– Executing [s@macro-exten-vm:7] Set(“SIP/2323061-b761c278”, “RT=”"") in new stack
– Executing [s@macro-exten-vm:8] Macro(“SIP/2323061-b761c278”, “record-enable,112,IN”) in new stack
– Executing [s@macro-record-enable:1] GotoIf(“SIP/2323061-b761c278”, “0?check”) in new stack
– Executing [s@macro-record-enable:2] ResetCDR(“SIP/2323061-b761c278”, “w”) in new stack
– Executing [s@macro-record-enable:3] StopMonitor(“SIP/2323061-b761c278”, “”) in new stack
– Executing [s@macro-record-enable:4] AGI(“SIP/2323061-b761c278”, “recordingcheck,20090916-022133,1253046085.133”) in new stack
– Launched AGI Script /var/lib/asterisk/agi-bin/recordingcheck
recordingcheck,20090916-022133,1253046085.133: Inbound recording not enabled
– <SIP/2323061-b761c278>AGI Script recordingcheck completed, returning 0
– Executing [s@macro-record-enable:5] MacroExit(“SIP/2323061-b761c278”, “”) in new stack
– Executing [s@macro-exten-vm:9] Macro(“SIP/2323061-b761c278”, “dial,”",tTr,112") in new stack
– Executing [s@macro-dial:1] GotoIf(“SIP/2323061-b761c278”, “1?dial”) in new stack
– Goto (macro-dial,s,3)
– Executing [s@macro-dial:3] AGI(“SIP/2323061-b761c278”, “dialparties.agi”) in new stack
– Launched AGI Script /var/lib/asterisk/agi-bin/dialparties.agi
dialparties.agi: Starting New Dialparties.agi
== Manager ‘admin’ logged on from 127.0.0.1
dialparties.agi: Caller ID name is ‘7273286388’ number is ‘7273286388’
> dialparties.agi: USE_CONFIRMATION: ‘FALSE’
> dialparties.agi: RINGGROUP_INDEX: ''
dialparties.agi: Methodology of ring is ‘none’
– dialparties.agi: Added extension 112 to extension map
> dialparties.agi: Extension 112 has call screening off
– dialparties.agi: Extension 112 cf is disabled
– dialparties.agi: Extension 112 do not disturb is disabled
> dialparties.agi: extnum 112 has: cw: 1; hascfb: 0 [] hascfu: 0 []
> dialparties.agi: ExtensionState: 0
– dialparties.agi: dbset CALLTRACE/112 to 7273286388
– dialparties.agi: Filtered ARG3: 112
== Manager ‘admin’ logged off from 127.0.0.1
– <SIP/2323061-b761c278>AGI Script dialparties.agi completed, returning 0
– Executing [s@macro-dial:7] Dial(“SIP/2323061-b761c278”, “SIP/112,”",tTr") in new stack
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
== Using SIP VRTP TOS bits 136
== Using SIP VRTP CoS mark 6
– Called 112
– SIP/112-0a4143c0 is ringing
== Spawn extension (macro-dial, s, 7) exited non-zero on ‘SIP/2323061-b761c278’ in macro ‘dial’
== Spawn extension (macro-exten-vm, s, 9) exited non-zero on ‘SIP/2323061-b761c278’ in macro ‘exten-vm’
== Spawn extension (from-internal-xfer, 112, 1) exited non-zero on ‘SIP/2323061-b761c278’
– Executing [h@from-internal-xfer:1] Macro(“SIP/2323061-b761c278”, “hangupcall”) in new stack
– Executing [s@macro-hangupcall:1] ResetCDR(“SIP/2323061-b761c278”, “vw”) in new stack
– Executing [s@macro-hangupcall:2] NoCDR(“SIP/2323061-b761c278”, “”) in new stack
– Executing [s@macro-hangupcall:3] GotoIf(“SIP/2323061-b761c278”, “1?skiprg”) in new stack
– Goto (macro-hangupcall,s,6)
– Executing [s@macro-hangupcall:6] GotoIf(“SIP/2323061-b761c278”, “1?skipblkvm”) in new stack
– Goto (macro-hangupcall,s,9)
– Executing [s@macro-hangupcall:9] GotoIf(“SIP/2323061-b761c278”, “1?theend”) in new stack
– Goto (macro-hangupcall,s,11)
– Executing [s@macro-hangupcall:11] Hangup(“SIP/2323061-b761c278”, “”) in new stack
== Spawn extension (macro-hangupcall, s, 11) exited non-zero on ‘SIP/2323061-b761c278’ in macro ‘hangupcall’
== Spawn extension (from-internal-xfer, h, 1) exited non-zero on 'SIP/2323061-b761c278’
trixbox1*CLI>