Sebastian Kayser
2006-May-17 12:59 UTC
[Asterisk-Users] Ringing indication not working as expected
Hi all, are there any caveats regarding ringing indication with Asterisk? I have got an asterisk installation with a quadBRI driven by BRIstuff. Internal phones are various snoms (320 / 360) connected via SIP and Idefisk softphones connected via IAX2. Outgoing calls are "routed" through the Zap interfaces. When i set up the action for an external extension as Dial(Zap/g2/<number>,60,R) or Dial(Zap/g2/<number>,60) and initiate an outgoing call, Asterisk tells me that the called party is ringing (Zap/4-1 is ringing) but there is no ringing indicated to the calling party. No matter whether the calling party is a snom hardphone or an idefisk softphone. Am i missing something? asterisk*CLI> show version Asterisk 1.2.7.1-BRIstuffed-0.3.0-PRE-1p - Sebastian
Eric "ManxPower" Wieling
2006-May-17 15:06 UTC
[Asterisk-Users] Ringing indication not working as expected
"R" is not a valid Dial option. "r" is the option you wanted. HOWEVER, if you are not hearing ringback, "r" will almost never fixes the issue. Make sure you have a /etc/asterisk/indications.conf In some situations if you do not have that file you will not hear ringback. Sebastian Kayser wrote:> Hi all, > > are there any caveats regarding ringing indication with Asterisk? > > I have got an asterisk installation with a quadBRI driven by BRIstuff. > Internal phones are various snoms (320 / 360) connected via SIP and > Idefisk softphones connected via IAX2. Outgoing calls are "routed" > through the Zap interfaces. > > When i set up the action for an external extension as > > Dial(Zap/g2/<number>,60,R) > > or > > Dial(Zap/g2/<number>,60) > > and initiate an outgoing call, Asterisk tells me that the called party > is ringing (Zap/4-1 is ringing) but there is no ringing indicated to the > calling party. No matter whether the calling party is a snom hardphone > or an idefisk softphone. > > Am i missing something? > > asterisk*CLI> show version > Asterisk 1.2.7.1-BRIstuffed-0.3.0-PRE-1p > > - Sebastian > _______________________________________________ > --Bandwidth and Colocation provided by Easynews.com -- > > Asterisk-Users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >-- Now accepting new clients in Birmingham, Atlanta, Huntsville, Chattanooga, and Montgomery.
Sebastian Kayser
2006-May-18 02:56 UTC
[Asterisk-Users] Re: Ringing indication not working as expected
* Eric ManxPower Wieling <eric@fnords.org> wrote:> "R" is not a valid Dial option.Sure about that? My Asterisk installation lists it as a valid option. asterisk*CLI> show application Dial [...] R - indicate ringing to the calling party when the called party indicates [...]> "r" is the option you wanted. HOWEVER, if you are not hearing ringback, > "r" will almost never fixes the issue."r" leads to the ringing being indicated right from the start. So if i call my cellphone from a SIP-connected snom, ringing is indicated to me immediately, whereas the cellphone starts to ring not until about 3-5 seconds later. =/> Make sure you have a /etc/asterisk/indications.conf In some situations > if you do not have that file you will not hear ringback.Thanks for the advice. indications.conf is now existent and Asterisk is reloaded but the problem still persists. /etc/asterisk/indiciations.conf: [general] country=de [de] description = Germany ringcadance = 1000,4000 dial = 425 ring = 425/1000,0/4000 busy = 425/480,0/480 congestion = 425/480,0/480 callwaiting = 425/2000,0/6000 dialrecall = 425/500,0/500,425/500,0/500,425/500,0/500,1600/100,0/900 record = 1400/500,0/15000 info = 950/330,0/200,1400/330,0/200,1800/330,0/1000 - Sebastian
Mimmus
2006-May-18 03:20 UTC
[Asterisk-Users] Re: Ringing indication not working as expected
> Thanks for the advice. indications.conf is now existent and > Asterisk is reloaded but the problem still persists.Reloaded? Peraphs restarted is better... DV
Sebastian Kayser
2006-May-18 03:45 UTC
[Asterisk-Users] Re: Ringing indication not working as expected
* Sebastian Kayser <mls+asterisk-users@skayser.de> wrote:> are there any caveats regarding ringing indication with Asterisk? > > I have got an asterisk installation with a quadBRI driven by BRIstuff. > Internal phones are various snoms (320 / 360) connected via SIP and > Idefisk softphones connected via IAX2. Outgoing calls are "routed" > through the Zap interfaces. > > When i set up the action for an external extension as > > Dial(Zap/g2/<number>,60,R) > > or > > Dial(Zap/g2/<number>,60) > > and initiate an outgoing call, Asterisk tells me that the called party > is ringing (Zap/4-1 is ringing) but there is no ringing indicated to the > calling party. No matter whether the calling party is a snom hardphone > or an idefisk softphone.I tried to narrow down the problem. My installation looks like this PSTN <-- 3 x BRI --> POTS (NEC) <-- 3 x BRI --> Asterisk ^ ^ | | POTS telephone sets snom SIP phones With no options set in the Dial command, i.e. Dial(Zap/g2/<number>,60), the ringing behaviour is as follows. - snom -> snom - OK - snom -> POTS telephone set - OK - snom -> PSTN - NOK OK = ringing is signalled to the calling party as soon as Asterisk indicates it on the console (... is ringing). NOK = no ringing is signalled to the calling party _although_ Asterisk indicates it on the console. So although the Zap interface is used for both types of "external" calls (snom -> POST, snom -> PSTN) the ringing indication to my snoms fails for calls to the PSTN. Any ideas on how to further debug / troubleshoot this behaviour? - Sebastian