If I only want to give my sip users say local calling where do I put
that in the sip config?
I have the contexts setup.
[outbound-local]
exten => _NXXXXXX,1,Macro(dialout-default,${EXTEN})
exten => _NXXNXXXXXX,1,Macro(dialout-default,${EXTEN})
[outbound-tollfree]
exten => _1800NXXXXXX,1,Macro(dialout-default,${EXTEN})
exten => _1888NXXXXXX,1,Macro(dialout-default,${EXTEN})
exten => _1877NXXXXXX,1,Macro(dialout-default,${EXTEN})
exten => _1866NXXXXXX,1,Macro(dialout-default,${EXTEN})
[outbound-ld]
exten => _1NXXNXXXXXX,1,Macro(dialout-default,${EXTEN})
and the sip.conf looks like:
[200]
username=200
type=friend
secret=tryagain
qualify=no
port=5060
pickupgroupnat=never
mailboxhost=dynamic
dtmfmode=rfc2833
disallowcontext=from-internal
canreinvite=no
callgroupcallerid="Roaming SoftPhone" <200>
allow=
Matt wrote:> If I only want to give my sip users say local calling where do I put > that in the sip config? > ... > and the sip.conf looks like: > [200] > ... > context=from-internal > ...The "context=from-internal" is the key. You will need to create a context called "from-internal" that only includes local calling. For example: [from-internal] include => outbound-local include => internal-extensions include => outbound-emergency
Got it.. thanks that worked... On Fri, 18 Mar 2005 09:12:34 -0600, Scott Nelson <sbn@thermeon.com> wrote:> Matt wrote: > > If I only want to give my sip users say local calling where do I put > > that in the sip config? > > ... > > and the sip.conf looks like: > > [200] > > ... > > context=from-internal > > ... > > The "context=from-internal" is the key. You will need to create a > context called "from-internal" that only includes local calling. > > For example: > > [from-internal] > include => outbound-local > include => internal-extensions > include => outbound-emergency > >