Catch hangup while Asterisk AMD is checking -


im having problem when answer phone , hangup, asterisk not detect hangup while amd detecting ?

asterisk 11.11

    -- executing [09xxxxxxxx@appel-sortant:10] noop("local/09xxxxxxxx@appel-sortant-40f9;2", "next = 0") in new stack -- executing [09xxxxxxxx@appel-sortant:11] set("local/09xxxxxxxx@appel-sortant-40f9;2", "global(next)=0") in new stack == setting global variable 'next' '0' -- executing [09xxxxxxxx@appel-sortant:12] dial("local/09xxxxxxxx@appel-sortant-40f9;2", "sip/09xxxxxxxx@forfait-ovh,20,gtr") in new stack == using sip rtp cos mark 5 -- called 09xxxxxxxx@forfait-ovh -- sip/forfait-ovh-00000000 ringing -- sip/forfait-ovh-00000000 making progress passing local/09xxxxxxxx@appel-sortant-40f9;2 -- sip/forfait-ovh-00000000 answered local/09xxxxxxxx@appel-sortant-40f9;2 > channel local/09xxxxxxxx@appel-sortant-40f9;1 answered. -- executing [s@appel-sortant:1] playback("local/09xxxxxxxx@appel-sortant-40f9;1", "silence/1") in new stack -- <local/09xxxxxxxx@appel-sortant-40f9;1> playing 'silence/1.gsm' (language 'en') == spawn extension (appel-sortant, 09xxxxxxxx, 12) exited non-zero on 'local/09xxxxxxxx@appel-sortant-40f9;2' -- executing [s@appel-sortant:2] amd("sip/forfait-ovh-00000000", "") in new stack -- amd: sip/forfait-ovh-00000000 09xxxxxxxx (null) (fmt: 64) -- amd: initialsilence [2500] greeting [1500] aftergreetingsilence [800] totalanalysistime [5000] minimumwordlength [100] betweenwordssilence [50] maximumnumberofwords [3] silencethreshold [256] maximumwordlength [5000] -- amd: channel [sip/forfait-ovh-00000000]. changed state state_in_silence -- amd: channel [sip/forfait-ovh-00000000]. hangup [aug 31 09:19:35] notice[32712]: pbx_spool.c:349 attempt_thread: call completed local/09xxxxxxxx@appel-sortant 

extensions.conf

exten => s,1,playback(silence/1) exten => s,n,amd() exten => s,n,noop(amdstatus = ${amdstatus}) exten => s,n,gotoif($[${amdstatus}=machine]?appel-sortant-mach,s,1:appel-sortant-humn,s,1)  

asterisk do detect hangup on called party always.

there no way prevent that.

check provider/fxo gate, not detect hangup.


Comments

Popular posts from this blog

css - SVG using textPath a symbol not rendering in Firefox -

Java 8 + Maven Javadoc plugin: Error fetching URL -

order - Notification for user in user account opencart -