Here is the console output:
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
== Using SIP VRTP TOS bits 136
== Using SIP VRTP CoS mark 4
== Using UDPTL TOS bits 184
== Using UDPTL CoS mark 5
-- Called 1772*******@VoipInno
-- SIP/VoipInno-0000007c is making progress passing it to Local/1772*******@from-inside-************-bb1f;2
-- SIP/VoipInno-0000007c answered Local/1772*******@from-inside-************-bb1f;2
-- Executing [s@tl-faxsend:1] Answer("Local/1772*******@from-inside-************-bb1f;1", "") in new stack
-- Executing [s@tl-faxsend:2] Set("Local/1772*******@from-inside-************-bb1f;1", "FAXOPT(localstationid)=AIPN") in new stack
[2011-04-27 21:38:37] ERROR[31176]: pbx.c:3386 ast_func_write: Function FAXOPT not registered
-- Executing [s@tl-faxsend:3] Set("Local/1772*******@from-inside-************-bb1f;1", "FAXOPT(ecm)=yes") in new stack
[2011-04-27 21:38:37] ERROR[31176]: pbx.c:3386 ast_func_write: Function FAXOPT not registered
-- Executing [s@tl-faxsend:4] SendFAX("Local/1772*******@from-inside-************-bb1f;1", "/tmp/************-200-2011-04-27-21-38-05.tiff,") in new stack
== Spawn extension (macro-tl-dialout-base, dial-SIP, 7) exited non-zero on 'Local/1772*******@from-inside-************-bb1f;2' in macro 'tl-dialout-base'
== Spawn extension (macro-tl-dialout-2-trunks, s, 3) exited non-zero on 'Local/1772*******@from-inside-************-bb1f;2' in macro 'tl-dialout-2-trunks'
== Spawn extension (from-inside-redir-************, 1772*******, 1) exited non-zero on 'Local/1772*******@from-inside-************-bb1f;2'
-- Executing [h@from-inside-redir-************:1] Hangup("Local/1772*******@from-inside-************-bb1f;2", "") in new stack
== Spawn extension (from-inside-redir-************, h, 1) exited non-zero on 'Local/1772*******@from-inside-************-bb1f;2'
[2011-04-27 21:38:45] WARNING[31176]: app_fax.c:223 phase_e_handler: Error transmitting fax. result=49: The call dropped prematurely.
[2011-04-27 21:38:45] WARNING[31176]: app_fax.c:817 transmit: Transmission error
== Spawn extension (tl-faxsend, s, 4) exited non-zero on 'SIP/VoipInno-0000007c'
[2011-04-27 21:38:45] c]: pbx.c:3363 ast_func_read: Function FAXOPT not registered
-- Executing [h@tl-faxsend:1] GotoIf("SIP/VoipInno-0000007c", "1?hangup") in new stack
-- Goto (tl-faxsend,h,6)
-- Executing [h@tl-faxsend:6] NoOp("SIP/VoipInno-0000007c", "") in new stack
[2011-04-27 21:38:45] NOTICE[31176]: pbx_spool.c:349 attempt_thread: Call completed to Local/1772*******@from-inside-************
Same error as well, it just started a couple of days ago
Any Ideals?
== Spawn extension (macro-tl-dialout-base, failed, 2) exited non-zero on 'Local/713-979-0498@from-inside-Trinicom-63d4;2' in macro 'tl-dialout-base'
== Spawn extension (macro-tl-dialout-1-trunk, s, 3) exited non-zero on 'Local/713-979-0498@from-inside-Trinicom-63d4;2' in macro 'tl-dialout-1-trunk'
== Spawn extension (from-inside-redir-Trinicom, 713-979-0498, 1) exited non-zero on 'Local/713-979-0498@from-inside-Trinicom-63d4;2'
-- Executing [h@from-inside-redir-Trinicom:1] Hangup("Local/713-979-0498@from-inside-Trinicom-63d4;2", "") in new stack
== Spawn extension (from-inside-redir-Trinicom, h, 1) exited non-zero on 'Local/713-979-0498@from-inside-Trinicom-63d4;2'
-- Executing [failed@tl-faxsend:1] System("OutgoingSpoolFailed", "REMOTENUMBER=713-979-0498 REASON=8 FAILED=2 EMAILADDR=keith@trinicom.com /usr/local/sbin/faxreport.sh") in new stack
[Sep 23 10:16:11] WARNING[1696]: app_system.c:134 system_exec_helper: Unable to execute 'REMOTENUMBER=713-979-0498 REASON=8 FAILED=2 EMAILADDR=keith@trinicom.com /usr/local/sbin/faxreport.sh'
== Spawn extension (tl-faxsend, failed, 1) exited non-zero on 'OutgoingSpoolFailed'
[Sep 23 10:16:11] ERROR[1696]: pbx.c:3363 ast_func_read: Function FAXOPT not registered
-- Executing [h@tl-faxsend:1] GotoIf("OutgoingSpoolFailed", "1?hangup") in new stack
-- Goto (tl-faxsend,h,6)
-- Executing [h@tl-faxsend:6] NoOp("OutgoingSpoolFailed", "") in new stack
Incomming faxes are working
Incomming faxes are working fine
[Sep 23 10:16:11] ERROR[1696]: pbx.c:3363 ast_func_read: Function FAXOPT not registered
When I do a PS it shows FAXOPT as running!
Any help would be great!
the plot thickens!
Looks like my end user was putting in the dashes in the fax # (I saw the newer TL MTE stripped all that)
However it looks like the email is not being sent on failures and we are still getting the FAXOPT not registered error in the asterisk CLI
but the faxes do go through
any ideals would be great!
your not using the correct
your not using the correct fax module. FAXOPT is part of res_fax .. you should delete app_fax and install res_fax.
Gotcha, what is odd is that
Gotcha,
what is odd is that this is a "stock" install from the 3d lane ISO.
Was there a time when the ISO had the wrong fax mod installed?
thanks again bro
Keith
yes, at one time, before
yes, at one time, before digiums fax-for-asterisk module existed, it included app_fax.so
we are on PBX Manager 6.1.1.6
we are on PBX Manager 6.1.1.6 vanilia install from ISO
I will check it out,
thanks!
How do we use the build in
How do we use the build in module app_fax? When faxing from the portal it still says:
pbx.c:3363 ast_func_read: Function FAXOPT not registered
Why can't we use the app_fax that is already on the system?
Thanks
you don't.. app_fax is legacy
you don't.. app_fax is legacy 1.4 3rd party stuff that made a brief appearance in 1.6.0 before digium introduced res_fax halfway into the 1.6.0 branch. The sending feature of that app_fax application only worked 1 out of every 10 attempts. By 1.6.1 the res_fax modulehad been well established and digium depreciated app_fax, finally removing it entirely by 1.8. Digium has now switched everything to res_fax and in 1.8 even spandsp is a res_fax solution. We're developing for 1.8 version of asterisk, all other versions are marked end-of-life by digium. In order to use all features we add to thirdlane you must be running the correct version of asterisk that supports those features. When developing the sendfax portal for thirdlane we started when 1.6.2 was the current limited release. the 1.8 LTE edition was in beta and apparent as to what direction things were going to head. The app_fax had lots of problems sending, it had no t38 support, it was depreciated and marked for removal, and it had different syntax structure entirely between asterisk versions as well as the way it reported critical information to even determine if there was a successful fax.
This is not the only feature that is unavailable to previous versions of asterisk. Pickup Groups, the better directed-call-pickup that works with extension based huntlists, dynamic queue members, etc are all examples where 1.2 and 1.4 versions of asterisk as simply not going to work with those features.
therfore the only app_fax support you will find is legacy support for the inbound fax-to-email portion. There is a new tl-exten-faxforasterisk script for inbound scripts that is preferable to that legacy script which works with the res_fax framework.
I get the same error, have you found a solution to the problem yet?
Thanks