Agent SendDTMF Not Working

All installation and configuration problems and questions

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

Agent SendDTMF Not Working

Postby sohaib » 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
sohaib
 
Posts: 57
Joined: Wed Feb 23, 2011 3:59 pm

Re: Agent SendDTMF Not Working

Postby williamconley » Fri Sep 28, 2018 1:34 pm

1) Welcome to the Party! 8-)

2) As you are obviously new here, I have some suggestions to help us all help you:

When you post, please post your entire configuration including (but not limited to) your installation method (7.X.X?) and vicidial version with build (VERSION: 2.X-XXXx ... BUILD: #####-####).

This IS a requirement for posting along with reading the stickies (at the top of each forum) and the manager's manual (available on EFLO.net, both free and paid versions)

You should also post: Asterisk version, telephony hardware (model number is helpful here), cluster information if you have one, and whether any other software is installed in the box. If your installation method is "manual/from scratch" you must post your operating system with version (and the .iso version from which you installed your original operating system) plus a link to the installation instructions you used. If your installation is "Hosted" list the site name of the host.

If this is a "Cloud" or "Virtual" server, please note the technology involved along with the version of that techology (ie: VMware Server Version 2.0.2). If it is not, merely stating the Motherboard model # and CPU would be helpful.

Similar to This:

Vicibox X.X from .iso | Vicidial X.X.X-XXX Build XXXXXX-XXXX | Asterisk X.X.X | Single Server | No Digium/Sangoma Hardware | No Extra Software After Installation | Intel DG35EC | Core2Quad Q6600

3) Post your asterisk version (asterisk -V) and the value in astguiclient.conf (grep VARasterisk_version /etc/astguiclient.conf) and the value in admin->servers->(this server) for Asterisk Version.

4) Post your carrier DTMF mode values (summary can be acquired via: grep dtmfmode /etc/asterisk/sip* -Rin).
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20258
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Re: Agent SendDTMF Not Working

Postby sohaib » Sat Sep 29, 2018 1:14 am

VERSION: 2.14-669a
BUILD: 180411-1647
© 2018 ViciDial Group

Ubuntu 14
asterisk 1.8
sohaib
 
Posts: 57
Joined: Wed Feb 23, 2011 3:59 pm

Re: Agent SendDTMF Not Working

Postby blackbird2306 » Sat Sep 29, 2018 5:22 am

Look here:
http://vicidial.org/VICIDIALforum/viewtopic.php?f=2&t=38052

This bug was fixed in May 2018. Just update to the newest revision or change it according to the post above.
http://www.vicidial.org/VICIDIALmantis/view.php?id=1099
Vicibox 6.0.2 from Vicibox_v.6.0.x86_64-6.0.2.iso | Vicidial 2.12-560a build: 160617-1427 | Asterisk 1.8.32.3
blackbird2306
 
Posts: 409
Joined: Mon Jun 23, 2014 5:31 pm

Re: Agent SendDTMF Not Working

Postby sohaib » Sat Sep 29, 2018 8:06 am

I have found another workaround for this,

I have made changes in DTMF dialplan

Code: Select all
exten => 8500998,1,Answer()
;exten => 8500998,n,AGI(agi-dtmf.agi)
exten => 8500998,n,SendDTMF(${CALLERID(num)})
exten => 8500998,n,Hangup()


and now it's working fine.

thank you :-)
sohaib
 
Posts: 57
Joined: Wed Feb 23, 2011 3:59 pm


Return to Support

Who is online

Users browsing this forum: Google [Bot] and 94 guests