All calls are detected as ANSWERING MACHINE

All installation and configuration problems and questions

Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N

All calls are detected as ANSWERING MACHINE

Postby hemanshurpatel » Thu Jan 24, 2008 8:50 am

Hello
i have activated 8369 answering machine extension.
I have apply following 2 setting in both extension.conf and amd.conf file

exten => 8369,2,AMD(3500|1500|300|5000|120|50|5|256)
exten => 8369,2,AMD(2000|2000|1000|5000|120|50|4|256)


Both are giving the same results

Asterisk cli during that time is:

ncsc-3*CLI>
rencsc-3*CLI>
== Parsing '/etc/asterisk/manager.conf': Found
== Manager 'sendcron' logged on from 58.68.36.182
> Channel SIP/100000000-0074ba20 was answered.
-- Executing MeetMe("SIP/100000000-0074ba20", "8600051") in new stack
== Parsing '/etc/asterisk/meetme.conf': Found
-- Created MeetMe conference 1023 for conference '8600051'
-- Playing 'conf-onlyperson' (language 'en')
== Manager 'sendcron' logged off from 58.68.36.182
== Refreshing DNS lookups.
== Parsing '/etc/asterisk/manager.conf': Found
== Manager 'sendcron' logged on from 58.68.36.182
-- Executing AGI("Local/9898698835@default-4f59,2", "agi://127.0.0.1:4577/call_log") in new stack
-- AGI Script agi://127.0.0.1:4577/call_log completed, returning 0
-- Executing Dial("Local/9898698835@default-4f59,2", "Zap/g1/9898698835|60|tTo") in new stack
-- Requested transfer capability: 0x00 - SPEECH
-- Called g1/9898698835
-- Zap/1-1 is proceeding passing it to Local/9898698835@default-4f59,2
-- Zap/1-1 is ringing
-- Zap/1-1 answered Local/9898698835@default-4f59,2
> Channel Local/9898698835@default-4f59,1 was answered.
== Manager 'sendcron' logged off from 58.68.36.182
-- Executing AGI("Local/9898698835@default-4f59,1", "agi://127.0.0.1:4577/call_log") in new stack
-- AGI Script agi://127.0.0.1:4577/call_log completed, returning 0
-- Executing AMD("Local/9898698835@default-4f59,1", "2000|2000|1000|5000|120|50|4|256") in new stack
-- AMD: Local/9898698835@default-4f59,1 0000000000 (null) (Fmt: 64)
-- AMD: initialSilence [2000] greeting [2000] afterGreetingSilence [1000] totalAnalysisTime [5000] minimumWordLength [120] betweenWordsSilence [50] maximumNumberOfWords [4] silenceThreshold [256]
== Spawn extension (default, 9898698835, 2) exited non-zero on 'Local/9898698835@default-4f59,2'
-- Executing DeadAGI("Local/9898698835@default-4f59,2", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----16-----ANSWER-----5-----0)") in new stack
-- AGI Script agi://127.0.0.1:4577/call_log--HVcauses ... ---5-----0) completed, returning 0
-- AMD: Word detected. iWordsCount:1
-- AMD: ANSWERING MACHINE: voiceDuration:2000 greeting:2000
-- Executing AGI("Zap/1-1", "VD_amd.agi|8369") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/VD_amd.agi
== Spawn extension (default, 8369, 3) exited non-zero on 'Zap/1-1'
-- Executing DeadAGI("Zap/1-1", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----0---------------)") in new stack
-- AGI Script agi://127.0.0.1:4577/call_log--HVcauses ... ----------) completed, returning 0
-- Hungup 'Zap/1-1'
== Parsing '/etc/asterisk/manager.conf': Found
== Manager 'sendcron' logged on from 58.68.36.182
-- Executing AGI("Local/9898698835@default-5ebf,2", "agi://127.0.0.1:4577/call_log") in new stack
-- AGI Script agi://127.0.0.1:4577/call_log completed, returning 0
-- Executing Dial("Local/9898698835@default-5ebf,2", "Zap/g1/9898698835|60|tTo") in new stack
-- Requested transfer capability: 0x00 - SPEECH
-- Called g1/9898698835
-- Zap/1-1 is proceeding passing it to Local/9898698835@default-5ebf,2
-- Zap/1-1 is making progress passing it to Local/9898698835@default-5ebf,2
-- Zap/1-1 is ringing
== Parsing '/etc/asterisk/manager.conf': Found
== Manager 'sendcron' logged on from 58.68.36.182
== Parsing '/etc/asterisk/manager.conf': Found
== Manager 'sendcron' logged on from 58.68.36.182


