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
On 05/05/05, Luca Maccarini <luca.maccarini@salesteam.it> wrote:> > > 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.This needs to come from the phone - your phone should have a setting something like 'unregister on reboot' . Turn this on. Peter -- Peter Bowyer Email: peter@bowyer.org Tel: +44 1296 768003 VoIP: sip:peter@bowyer.org
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: Luca Maccarini To: asterisk-users@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 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 ------------------------------------------------------------------------------ _______________________________________________ Asterisk-Users mailing list Asterisk-Users@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 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20050505/c5b4abfc/attachment.htm
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@lists.digium.com [mailto:asterisk-users-bounces@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@salesteam.it"Luca Maccarini To: HYPERLINK "mailto:asterisk-users@lists.digium.com"asterisk-users@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 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 _____ _______________________________________________ Asterisk-Users mailing list Asterisk-Users@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
Hi, yes: http://voip-info.org/tiki-index.php?page=Asterisk%20RealTime%20Static http://voip-info.org/wiki-Asterisk+RealTime+IAX On Thu, 2005-05-05 at 12:17 +0100, Alberto wrote:> Hello, > > Is it possible to mantain the content of the iax.conf in mysql so > modifying the information stored in the data base allows to add or > delete the friends? > > Regards, > Alberto > > _______________________________________________ > Asterisk-Users mailing list > Asterisk-Users@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-------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part Url : http://lists.digium.com/pipermail/asterisk-users/attachments/20050505/c88725d9/attachment.pgp