[asterisk-users] 1.6.0.5: I need a really simple analog SendFax dialplan
sean darcy
seandarcy2 at gmail.com
Tue Sep 22 19:32:40 CDT 2009
Using Digium fax I've tried a simple dialplan:
'8447' => 1. Answer() [pbx_config]
2. Set(CALLERID(num)=xxxyyyzzzz) [pbx_config]
3. Dial(DAHDI/g0/1bbbcccdddd,,G(send)) [pbx_config]
[send] 4. SendFax(/var/spool/asterisk/fax/20090922_1301.tif) [pbx_config]
5. HangUp()
But I doesn't work. It executes hangup:
"DAHDI/g0/1bbbcccdddd,,G(send)") in new stack
-- Requested transfer capability: 0x00 - SPEECH
-- Called g0/1bbbcccdddd
-- DAHDI/1-1 is proceeding passing it to SIP/173-b55f7448
-- DAHDI/1-1 is ringing
-- DAHDI/1-1 is making progress passing it to SIP/173-b55f7448
-- DAHDI/1-1 is making progress passing it to SIP/173-b55f7448
-- DAHDI/1-1 answered SIP/173-b55f7448
-- Executing [8447 at outbound-fax:4] SendFAX("SIP/173-b55f7448",
"/var/spool/asterisk/fax/20090922_1301.tif") in new stack
-- Channel 'SIP/173-b55f7448' sending fax
'/var/spool/asterisk/fax/20090922_1301.tif'
-- Channel 'SIP/173-b55f7448' fax session '16' started
-- Executing [8447 at outbound-fax:5] Hangup("DAHDI/1-1", "") in new stack
== Spawn extension (outbound-fax, 8447, 5) exited non-zero on 'DAHDI/1-1'
-- Hungup 'DAHDI/1-1'
-- Channel 'SIP/173-b55f7448' fax session '16', [ 000.003512 ],
STAT_EVT_STRT_TX st: IDLE rt: IDLENSTX
So why does it hangup before completing the fax?
Does anyone have a SendFax dialplan that works for an analog channel?
Thanks for any help.
sean
More information about the asterisk-users
mailing list