On Wed, Sep 25, 2013 at 6:45 AM, Gareth Blades
<[email protected]> wrote:
> We can use the Dial() command with the 'r' option in order to generate the
> UK ringtone (as we are UK based the default is UK).
> How do we generate a USA ringtone for example?
>
> I have tried setting the CHANNEL(language) and CHANNEL(tonezone) to 'us'
> (and calling Progress() beforehand) and although this works for Playtones()
> the Dial command still continues to play the UK ringtone.
>
> Any ideas?

Try the following:

extension => 6001,1,Set(CHANNEL(tonezone)=us)
same => n,Dial(SIP/6001,,r(ring))

The argument passed to the r option should be the specific tone in the
category of the tonezone you are setting.

-- 
Rusty Newton
Digium, Inc. | Community Support Manager
445 Jan Davis Drive NW - Huntsville, AL 35806 - US

Check us out at: http://digium.com & http://asterisk.org

-- 
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
               http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to