AMD-log fiels:

008-01-23 11:32:42|15| |AMD_MACHINE|AMD_INITIALSILENCE-2000-2000|0000000000|
2008-01-23 11:32:55|16| |AMD_NOTSURE|AMD_TOOLONG-5000|0000000000|
2008-01-23 17:00:49|28| |AMD_PERSON|AMD_HUMAN-300-300|0000000000|
2008-01-23 19:24:15|1| |AMD_PERSON|AMD_HUMAN-300-300|0000000000|
2008-01-23 19:24:42|2| |AMD_PERSON|AMD_HUMAN-300-300|0000000000|
2008-01-24 15:18:31|1| |AMD_MACHINE|AMD_LONGGREETING-1500-1500|0000000000|
2008-01-24 15:18:43|2| |AMD_PERSON|AMD_HUMAN-300-300|0000000000|
2008-01-24 18:25:59|1| |AMD_MACHINE|AMD_MAXWORDS-4-4|0000000000|
2008-01-24 18:26:04|2| |AMD_MACHINE|AMD_MAXWORDS-4-4|0000000000|
2008-01-24 18:26:09|3| |AMD_MACHINE|AMD_MAXWORDS-4-4|0000000000|
2008-01-24 18:26:14|4| |AMD_MACHINE|AMD_MAXWORDS-4-4|0000000000|
2008-01-24 18:26:18|5| |AMD_MACHINE|AMD_MAXWORDS-4-4|0000000000|
2008-01-24 18:26:24|6| |AMD_MACHINE|AMD_MAXWORDS-4-4|0000000000|
2008-01-24 18:26:29|7| |AMD_MACHINE|AMD_MAXWORDS-4-4|0000000000|
2008-01-24 18:26:34|8| |AMD_MACHINE|AMD_MAXWORDS-4-4|0000000000|
2008-01-24 18:26:39|9| |AMD_MACHINE|AMD_MAXWORDS-4-4|0000000000|
2008-01-24 19:08:05|10| |AMD_MACHINE|AMD_MAXWORDS-4-4|0000000000|
2008-01-24 19:08:20|11| |AMD_MACHINE|AMD_MAXWORDS-4-4|0000000000|
2008-01-24 19:09:42|13| |AMD_MACHINE|AMD_LONGGREETING-2000-2000|0000000000|
2008-01-24 19:12:03|15| |AMD_MACHINE|AMD_MAXWORDS-5-5|0000000000|
2008-01-24 19:13:58|17| |AMD_MACHINE|AMD_INITIALSILENCE-3500-3500|0000000000|
2008-01-24 19:14:07|18| |AMD_MACHINE|AMD_LONGGREETING-1500-1500|0000000000|
2008-01-24 19:14:17|19| |AMD_MACHINE|AMD_LONGGREETING-1500-1500|0000000000|
2008-01-24 19:16:50|21| |AMD_MACHINE|AMD_LONGGREETING-2000-2000|0000000000|
~
~


Can anyone see what is the problem?
i am checking myself but if anyone has some clue that will help me a lot.

Regards,

Hemanshu Patel
hemanshurpatel
 
Posts: 42
Joined: Fri Oct 19, 2007 2:13 am

Postby aster1 » Thu Jan 31, 2008 8:42 am

I have faced this before , this is due to mistake at carrier side . some carriers first send back Answered and ringing sound is sent as audio for call . Asterisk thinks call is answered and transfers to AMD and AMD marks all rings as answering machine. You can confirm this by registering sjphone with your carrier and dial a number , it will show call status as OPERATIONAL while u still hear ring . Change carrier .
aster1
 
Posts: 281
Joined: Sun Dec 24, 2006 6:48 am
Location: India


Return to Support

Who is online

Users browsing this forum: No registered users and 108 guests