When I drop my file into the outgoing folder, the call is completed but the 'Context' entry is not respected. Instead, it drops into the default context. It does drop "properly" into the default context and function as would be expected. I looked through the source but didn't see any reason it would be completely ignoring the context. Call file: (where <pstn-number> is a valid number) ---------------------- start ---------------------- Channel: IAX2/screel@NuFone/<pstn-number> MaxRetries: 2 RetryTime: 60 WaitTime: 30 Context: test-call Extension: s Priority: 1 ---------------------- end ---------------------- The problem surfaced after upgrading to current CVS (10/8) from 9/9. Is anyone else having this problem? Is there something I should be doing differently? Steve ___________________________________________________________ Steve Creel screel@turbs.com
same issue as previously noted... look at lines 1628ish in chan_iax.c and line 1645ish in chan_iax2.c for strncpy(c->context, context, sizeof(c->context) - 1); or similar... comment those out with // disclaimer: not sure what else this breaks. Steve Creel wrote:>When I drop my file into the outgoing folder, the call is completed but >the 'Context' entry is not respected. Instead, it drops into the default >context. It does drop "properly" into the default context and function as >would be expected. I looked through the source but didn't see any reason >it would be completely ignoring the context. > > >Call file: (where <pstn-number> is a valid number) >---------------------- start ---------------------- >Channel: IAX2/screel@NuFone/<pstn-number> >MaxRetries: 2 >RetryTime: 60 >WaitTime: 30 >Context: test-call >Extension: s >Priority: 1 >---------------------- end ---------------------- > > >The problem surfaced after upgrading to current CVS (10/8) from 9/9. > > >Is anyone else having this problem? Is there something I should be doing >differently? > >Steve > >___________________________________________________________ >Steve Creel screel@turbs.com > > >_______________________________________________ >Asterisk-Users mailing list >Asterisk-Users@lists.digium.com >http://lists.digium.com/mailman/listinfo/asterisk-users > > >
You either don't have the test-call context (or you have test_call) or you have it doubled. These are the most common reasons for the call to drop to default. Martin On Wed, 8 Oct 2003, Steve Creel wrote:> When I drop my file into the outgoing folder, the call is completed but > the 'Context' entry is not respected. Instead, it drops into the default > context. It does drop "properly" into the default context and function as > would be expected. I looked through the source but didn't see any reason > it would be completely ignoring the context. > > > Call file: (where <pstn-number> is a valid number) > ---------------------- start ---------------------- > Channel: IAX2/screel@NuFone/<pstn-number> > MaxRetries: 2 > RetryTime: 60 > WaitTime: 30 > Context: test-call > Extension: s > Priority: 1 > ---------------------- end ---------------------- > > > The problem surfaced after upgrading to current CVS (10/8) from 9/9. > > > Is anyone else having this problem? Is there something I should be doing > differently? > > Steve > > ___________________________________________________________ > Steve Creel screel@turbs.com > > > _______________________________________________ > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com > http://lists.digium.com/mailman/listinfo/asterisk-users >