[asterisk-users] SIP conf

Olle E Johansson oej at edvina.net
Thu Jul 6 00:16:47 MST 2006


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 - oej at edvina.net
* Cell phone +46 70 593 68 51, Office +46 8 96 40 20, Sweden






More information about the asterisk-users mailing list