Re: [asterisk-users] Customized Ring Tone

2007-07-02 Thread Dovid B
Alex,
This is not correct. The reason is the calling party will be billed as soon as 
you use Answer.
You want to do something like this

Exten = s,1,Dial(SIP/phone,60m)

The calling party will not be billed untill you pick up (I just tested this on 
VOIP).
  - Original Message - 
  From: Alexander Lopez 
  To: Asterisk Users Mailing List - Non-Commercial Discussion 
  Sent: Wednesday, June 27, 2007 7:28 PM
  Subject: Re: [asterisk-users] Customized Ring Tone


  Add an Answer and add a m option to your dial command.  They will hear your 
music on hold until you answer.

   

  Alex

   

   


--

  From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of GNUbie
  Sent: Wednesday, June 27, 2007 12:18 PM
  To: asterisk-users@lists.digium.com
  Subject: [asterisk-users] Customized Ring Tone

   

  Hello all,

  I'm running Asterisk 1.4.5 and Zaptel 1.4.3 on Debian Etch i386 with the 
Digium's Dev Kit that comes with 1 FXO and 1 FXS.  How do I configure my home 
PBX in such a way that whenever someone calls on my trunkline (PSTN) number, 
he/she will hear a customized ring tone, probably playing an MP3 file, instead 
of a boring standard ring tone while the extension number that is forwarded the 
call is still ringing?  My current /etc/asterisk/extensions.conf file looks 
like this: 

  [general]
  static=yes
  writeprotect=no
  autofallthrough=yes
  clearglobalvars=no

  [pstn]
  exten = s,1,NoOp(Caller ID is ${CALLERID(num)})
  exten = s,2,Dial(Zap/1,15,g2)
  exten = s,n,Congestion

  [local]
  ignorepat = 9
  exten = _9.,1,Dial(Zap/g1/${EXTEN:1}) 
  exten = _9.,n,Congestion
  exten = 11,1,Dial(Zap/1,20,rt)

  Thank you in advance.



--


  ___
  --Bandwidth and Colocation Provided by http://www.api-digital.com--

  asterisk-users mailing list
  To UNSUBSCRIBE or update options visit:
 http://lists.digium.com/mailman/listinfo/asterisk-users___
--Bandwidth and Colocation Provided by http://www.api-digital.com--

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

Re: [asterisk-users] Customized Ring Tone

2007-07-02 Thread GNUbie

Hello Dovid,

On 7/2/07, Dovid B [EMAIL PROTECTED] wrote:


 Alex,
This is not correct. The reason is the calling party will be billed as
soon as you use Answer.
You want to do something like this

Exten = s,1,Dial(SIP/phone,60m)

The calling party will not be billed untill you pick up (I just tested
this on VOIP).



Does this mean that my pstn context will look like below?

[pstn]
exten = s,1,NoOp(Caller ID is ${CALLERID(num)})
exten = s,2,Dial(Zap/1,15m,g2)
exten = s,n,Congestion

What about the music file to play?  Where shall I put it?  Can it play an
MP3 or just GSM only?

Please advice.

Thank you.
___
--Bandwidth and Colocation Provided by http://www.api-digital.com--

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

Re: [asterisk-users] Customized Ring Tone

2007-06-28 Thread Dimitri Volski
You can use Queues.  Put them in a queue and let them listen to music on 
hold.

Cheers,
Dimitri


GNUbie wrote:
 Hello all,

 I'm running Asterisk 1.4.5 and Zaptel 1.4.3 on Debian Etch i386 with the
 Digium's Dev Kit that comes with 1 FXO and 1 FXS.  How do I configure my
 home PBX in such a way that whenever someone calls on my trunkline (PSTN)
 number, he/she will hear a customized ring tone, probably playing an MP3
 file, instead of a boring standard ring tone while the extension 
 number that
 is forwarded the call is still ringing?  My current
 /etc/asterisk/extensions.conf file looks like this:

 [general]
 static=yes
 writeprotect=no
 autofallthrough=yes
 clearglobalvars=no

 [pstn]
 exten = s,1,NoOp(Caller ID is ${CALLERID(num)})
 exten = s,2,Dial(Zap/1,15,g2)
 exten = s,n,Congestion

 [local]
 ignorepat = 9
 exten = _9.,1,Dial(Zap/g1/${EXTEN:1})
 exten = _9.,n,Congestion
 exten = 11,1,Dial(Zap/1,20,rt)

 Thank you in advance.

 

 ___
 --Bandwidth and Colocation Provided by http://www.api-digital.com--

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


