AMD 8369 issue
Posted: Thu Aug 30, 2018 6:30 am
Hi,
We test an active number and it work in autodial with 8368 extension. But when i activate the answering machine detection(8369) the call drop after i pick it up. THe AMD tag it as NA.
Logs:
[Aug 30 07:06:20] == Using SIP RTP CoS mark 5
[Aug 30 07:06:20] -- Called SIP/MYPHONENUMBER@VOIP
[Aug 30 07:06:22] > 0x7fc27c0afb50 -- Strict RTP learning after remote address set to: 192.170.159.196:12640
[Aug 30 07:06:22] -- SIP/VOIP-00000004 is making progress passing it to Local/9MYPHONENUMBER@default-00000004;2
[Aug 30 07:06:25] -- SIP/VOIP-00000004 answered Local/9MYPHONENUMBER@default-00000004;2
[Aug 30 07:06:25] > Channel Local/9MYPHONENUMBER@default-00000004;1 was answered
[Aug 30 07:06:25] -- Executing [8369@default:1] Playback("Local/9MYPHONENUMBER@default-00000004;1", "sip-silence") in new stack
[Aug 30 07:06:25] -- <Local/9MYPHONENUMBER@default-00000004;1> Playing 'sip-silence.gsm' (language 'en')
[Aug 30 07:06:25] -- Executing [8369@default:2] AGI("Local/9MYPHONENUMBER@default-00000004;1", "agi://127.0.0.1:4577/call_log") in new stack
[Aug 30 07:06:25] -- AGI Script Executing Application: (EXEC) Options: (Set(_CAMPCUST=T3PH))
[Aug 30 07:06:25] -- <Local/9MYPHONENUMBER@default-00000004;1>AGI Script agi://127.0.0.1:4577/call_log completed, returning 0
[Aug 30 07:06:25] -- Executing [8369@default:3] AMD("Local/9MYPHONENUMBER@default-00000004;1", "2000,2000,1000,5000,120,50,4,256") in new stack
[Aug 30 07:06:25] -- AMD: Local/9MYPHONENUMBER@default-00000004;1 14046927964 (N/A) (Fmt: slin)
[Aug 30 07:06:25] -- AMD: initialSilence [2000] greeting [2000] afterGreetingSilence [1000] totalAnalysisTime [5000] minimumWordLength [120] betweenWordsSilence [50] maximumNumberOfWords [4] silenceThreshold [256] maximumWordLength [5000]
[Aug 30 07:06:25] -- AMD: Channel [SIP/VOIP-00000004]. Changed state to STATE_IN_SILENCE
[Aug 30 07:06:25] -- Executing [h@default:1] AGI("Local/9MYPHONENUMBER@default-00000004;2", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----16-----ANSWER-----5-----0") in new stack
[Aug 30 07:06:26] == Manager 'sendcron' logged off from 127.0.0.1
[Aug 30 07:06:26] -- <Local/9MYPHONENUMBER@default-00000004;2>AGI Script agi://127.0.0.1:4577/call_log--HVcauses ... ---5-----0 completed, returning 0
[Aug 30 07:06:26] == Spawn extension (default, 9MYPHONENUMBER, 2) exited non-zero on 'Local/9MYPHONENUMBER@default-00000004;2'
[Aug 30 07:06:27] -- AMD: Channel [SIP/VOIP-00000004]. ANSWERING MACHINE: silenceDuration:2000 initialSilence:2000
[Aug 30 07:06:27] -- Executing [8369@default:4] AGI("SIP/VOIP-00000004", "VD_amd.agi,8369") in new stack
[Aug 30 07:06:27] -- Launched AGI Script /usr/share/asterisk/agi-bin/VD_amd.agi
[Aug 30 07:06:27] -- <SIP/VOIP-00000004> Playing 'sip-silence.gsm' (escape_digits=) (sample_offset 0) (language 'en')
[Aug 30 07:06:27] -- <SIP/VOIP-00000004> Playing 'sip-silence.gsm' (escape_digits=) (sample_offset 0) (language 'en')
[Aug 30 07:06:27] -- <SIP/VOIP-00000004>AGI Script VD_amd.agi completed, returning 4
[Aug 30 07:06:27] == Spawn extension (default, 8369, 4) exited non-zero on 'SIP/VOIP-00000004'
[Aug 30 07:06:27] -- Executing [h@default:1] AGI("SIP/VOIP-00000004", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----0---------------") in new stack
[Aug 30 07:06:27] -- <SIP/VOIP-00000004>AGI Script agi://127.0.0.1:4577/call_log--HVcauses ... ---------- completed, returning 0
[Aug 30 07:06:38] == Manager 'sendcron' logged on from 127.0.0.1
[Aug 30 07:06:38] -- Manager 'sendcron' from 127.0.0.1, hanging up channel: SIP/1001-00000003
[Aug 30 07:06:38] -- Hungup 'DAHDI/pseudo-974560985'
[Aug 30 07:06:38] == Spawn extension (default, 8600051, 1) exited non-zero on 'SIP/1001-00000003'
[Aug 30 07:06:38] -- Executing [h@default:1] AGI("SIP/1001-00000003", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----16---------------") in new stack
[Aug 30 07:06:38] -- <SIP/1001-00000003>AGI Script agi://127.0.0.1:4577/call_log--HVcauses ... ---------- completed, returning 0
[Aug 30 07:06:38] == Manager 'sendcron' logged on from 127.0.0.1
[Aug 30 07:06:38] -- Executing [55558600051@default:1] MeetMeAdmin("Local/55558600051@default-00000005;2", "8600051,K") in new stack
[Aug 30 07:06:38] WARNING[8821][C-00000007]: app_meetme.c:5053 admin_exec: Conference number '8600051' not found!
[Aug 30 07:06:38] -- Executing [55558600051@default:2] Hangup("Local/55558600051@default-00000005;2", "") in new stack
[Aug 30 07:06:38] == Spawn extension (default, 55558600051, 2) exited non-zero on 'Local/55558600051@default-00000005;2'
[Aug 30 07:06:38] -- Executing [h@default:1] AGI("Local/55558600051@default-00000005;2", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----16---------------") in new stack
[Aug 30 07:06:38] -- <Local/55558600051@default-00000005;2>AGI Script agi://127.0.0.1:4577/call_log--HVcauses ... ---------- completed, returning 0
[Aug 30 07:06:39] == Manager 'sendcron' logged off from 127.0.0.1
We test an active number and it work in autodial with 8368 extension. But when i activate the answering machine detection(8369) the call drop after i pick it up. THe AMD tag it as NA.
Logs:
[Aug 30 07:06:20] == Using SIP RTP CoS mark 5
[Aug 30 07:06:20] -- Called SIP/MYPHONENUMBER@VOIP
[Aug 30 07:06:22] > 0x7fc27c0afb50 -- Strict RTP learning after remote address set to: 192.170.159.196:12640
[Aug 30 07:06:22] -- SIP/VOIP-00000004 is making progress passing it to Local/9MYPHONENUMBER@default-00000004;2
[Aug 30 07:06:25] -- SIP/VOIP-00000004 answered Local/9MYPHONENUMBER@default-00000004;2
[Aug 30 07:06:25] > Channel Local/9MYPHONENUMBER@default-00000004;1 was answered
[Aug 30 07:06:25] -- Executing [8369@default:1] Playback("Local/9MYPHONENUMBER@default-00000004;1", "sip-silence") in new stack
[Aug 30 07:06:25] -- <Local/9MYPHONENUMBER@default-00000004;1> Playing 'sip-silence.gsm' (language 'en')
[Aug 30 07:06:25] -- Executing [8369@default:2] AGI("Local/9MYPHONENUMBER@default-00000004;1", "agi://127.0.0.1:4577/call_log") in new stack
[Aug 30 07:06:25] -- AGI Script Executing Application: (EXEC) Options: (Set(_CAMPCUST=T3PH))
[Aug 30 07:06:25] -- <Local/9MYPHONENUMBER@default-00000004;1>AGI Script agi://127.0.0.1:4577/call_log completed, returning 0
[Aug 30 07:06:25] -- Executing [8369@default:3] AMD("Local/9MYPHONENUMBER@default-00000004;1", "2000,2000,1000,5000,120,50,4,256") in new stack
[Aug 30 07:06:25] -- AMD: Local/9MYPHONENUMBER@default-00000004;1 14046927964 (N/A) (Fmt: slin)
[Aug 30 07:06:25] -- AMD: initialSilence [2000] greeting [2000] afterGreetingSilence [1000] totalAnalysisTime [5000] minimumWordLength [120] betweenWordsSilence [50] maximumNumberOfWords [4] silenceThreshold [256] maximumWordLength [5000]
[Aug 30 07:06:25] -- AMD: Channel [SIP/VOIP-00000004]. Changed state to STATE_IN_SILENCE
[Aug 30 07:06:25] -- Executing [h@default:1] AGI("Local/9MYPHONENUMBER@default-00000004;2", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----16-----ANSWER-----5-----0") in new stack
[Aug 30 07:06:26] == Manager 'sendcron' logged off from 127.0.0.1
[Aug 30 07:06:26] -- <Local/9MYPHONENUMBER@default-00000004;2>AGI Script agi://127.0.0.1:4577/call_log--HVcauses ... ---5-----0 completed, returning 0
[Aug 30 07:06:26] == Spawn extension (default, 9MYPHONENUMBER, 2) exited non-zero on 'Local/9MYPHONENUMBER@default-00000004;2'
[Aug 30 07:06:27] -- AMD: Channel [SIP/VOIP-00000004]. ANSWERING MACHINE: silenceDuration:2000 initialSilence:2000
[Aug 30 07:06:27] -- Executing [8369@default:4] AGI("SIP/VOIP-00000004", "VD_amd.agi,8369") in new stack
[Aug 30 07:06:27] -- Launched AGI Script /usr/share/asterisk/agi-bin/VD_amd.agi
[Aug 30 07:06:27] -- <SIP/VOIP-00000004> Playing 'sip-silence.gsm' (escape_digits=) (sample_offset 0) (language 'en')
[Aug 30 07:06:27] -- <SIP/VOIP-00000004> Playing 'sip-silence.gsm' (escape_digits=) (sample_offset 0) (language 'en')
[Aug 30 07:06:27] -- <SIP/VOIP-00000004>AGI Script VD_amd.agi completed, returning 4
[Aug 30 07:06:27] == Spawn extension (default, 8369, 4) exited non-zero on 'SIP/VOIP-00000004'
[Aug 30 07:06:27] -- Executing [h@default:1] AGI("SIP/VOIP-00000004", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----0---------------") in new stack
[Aug 30 07:06:27] -- <SIP/VOIP-00000004>AGI Script agi://127.0.0.1:4577/call_log--HVcauses ... ---------- completed, returning 0
[Aug 30 07:06:38] == Manager 'sendcron' logged on from 127.0.0.1
[Aug 30 07:06:38] -- Manager 'sendcron' from 127.0.0.1, hanging up channel: SIP/1001-00000003
[Aug 30 07:06:38] -- Hungup 'DAHDI/pseudo-974560985'
[Aug 30 07:06:38] == Spawn extension (default, 8600051, 1) exited non-zero on 'SIP/1001-00000003'
[Aug 30 07:06:38] -- Executing [h@default:1] AGI("SIP/1001-00000003", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----16---------------") in new stack
[Aug 30 07:06:38] -- <SIP/1001-00000003>AGI Script agi://127.0.0.1:4577/call_log--HVcauses ... ---------- completed, returning 0
[Aug 30 07:06:38] == Manager 'sendcron' logged on from 127.0.0.1
[Aug 30 07:06:38] -- Executing [55558600051@default:1] MeetMeAdmin("Local/55558600051@default-00000005;2", "8600051,K") in new stack
[Aug 30 07:06:38] WARNING[8821][C-00000007]: app_meetme.c:5053 admin_exec: Conference number '8600051' not found!
[Aug 30 07:06:38] -- Executing [55558600051@default:2] Hangup("Local/55558600051@default-00000005;2", "") in new stack
[Aug 30 07:06:38] == Spawn extension (default, 55558600051, 2) exited non-zero on 'Local/55558600051@default-00000005;2'
[Aug 30 07:06:38] -- Executing [h@default:1] AGI("Local/55558600051@default-00000005;2", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----16---------------") in new stack
[Aug 30 07:06:38] -- <Local/55558600051@default-00000005;2>AGI Script agi://127.0.0.1:4577/call_log--HVcauses ... ---------- completed, returning 0
[Aug 30 07:06:39] == Manager 'sendcron' logged off from 127.0.0.1