[Asterisk-Users] Registering/Unregistering
Luca Maccarini
luca.maccarini at salesteam.it
Thu May 5 02:33:44 MST 2005
Hi all. My problemi s I cannot achieve to make my asterisk switch
immediately when a new registration occur on a phone.
I mean: I have a SIP phone and I created two SIP channels in sip.conf with
registration required (host=dynamic) …
When I change user account settings on the phone from a configuration to
another, the result is I have both the numbers working. I can receive calls
on the same phone directed to the new and the former users. And I actually
don’t want this, but I want the former user of that phone to be unlogged
immediately.
I have the same problem on hard and softphones, both IAX and SIP, so I’m
sure it’s my lack in settings knowledge but I can’t work it out
Thanks
My asterisk confs:
//sip.conf
[2000]
type=friend
username=2000
secret=secret1
regexten=2000
;nat=yes
;dynamic=yes
;defaultip=192.168.72.97
host=dynamic
reinvite=no
canreinvite=no
context=from-sip
mailbox=100
callerid="Zyxel" <2000>
dtmfmode=inband
[2006]
type=friend
username=2006
secret=secret2
regexten=2006
;nat=yes
host=dynamic
reinvite=no
canreinvite=no
context=from-sip
mailbox=106
callerid="Zyxel" <2006>
dtmfmode=inband
//extensions.conf
exten => 2000,1,Dial(SIP/2000,20,tT)
exten => 2000,2,Voicemail(u2000)
exten => 2000,102,Voicemail(b2000)
exten => 2000,103,Hangup
exten => 2000,hint,SIP/2000
exten => 2006,1,Dial(SIP/2006,20,tT)
exten => 2006,2,Voicemail(u2006)
exten => 2006,102,Voicemail(b2006)
exten => 2006,103,Hangup
exten => 2006,hint,SIP/2006
Luca Maccarini
--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.308 / Virus Database: 266.11.0 - Release Date: 29/04/2005
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20050505/c965fd49/attachment.htm
More information about the asterisk-users
mailing list