Stefan Guenther
2008-Oct-31 07:18 UTC
[asterisk-users] twice normal beep before busy tone ??
Hi, I have a strange problem with our Asterisk installation. Outgoing calls are handled by the following lines: exten => _0[2-9]X.,1,Set(CALLERID(num)=09999403${CALLERID(num)}) exten => _0[2-9]X.,2,SET(CALLERID(num)=${IF($[ ${CALLERID(num)} = 0999940321]?099994030:${CALLERID(num)})}) exten => _0[2-9]X.,3,DIAL(CAPI/g1/${CALLERID(num)}:${EXTEN},180,tr) exten => _0[2-9]X.,4,GOTO(fehler,s-${DIALSTATUS},1) [fehler] exten => s-BUSY,1,BUSY() If the number that has been dialed is busy, I do not immediately get the busy tone. Instead I hear the tone for a free/calling line twice and then the busy tone. This happens when I call different numbers, so the cause seems to be on our side. We are using Asterisk version 1.4.13. Thanks for your help, Stefan -- ******************************************** in-put GbR - Das Linux-Systemhaus Stefan-Michael Guenther Geschaeftsfuehrer Moltkestrasse 49 D-76133 Karlsruhe Tel./Fax : +49 (0)721 / 83044 - 98/93 http://www.in-put.de ******************************************** Schulungen Installationen Beratung Support Voice-over-IP-Loesungen ********************************************
Robert Lister
2008-Oct-31 23:39 UTC
[asterisk-users] twice normal beep before busy tone ??
On Fri, Oct 31, 2008 at 08:18:32AM +0100, Stefan Guenther wrote:> Hi, > > I have a strange problem with our Asterisk installation. Outgoing calls > are handled by the following lines: > > exten => _0[2-9]X.,1,Set(CALLERID(num)=09999403${CALLERID(num)}) > exten => _0[2-9]X.,2,SET(CALLERID(num)=${IF($[ ${CALLERID(num)} = > 0999940321]?099994030:${CALLERID(num)})}) > exten => _0[2-9]X.,3,DIAL(CAPI/g1/${CALLERID(num)}:${EXTEN},180,tr) > exten => _0[2-9]X.,4,GOTO(fehler,s-${DIALSTATUS},1)What happens if you do Answer() before the Dial? Rob
Robert Lister
2008-Nov-01 02:31 UTC
[asterisk-users] twice normal beep before busy tone ??
On Fri, Oct 31, 2008 at 11:39:31PM +0000, Robert Lister wrote:> On Fri, Oct 31, 2008 at 08:18:32AM +0100, Stefan Guenther wrote: > > Hi, > > > > I have a strange problem with our Asterisk installation. Outgoing calls > > are handled by the following lines: > > > > exten => _0[2-9]X.,1,Set(CALLERID(num)=09999403${CALLERID(num)}) > > exten => _0[2-9]X.,2,SET(CALLERID(num)=${IF($[ ${CALLERID(num)} = > > 0999940321]?099994030:${CALLERID(num)})}) > > exten => _0[2-9]X.,3,DIAL(CAPI/g1/${CALLERID(num)}:${EXTEN},180,tr) > > exten => _0[2-9]X.,4,GOTO(fehler,s-${DIALSTATUS},1) > > What happens if you do Answer() before the Dial?Also try without the "r" option to the dial command: http://www.voip-info.org/wiki-Asterisk+cmd+dial Rob
Stefan Guenther
2008-Nov-05 07:43 UTC
[asterisk-users] twice normal beep before busy tone ??
Hi Rob,>Also try without the "r" option to the dial command: > >http://www.voip-info.org/wiki-Asterisk+cmd+dial > >Rob >After I removed the "r" option I now nearly immediately get the busy tone. BUT: The wiki says "Without this option, Asterisk will generate ring tones automatically where it is appropriate to do so; however". What does appropriate mean?? After removing the "r" Asterisk starts playing the ring tone, when the called phone starts ringing. When the called phone is a cell phone, this takes up to 3 seconds. During this time, there is silence! Stefan -- ******************************************** in-put GbR - Das Linux-Systemhaus Stefan-Michael Guenther Geschaeftsfuehrer Moltkestrasse 49 D-76133 Karlsruhe Tel./Fax : +49 (0)721 / 83044 - 98/93 http://www.in-put.de ******************************************** Schulungen Installationen Beratung Support Voice-over-IP-Loesungen ********************************************
Stefan Guenther
2008-Nov-06 08:20 UTC
[asterisk-users] twice normal beep before busy tone ??
Matt wrote: ------------------------------ >What this means is that if the call is busy, it will play busy tones, >if the call is ringing it will play ringing, congestion, congestion >etc. > >The reason you are hearing silence is that Asterisk doesn't know what >the status of the call is before that. >The cell phone provider will likely take up to 3 seconds to tell your >machine what is happening with the call. >If you use the 'r' option then it will play ringing tones even if the >phone is busy. > well that means, that if I have a "bad" phone line (meaning poor quality) and I remove the "r", I will definitely have silence, when I call cell phone numbers and may have silence on calls to normal phones. If I leave the "r" in the dial string, this removes the silence and adds the ring tone, with the disadvantage that I will even hear the ring tone on calls to busy numbers. If that is true, the whole problem is related to the quality of the phone line, which prevents asterisk from getting the right status fast enough. Regards, Stefan -- ******************************************** in-put GbR - Das Linux-Systemhaus Stefan-Michael Guenther Geschaeftsfuehrer Moltkestrasse 49 D-76133 Karlsruhe Tel./Fax : +49 (0)721 / 83044 - 98/93 http://www.in-put.de ******************************************** Schulungen Installationen Beratung Support Voice-over-IP-Loesungen ********************************************
Stefan Guenther
2008-Nov-06 18:13 UTC
[asterisk-users] twice normal beep before busy tone ??
Eric wrote: >It sounds like you have analog lines. If that is the case, the silence >you experience is Asterisk sending the DTMF down the line. Asterisk >collects the DTMF and when you are done dialing it retransmits those >digits down the analog line. I think each digit is by default 300ms. >If you are dialing 10 digits you have a delay of 3.3 seconds while >Asterisk is sending the DTMF. None of the VoIP protocols have his >issue. ISDN PRI or BRI also does not have this issue. > GREAT! Our client has 4 ISDN lines and we are using a DIALOGIC 4Port BRI. But the exchange point (don't know how to translate "Vermittlungsstelle) of the German Telecom is nearly 5 KM away. Maybe this distance causes the trouble? Stefan -- ******************************************** in-put GbR - Das Linux-Systemhaus Stefan-Michael Guenther Geschaeftsfuehrer Moltkestrasse 49 D-76133 Karlsruhe Tel./Fax : +49 (0)721 / 83044 - 98/93 http://www.in-put.de ******************************************** Schulungen Installationen Beratung Support Voice-over-IP-Loesungen ********************************************