When I call the fax to test if it works, the fax hangsup instead of letting us 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 [[email protected]:1] Set(“SIP/03-04eb0a40”, “MOHCLASS=helpdesk”) in new stack
– Executing [[email protected]:2] Macro(“SIP/03-04eb0a40”, “user-callerid|SKIPTTL|”) in new stack
– Executing [[email protected]:1] Set(“SIP/03-04eb0a40”, “AMPUSER=03”) in new stack
– Executing [[email protected]:2] GotoIf(“SIP/03-04eb0a40”, “0?report”) in new stack
– Executing [[email protected]:3] ExecIf(“SIP/03-04eb0a40”, “1|Set|REALCALLERIDNUM=03”) in new stack
– Executing [[email protected]:4] Set(“SIP/03-04eb0a40”, “AMPUSER=03”) in new stack
– Executing [[email protected]:5] Set(“SIP/03-04eb0a40”, “AMPUSERCIDNAME=Helpdesk”) in new stack
– Executing [[email protected]:6] GotoIf(“SIP/03-04eb0a40”, “0?report”) in new stack
– Executing [[email protected]:7] Set(“SIP/03-04eb0a40”, “AMPUSERCID=03”) in new stack
– Executing [[email protected]:8] Set(“SIP/03-04eb0a40”, “CALLERID(all)=“Helpdesk” <03>”) in new stack
– Executing [[email protected]:9] Set(“SIP/03-04eb0a40”, “REALCALLERIDNUM=03”) in new stack
– Executing [[email protected]:10] ExecIf(“SIP/03-04eb0a40”, “0|Set|CHANNEL(language)=”) in new stack
– Executing [[email protected]:11] GotoIf(“SIP/03-04eb0a40”, “1?continue”) in new stack
– Goto (macro-user-callerid,s,20)
– Executing [[email protected]:20] NoOp(“SIP/03-04eb0a40”, “Using CallerID “Helpdesk” <03>”) in new stack
– Executing [[email protected]:3] Set(“SIP/03-04eb0a40”, “_NODEST=”) in new stack
– Executing [[email protected]:4] Macro(“SIP/03-04eb0a40”, “record-enable|03|OUT|”) in new stack
– Executing [[email protected]:1] GotoIf(“SIP/03-04eb0a40”, “1?check”) in new stack
– Goto (macro-record-enable,s,4)
– Executing [[email protected]: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 [[email protected]:5] MacroExit(“SIP/03-04eb0a40”, “”) in new stack
– Executing [[email protected]:5] Macro(“SIP/03-04eb0a40”, “dialout-trunk|2|0243555930||”) in new stack
– Executing [[email protected]:1] Set(“SIP/03-04eb0a40”, “DIAL_TRUNK=2”) in new stack
– Executing [[email protected]:2] GosubIf(“SIP/03-04eb0a40”, “0?sub-pincheck|s|1”) in new stack
– Executing [[email protected]:3] GotoIf(“SIP/03-04eb0a40”, “0?disabletrunk|1”) in new stack
– Executing [[email protected]:4] Set(“SIP/03-04eb0a40”, “DIAL_NUMBER=0243555930”) in new stack
– Executing [[email protected]:5] Set(“SIP/03-04eb0a40”, “DIAL_TRUNK_OPTIONS=tr”) in new stack
– Executing [[email protected]:6] Set(“SIP/03-04eb0a40”, “OUTBOUND_GROUP=OUT_2”) in new stack
– Executing [[email protected]:7] GotoIf(“SIP/03-04eb0a40”, “1?nomax”) in new stack
– Goto (macro-dialout-trunk,s,9)
– Executing [[email protected]:9] GotoIf(“SIP/03-04eb0a40”, “0?skipoutcid”) in new stack
– Executing [[email protected]:10] Set(“SIP/03-04eb0a40”, “DIAL_TRUNK_OPTIONS=”) in new stack
– Executing [[email protected]:11] Macro(“SIP/03-04eb0a40”, “outbound-callerid|2”) in new stack
– Executing [[email protected]:1] ExecIf(“SIP/03-04eb0a40”, “0|SetCallerPres|”) in new stack
– Executing [[email protected]:2] ExecIf(“SIP/03-04eb0a40”, “0|Set|REALCALLERIDNUM=03”) in new stack
– Executing [[email protected]:3] GotoIf(“SIP/03-04eb0a40”, “1?normcid”) in new stack
– Goto (macro-outbound-callerid,s,6)
– Executing [[email protected]:6] Set(“SIP/03-04eb0a40”, “USEROUTCID=“rootnet”<0243500112>”) in new stack
– Executing [[email protected]:7] Set(“SIP/03-04eb0a40”, “EMERGENCYCID=”) in new stack
– Executing [[email protected]:8] Set(“SIP/03-04eb0a40”, “TRUNKOUTCID=“rootnet”<0243500112>”) in new stack
– Executing [[email protected]:9] GotoIf(“SIP/03-04eb0a40”, “1?trunkcid”) in new stack
– Goto (macro-outbound-callerid,s,12)
– Executing [[email protected]:12] ExecIf(“SIP/03-04eb0a40”, “1|Set|CALLERID(all)=rootnet<0243500112>”) in new stack
– Executing [[email protected]:13] GotoIf(“SIP/03-04eb0a40”, “0?exit”) in new stack
– Executing [[email protected]:14] Set(“SIP/03-04eb0a40”, “CALLERID(all)=rootnet<0243500112>”) in new stack
– Executing [[email protected]:15] ExecIf(“SIP/03-04eb0a40”, “0|SetCallerPres|prohib_passed_screen”) in new stack
– Executing [[email protected]:12] ExecIf(“SIP/03-04eb0a40”, “0|AGI|fixlocalprefix”) in new stack
– Executing [[email protected]:13] Set(“SIP/03-04eb0a40”, “OUTNUM=0243555930”) in new stack
– Executing [[email protected]:14] Set(“SIP/03-04eb0a40”, “custom=AMP”) in new stack
– Executing [[email protected]:15] ExecIf(“SIP/03-04eb0a40”, “1|Set|DIAL_TRUNK_OPTIONS=M(setmusic^helpdesk)”) in new stack
– Executing [[email protected]:16] Macro(“SIP/03-04eb0a40”, “dialout-trunk-predial-hook|”) in new stack
– Executing [[email protected]:1] MacroExit(“SIP/03-04eb0a40”, “”) in new stack
– Executing [[email protected]:17] GotoIf(“SIP/03-04eb0a40”, “0?bypass|1”) in new stack
– Executing [[email protected]:18] GotoIf(“SIP/03-04eb0a40”, “1?customtrunk”) in new stack
– Goto (macro-dialout-trunk,s,21)
– Executing [[email protected]:21] Set(“SIP/03-04eb0a40”, “pre_num=AMP:mISDN/1/”) in new stack
– Executing [[email protected]:22] Set(“SIP/03-04eb0a40”, “the_num=OUTNUM”) in new stack
– Executing [[email protected]:23] Set(“SIP/03-04eb0a40”, “post_num=”) in new stack
– Executing [[email protected]:24] GotoIf(“SIP/03-04eb0a40”, “1?outnum:skipoutnum”) in new stack
– Goto (macro-dialout-trunk,s,25)
– Executing [[email protected]:25] Set(“SIP/03-04eb0a40”, “the_num=0243555930”) in new stack
– Executing [[email protected]: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 [[email protected]:1] Macro(“SIP/03-04eb0a40”, “hangupcall|”) in new stack
– Executing [[email protected]:1] ResetCDR(“SIP/03-04eb0a40”, “w”) in new stack
– Executing [[email protected]:2] NoCDR(“SIP/03-04eb0a40”, “”) in new stack
– Executing [[email protected]:3] GotoIf(“SIP/03-04eb0a40”, “1?skiprg”) in new stack
– Goto (macro-hangupcall,s,6)
– Executing [[email protected]:6] GotoIf(“SIP/03-04eb0a40”, “1?skipblkvm”) in new stack
– Goto (macro-hangupcall,s,9)
– Executing [[email protected]:9] GotoIf(“SIP/03-04eb0a40”, “1?theend”) in new stack
– Goto (macro-hangupcall,s,11)
– Executing [[email protected]: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’