Agent SendDTMF Not Working
Posted: Fri Sep 28, 2018 11:42 am
Hi there,
I am having an issue, I have created a dialplan to listen voicemail, but when i am sending DTMF via Agent screen it does not accept it. however, when i am dialing from softphone directly it works fine.
It seems some issue with AGI script, but i am not sure.
here is my agi log
-- Executing [8500998@default:1] Answer("Local/8500998@default-00000d59;2", "") in new stack
> Channel Local/8500998@default-00000d59;1 was answered
-- Executing [78600076@default:1] MeetMe("Local/8500998@default-00000d59;1", "8600076,Fq") in new stack
-- Executing [8500998@default:2] Playback("Local/8500998@default-00000d59;2", "silence") in new stack
-- <Local/8500998@default-00000d59;2> Playing 'silence.slin' (language 'en')
-- Executing [8500998@default:3] AGI("Local/8500998@default-00000d59;2", "agi-dtmf.agi") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/agi-dtmf.agi
<Local/8500998@default-00000d59;2>AGI Tx >> agi_request: agi-dtmf.agi
<Local/8500998@default-00000d59;2>AGI Tx >> agi_channel: Local/8500998@default-00000d59;2
<Local/8500998@default-00000d59;2>AGI Tx >> agi_language: en
<Local/8500998@default-00000d59;2>AGI Tx >> agi_type: Local
<Local/8500998@default-00000d59;2>AGI Tx >> agi_uniqueid: 1538152174.8665
<Local/8500998@default-00000d59;2>AGI Tx >> agi_version: 11.22.0-vici
<Local/8500998@default-00000d59;2>AGI Tx >> agi_callerid: 500
<Local/8500998@default-00000d59;2>AGI Tx >> agi_calleridname: unknown
<Local/8500998@default-00000d59;2>AGI Tx >> agi_callingpres: 0
<Local/8500998@default-00000d59;2>AGI Tx >> agi_callingani2: 0
<Local/8500998@default-00000d59;2>AGI Tx >> agi_callington: 0
<Local/8500998@default-00000d59;2>AGI Tx >> agi_callingtns: 0
<Local/8500998@default-00000d59;2>AGI Tx >> agi_dnid: unknown
<Local/8500998@default-00000d59;2>AGI Tx >> agi_rdnis: unknown
<Local/8500998@default-00000d59;2>AGI Tx >> agi_context: default
<Local/8500998@default-00000d59;2>AGI Tx >> agi_extension: 8500998
<Local/8500998@default-00000d59;2>AGI Tx >> agi_priority: 3
<Local/8500998@default-00000d59;2>AGI Tx >> agi_enhanced: 0.0
<Local/8500998@default-00000d59;2>AGI Tx >> agi_accountcode:
<Local/8500998@default-00000d59;2>AGI Tx >> agi_threadid: 140557761165056
<Local/8500998@default-00000d59;2>AGI Tx >>
<Local/8500998@default-00000d59;2>AGI Rx << GET VARIABLE CALLERID
<Local/8500998@default-00000d59;2>AGI Tx >> 200 result=0
<Local/8500998@default-00000d59;2>AGI Rx << GET VARIABLE CALLERIDNAME
<Local/8500998@default-00000d59;2>AGI Tx >> 200 result=0
== Manager 'sendcron' logged off from 127.0.0.1
<Local/8500998@default-00000d59;2>AGI Rx << STREAM FILE silence ""
-- <Local/8500998@default-00000d59;2> Playing 'silence.slin' (escape_digits=) (sample_offset 0) (language 'en')
<Local/8500998@default-00000d59;2>AGI Rx << STREAM FILE 5 ""
-- <Local/8500998@default-00000d59;2> Playing '5.slin' (escape_digits=) (sample_offset 0) (language 'en')
<Local/8500998@default-00000d59;2>AGI Rx << STREAM FILE silence ""
-- <Local/8500998@default-00000d59;2> Playing 'silence.slin' (escape_digits=) (sample_offset 0) (language 'en')
<Local/8500998@default-00000d59;2>AGI Rx << STREAM FILE 0 ""
-- <Local/8500998@default-00000d59;2> Playing '0.slin' (escape_digits=) (sample_offset 0) (language 'en')
<Local/8500998@default-00000d59;2>AGI Rx << STREAM FILE silence ""
-- <Local/8500998@default-00000d59;2> Playing 'silence.slin' (escape_digits=) (sample_offset 0) (language 'en')
<Local/8500998@default-00000d59;2>AGI Rx << STREAM FILE 0 ""
-- <Local/8500998@default-00000d59;2> Playing '0.slin' (escape_digits=) (sample_offset 0) (language 'en')
<Local/8500998@default-00000d59;2>AGI Rx << STREAM FILE silence ""
-- <Local/8500998@default-00000d59;2> Playing 'silence.slin' (escape_digits=) (sample_offset 0) (language 'en')
<Local/8500998@default-00000d59;2>AGI Rx << STREAM FILE silence ""
-- <Local/8500998@default-00000d59;2> Playing 'silence.slin' (escape_digits=) (sample_offset 0) (language 'en')
<Local/8500998@default-00000d59;2>AGI Rx << STREAM FILE silence ""
-- <Local/8500998@default-00000d59;2> Playing 'silence.slin' (escape_digits=) (sample_offset 0) (language 'en')
<Local/8500998@default-00000d59;2>AGI Rx << STREAM FILE silence ""
-- <Local/8500998@default-00000d59;2> Playing 'silence.slin' (escape_digits=) (sample_offset 0) (language 'en')
<Local/8500998@default-00000d59;2>AGI Rx << STREAM FILE silence ""
-- <Local/8500998@default-00000d59;2> Playing 'silence.slin' (escape_digits=) (sample_offset 0) (language 'en')
<Local/8500998@default-00000d59;2>AGI Rx << STREAM FILE silence ""
-- <Local/8500998@default-00000d59;2> Playing 'silence.slin' (escape_digits=) (sample_offset 0) (language 'en')
<Local/8500998@default-00000d59;2>AGI Rx << STREAM FILE silence ""
-- <Local/8500998@default-00000d59;2> Playing 'silence.slin' (escape_digits=) (sample_offset 0) (language 'en')
<Local/8500998@default-00000d59;2>AGI Rx << STREAM FILE silence ""
-- <Local/8500998@default-00000d59;2> Playing 'silence.slin' (escape_digits=) (sample_offset 0) (language 'en')
<Local/8500998@default-00000d59;2>AGI Rx << STREAM FILE silence ""
-- <Local/8500998@default-00000d59;2> Playing 'silence.slin' (escape_digits=) (sample_offset 0) (language 'en')
<Local/8500998@default-00000d59;2>AGI Tx >> 200 result=0 endpos=4000
-- <Local/8500998@default-00000d59;2>AGI Script agi-dtmf.agi completed, returning 0
please let me know if there is any issue with this. or i need to change anything at my end.
thanks in advance.
Sohaib Khan
I am having an issue, I have created a dialplan to listen voicemail, but when i am sending DTMF via Agent screen it does not accept it. however, when i am dialing from softphone directly it works fine.
It seems some issue with AGI script, but i am not sure.
here is my agi log
-- Executing [8500998@default:1] Answer("Local/8500998@default-00000d59;2", "") in new stack
> Channel Local/8500998@default-00000d59;1 was answered
-- Executing [78600076@default:1] MeetMe("Local/8500998@default-00000d59;1", "8600076,Fq") in new stack
-- Executing [8500998@default:2] Playback("Local/8500998@default-00000d59;2", "silence") in new stack
-- <Local/8500998@default-00000d59;2> Playing 'silence.slin' (language 'en')
-- Executing [8500998@default:3] AGI("Local/8500998@default-00000d59;2", "agi-dtmf.agi") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/agi-dtmf.agi
<Local/8500998@default-00000d59;2>AGI Tx >> agi_request: agi-dtmf.agi
<Local/8500998@default-00000d59;2>AGI Tx >> agi_channel: Local/8500998@default-00000d59;2
<Local/8500998@default-00000d59;2>AGI Tx >> agi_language: en
<Local/8500998@default-00000d59;2>AGI Tx >> agi_type: Local
<Local/8500998@default-00000d59;2>AGI Tx >> agi_uniqueid: 1538152174.8665
<Local/8500998@default-00000d59;2>AGI Tx >> agi_version: 11.22.0-vici
<Local/8500998@default-00000d59;2>AGI Tx >> agi_callerid: 500
<Local/8500998@default-00000d59;2>AGI Tx >> agi_calleridname: unknown
<Local/8500998@default-00000d59;2>AGI Tx >> agi_callingpres: 0
<Local/8500998@default-00000d59;2>AGI Tx >> agi_callingani2: 0
<Local/8500998@default-00000d59;2>AGI Tx >> agi_callington: 0
<Local/8500998@default-00000d59;2>AGI Tx >> agi_callingtns: 0
<Local/8500998@default-00000d59;2>AGI Tx >> agi_dnid: unknown
<Local/8500998@default-00000d59;2>AGI Tx >> agi_rdnis: unknown
<Local/8500998@default-00000d59;2>AGI Tx >> agi_context: default
<Local/8500998@default-00000d59;2>AGI Tx >> agi_extension: 8500998
<Local/8500998@default-00000d59;2>AGI Tx >> agi_priority: 3
<Local/8500998@default-00000d59;2>AGI Tx >> agi_enhanced: 0.0
<Local/8500998@default-00000d59;2>AGI Tx >> agi_accountcode:
<Local/8500998@default-00000d59;2>AGI Tx >> agi_threadid: 140557761165056
<Local/8500998@default-00000d59;2>AGI Tx >>
<Local/8500998@default-00000d59;2>AGI Rx << GET VARIABLE CALLERID
<Local/8500998@default-00000d59;2>AGI Tx >> 200 result=0
<Local/8500998@default-00000d59;2>AGI Rx << GET VARIABLE CALLERIDNAME
<Local/8500998@default-00000d59;2>AGI Tx >> 200 result=0
== Manager 'sendcron' logged off from 127.0.0.1
<Local/8500998@default-00000d59;2>AGI Rx << STREAM FILE silence ""
-- <Local/8500998@default-00000d59;2> Playing 'silence.slin' (escape_digits=) (sample_offset 0) (language 'en')
<Local/8500998@default-00000d59;2>AGI Rx << STREAM FILE 5 ""
-- <Local/8500998@default-00000d59;2> Playing '5.slin' (escape_digits=) (sample_offset 0) (language 'en')
<Local/8500998@default-00000d59;2>AGI Rx << STREAM FILE silence ""
-- <Local/8500998@default-00000d59;2> Playing 'silence.slin' (escape_digits=) (sample_offset 0) (language 'en')
<Local/8500998@default-00000d59;2>AGI Rx << STREAM FILE 0 ""
-- <Local/8500998@default-00000d59;2> Playing '0.slin' (escape_digits=) (sample_offset 0) (language 'en')
<Local/8500998@default-00000d59;2>AGI Rx << STREAM FILE silence ""
-- <Local/8500998@default-00000d59;2> Playing 'silence.slin' (escape_digits=) (sample_offset 0) (language 'en')
<Local/8500998@default-00000d59;2>AGI Rx << STREAM FILE 0 ""
-- <Local/8500998@default-00000d59;2> Playing '0.slin' (escape_digits=) (sample_offset 0) (language 'en')
<Local/8500998@default-00000d59;2>AGI Rx << STREAM FILE silence ""
-- <Local/8500998@default-00000d59;2> Playing 'silence.slin' (escape_digits=) (sample_offset 0) (language 'en')
<Local/8500998@default-00000d59;2>AGI Rx << STREAM FILE silence ""
-- <Local/8500998@default-00000d59;2> Playing 'silence.slin' (escape_digits=) (sample_offset 0) (language 'en')
<Local/8500998@default-00000d59;2>AGI Rx << STREAM FILE silence ""
-- <Local/8500998@default-00000d59;2> Playing 'silence.slin' (escape_digits=) (sample_offset 0) (language 'en')
<Local/8500998@default-00000d59;2>AGI Rx << STREAM FILE silence ""
-- <Local/8500998@default-00000d59;2> Playing 'silence.slin' (escape_digits=) (sample_offset 0) (language 'en')
<Local/8500998@default-00000d59;2>AGI Rx << STREAM FILE silence ""
-- <Local/8500998@default-00000d59;2> Playing 'silence.slin' (escape_digits=) (sample_offset 0) (language 'en')
<Local/8500998@default-00000d59;2>AGI Rx << STREAM FILE silence ""
-- <Local/8500998@default-00000d59;2> Playing 'silence.slin' (escape_digits=) (sample_offset 0) (language 'en')
<Local/8500998@default-00000d59;2>AGI Rx << STREAM FILE silence ""
-- <Local/8500998@default-00000d59;2> Playing 'silence.slin' (escape_digits=) (sample_offset 0) (language 'en')
<Local/8500998@default-00000d59;2>AGI Rx << STREAM FILE silence ""
-- <Local/8500998@default-00000d59;2> Playing 'silence.slin' (escape_digits=) (sample_offset 0) (language 'en')
<Local/8500998@default-00000d59;2>AGI Rx << STREAM FILE silence ""
-- <Local/8500998@default-00000d59;2> Playing 'silence.slin' (escape_digits=) (sample_offset 0) (language 'en')
<Local/8500998@default-00000d59;2>AGI Tx >> 200 result=0 endpos=4000
-- <Local/8500998@default-00000d59;2>AGI Script agi-dtmf.agi completed, returning 0
please let me know if there is any issue with this. or i need to change anything at my end.
thanks in advance.
Sohaib Khan