Deepesh D
2011-May-02 10:09 UTC
[asterisk-users] default context overrides context of peer
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
Justin Case
2011-May-03 05:45 UTC
[asterisk-users] default context overrides context of peer
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 ;)