how to allow the caller to skip announcement message

Get help with installing, upgrading and running Asterisk.

Moderators: muppetmaster, Moderator, Support

how to allow the caller to skip announcement message

Postby Winanjaya » Sun Jun 24, 2012 10:02 pm

I am running Asterisk 1.8.9.2, I have an announcement in my IVR, how to allow the caller to skip announcement message?
could anybody please help?..

many thanks in advance

Regards
Winanjaya
Winanjaya
Oldsterisk
 
Posts: 131
Joined: Mon Nov 12, 2007 9:21 pm

Re: how to allow the caller to skip announcement message

Postby navaismo » Sun Jun 24, 2012 11:52 pm

If you are using playback cmd change it for background.
navaismo
Astmaster
 
Posts: 766
Joined: Mon Dec 07, 2009 1:30 pm
Location: Mexico City, Mexico

Re: how to allow the caller to skip announcement message

Postby Winanjaya » Mon Jun 25, 2012 12:00 am

could you please more detail?

btw, I am using these codecs below: (I am suspecting this is dtmf issue)

ulaw
alaw
gsm
Winanjaya
Oldsterisk
 
Posts: 131
Joined: Mon Nov 12, 2007 9:21 pm

Re: how to allow the caller to skip announcement message

Postby david55 » Mon Jun 25, 2012 1:00 am

Run core show application background.

DTMF will not work over a GSM codec, so you will need to be using RFC 2833 or INFO to carry the digits.
david55
Moves Like Spencer
 
Posts: 7708
Joined: Fri Sep 26, 2008 5:03 am

Re: how to allow the caller to skip announcement message

Postby Winanjaya » Mon Jun 25, 2012 1:06 am

Hi David55, thanks,
where can I download codec RFC 2833 or INFO?
I did not find it in asterisk.org
Winanjaya
Oldsterisk
 
Posts: 131
Joined: Mon Nov 12, 2007 9:21 pm

Re: how to allow the caller to skip announcement message

Postby david55 » Mon Jun 25, 2012 4:21 am

INFO is definitely not a codec, it uses special SIP messages. RFC 2833 isn't really a codec, atlhough it is carried in the RTP stream. Both are included in the core SIP code for Asterisk.

They are only used for in call digits and they need to be selected by appropriate means at the other end of the link, and by using dtmfmode in Asterisk. RFC 2833 is the current preferred method, although the correct RFC for this is no longer actually 2833.
david55
Moves Like Spencer
 
Posts: 7708
Joined: Fri Sep 26, 2008 5:03 am

Re: how to allow the caller to skip announcement message

Postby Winanjaya » Mon Jun 25, 2012 6:15 am

herewith my extension_additional.conf


[app-announcement-2]
include => app-announcement-2-custom
exten => s,1,GotoIf($["${CDR(disposition)}" = "ANSWERED"]?begin)
exten => s,n,Answer
exten => s,n,Wait(1)
exten => s,n(begin),Noop(Playing announcement announcement1)
exten => s,n(play),Background(custom/greeting1&custom/greeting2&custom/menus1&custom/menus2&custom/menus3,nm)
exten => s,n,Goto(ivr-2,s,1)

exten => _X,1,Noop(User skipped announcement)
exten => _X,n,Goto(ivr-2,s,1)

exten => i,1,Goto(ivr-2,s,1)

;--== end of [app-announcement-2] ==--;

what I missed causing the caller unable to skip the announcement message?

please help

Thanks & Regards
Winanjaya
Winanjaya
Oldsterisk
 
Posts: 131
Joined: Mon Nov 12, 2007 9:21 pm


Return to Asterisk Support

Who is online

Users browsing this forum: Google [Bot], prakasan and 23 guests