[Asterisk-Users] pbx_spool and contexts Still Not Working

Lists lists at uc9.net
Thu Oct 9 07:12:39 MST 2003


On Thu, 9 Oct 2003, Mark Spencer wrote:

> This had to do with a revision of request_and_dial, where the real bug
> lives.
> 
> It's fixed in CVS now and the hack mentioned here should no longer need to
> be applied.
> 
> Mark
> 
> On Wed, 8 Oct 2003, Richard Lyman wrote:
> 
> > 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 at 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 at turbs.com
> > >
> > >
> > >_______________________________________________
> > >Asterisk-Users mailing list
> > >Asterisk-Users at lists.digium.com
> > >http://lists.digium.com/mailman/listinfo/asterisk-users
> > >
> > >
> > >
> >
> > _______________________________________________
> > Asterisk-Users mailing list
> > Asterisk-Users at lists.digium.com
> > http://lists.digium.com/mailman/listinfo/asterisk-users
> >
> 
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
> 



Using the latest CVS, (3 min ago) I am still getting these errors
Oct  9 09:15:41 WARNING[1226054960]: File pbx.c, Line 1754 (ast_pbx_run): 
Channel 'SIP/mlh-2d67' sent into invalid extension 's' in context 
'default', but no invalid handler
Oct  9 09:15:41 NOTICE[1226054960]: File pbx_spool.c, Line 206 
(attempt_thread): Call completed to SIP/mlh


Below is my outgoing file:
Channel: SIP/mlh
MaxRetries: 2
RetryTime: 60
WaitTime: 30
Context: record
Extension: s
Priority: 1

As you can see, it is still not working with the context correctly.

Michael




More information about the asterisk-users mailing list