Re: [Asterisk-Users] hint on Zap channels

2005-12-17 Thread C F
On 12/16/05, Kevin P. Fleming [EMAIL PROTECTED] wrote:
 C F wrote:
  Kevin, I'm not sure this would work here, but maybe it would.
  There was a bug posted about being able to use hint against local
  channels, would that not help him?
 
  http://bugs.digium.com/view.php?id=5779nbn=4

 No, the issue is that multiple ISDN devices are not distinct channels as
 far as Asterisk is concerned; they are all 'Zap/1' with different
 extensions behind that channel.

Kevin, I understood that. However, if that patch allows to create a
hint for the local channel no matter what extension that local channel
dials (which I'm not sure it does), then it is possilbe to do just
that, by creating hints for those extensions using the local channel,
and always dial those extensions only using the local channel.


 This is the same question as asking 'if I have a PRI connected to my
 Panasonic PBX, can I use hints for all the extensions on that PBX'. It
 won't work in Asterisk, because it's not aware of the actual endpoints,
 only the channel that connects to them.

Well, with my idea above it will, since you are dialing it using a
local channel. On inbound calls - from that other PBX to asterisk - it
could also be done with some DP magic, if that bug supports hints on
the local channels.

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

___
--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] hint on Zap channels

2005-12-16 Thread Sergio Chersovani

[EMAIL PROTECTED] ha scritto:

is it possible to use the cid of a isdn-phone as well to identify multiple 
devices behind one line ?
 


I did not understand the question, what you mean?

Sergio
___
--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] hint on Zap channels

2005-12-16 Thread DRi
an isdn-line has two usable 64k channels and you can connect multiple 
phones to an isdn-line

each phone is using it's own msn/cid

for calls towards the isdn-phones you can tell asterisk to use an 
specified channel
eg.
exten-123,1,Dial(Zap/1/123)
exten-124,1,Dial(Zap/2/124)
this way hints for Zap channels work for incoming calls
but usually you use a group/span in your dialplan so it's possible to use 
both channels for any extension/msn

but for outgoing calls both isdn-devices use any free channel of the 
isdn-line

[EMAIL PROTECTED] wrote on 16.12.2005 09:13:33:

 [EMAIL PROTECTED] ha scritto:
 
 is it possible to use the cid of a isdn-phone as well to identify 
multiple 
 devices behind one line ?
  
 
 I did not understand the question, what you mean?
 
 Sergio
 ___
 --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

___
--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] hint on Zap channels

2005-12-16 Thread Kevin P. Fleming

[EMAIL PROTECTED] wrote:
an isdn-line has two usable 64k channels and you can connect multiple 
phones to an isdn-line


each phone is using it's own msn/cid


Since Asterisk is not aware of these being individual devices, there is 
no way that hints could reliably work for them.

___
--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] hint on Zap channels

2005-12-16 Thread C F
Kevin, I'm not sure this would work here, but maybe it would.
There was a bug posted about being able to use hint against local
channels, would that not help him?

http://bugs.digium.com/view.php?id=5779nbn=4

After looking at it again, I realize it might only work for parked
channels, so I'm not sure.

On 12/16/05, Kevin P. Fleming [EMAIL PROTECTED] wrote:
 [EMAIL PROTECTED] wrote:
  an isdn-line has two usable 64k channels and you can connect multiple
  phones to an isdn-line
 
  each phone is using it's own msn/cid

 Since Asterisk is not aware of these being individual devices, there is
 no way that hints could reliably work for them.
 ___
 --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

___
--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] hint on Zap channels

2005-12-16 Thread DRi
[EMAIL PROTECTED] wrote on 16.12.2005 16:18:49:

 [EMAIL PROTECTED] wrote:
  an isdn-line has two usable 64k channels and you can connect multiple 
  phones to an isdn-line
  
  each phone is using it's own msn/cid
 
 Since Asterisk is not aware of these being individual devices, there is 
 no way that hints could reliably work for them.

thanks for the answer - I expected this, although I hoped something 
different
___
--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] hint on Zap channels

2005-12-16 Thread Kevin P. Fleming

C F wrote:

Kevin, I'm not sure this would work here, but maybe it would.
There was a bug posted about being able to use hint against local
channels, would that not help him?

http://bugs.digium.com/view.php?id=5779nbn=4


No, the issue is that multiple ISDN devices are not distinct channels as 
far as Asterisk is concerned; they are all 'Zap/1' with different 
extensions behind that channel.


This is the same question as asking 'if I have a PRI connected to my 
Panasonic PBX, can I use hints for all the extensions on that PBX'. It 
won't work in Asterisk, because it's not aware of the actual endpoints, 
only the channel that connects to them.

___
--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] hint on Zap channels

2005-12-16 Thread Francesco Peeters (Asterisk)
On Fri, December 16, 2005 16:39, Kevin P. Fleming said:
 C F wrote:
 Kevin, I'm not sure this would work here, but maybe it would.
 There was a bug posted about being able to use hint against local
 channels, would that not help him?

 http://bugs.digium.com/view.php?id=5779nbn=4

 No, the issue is that multiple ISDN devices are not distinct channels as
 far as Asterisk is concerned; they are all 'Zap/1' with different
 extensions behind that channel.

 This is the same question as asking 'if I have a PRI connected to my
 Panasonic PBX, can I use hints for all the extensions on that PBX'. It
 won't work in Asterisk, because it's not aware of the actual endpoints,
 only the channel that connects to them.


