[Asterisk-Users] Re: Ringing indication not working as expected

2006-05-18 Thread Sebastian Kayser
* Eric ManxPower Wieling [EMAIL PROTECTED] 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
___
--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


RE: [Asterisk-Users] Re: Ringing indication not working as expected

2006-05-18 Thread Mimmus

 Thanks for the advice. indications.conf is now existent and 
 Asterisk is reloaded but the problem still persists.
Reloaded? Peraphs restarted is better...

DV

___
--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


[Asterisk-Users] Re: Ringing indication not working as expected

2006-05-18 Thread Sebastian Kayser
* Sebastian Kayser [EMAIL PROTECTED] 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
___
--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


[Asterisk-Users] Re: Ringing indication not working as expected

2006-05-18 Thread Sebastian Kayser
* Sebastian Kayser [EMAIL PROTECTED] wrote:
 * Sebastian Kayser [EMAIL PROTECTED] wrote:
  are there any caveats regarding ringing indication with Asterisk?
 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.

I gave brig debug span 1 a try and it led to the following obvious
difference (sorry for the long lines).

snom - POTS telephone set:
1  Message type: ALERTING (1)
1  [1 181  011  891 ]
1  Channel ID (len= 3) [ Ext: 1  IntID: Implicit, Other Spare: 0, Exclusive 
Dchan: 0
1 ChanSel: B1 channel
1  ]
1  [1 1e1  021  811  811 ]
1  Progress Indicator (len= 4) [ Ext: 1  Coding: CCITT (ITU) standard (0) 0: 0 
  Location: Private network serving the local user (1)
1Ext: 1  Progress Description: Call is not 
end-to-end ISDN; further call progress information may be available inband. (1) 
]

snom - PSTN telephone:
1  Message type: ALERTING (1)
1  [1 181  011  891 ]
1  Channel ID (len= 3) [ Ext: 1  IntID: Implicit, Other Spare: 0, Exclusive 
Dchan: 0
1 ChanSel: B1 channel
1  ]
1  [1 1e1  021  821  881 ]
1  Progress Indicator (len= 4) [ Ext: 1  Coding: CCITT (ITU) standard (0) 0: 0 
  Location: Public network serving the local user (2)
1Ext: 1  Progress Description: Inband 
information or appropriate pattern now available. (8) ]

So its:

Location: Private network serving the local user
Call is not end-to-end ISDN; 
further call progress information may be available inband.

which works vs.

Location: Public network serving the local user
Progress Description: Inband information or appropriate pattern 
now available.

which doesn't work. What's causing Asterisk to indicate ringing to the
caller in the first place but not in the second place? Is this regular
behaviour? Is there any way to also indicate ringing for snom - PSTN
telephone calls?

- 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


[Asterisk-Users] Re: Ringing indication not working as expected

2006-05-18 Thread Sebastian Kayser
* Mimmus [EMAIL PROTECTED] wrote:
  Thanks for the advice. indications.conf is now existent and 
  Asterisk is reloaded but the problem still persists.
 Reloaded? Peraphs restarted is better...

The reload messages informed about the re-reading of indications.conf.
However, even restart doesn't change anything about the ringing
indication problem.

See my other reply for further debug information i have gathered.

- 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


Re: [Asterisk-Users] Re: Ringing indication not working as expected

2006-05-18 Thread Dinesh Nair


On 05/18/06 18:45 Sebastian Kayser said the following:

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.


we've got the following:

E1 PRI --- Asterisk ---+--- FXS Gateway --- Analog Phones
   |
   +--- FXS Gateway --- Analog Phones
   |
   +--- FXS Gateway --- Analog Phones
   |
   +--- FXS Gateway --- Analog Phones

we see the same problem for /some/ of the phones on a single fxs gateway, 
but not for the /other/ phones on the /same/ gateway. i'd always thought 
that this may have been caused by a lost SIP 180 Ringing packet between 
asterisk and the fxs gateway, but perhaps now i may look inside asterisk 
itself to try to see if it's causing it somewhere.


--
Regards,   /\_/\   All dogs go to heaven.
[EMAIL PROTECTED](0 0)   http://www.openmalaysiablog.com/
+==oOO--(_)--OOo==+
| for a in past present future; do|
|   for b in clients employers associates relatives neighbours pets; do   |
|   echo The opinions here in no way reflect the opinions of my $a $b.  |
| done; done  |
+=+
___
--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