[asterisk-users] default context overrides context of peer
Justin Case
nogoodnameswereavailable at gmail.com
Tue May 3 23:41:20 CDT 2011
It should work when host is dynamic. Is this a bug ?
On Tue, May 3, 2011 at 9:03 AM, Deepesh D <deep.d2010 at gmail.com> wrote:
> This works when I change the host to non-dynamic and
> insecure=port,invite for the peer, but does not work when
> host=dynamic.
>
> Also my sip peers are realtime. If I remove the realtime peer and
> create a peer in sip.conf this works !!
>
> On Tue, May 3, 2011 at 11:15 AM, Justin Case
> <nogoodnameswereavailable at gmail.com> wrote:
>> On Mon, May 2, 2011 at 1:09 PM, Deepesh D <deep.d2010 at gmail.com> wrote:
>>> Hello,
>>>
>>> I upgraded from asterisk 1.6.2.7 to asterisk 1.6.2.17.
>>>
>>> I have context=defcontext set in sip.conf. For each peer I have
>>> context=outcontext in the peer definition since I want outgoing calls
>>> from registered SIP peers to go through context 'outcontext'. This
>>> used to work in the older version (1.6.2.7), but after upgrading this
>>> has stopped working. Now outgoing calls are going to 'defcontext' and
>>> the calls fail. After the peer registers 'sip show peer <peername>'
>>> show the context as 'outcontext', but while making a call the default
>>> context in sip.conf overrides the peer context.
>>>
>>> Is there any other setting that I need to do in asterisk 1.6.2.17?
>>>
>>>
>>> Thanks
>>>
>>> --
>>> _____________________________________________________________________
>>> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>>> New to Asterisk? Join us for a live introductory webinar every Thurs:
>>> http://www.asterisk.org/hello
>>>
>>> asterisk-users mailing list
>>> To UNSUBSCRIBE or update options visit:
>>> http://lists.digium.com/mailman/listinfo/asterisk-users
>>>
>>
>>
>> I am having the same issue and have not found a fix. Maybe we are both
>> doing something wrong ;)
>>
>> --
>> _____________________________________________________________________
>> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>> New to Asterisk? Join us for a live introductory webinar every Thurs:
>> http://www.asterisk.org/hello
>>
>> asterisk-users mailing list
>> To UNSUBSCRIBE or update options visit:
>> http://lists.digium.com/mailman/listinfo/asterisk-users
>>
>
> --
> _____________________________________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> New to Asterisk? Join us for a live introductory webinar every Thurs:
> http://www.asterisk.org/hello
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-users
>
More information about the asterisk-users
mailing list