Virtual - FAX hangs up instead of lettings hear the FAX-tone!

Hello,

When I call the fax to test if it works, the fax hangsup instead of letting us hear the FAX-tone.

I made a Inboud-fax Route - with a did-number
I Made a (IAX2) FAX-extension and linked it to the Inboud-route
I made a virtual fax and I gave it a did-number and linked it to the extension.

When I call the fax-extension it self it gives me the fax-tone so thats good.
But when I call the did number it hangs up.

Can somebody please help I need to fix this.

THANKS!

Dialplan

Connected to Asterisk 1.4.24 currently running on pbx (pid = 13115)
Verbosity is at least 3
– Executing [0243555930@from-internal:1] Set(“SIP/03-04eb0a40”, “MOHCLASS=helpdesk”) in new stack
– Executing [0243555930@from-internal:2] Macro(“SIP/03-04eb0a40”, “user-callerid|SKIPTTL|”) in new stack
– Executing [s@macro-user-callerid:1] Set(“SIP/03-04eb0a40”, “AMPUSER=03”) in new stack
– Executing [s@macro-user-callerid:2] GotoIf(“SIP/03-04eb0a40”, “0?report”) in new stack
– Executing [s@macro-user-callerid:3] ExecIf(“SIP/03-04eb0a40”, “1|Set|REALCALLERIDNUM=03”) in new stack
– Executing [s@macro-user-callerid:4] Set(“SIP/03-04eb0a40”, “AMPUSER=03”) in new stack
– Executing [s@macro-user-callerid:5] Set(“SIP/03-04eb0a40”, “AMPUSERCIDNAME=Helpdesk”) in new stack
– Executing [s@macro-user-callerid:6] GotoIf(“SIP/03-04eb0a40”, “0?report”) in new stack
– Executing [s@macro-user-callerid:7] Set(“SIP/03-04eb0a40”, “AMPUSERCID=03”) in new stack
– Executing [s@macro-user-callerid:8] Set(“SIP/03-04eb0a40”, “CALLERID(all)=“Helpdesk” <03>”) in new stack
– Executing [s@macro-user-callerid:9] Set(“SIP/03-04eb0a40”, “REALCALLERIDNUM=03”) in new stack
– Executing [s@macro-user-callerid:10] ExecIf(“SIP/03-04eb0a40”, “0|Set|CHANNEL(language)=”) in new stack
– Executing [s@macro-user-callerid:11] GotoIf(“SIP/03-04eb0a40”, “1?continue”) in new stack
– Goto (macro-user-callerid,s,20)
– Executing [s@macro-user-callerid:20] NoOp(“SIP/03-04eb0a40”, “Using CallerID “Helpdesk” <03>”) in new stack
– Executing [0243555930@from-internal:3] Set(“SIP/03-04eb0a40”, “_NODEST=”) in new stack
– Executing [0243555930@from-internal:4] Macro(“SIP/03-04eb0a40”, “record-enable|03|OUT|”) in new stack
– Executing [s@macro-record-enable:1] GotoIf(“SIP/03-04eb0a40”, “1?check”) in new stack
– Goto (macro-record-enable,s,4)
– Executing [s@macro-record-enable:4] AGI(“SIP/03-04eb0a40”, “recordingcheck|20091215-131405|1260879245.15”) in new stack
– Launched AGI Script /var/lib/asterisk/agi-bin/recordingcheck
recordingcheck|20091215-131405|1260879245.15: Outbound recording not enabled
– AGI Script recordingcheck completed, returning 0
– Executing [s@macro-record-enable:5] MacroExit(“SIP/03-04eb0a40”, “”) in new stack
– Executing [0243555930@from-internal:5] Macro(“SIP/03-04eb0a40”, “dialout-trunk|2|0243555930||”) in new stack
– Executing [s@macro-dialout-trunk:1] Set(“SIP/03-04eb0a40”, “DIAL_TRUNK=2”) in new stack
– Executing [s@macro-dialout-trunk:2] GosubIf(“SIP/03-04eb0a40”, “0?sub-pincheck|s|1”) in new stack
– Executing [s@macro-dialout-trunk:3] GotoIf(“SIP/03-04eb0a40”, “0?disabletrunk|1”) in new stack
– Executing [s@macro-dialout-trunk:4] Set(“SIP/03-04eb0a40”, “DIAL_NUMBER=0243555930”) in new stack
– Executing [s@macro-dialout-trunk:5] Set(“SIP/03-04eb0a40”, “DIAL_TRUNK_OPTIONS=tr”) in new stack
– Executing [s@macro-dialout-trunk:6] Set(“SIP/03-04eb0a40”, “OUTBOUND_GROUP=OUT_2”) in new stack
– Executing [s@macro-dialout-trunk:7] GotoIf(“SIP/03-04eb0a40”, “1?nomax”) in new stack
– Goto (macro-dialout-trunk,s,9)
– Executing [s@macro-dialout-trunk:9] GotoIf(“SIP/03-04eb0a40”, “0?skipoutcid”) in new stack
– Executing [s@macro-dialout-trunk:10] Set(“SIP/03-04eb0a40”, “DIAL_TRUNK_OPTIONS=”) in new stack
– Executing [s@macro-dialout-trunk:11] Macro(“SIP/03-04eb0a40”, “outbound-callerid|2”) in new stack
– Executing [s@macro-outbound-callerid:1] ExecIf(“SIP/03-04eb0a40”, “0|SetCallerPres|”) in new stack
– Executing [s@macro-outbound-callerid:2] ExecIf(“SIP/03-04eb0a40”, “0|Set|REALCALLERIDNUM=03”) in new stack
– Executing [s@macro-outbound-callerid:3] GotoIf(“SIP/03-04eb0a40”, “1?normcid”) in new stack
– Goto (macro-outbound-callerid,s,6)
– Executing [s@macro-outbound-callerid:6] Set(“SIP/03-04eb0a40”, “USEROUTCID=“rootnet”<0243500112>”) in new stack
– Executing [s@macro-outbound-callerid:7] Set(“SIP/03-04eb0a40”, “EMERGENCYCID=”) in new stack
– Executing [s@macro-outbound-callerid:8] Set(“SIP/03-04eb0a40”, “TRUNKOUTCID=“rootnet”<0243500112>”) in new stack
– Executing [s@macro-outbound-callerid:9] GotoIf(“SIP/03-04eb0a40”, “1?trunkcid”) in new stack
– Goto (macro-outbound-callerid,s,12)
– Executing [s@macro-outbound-callerid:12] ExecIf(“SIP/03-04eb0a40”, “1|Set|CALLERID(all)=rootnet<0243500112>”) in new stack
– Executing [s@macro-outbound-callerid:13] GotoIf(“SIP/03-04eb0a40”, “0?exit”) in new stack
– Executing [s@macro-outbound-callerid:14] Set(“SIP/03-04eb0a40”, “CALLERID(all)=rootnet<0243500112>”) in new stack
– Executing [s@macro-outbound-callerid:15] ExecIf(“SIP/03-04eb0a40”, “0|SetCallerPres|prohib_passed_screen”) in new stack
– Executing [s@macro-dialout-trunk:12] ExecIf(“SIP/03-04eb0a40”, “0|AGI|fixlocalprefix”) in new stack
– Executing [s@macro-dialout-trunk:13] Set(“SIP/03-04eb0a40”, “OUTNUM=0243555930”) in new stack
– Executing [s@macro-dialout-trunk:14] Set(“SIP/03-04eb0a40”, “custom=AMP”) in new stack
– Executing [s@macro-dialout-trunk:15] ExecIf(“SIP/03-04eb0a40”, “1|Set|DIAL_TRUNK_OPTIONS=M(setmusic^helpdesk)”) in new stack
– Executing [s@macro-dialout-trunk:16] Macro(“SIP/03-04eb0a40”, “dialout-trunk-predial-hook|”) in new stack
– Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit(“SIP/03-04eb0a40”, “”) in new stack
– Executing [s@macro-dialout-trunk:17] GotoIf(“SIP/03-04eb0a40”, “0?bypass|1”) in new stack
– Executing [s@macro-dialout-trunk:18] GotoIf(“SIP/03-04eb0a40”, “1?customtrunk”) in new stack
– Goto (macro-dialout-trunk,s,21)
– Executing [s@macro-dialout-trunk:21] Set(“SIP/03-04eb0a40”, “pre_num=AMP:mISDN/1/”) in new stack
– Executing [s@macro-dialout-trunk:22] Set(“SIP/03-04eb0a40”, “the_num=OUTNUM”) in new stack
– Executing [s@macro-dialout-trunk:23] Set(“SIP/03-04eb0a40”, “post_num=”) in new stack
– Executing [s@macro-dialout-trunk:24] GotoIf(“SIP/03-04eb0a40”, “1?outnum:skipoutnum”) in new stack
– Goto (macro-dialout-trunk,s,25)
– Executing [s@macro-dialout-trunk:25] Set(“SIP/03-04eb0a40”, “the_num=0243555930”) in new stack
– Executing [s@macro-dialout-trunk:26] Dial(“SIP/03-04eb0a40”, “mISDN/1/0243555930|300|M(setmusic^helpdesk)”) in new stack
– Called 1/0243555930
– mISDN/2-u3 is proceeding passing it to SIP/03-04eb0a40
P[ 1] --> Call Waiting on PMP sending RELEASE_COMPLETE
P[ 1] GOT IGNORE SETUP
P[ 1] CC_RELEASE_COMPLETE|CONFIRM [TE]
== Spawn extension (macro-dialout-trunk, s, 26) exited non-zero on ‘SIP/03-04eb0a40’ in macro ‘dialout-trunk’
== Spawn extension (from-internal, 0243555930, 5) exited non-zero on ‘SIP/03-04eb0a40’
– Executing [h@macro-dialout-trunk:1] Macro(“SIP/03-04eb0a40”, “hangupcall|”) in new stack
– Executing [s@macro-hangupcall:1] ResetCDR(“SIP/03-04eb0a40”, “w”) in new stack
– Executing [s@macro-hangupcall:2] NoCDR(“SIP/03-04eb0a40”, “”) in new stack
– Executing [s@macro-hangupcall:3] GotoIf(“SIP/03-04eb0a40”, “1?skiprg”) in new stack
– Goto (macro-hangupcall,s,6)
– Executing [s@macro-hangupcall:6] GotoIf(“SIP/03-04eb0a40”, “1?skipblkvm”) in new stack
– Goto (macro-hangupcall,s,9)
– Executing [s@macro-hangupcall:9] GotoIf(“SIP/03-04eb0a40”, “1?theend”) in new stack
– Goto (macro-hangupcall,s,11)
– Executing [s@macro-hangupcall:11] Hangup(“SIP/03-04eb0a40”, “”) in new stack
== Spawn extension (macro-hangupcall, s, 11) exited non-zero on ‘SIP/03-04eb0a40’ in macro ‘hangupcall’
== Spawn extension (macro-dialout-trunk, h, 1) exited non-zero on ‘SIP/03-04eb0a40’