[asterisk-users] In bound SIP context issue
nrbwpi at gmail.com
nrbwpi at gmail.com
Fri Nov 3 08:23:16 MST 2006
After reading some more documentation it appears that a type peer needs to
have a host directive to match the context properly. I am assuming the
dynamic is throwing it off. I have to try this next.
http://www.voip-info.org/wiki-Asterisk+config+sip.conf
The problem is that the request could come from 3 separate servers but I was
trying to limit the amount of usernames needed in sip.conf. I guess I could
make 3 separate usernames and passwords...
Does anyone know a way to avoid this?
Thanks for your replies!
On 11/3/06, Alex Robar <alex.robar at gmail.com> wrote:
>
> I would think that if the call isn't using the information you've setup
> under username1, then the call probably isn't coming into your system using
> username1. Try to verify which username the call is being sent to.
>
> Alex
>
> On 11/3/06, nrbwpi at gmail.com <nrbwpi at gmail.com> wrote:
>
> > Hi All,
> >
> > I am trying to configure asterisk to receive an inbound SIP connection
> > and send it to a specified context. Instead of sending the call the
> > specified context, asterisk is using the context default from [general]?
> > Any thoughts? I am sure that it is something simple I am missing.
> >
> > To recap, it is sending calls to the context default, not thecontext...
> >
> > [general]
> > context=default
> > srvlookup=yes
> >
> > [username1]
> > type=peer
> > username=username1
> > secret=test1234
> > host=dynamic
> > dtmfmode=rfc2833
> > context=thecontext
> > nat=no
> > deny= 0.0.0.0/0.0.0.0
> > permit=XXX.XXX.XXX.XXX /255.255.255.255
> > permit=XXX.XXX.XXX.XXX/255.255.255.255
> > permit=XXX.XXX.XXX.XXX/255.255.255.255
> > permit=XXX.XXX.XXX.XXX/255.255.255.0
> > permit=XXX.XXX.XXX.XXX/255.255.255.255
> >
> > Thanks
> >
> >
> >
> > _______________________________________________
> > --Bandwidth and Colocation provided by Easynews.com<http://easynews.com/>--
> >
> > asterisk-users mailing list
> > To UNSUBSCRIBE or update options visit:
> > http://lists.digium.com/mailman/listinfo/asterisk-users
> >
> >
> >
>
>
> --
> Alex Robar
> alex.robar at gmail.com
> _______________________________________________
> --Bandwidth and Colocation provided by Easynews.com <http://easynews.com/>--
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-users
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20061103/e4e7f6ec/attachment-0001.htm
More information about the asterisk-users
mailing list