I personally think this is a fault in (*). (Or rather Zaptel)

Because there is such a thing as ISDN, I think it should be able to
recognize separate channels for DIDs...
Both internal and external ZAP channels should be able to recognise the
different DID/CID/CLID as separate identifiable endpoints. That way you
can chose a 'channel' and have (*) use the correct CID/CLID.

When doing extensions it should dial it, when doing outbound the chosen
channel could define which MSN/CLID to use, inbound the DID would define
the channel. (Just like the way it does now for the channels/extensions,
but for ISDN just dialing Zap/1 won't do the trick... You'll need to dial
Zap/1/2020 to get the ISDN phone with MSN 2020)

Just my EUR 0,02

-- 
F Peeters
  PIII 450 - 1 GB - * 1.2 - BRIstuff 0.3.0 Pre 1 - Florz patch
  2 Sweex HFC-PCI modes=2 sync_slave=2 timer_card=0
Cologne HFC-S pins #52, #54, #55 connected in parallel for synching.
___
--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] hint on Zap channels

2005-12-16 Thread Kevin P. Fleming

Francesco Peeters (Asterisk) wrote:


I personally think this is a fault in (*). (Or rather Zaptel)


You are certainly welcome to your opinion, but thinking that Asterisk 
should understand the concept of 'remote endpoints' as native devices is 
by no means a 'fault'. If nobody has wanted this enough before to be 
able to code it up and submit it, then it's just a lack of functionality.



Because there is such a thing as ISDN, I think it should be able to
recognize separate channels for DIDs...
Both internal and external ZAP channels should be able to recognise the
different DID/CID/CLID as separate identifiable endpoints. That way you
can chose a 'channel' and have (*) use the correct CID/CLID.


And how would Asterisk know when these endpoints communicate directly 
with each other to keep trace of device state?


It would certainly be possible to do what you want, but it would need to 
be implemented by the Zaptel driver that is communicating with that ISDN 
interface, so it can present distinct 'channels' to chan_zap for each 
device on the ISDN bus.

___
--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] hint on Zap channels

2005-12-16 Thread Francesco Peeters (Asterisk)
On Fri, December 16, 2005 20:44, Kevin P. Fleming said:
 Francesco Peeters (Asterisk) wrote:

 I personally think this is a fault in (*). (Or rather Zaptel)

 You are certainly welcome to your opinion, but thinking that Asterisk
 should understand the concept of 'remote endpoints' as native devices is
 by no means a 'fault'. If nobody has wanted this enough before to be
 able to code it up and submit it, then it's just a lack of functionality.

OK, Maybe fault wasn't the right word here... Lacking is probably better...

I'd love to look in to it and code it, but I simply haven't got the time
to investigate and code it...

 Because there is such a thing as ISDN, I think it should be able to
 recognize separate channels for DIDs...
 Both internal and external ZAP channels should be able to recognise the
 different DID/CID/CLID as separate identifiable endpoints. That way you
 can chose a 'channel' and have (*) use the correct CID/CLID.

 And how would Asterisk know when these endpoints communicate directly
 with each other to keep trace of device state?

Because it would either be the device in NT mode, and therefore initiate
the connection, and be able to see the data flows. Or it would be TE mode,
but still on the same bus (which means it'll still see the data)

 It would certainly be possible to do what you want, but it would need to
 be implemented by the Zaptel driver that is communicating with that ISDN
 interface, so it can present distinct 'channels' to chan_zap for each
 device on the ISDN bus.

That's why I said 'Or rather Zaptel' in my original comment...

-- 
F Peeters
  PIII 450 - 1 GB - * 1.2 - BRIstuff 0.3.0 Pre 1 - Florz patch
  2 Sweex HFC-PCI modes=2 sync_slave=2 timer_card=0
Cologne HFC-S pins #52, #54, #55 connected in parallel for synching.
___
--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] hint on Zap channels

2005-12-15 Thread DRi
Hi all

has anyone an working example of a hint-entry with a Zap-Channel ?
I've got hint working with SIP and SCCP but Zap doesn't seem to work

___
--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] hint on Zap channels

2005-12-15 Thread Sergio Chersovani

[EMAIL PROTECTED] ha scritto:


has anyone an working example of a hint-entry with a Zap-Channel ?
I've got hint working with SIP and SCCP but Zap doesn't seem to work
 


Fixed in current CVS 1.2 and HEAD

older versions have a case sensitivity issue so you have to write it in 
the right way


this one works
exten = 1, hint, Zap/1

this one does not work
exten = 1, hint, ZAP/1

this one does not work
exten = 1, hint, zap/1

Sergio
___
--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] hint on Zap channels

2005-12-15 Thread DRi
this does work, and is adding the hint to the channel on the isdn-card
and you can also add a watch to the second-isdn-channel of the card

is it possible to use the cid of a isdn-phone as well to identify multiple 
devices behind one line ?

[EMAIL PROTECTED] wrote on 15.12.2005 14:31:09:

 [EMAIL PROTECTED] ha scritto:
 
 has anyone an working example of a hint-entry with a Zap-Channel ?
 I've got hint working with SIP and SCCP but Zap doesn't seem to work
  
 
 Fixed in current CVS 1.2 and HEAD
 
 older versions have a case sensitivity issue so you have to write it in 
 the right way
 
 this one works
 exten = 1, hint, Zap/1
 
 this one does not work
 exten = 1, hint, ZAP/1
 
 this one does not work
 exten = 1, hint, zap/1
 

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