wenn ich per email2fax ein fax versenden will,dann geht das, solange ich keine vorwahlen wähle. sobald ich eine vorwahl wähle, bekomme ich sowas ausgegeben:
log ist einmal ohne und einmal mit vorwahl.
auszug aus dem email2fax script
muss gestehen, dass ich mir auch nach lektüre von http://www.voip-info.org/tiki-index.php?page=Asterisk+auto-dial+out nicht 100% sicher bin, ob mein dialplan fehler verursacht. reicht denn die angabe des (in meinem falle capi) channels mit der nummer, dass erst mal rausgewählt wird?
Code:
Aug 4 18:08:53 NOTICE[30954]: pbx_spool.c:269 attempt_thread: Call failed to go through, reason 5
-- Attempting call on CAPI/g1/16929811 for application txfax(/tmp/.email2fax/1154707749-688224000/testfax.tif.tif|caller) (Retry 1)
-- Executing Macro("CAPI/ISDN2/16929811-8d", "visionate-faxreceive") in new stack
-- Executing Answer("CAPI/ISDN2/16929811-8d", "") in new stack
-- Executing Set("CAPI/ISDN2/16929811-8d", "FAXFILE=/var/spool/asterisk/fax/051116929811-1154707750.194.tif") in new stack
-- Executing RxFAX("CAPI/ISDN2/16929811-8d", "/var/spool/asterisk/fax/051116929811-1154707750.194.tif") in new stack
Aug 4 18:09:29 NOTICE[31038]: pbx_spool.c:279 attempt_thread: Call completed to CAPI/g1/16929811
-- Executing Hangup("CAPI/ISDN2/16929811-8d", "") in new stack
== Spawn extension (macro-visionate-faxreceive, s, 4) exited non-zero on 'CAPI/ISDN2/16929811-8d' in macro 'visionate-faxreceive'
== Spawn extension (macro-visionate-faxreceive, s, 4) exited non-zero on 'CAPI/ISDN2/16929811-8d'
-- Executing System("CAPI/ISDN2/16929811-8d", "/usr/local/sbin/fax2pdf /var/spool/asterisk/fax/051116929811-1154707750.194.tif fax-admin 051116929811") in new stack
Aug 4 18:09:34 NOTICE[26793]: res_musiconhold.c:511 monmp3thread: Request to schedule in the past?!?!
Aug 4 18:09:34 WARNING[26793]: res_musiconhold.c:417 spawn_mp3: Found no files in '/usr/share/asterisk/mohmp3'
Aug 4 18:09:34 WARNING[26793]: res_musiconhold.c:489 monmp3thread: Unable to spawn mp3player
-- Attempting call on CAPI/g1/ for application txfax(/tmp/.email2fax/1154707858-689716000/testfax.tif.tif|caller) (Retry 1)
Aug 4 18:10:59 ERROR[31140]: chan_capi.c:1435 pbx_capi_call: No destination or dialtone requested in 'g1/'
Aug 4 18:10:59 NOTICE[31140]: channel.c:2430 __ast_request_and_dial: Unable to call channel CAPI/g1/
Aug 4 18:10:59 NOTICE[31140]: pbx_spool.c:269 attempt_thread: Call failed to go through, reason 0
-- Attempting call on CAPI/g1/004951116929811 for application txfax(/tmp/.email2fax/1154707888-383874000/testfax.tif.tif|caller) (Retry 1)
Aug 4 18:11:29 NOTICE[31217]: channel.c:2424 __ast_request_and_dial: Don't know what to do with control frame 15
-- Attempting call on CAPI/g1/00491212529623527 for application txfax(/tmp/.email2fax/1154707209-569702000/testfax.tif.tif|caller) (Retry 3)
Aug 4 18:11:36 NOTICE[31220]: channel.c:2424 __ast_request_and_dial: Don't know what to do with control frame 15
log ist einmal ohne und einmal mit vorwahl.
auszug aus dem email2fax script
Code:
FAXDATE=`date +%s-%N`
cat <<EOF >$DATADIR/fax-$FAXDATE.call
Channel: $CHANNEL/$FAXNUM
MaxRetries: 2
WaitTime: 60
CallerID: mein name <004951116929811>
Application: txfax
Data: $DATADIR/$ATTNAME.tif|caller
EOF
muss gestehen, dass ich mir auch nach lektüre von http://www.voip-info.org/tiki-index.php?page=Asterisk+auto-dial+out nicht 100% sicher bin, ob mein dialplan fehler verursacht. reicht denn die angabe des (in meinem falle capi) channels mit der nummer, dass erst mal rausgewählt wird?