[asterisk-users] Softphone +Realtime

Chris Bagnall asterisk at minotaur.cc
Wed Feb 7 17:49:30 MST 2007


> The first step of getting the phones to log in as their same
> extensions as work is easy and works.

By definition, I guess that automatically logs out their office phones?

> Has anyone tried anything like this? I would like the phones to
> regrab their spot once the softphone is logged out.

Shouldn't the office phones automatically regrab their spot when they
re-register with the server? If you set the timeout to something fairly
short, it would get around this issue, but introduce another one: the
softphones will be kicked whenever the office phones re-register.

We have a number of clients doing similar things, but we've taken a slightly
different approach. For example, if we have extensions 201,202 and 203, we
create SIP accounts as follows:
201
201-home
202
202-home
203
203-home

Then, when connecting calls to those extensions in the dialplan, change
something like:
exten => _2XX,1,Dial(SIP/${EXTEN})

To:
exten => _2XX,1,Dial(SIP/${EXTEN}&SIP/${EXTEN}-home)

Hopefully that'll solve the problem. Obviously you'll get lots of errors in
the logs along the lines of "can't find device SIP/202-home" when the
softphones aren't connected, but it shouldn't affect operation.

Regards,

Chris
-- 
C.M. Bagnall, Director, Minotaur I.T. Limited
This email is made from 100% recycled electrons




More information about the asterisk-users mailing list