[Asterisk-Users] SNOM Shared line DevState

Philipp von Klitzing klitzing at pool.informatik.rwth-aachen.de
Tue Dec 6 11:22:35 MST 2005


Hi Steef!

> Does anyone have some ideas on how to setup a shared line on several 
> SNOM phones in a reliable manner?

The description of what exactly you are trying to accomplish is a bit 
scarce, which makes good suggestions a bit difficult... ;-)

> Calls enter on number 123. They do not have to ring anywhere (although 
> this could be the case), I just want the LEDs on a series of SNOM light up.
> Phones x,y and z have 123 subcribed as "destination 123" under a 
> function key.
> 
> Question: where do I send the call initially?

You could send it to e.g. line 7 on one of the SNOMs and have that ring 
silently (i.e. visual only, no sound either via line setup, or via 
_ALERT_INFO). Actually you can do so with all phones 
(Dial(SIP/x&SIP/y&SIP/z)) and by that you maybe already have your desired 
solution... then also let the "other" phones subscribe to the others and 
show their line status.
Note that on a SNOM 360 only line 1-4 show their mail status directly 
with an envelope icon.

>  I've tried sending it to a Dial(Local/321) and have calls wait there on 
> ringback. But I cannot do a pickup() since the state is RING and not 
> RINGING. Nor DPickup() or PickupChan() work on chan Local.

Consider parking, and look at bug/patch 5779.
Or maybe use a queue instead.

> I've toyed around with DevState but some how I can't seem to get this to 
> work in all cases, especially trapping all hang-ups and setting the 
> state back to 0, is a problem. Is there a way to ALWAYS jump to a 
> context/priority to do cleanup actions?

- bristuff also has a devstate command for the manager API
- you could toy with the SNOM "Action URLs" to trigger a DevState change 
e.g. on phone hangup
- install a SIP phone client (maybe text based) and let that act as a 
dummy for incomming calls so that other phones can do a pickup

I'd be interested to know what you finally came up with.

Cheers, Philipp





More information about the asterisk-users mailing list