Fax not working since purchasing Fax Pro

-- Executing [051558923@from-internal:1] Macro("Local/051558923@from-internal-000004c6;2", "user-callerid,LIMIT") in new stack
-- Executing [s@macro-user-callerid:1] Set("Local/051558923@from-internal-000004c6;2", "TOUCH_MONITOR=1397747876.2499") in new stack
-- Executing [s@macro-user-callerid:2] Set("Local/051558923@from-internal-000004c6;2", "AMPUSER=664") in new stack
-- Executing [s@macro-user-callerid:3] GotoIf("Local/051558923@from-internal-000004c6;2", "0?report") in new stack
-- Executing [s@macro-user-callerid:4] ExecIf("Local/051558923@from-internal-000004c6;2", "1?Set(REALCALLERIDNUM=05119873064)") in new stack
-- Executing [s@macro-user-callerid:5] Set("Local/051558923@from-internal-000004c6;2", "AMPUSER=") in new stack
-- Executing [s@macro-user-callerid:6] GotoIf("Local/051558923@from-internal-000004c6;2", "0?limit") in new stack
-- Executing [s@macro-user-callerid:7] Set("Local/051558923@from-internal-000004c6;2", "AMPUSERCIDNAME=") in new stack
-- Executing [s@macro-user-callerid:8] GotoIf("Local/051558923@from-internal-000004c6;2", "1?report") in new stack
-- Goto (macro-user-callerid,s,16)
-- Executing [s@macro-user-callerid:16] GotoIf("Local/051558923@from-internal-000004c6;2", "1?continue") in new stack
-- Goto (macro-user-callerid,s,30)
-- Executing [s@macro-user-callerid:30] Set("Local/051558923@from-internal-000004c6;2", "CALLERID(number)=05119873064") in new stack
-- Executing [s@macro-user-callerid:31] Set("Local/051558923@from-internal-000004c6;2", "CALLERID(name)=") in new stack
-- Executing [s@macro-user-callerid:32] Set("Local/051558923@from-internal-000004c6;2", "CDR(cnum)=05119873064") in new stack
-- Executing [s@macro-user-callerid:33] Set("Local/051558923@from-internal-000004c6;2", "CDR(cnam)=") in new stack
-- Executing [s@macro-user-callerid:34] Set("Local/051558923@from-internal-000004c6;2", "CHANNEL(language)=en") in new stack
-- Executing [051558923@from-internal:2] Set("Local/051558923@from-internal-000004c6;2", "ROUTEUSER=") in new stack
-- Executing [051558923@from-internal:3] GotoIf("Local/051558923@from-internal-000004c6;2", "0?,051558923,2:outbound-allroutes,051558923,2") in new stack
-- Goto (outbound-allroutes,051558923,2)
-- Executing [051558923@outbound-allroutes:2] ExecIf("Local/051558923@from-internal-000004c6;2", "0 ?Set(CDR(accountcode)=)") in new stack
-- Executing [051558923@outbound-allroutes:3] Set("Local/051558923@from-internal-000004c6;2", "ROUTE_CIDSAVE="" <05119873064>") in new stack
-- Executing [051558923@outbound-allroutes:4] Set("Local/051558923@from-internal-000004c6;2", "MOHCLASS=default") in new stack
-- Executing [051558923@outbound-allroutes:5] Set("Local/051558923@from-internal-000004c6;2", "_NODEST=") in new stack
-- Executing [051558923@outbound-allroutes:6] Gosub("Local/051558923@from-internal-000004c6;2", "sub-record-check,s,1(out,051558923,)") in new stack
-- Executing [s@sub-record-check:1] Set("Local/051558923@from-internal-000004c6;2", "REC_POLICY_MODE_SAVE=") in new stack
-- Executing [s@sub-record-check:2] GotoIf("Local/051558923@from-internal-000004c6;2", "1?check") in new stack
-- Goto (sub-record-check,s,7)
-- Executing [s@sub-record-check:7] Set("Local/051558923@from-internal-000004c6;2", "__MON_FMT=wav") in new stack
-- Executing [s@sub-record-check:8] GotoIf("Local/051558923@from-internal-000004c6;2", "1?next") in new stack
-- Goto (sub-record-check,s,11)
-- Executing [s@sub-record-check:11] ExecIf("Local/051558923@from-internal-000004c6;2", "0?Return()") in new stack
-- Executing [s@sub-record-check:12] ExecIf("Local/051558923@from-internal-000004c6;2", "0?Set(__REC_POLICY_MODE=)") in new stack
-- Executing [s@sub-record-check:13] GotoIf("Local/051558923@from-internal-000004c6;2", "0?out,1") in new stack
-- Executing [s@sub-record-check:14] Set("Local/051558923@from-internal-000004c6;2", "__REC_STATUS=INITIALIZED") in new stack
-- Executing [s@sub-record-check:15] Set("Local/051558923@from-internal-000004c6;2", "NOW=1397747876") in new stack
-- Executing [s@sub-record-check:16] Set("Local/051558923@from-internal-000004c6;2", "__DAY=17") in new stack
-- Executing [s@sub-record-check:17] Set("Local/051558923@from-internal-000004c6;2", "__MONTH=04") in new stack
-- Executing [s@sub-record-check:18] Set("Local/051558923@from-internal-000004c6;2", "__YEAR=2014") in new stack
-- Executing [s@sub-record-check:19] Set("Local/051558923@from-internal-000004c6;2", "__TIMESTR=20140417-171756") in new stack
-- Executing [s@sub-record-check:20] Set("Local/051558923@from-internal-000004c6;2", "__FROMEXTEN=05119873064") in new stack
-- Executing [s@sub-record-check:21] Set("Local/051558923@from-internal-000004c6;2", "__CALLFILENAME=out-051558923-05119873064-20140417-171756-1397747876.2499") in new stack
-- Executing [s@sub-record-check:22] Goto("Local/051558923@from-internal-000004c6;2", "out,1") in new stack
-- Goto (sub-record-check,out,1)
-- Executing [out@sub-record-check:1] ExecIf("Local/051558923@from-internal-000004c6;2", "1?Set(__REC_POLICY_MODE=)") in new stack
-- Executing [out@sub-record-check:2] GosubIf("Local/051558923@from-internal-000004c6;2", "0?record,1(exten,051558923,05119873064)") in new stack
-- Executing [out@sub-record-check:3] Return("Local/051558923@from-internal-000004c6;2", "") in new stack
-- Executing [051558923@outbound-allroutes:7] Macro("Local/051558923@from-internal-000004c6;2", "dialout-trunk,2,051558923,,off") in new stack
-- Executing [s@macro-dialout-trunk:1] Set("Local/051558923@from-internal-000004c6;2", "DIAL_TRUNK=2") in new stack
-- Executing [s@macro-dialout-trunk:2] GosubIf("Local/051558923@from-internal-000004c6;2", "0?sub-pincheck,s,1()") in new stack
-- Executing [s@macro-dialout-trunk:3] GotoIf("Local/051558923@from-internal-000004c6;2", "0?disabletrunk,1") in new stack
-- Executing [s@macro-dialout-trunk:4] Set("Local/051558923@from-internal-000004c6;2", "DIAL_NUMBER=051558923") in new stack
-- Executing [s@macro-dialout-trunk:5] Set("Local/051558923@from-internal-000004c6;2", "DIAL_TRUNK_OPTIONS=Ttr") in new stack
-- Executing [s@macro-dialout-trunk:6] Set("Local/051558923@from-internal-000004c6;2", "OUTBOUND_GROUP=OUT_2") in new stack
-- Executing [s@macro-dialout-trunk:7] GotoIf("Local/051558923@from-internal-000004c6;2", "1?nomax") in new stack
-- Goto (macro-dialout-trunk,s,9)
-- Executing [s@macro-dialout-trunk:9] GotoIf("Local/051558923@from-internal-000004c6;2", "0?skipoutcid") in new stack
-- Executing [s@macro-dialout-trunk:10] Set("Local/051558923@from-internal-000004c6;2", "DIAL_TRUNK_OPTIONS=Tt") in new stack
-- Executing [s@macro-dialout-trunk:11] Macro("Local/051558923@from-internal-000004c6;2", "outbound-callerid,2") in new stack
-- Executing [s@macro-outbound-callerid:1] ExecIf("Local/051558923@from-internal-000004c6;2", "0?Set(CALLERPRES()=)") in new stack
-- Executing [s@macro-outbound-callerid:2] ExecIf("Local/051558923@from-internal-000004c6;2", "0?Set(REALCALLERIDNUM=05119873064)") in new stack
-- Executing [s@macro-outbound-callerid:3] GotoIf("Local/051558923@from-internal-000004c6;2", "1?normcid") in new stack
-- Goto (macro-outbound-callerid,s,6)
-- Executing [s@macro-outbound-callerid:6] Set("Local/051558923@from-internal-000004c6;2", "USEROUTCID=") in new stack
-- Executing [s@macro-outbound-callerid:7] Set("Local/051558923@from-internal-000004c6;2", "EMERGENCYCID=") in new stack
-- Executing [s@macro-outbound-callerid:8] Set("Local/051558923@from-internal-000004c6;2", "TRUNKOUTCID=05119873011") in new stack
-- Executing [s@macro-outbound-callerid:9] GotoIf("Local/051558923@from-internal-000004c6;2", "1?trunkcid") in new stack
-- Goto (macro-outbound-callerid,s,14)
-- Executing [s@macro-outbound-callerid:14] ExecIf("Local/051558923@from-internal-000004c6;2", "1?Set(CALLERID(all)=05119873011)") in new stack
-- Executing [s@macro-outbound-callerid:15] ExecIf("Local/051558923@from-internal-000004c6;2", "0?Set(CALLERID(all)=)") in new stack
-- Executing [s@macro-outbound-callerid:16] ExecIf("Local/051558923@from-internal-000004c6;2", "0?Set(CALLERID(all)=)") in new stack
-- Executing [s@macro-outbound-callerid:17] ExecIf("Local/051558923@from-internal-000004c6;2", "0?Set(CALLERPRES()=prohib_passed_screen)") in new stack
-- Executing [s@macro-outbound-callerid:18] Set("Local/051558923@from-internal-000004c6;2", "CDR(outbound_cnum)=05119873011") in new stack
-- Executing [s@macro-outbound-callerid:19] Set("Local/051558923@from-internal-000004c6;2", "CDR(outbound_cnam)=") in new stack
-- Executing [s@macro-dialout-trunk:12] GosubIf("Local/051558923@from-internal-000004c6;2", "0?sub-flp-2,s,1()") in new stack
-- Executing [s@macro-dialout-trunk:13] Set("Local/051558923@from-internal-000004c6;2", "OUTNUM=051558923") in new stack
-- Executing [s@macro-dialout-trunk:14] Set("Local/051558923@from-internal-000004c6;2", "custom=SIP/CloudItalia") in new stack
-- Executing [s@macro-dialout-trunk:15] ExecIf("Local/051558923@from-internal-000004c6;2", "0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^default)Tt)") in new stack
-- Executing [s@macro-dialout-trunk:16] ExecIf("Local/051558923@from-internal-000004c6;2", "0?Set(DIAL_TRUNK_OPTIONS=TtM(confirm))") in new stack
-- Executing [s@macro-dialout-trunk:17] Macro("Local/051558923@from-internal-000004c6;2", "dialout-trunk-predial-hook,") in new stack
-- Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit("Local/051558923@from-internal-000004c6;2", "") in new stack
-- Executing [s@macro-dialout-trunk:18] GotoIf("Local/051558923@from-internal-000004c6;2", "0?bypass,1") in new stack
-- Executing [s@macro-dialout-trunk:19] ExecIf("Local/051558923@from-internal-000004c6;2", "0?Set(CONNECTEDLINE(num,i)=051558923)") in new stack
-- Executing [s@macro-dialout-trunk:20] ExecIf("Local/051558923@from-internal-000004c6;2", "0?Set(CONNECTEDLINE(name,i)=CID:05119873011)") in new stack
-- Executing [s@macro-dialout-trunk:21] GotoIf("Local/051558923@from-internal-000004c6;2", "0?customtrunk") in new stack
-- Executing [s@macro-dialout-trunk:22] Dial("Local/051558923@from-internal-000004c6;2", "SIP/CloudItalia/051558923,300,Tt") in new stack

== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
– Called SIP/CloudItalia/051558923
– SIP/CloudItalia-00000033 is making progress passing it to Local/051558923@from-internal-000004c6;2
– Attempting call on Local/s@tc-maint for application NoCDR() (Retry 1)
– Executing [s@tc-maint:1] NoCDR(“Local/s@tc-maint-000004c7;2”, “”) in new stack
– Executing [s@tc-maint:2] Set(“Local/s@tc-maint-000004c7;2”, “TCMAINT=RETURN”) in new stack
– Executing [s@tc-maint:3] Gosub(“Local/s@tc-maint-000004c7;2”, “timeconditions,1,1()”) in new stack
– Executing [1@timeconditions:1] GotoIfTime(“Local/s@tc-maint-000004c7;2”, “07:30-15:00,sat,,?truestate”) in new stack
– Executing [1@timeconditions:2] GotoIfTime(“Local/s@tc-maint-000004c7;2”, “07:30-18:00,mon-fri,,?truestate”) in new stack
– Goto (timeconditions,1,10)
– Executing [1@timeconditions:10] GotoIf(“Local/s@tc-maint-000004c7;2”, “0?falsegoto”) in new stack
– Executing [1@timeconditions:11] ExecIf(“Local/s@tc-maint-000004c7;2”, “0?Set(DB(TC/1)=)”) in new stack
– Executing [1@timeconditions:12] Set(“Local/s@tc-maint-000004c7;2”, “DEVICE_STATE(Custom:TC1)=NOT_INUSE”) in new stack
– Executing [1@timeconditions:13] ExecIf(“Local/s@tc-maint-000004c7;2”, “0?Set(DEVICE_STATE(Custom:TCSTICKY)=INUSE)”) in new stack
– Executing [1@timeconditions:14] GotoIf(“Local/s@tc-maint-000004c7;2”, “0?app-announcement-1,s,1”) in new stack
– Executing [1@timeconditions:15] Set(“Local/s@tc-maint-000004c7;2”, “TCSTATE=true”) in new stack
– Executing [1@timeconditions:16] Return(“Local/s@tc-maint-000004c7;2”, “”) in new stack
– Executing [s@tc-maint:4] System(“Local/s@tc-maint-000004c7;2”, “/var/lib/asterisk/bin/schedtc.php 60 /var/spool/asterisk/outgoing 0”) in new stack
– Executing [s@tc-maint:5] Answer(“Local/s@tc-maint-000004c7;2”, “”) in new stack
> Channel Local/s@tc-maint-000004c7;1 was answered.
> Launching NoCDR() on Local/s@tc-maint-000004c7;1
== Spawn extension (tc-maint, s, 5) exited non-zero on ‘Local/s@tc-maint-000004c7;2’
[2014-04-17 17:18:01] NOTICE[13158]: pbx_spool.c:402 attempt_thread: Call completed to Local/s@tc-maint
– SIP/CloudItalia-00000033 answered Local/051558923@from-internal-000004c6;2
> Channel Local/051558923@from-internal-000004c6;1 was answered
– Executing [s@send-fax:1] NoOp(“Local/051558923@from-internal-000004c6;1”, “Sending fax from 664 to 051558923”) in new stack
– Executing [s@send-fax:2] System(“Local/051558923@from-internal-000004c6;1”, "/var/lib/asterisk/bin/faxpro_helper.php --faxid=“1397747876181” --stationid=“05119873064” --status=“In Progress” ") in new stack
– Executing [s@send-fax:3] SendFAX(“Local/051558923@from-internal-000004c6;1”, “/var/spool/asterisk/tmp/fax-1397747876966.tif,zf”) in new stack
– Channel ‘Local/051558923@from-internal-000004c6;1’ sending FAX:
– /var/spool/asterisk/tmp/fax-1397747876966.tif
> 0x7f4780023280 – Probation passed - setting RTP source address to 83.211.223.198:57880
– Executing [h@macro-dialout-trunk:1] Macro(“Local/051558923@from-internal-000004c6;2”, “hangupcall,”) in new stack
– Executing [s@macro-hangupcall:1] GotoIf(“Local/051558923@from-internal-000004c6;2”, “1?theend”) in new stack
– Goto (macro-hangupcall,s,3)
– Executing [s@macro-hangupcall:3] ExecIf(“Local/051558923@from-internal-000004c6;2”, “0?Set(CDR(recordingfile)=)”) in new stack
– Executing [s@macro-hangupcall:4] Hangup(“Local/051558923@from-internal-000004c6;2”, “”) in new stack
== Spawn extension (macro-hangupcall, s, 4) exited non-zero on ‘Local/051558923@from-internal-000004c6;2’ in macro ‘hangupcall’
== Spawn extension (macro-dialout-trunk, h, 1) exited non-zero on ‘Local/051558923@from-internal-000004c6;2’
== Spawn extension (macro-dialout-trunk, s, 22) exited non-zero on ‘Local/051558923@from-internal-000004c6;2’ in macro ‘dialout-trunk’
== Spawn extension (outbound-allroutes, 051558923, 7) exited non-zero on ‘Local/051558923@from-internal-000004c6;2’
== Using UDPTL TOS bits 184
== Using UDPTL CoS mark 5
– Auto fallthrough, channel ‘SIP/CloudItalia-00000033’ status is ‘UNKNOWN’
– Executing [h@send-fax:1] System(“SIP/CloudItalia-00000033”, "/var/lib/asterisk/bin/faxpro_helper.php --faxid=“1397747876181” --stationid=“05119873064” --status=“Unexpected message received” --action=“sent” ") in new stack
pbx*CLI>

“Unexpected message received” is classified as an “external problem” This means the way the other end is doing something is not considered acceptable.

i agree, this is not fax pro fault, but do you think this issue is related to sip trunk or fax machine recipient?

Asterisk --> old fax = "Unexpected message received"
Same old fax --> asterisk = "OK"
Asterisk --> asterisk = “OK”

may you help me to understand if I misconfigured the outgoing fax? do I have to enable jitter correction or something else?