<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
</head>
<body bgcolor="#ffffff" text="#000000">
Correct me if I'm wrong, but unless you pass specific options to the
dial command to have it override the ringing then when you dial out,
you hear the audio from whatever channel you're dialing on.&nbsp; So the
tones you are hearing are from the telco.&nbsp; The ring cadences defined in
indications.conf are used when Asterisk is ringing a phone connected to
an FXS channel.<br>
<br>
-Brent<br>
<br>
Adrian Marsh wrote:
<blockquote
 id="mid_094A73044298734FB7D58CAAA319E1D6E4CF99_UBIQ-SERV1_ubiquisys_local"
 cite="mid:094A73044298734FB7D58CAAA319E1D6E4CF99@UBIQ-SERV1.ubiquisys.local"
 type="cite">
  <pre wrap="">So I wonder, is it asterisk itself generating the tones in Dial(), or
does it comefom the psedo zaptel driver that generates it ??


-----Original Message-----
From: <a class="moz-txt-link-abbreviated" href="mailto:asterisk-users-bounces@lists.digium.com">asterisk-users-bounces@lists.digium.com</a>
[<a class="moz-txt-link-freetext" href="mailto:asterisk-users-bounces@lists.digium.com">mailto:asterisk-users-bounces@lists.digium.com</a>] On Behalf Of Sherwood
McGowan
Sent: 05 June 2008 16:13
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] Default ringtone

Adrian Marsh wrote:
  </pre>
  <blockquote id="StationeryCiteGenerated_1" type="cite">
    <pre wrap="">Hmmm..

Well indications.conf does have:

country=uk

But I've definitly just hearing a long-tone tone, long break, long
    </pre>
  </blockquote>
  <pre wrap=""><!---->tone 
  </pre>
  <blockquote id="StationeryCiteGenerated_2" type="cite">
    <pre wrap="">But the file is set to:

[uk]
description = United Kingdom
ringcadence = 400,200,400,2000
; These are the official tones taken from BT SIN350. The actual tones
; used by BT include some volume differences so sound slightly
    </pre>
  </blockquote>
  <pre wrap=""><!---->different
  </pre>
  <blockquote id="StationeryCiteGenerated_3" type="cite">
    <pre wrap="">; from Asterisk-generated ones.
dial = 350+440

Any idea why?

Thanks

Adrian

-----Original Message-----
From: <a class="moz-txt-link-abbreviated" href="mailto:asterisk-users-bounces@lists.digium.com">asterisk-users-bounces@lists.digium.com</a>
[<a class="moz-txt-link-freetext" href="mailto:asterisk-users-bounces@lists.digium.com">mailto:asterisk-users-bounces@lists.digium.com</a>] On Behalf Of Sherwood
McGowan
Sent: 05 June 2008 15:11
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] Default ringtone

Adrian Marsh wrote:
  
    </pre>
    <blockquote id="StationeryCiteGenerated_4" type="cite">
      <pre wrap="">Hi All,

I've trying to force on the ringtone generated for outbound calls
      </pre>
    </blockquote>
  </blockquote>
  <pre wrap=""><!---->with
  </pre>
  <blockquote id="StationeryCiteGenerated_5" type="cite">
    <blockquote id="StationeryCiteGenerated_6" type="cite">
      <pre wrap="">    
      </pre>
    </blockquote>
    <pre wrap="">  
    </pre>
    <blockquote id="StationeryCiteGenerated_7" type="cite">
      <pre wrap="">Dial,r but want the tone to be the UK standard.

I use Zaptel, but don't have any E1/T1 cards at all (am completely IP
      </pre>
    </blockquote>
  </blockquote>
  <pre wrap=""><!---->
  </pre>
  <blockquote id="StationeryCiteGenerated_8" type="cite">
    <blockquote id="StationeryCiteGenerated_9" type="cite">
      <pre wrap="">based). So I don't think zaptel.conf will come into this (am I
    
      </pre>
    </blockquote>
    <pre wrap="">right??)
  
    </pre>
    <blockquote id="StationeryCiteGenerated_10" type="cite">
      <pre wrap="">I've tried editing zapel.conf anyway, and changed loadzone and 
defaultzone to =uk

I've read through zapara.conf, but cant see a ringtone definition in 
there.

Despite these changes and a restart of zaptel and asterisk via 
/etc/init.d, I still hear a US ringing sound.

So what did I miss?

Also, is it possible to generate different ringtones based on 
dialplan? Eg, if I dial out to a UK number, use the UK ring, but for 
US use a US one ?

In the past I've tried using playtone(), but that stops immediately 
that the our IP-carrier picks up the call.

Thanks,

Adrian


    
      </pre>
    </blockquote>
  </blockquote>
  <pre wrap=""><!---->------------------------------------------------------------------------
  </pre>
  <blockquote id="StationeryCiteGenerated_11" type="cite">
    <pre wrap="">  
    </pre>
    <blockquote id="StationeryCiteGenerated_12" type="cite">
      <pre wrap="">_______________________________________________
-- Bandwidth and Colocation Provided by <a class="moz-txt-link-freetext" href="http://www.api-digital.com">http://www.api-digital.com</a> --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   <a class="moz-txt-link-freetext" href="http://lists.digium.com/mailman/listinfo/asterisk-users">http://lists.digium.com/mailman/listinfo/asterisk-users</a>
    
      </pre>
    </blockquote>
    <pre wrap="">indications.conf is the file you want to edit :) It defines what 
ringtones and other indication signals to use.

  
    </pre>
  </blockquote>
  <pre wrap=""><!---->Sorry I don't, wish I could be of more help. I'll see what I can dig up
  </pre>
</blockquote>
<br>
</body>
</html>