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@gmail.com <nrbwpi@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 --
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-users
>
>
>
--
Alex Robar
alex.robar@gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://lists.digium.com/pipermail/asterisk-users/attachments/20061103/143feee1/attachment.htm