R: [Asterisk-Users] Registering/Unregistering
Luca Maccarini
luca.maccarini at salesteam.it
Thu May 5 03:06:39 MST 2005
qualify=yes seems to work disconnecting former channel after rebooting the
phone
Unfortunately I have no settings about unregistering as peter suggested.
I hope that the qualify solution will be stable and has no drawbacks or
side effects
Thanks for all
Luca Maccarini
_____
Da: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] Per conto di barney
Inviato: giovedì 5 maggio 2005 11.42
A: Asterisk Users Mailing List - Non-Commercial Discussion
Oggetto: Re: [Asterisk-Users] Registering/Unregistering
Try to use qualify=yes in sip.conf . I`m actually not sure, if qualify is
only testing of IP address availability, or it does something more, but you
can try it :-).
-b
----- Original Message -----
From: HYPERLINK "mailto:luca.maccarini at salesteam.it"Luca Maccarini
To: HYPERLINK
"mailto:asterisk-users at lists.digium.com"asterisk-users at lists.digium.com
Sent: Thursday, May 05, 2005 11:33 AM
Subject: [Asterisk-Users] Registering/Unregistering
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
dont 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 Im
sure its my lack in settings knowledge but I cant 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
_____
_______________________________________________
Asterisk-Users mailing list
Asterisk-Users at lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
--
No virus found in this incoming message.
Checked by AVG Anti-Virus.
Version: 7.0.308 / Virus Database: 266.11.0 - Release Date: 29/04/2005
--
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/1b90ee43/attachment.htm
More information about the asterisk-users
mailing list