Brian Buhrow
2005-Feb-11 13:55 UTC
[Asterisk-Users] Re: [Asterisk-bsd] Asterisk not accepting multiple SIP phone logins
Hello. You can't have two phones login with the same extension. You need to assign one phone to 101, and the other to 102. Set the user to 101 on one and 102 on the other. -Brian On Feb 11, 8:07am, "Juki" wrote: } Subject: [Asterisk-bsd] Asterisk not accepting multiple SIP phone logins } Hi all, } } I have Asterisk running on FreeBSD 4.x and I have made configurations to } sip.conf, extensions.conf and voicemail.conf. I have also setup SIP phones } on two different PCs. My problem is that when one of the SIP phones logins } in, the other won't. } } My sip.conf has: } [101] } type=friend } host=dynamic } username=101 } secret=test } dtmfmode=rfc2833 } context=from-sip } mailbox=201 } callerid="101" <2125> } nat=yes } } My extensions.conf has: } exten => 101,1,Dial(SIP/101,20,tr) } exten => 101,2,VoiceMail,u101 } exten => 101,102,VoiceMail,b101 } } My voicemail.conf has: } 101 => 2348,Emma, kidjue@yahoo.co.uk } } Any ideas are most welcome. } } -- } Rgds, } Juki } } _______________________________________________ } Asterisk-BSD mailing list } Asterisk-BSD@lists.digium.com } http://lists.digium.com/mailman/listinfo/asterisk-bsd>-- End of excerpt from "Juki"
Forrest W. Christian
2005-Feb-13 11:07 UTC
[Asterisk-Users] Re: [Asterisk-bsd] Asterisk not accepting multiple SIP phone logins
On Fri, 11 Feb 2005, Brian Buhrow wrote:> Hello. You can't have two phones login with the same extension. You > need to assign one phone to 101, and the other to 102. Set the user to 101 > on one and 102 on the other.Actually, that isn't quite 100% accurate. The more accurate statement is that you can't have two phones log in as the same username/etc in sip.conf. You can, however have extensons.conf ring numerous phones all at the same time for a given extension. What you can do is set up two separate phone configurations in sip.conf, one per phone. I.E: [101-phone1] ...sip config... [101-phone2] ...sip config... and then modify your dial command in extensions.conf to look something like: exten => 101,1,Dial(SIP/101-phone1&SIP/101-phone2,20,tr)