-- 
This message has been scanned for viruses and
dangerous content by Mail Call antivirus software, and is
believed to be clean.


___
--Bandwidth and Colocation Provided by http://www.api-digital.com--

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


Re: [asterisk-users] Customized Ring Tone

2007-06-28 Thread GNUbie

Hello Dimitri,

On 6/29/07, Dimitri Volski [EMAIL PROTECTED] wrote:


You can use Queues.  Put them in a queue and let them listen to music on
hold.



How do you do this based on my original /etc/asterisk/extensions.conf that I
have on my home PBX?  I just want that the PSTN caller will hear a music
instead of a ring tone while the callee rings.

Thanks.
___
--Bandwidth and Colocation Provided by http://www.api-digital.com--

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

[asterisk-users] Customized Ring Tone

2007-06-27 Thread GNUbie

Hello all,

I'm running Asterisk 1.4.5 and Zaptel 1.4.3 on Debian Etch i386 with the
Digium's Dev Kit that comes with 1 FXO and 1 FXS.  How do I configure my
home PBX in such a way that whenever someone calls on my trunkline (PSTN)
number, he/she will hear a customized ring tone, probably playing an MP3
file, instead of a boring standard ring tone while the extension number that
is forwarded the call is still ringing?  My current
/etc/asterisk/extensions.conf file looks like this:

[general]
static=yes
writeprotect=no
autofallthrough=yes
clearglobalvars=no

[pstn]
exten = s,1,NoOp(Caller ID is ${CALLERID(num)})
exten = s,2,Dial(Zap/1,15,g2)
exten = s,n,Congestion

[local]
ignorepat = 9
exten = _9.,1,Dial(Zap/g1/${EXTEN:1})
exten = _9.,n,Congestion
exten = 11,1,Dial(Zap/1,20,rt)

Thank you in advance.
___
--Bandwidth and Colocation Provided by http://www.api-digital.com--

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

Re: [asterisk-users] Customized Ring Tone

2007-06-27 Thread Alexander Lopez
Add an Answer and add a m option to your dial command.  They will hear
your music on hold until you answer.

 

Alex

 

 



From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of GNUbie
Sent: Wednesday, June 27, 2007 12:18 PM
To: asterisk-users@lists.digium.com
Subject: [asterisk-users] Customized Ring Tone

 

Hello all,

I'm running Asterisk 1.4.5 and Zaptel 1.4.3 on Debian Etch i386 with the
Digium's Dev Kit that comes with 1 FXO and 1 FXS.  How do I configure my
home PBX in such a way that whenever someone calls on my trunkline
(PSTN) number, he/she will hear a customized ring tone, probably playing
an MP3 file, instead of a boring standard ring tone while the extension
number that is forwarded the call is still ringing?  My current
/etc/asterisk/extensions.conf file looks like this: 

[general]
static=yes
writeprotect=no
autofallthrough=yes
clearglobalvars=no

[pstn]
exten = s,1,NoOp(Caller ID is ${CALLERID(num)})
exten = s,2,Dial(Zap/1,15,g2)
exten = s,n,Congestion

[local]
ignorepat = 9
exten = _9.,1,Dial(Zap/g1/${EXTEN:1}) 
exten = _9.,n,Congestion
exten = 11,1,Dial(Zap/1,20,rt)

Thank you in advance.

___
--Bandwidth and Colocation Provided by http://www.api-digital.com--

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

Re: [asterisk-users] Customized Ring Tone

2007-06-27 Thread GNUbie

Hello Alex,

Does this mean that on my PSTN context, I will add the lines I inserted
below?

On 6/28/07, Alexander Lopez [EMAIL PROTECTED] wrote:


 Add an Answer and add a m option to your dial command.  They will hear
your music on hold until you answer.

[general]
static=yes
writeprotect=no
autofallthrough=yes
clearglobalvars=no

[pstn]
exten = s,1,NoOp(Caller ID is ${CALLERID(num)})



exten = s,2,Answer()
exten = s,3,Dial(Zap/1,15,g2,m(music_file))

exten = s,n,Congestion


[local]
ignorepat = 9
exten = _9.,1,Dial(Zap/g1/${EXTEN:1})
exten = _9.,n,Congestion
exten = 11,1,Dial(Zap/1,20,rt)



Thank you.
___
--Bandwidth and Colocation Provided by http://www.api-digital.com--

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