[asterisk-users] Detecting a fax
Neil Youngman
neil.youngman at wirefast.com
Fri Jan 11 04:46:12 CST 2019
On 11/01/2019 10:04, Floimair Florian wrote:
> I would guess from your explanation that the "outgoing" call somehow ends up in your Asterisk machine again, either at the voicetest or fax extension.
> You don't answer it in either of the extensions.
> That's what TOOTAI meant.
No, it's not looped back to the same asterisk extension. For this
particular test I'm testing against a hardware fax machine plugged into
a standard phone line.
> If this is done in another extension, than this part of the Dialplan is missing in your post. So we can only guess what's going on.
> Either post the full dialplan or add some log or cli output (with verbose set to at least 1) so we can have a chance of seeing what's going on.
I attach some CLI output.
Neil
Neil Youngman
Developer
Wirefast Limited
Wirefast provides secure corporate messaging services.
See our messaging solutions at http://www.wirefast.com/
Please consider the environment.
Does this email or attachment need to be printed?
This message contains confidential information and is intended only
for the individual named. If you are not the named addressee you
should not disseminate, distribute or copy this email. Please
notify the sender immediately by email if you have received this
email by mistake and delete this email from your system.
Any views or opinions are solely those of the author
and do not necessarily represent those of Wirefast Limited
Email transmission cannot be guaranteed to be secure or error-free
as information could be intercepted, corrupted, lost, destroyed,
arrive late or incomplete, or contain viruses. The sender therefore
does not accept liability for any errors or omissions in the contents
of this message which arise as a result of email transmission.
Wirefast Limited is registered in England & Wales
Company number: 03865860
Registered Office: 7/10 Chandos Street, Cavendish Square, London, W1G 9DQ
Wirefast definitions of classification can be found here: www.wirefast.com/classifications
-------------- next part --------------
[Kswasp6*CLI>
[0K[1;30m == [0mUsing SIP RTP CoS mark 5
[Kswasp6*CLI>
[0K[1;30m -- [0mCalled +441632900987 at 10.11.12.13:5060
[Kswasp6*CLI>
[0K[1;30m -- [0mSIP/10.11.12.13:5060-000000f8 is making progress
[Kswasp6*CLI>
[0K[1;30m -- [0mSIP/10.11.12.13:5060-000000f8 answered
[Kswasp6*CLI>
[0K[1;30m -- [0mExecuting [voicetest at test:1] [1;36mNoOp[0m("[1;35mSIP/10.11.12.13:5060-000000f8[0m", "[1;35m[0m") in new stack
[Kswasp6*CLI>
[0K[1;30m -- [0mExecuting [voicetest at test:2] [1;36mLog[0m("[1;35mSIP/10.11.12.13:5060-000000f8[0m", "[1;35mNotice,SIP/10.11.12.13:5060-000000f8: Extension voiceout starting[0m") in new stack
[Kswasp6*CLI>
[0K[Jan 11 10:36:35] [1;33mNOTICE[0m[9709][C-00000117]: [1;37mExt. voicetest[0m:[1;37m2[0m [1;37m@ test[0m: SIP/10.11.12.13:5060-000000f8: Extension voiceout starting
[1;30m -- [0mExecuting [voicetest at test:3] [1;36mLog[0m("[1;35mSIP/10.11.12.13:5060-000000f8[0m", "[1;35mNotice,SIP/10.11.12.13:5060-000000f8: Starting Answer Machine Detection[0m") in new stack
[Jan 11 10:36:35] [1;33mNOTICE[0m[9709][C-00000117]: [1;37mExt. voicetest[0m:[1;37m3[0m [1;37m@ test[0m: SIP/10.11.12.13:5060-000000f8: Starting Answer Machine Detection
[1;30m -- [0mExecuting [voicetest at test:4] [1;36mAMD[0m("[1;35mSIP/10.11.12.13:5060-000000f8[0m", "[1;35m[0m") in new stack
[1;30m -- [0mAMD: SIP/10.11.12.13:5060-000000f8 (N/A) (N/A) (Fmt: alaw)
[1;30m -- [0mAMD: initialSilence [2500] greeting [1500] afterGreetingSilence [800] totalAnalysisTime [5000] minimumWordLength [100] betweenWordsSilence [50] maximumNumberOfWords [3] silenceThreshold [256] maximumWordLength [5000]
[Kswasp6*CLI>
[0K[1;30m -- [0mAMD: Channel [SIP/10.11.12.13:5060-000000f8]. Changed state to STATE_IN_SILENCE
[Kswasp6*CLI>
[0K[1;30m -- [0mAMD: Channel [SIP/10.11.12.13:5060-000000f8]. Word detected. iWordsCount:1
[1;30m -- [0mAMD: Channel [SIP/10.11.12.13:5060-000000f8]. Detected Talk, previous silence duration: 1980
[Kswasp6*CLI>
[0K[1;30m -- [0mAMD: Channel [SIP/10.11.12.13:5060-000000f8]. Changed state to STATE_IN_SILENCE
[Kswasp6*CLI>
[0K[1;30m -- [0mAMD: Channel [SIP/10.11.12.13:5060-000000f8]. Detected Talk, previous silence duration: 100
[Kswasp6*CLI>
[0K[1;30m -- [0mAMD: Channel [SIP/10.11.12.13:5060-000000f8]. Word detected. iWordsCount:2
[Kswasp6*CLI>
[0K[1;30m -- [0mAMD: Channel [SIP/10.11.12.13:5060-000000f8]. Changed state to STATE_IN_SILENCE
[Kswasp6*CLI>
[0K[1;30m -- [0mAMD: Channel [SIP/10.11.12.13:5060-000000f8]. Detected Talk, previous silence duration: 100
[Kswasp6*CLI>
[0K[1;30m -- [0mAMD: Channel [SIP/10.11.12.13:5060-000000f8]. Word detected. iWordsCount:3
[1;30m -- [0mAMD: Channel [SIP/10.11.12.13:5060-000000f8]. ANSWERING MACHINE: iWordsCount:3
[Kswasp6*CLI>
[0K[1;30m -- [0mExecuting [voicetest at test:5] [1;36mLog[0m("[1;35mSIP/10.11.12.13:5060-000000f8[0m", "[1;35mNotice,SIP/10.11.12.13:5060-000000f8: Answer Machine Detection MACHINE/MAXWORDS-3-3[0m") in new stack
[Kswasp6*CLI>
[0K[Jan 11 10:36:38] [1;33mNOTICE[0m[9709][C-00000117]: [1;37mExt. voicetest[0m:[1;37m5[0m [1;37m@ test[0m: SIP/10.11.12.13:5060-000000f8: Answer Machine Detection MACHINE/MAXWORDS-3-3
[1;30m -- [0mExecuting [voicetest at test:6] [1;36mPlayback[0m("[1;35mSIP/10.11.12.13:5060-000000f8[0m", "[1;35m/var/lib/asterisk/sounds/en/demo-congrats[0m") in new stack
[Kswasp6*CLI>
[0K[1;30m -- [0m<SIP/10.11.12.13:5060-000000f8> Playing '/var/lib/asterisk/sounds/en/demo-congrats.gsm' (language 'en')
[Kswasp6*CLI>
[0K[1;30m -- [0mExecuting [voicetest at test:7] [1;36mLog[0m("[1;35mSIP/10.11.12.13:5060-000000f8[0m", "[1;35mNotice,SIP/10.11.12.13:5060-000000f8: Voice out extension complete[0m") in new stack
[Kswasp6*CLI>
[0K[Jan 11 10:37:09] [1;33mNOTICE[0m[9709][C-00000117]: [1;37mExt. voicetest[0m:[1;37m7[0m [1;37m@ test[0m: SIP/10.11.12.13:5060-000000f8: Voice out extension complete
[1;30m -- [0mExecuting [voicetest at test:8] [1;36mHangup[0m("[1;35mSIP/10.11.12.13:5060-000000f8[0m", "[1;35m[0m") in new stack
[1;30m == [0mSpawn extension (test, voicetest, 8) exited non-zero on 'SIP/10.11.12.13:5060-000000f8'
[Kswasp6*CLI> exit
Asterisk cleanly ending (0).
Executing last minute cleanups
[0mkroot at swasp6:~\[root at swasp6 ~]# logout
Connection to 127.0.0.1 closed.
kneily at swasp6:~\neily at swasp6 ~ 10:37:30 919 $ exit
More information about the asterisk-users
mailing list