Mod_Fax / TxFax / Originate
Trying to do a local test for faxing. Keep getting an error. default dialplan: <extension name="test_rxfax_stream"> <condition field="destination_number" expression="^8000$"> <action application="answer" /> <action application="playback" data="silence_stream://2000"/> <action application="set" data="last_fax=${caller_id_number}-${strftime(%Y%m%d%H%M%S)}"/> <action application="rxfax" data="storage/fax/8000/inbox/${last_fax}.tif"/> <action application="hangup"/> </condition> </extension> //inbound from remote box works fine - connect asterisk box and fs box, then fax from asterisk to fs... OK - also fax from fs to asterisk.... OK // local fax on fs .... FAILS!! // my originate command: originate sofia/internal/8000@192.168.10.35 &txfax(storage/fax/test.tif) // error as follows: 2009-06-17 09:54:44.256749 [INFO] mod_dialplan_xml.c:252 Processing FreeSWITCH->8000 in context public 2009-06-17 09:54:44.256749 [ERR] sofia.c:4169 Cannot Blind Transfer 1 Legged calls 2009-06-17 09:54:44.256749 [NOTICE] sofia.c:3770 Hangup sofia/internal/8000@192.168.10.35 [CS_CONSUME_MEDIA] [NO_USER_RESPONSE] _________________________________________________________________ Lauren found her dream laptop. Find the PC that’s right for you. http://www.microsoft.com/windows/choosepc/?ocid=ftp_val_wl_290
Try using loopback endpoint for this test . Mike On Jun 17, 2009, at 10:00 AM, Tim B wrote:
Trying to do a local test for faxing. Keep getting an error.
default dialplan: <extension name="test_rxfax_stream"> <condition field="destination_number" expression="^8000$"> <action application="answer" /> <action application="playback" data="silence_stream://2000"/> <action application="set" data="last_fax=${caller_id_number}-$ {strftime(%Y%m%d%H%M%S)}"/> <action application="rxfax" data="storage/fax/8000/inbox/$ {last_fax}.tif"/> <action application="hangup"/> </condition> </extension>
//inbound from remote box works fine - connect asterisk box and fs box, then fax from asterisk to fs... OK - also fax from fs to asterisk.... OK
// local fax on fs .... FAILS!! // my originate command: originate sofia/internal/8000@192.168.10.35 &txfax(storage/fax/ test.tif)
// error as follows: 2009-06-17 09:54:44.256749 [INFO] mod_dialplan_xml.c:252 Processing FreeSWITCH->8000 in context public 2009-06-17 09:54:44.256749 [ERR] sofia.c:4169 Cannot Blind Transfer 1 Legged calls 2009-06-17 09:54:44.256749 [NOTICE] sofia.c:3770 Hangup sofia/internal/8000@192.168.10.35 [CS_CONSUME_MEDIA] [NO_USER_RESPONSE]
Lauren found her dream laptop. Find the PC that’s right for you. _______________________________________________ Freeswitch-users mailing list Freeswitch-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
participants (2)
-
Michael Jerris
-
Tim B