My concern on sip.conf , is user able to create their own extension . Therefore how to control the sip user account. My understand are,

1. You need to create either zap/sip/iax channel ~user account as a user.
2. Then to activate the account you need to have a extension number to ring the user account.

i having problem, if I dont do checking on context in sip.conf, therefore it might have duplicate context.
Like if i accidently created 2 Jenny sip accounts but refering to different context in extensions.conf. for outgoing calls is ok but
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.

Thanks so much for the feedback.
 

On 7/6/06, Olle E Johansson <[EMAIL PROTECTED]> wrote:

6 jul 2006 kl. 04.09 skrev Sharon Lim:

> hi,
>
> Is it possible to have same sip context but refering to different
> username and context?
> Is it a must to have username(test) and the sip context [test]  the
> same?
> what the different with username & sip context?
> can username variable be alphanumeric, like using email address as
> username?
>
Please read the documentation carefully. The "username" setting is
*not* the user name,
strangely enough. You usually do not need to set that, especially not
for a user.

The context has nothing to do with the username, it's a reference to
the dialplan
entrypoint for this device.

/O
> default sip as below :
>
> [test]
>         disallow=all
>         allow=ulaw
>         allow=alaw
>         allow=g729
>         allow=gsm
>         type=friend
>         username=test
>         secret=1234
>         host=dynamic
>         dtmfmode=rfc2833
> ;       defaultip= 10.10.10.17
>         qualify=yes
>         mailbox=2000
>         nat=yes
>         context=extensions
>         accountcode=test
>         canreinvite=no
>
> thanks in advance.
> _______________________________________________
> --Bandwidth and Colocation provided by Easynews.com --
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>     http://lists.digium.com/mailman/listinfo/asterisk-users

---
* Olle E Johansson - [EMAIL PROTECTED]
* Cell phone +46 70 593 68 51, Office +46 8 96 40 20, Sweden



_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to