My concern on sip.conf , is user able to create their own extension . Therefore how to control the sip user account. My understand are, <br><br>1. You need to create either zap/sip/iax channel ~user account as a user. <br>
2. Then to activate the account you need to have a extension number to ring the user account. <br><br>i having problem, if I dont do checking on context in sip.conf, therefore it might have duplicate context. <br>Like if i accidently created 2 Jenny sip accounts but refering to different context in
extensions.conf. for outgoing calls is ok but <br>for incoming call which account it will trigger and will ring which user phone. Cause if we have 2 jenny then if in extensions.conf exten=>200,1,Dial (SIP/jenny) which account will ring. That's my problem.
<br><br>Thanks so much for the feedback.<br> <br><br><div><span class="gmail_quote">On 7/6/06, <b class="gmail_sendername">Olle E Johansson</b> <<a href="mailto:oej@edvina.net">oej@edvina.net</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>6 jul 2006 kl. 04.09 skrev Sharon Lim:<br><br>> hi,<br>><br>> Is it possible to have same sip context but refering to different<br>> username and context?<br>> Is it a must to have username(test) and the sip context [test] the
<br>> same?<br>> what the different with username & sip context?<br>> can username variable be alphanumeric, like using email address as<br>> username?<br>><br>Please read the documentation carefully. The "username" setting is
<br>*not* the user name,<br>strangely enough. You usually do not need to set that, especially not<br>for a user.<br><br>The context has nothing to do with the username, it's a reference to<br>the dialplan<br>entrypoint for this device.
<br><br>/O<br>> default sip as below :<br>><br>> [test]<br>> disallow=all<br>> allow=ulaw<br>> allow=alaw<br>> allow=g729<br>> allow=gsm<br>> type=friend
<br>> username=test<br>> secret=1234<br>> host=dynamic<br>> dtmfmode=rfc2833<br>> ; defaultip= <a href="http://10.10.10.17">10.10.10.17</a><br>> qualify=yes<br>
> mailbox=2000<br>> nat=yes<br>> context=extensions<br>> accountcode=test<br>> canreinvite=no<br>><br>> thanks in advance.<br>> _______________________________________________
<br>> --Bandwidth and Colocation provided by <a href="http://Easynews.com">Easynews.com</a> --<br>><br>> asterisk-users mailing list<br>> To UNSUBSCRIBE or update options visit:<br>> <a href="http://lists.digium.com/mailman/listinfo/asterisk-users">
http://lists.digium.com/mailman/listinfo/asterisk-users</a><br><br>---<br>* Olle E Johansson - <a href="mailto:oej@edvina.net">oej@edvina.net</a><br>* Cell phone +46 70 593 68 51, Office +46 8 96 40 20, Sweden<br><br><br>
<br>_______________________________________________<br>--Bandwidth and Colocation provided by <a href="http://Easynews.com">Easynews.com</a> --<br><br>asterisk-users mailing list<br>To UNSUBSCRIBE or update options visit:
<br> <a href="http://lists.digium.com/mailman/listinfo/asterisk-users">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br></blockquote></div><br>