返回列表 發帖
Thanks.  稍後試一試。

fax in,

exten => hkbn2b,n,Dial(IAX2/iax-fax2/${CALLERID(number)},20,d)

這個 n 應該是 1 吧! 還是前面還有一些 Answer() 之類的語法?

TOP

All the scripts before this line is for callerID.

If you device is sip, add faxdetect=on in [general] of sip.conf

TOP

Thanks for the info.

TOP

Just ignore any error from IAXmodem in the console. Test if this works.

TOP

回復 16# bubblestar

I can correctly get the callerID

TOP

本帖最後由 bubblestar 於 2011-3-16 15:19 編輯

回復 19# ckleea


Some are logging data and some are error log.  Anyway, I found the resolution to make it and become quiet in my CLI console now.
   
In non-daemon mode IAXmodem does not detach itself from the controlling
tty, and it does send logging data both to standard output (informational
items) and to standard error (errors).  As this logging can be a bit
verbose, you may choose to ignore all of it by starting IAXmodem like
this:

/path/to/iaxmodem ttyIAX >/dev/null 2>&1

; the addition of latter part in the statement works.

http://iaxmodem.sourceforge.net/howto.php

TOP

回復 20# ckleea


   

Congratualtions!  Could you share this technique with us when you have time?

TOP

一定可以,遲D有時間一定做功課。

還有小小,email有時唔work

TOP

返回列表