[asterisk-users] ael queue gosub already has PBX structure??
Giedrius Augys
voipas at gmail.com
Wed Dec 17 14:09:27 CST 2008
2008/12/17 Mark Michelson <mmichelson at digium.com>
> Giedrius Augys wrote:
> > Hello,
> >
> > I want that after client and queue member call would be established,
> > cmd queue runs some 'procedures' . So I am using cmd Queue option
> > 'gosub'. This is my example of ael :
> >
> > context QUEUE {
> > _X. => {
> > Ringing();
> > Wait(4);
> > Answer();
> > Queue(${Queue},wr,,,60,,,check-record);
> > Hangup();
> > };
> > };
> >
> > macro check-record() {
> > Set(MEMBERNUMBER=${CUT(MEMBERINTERFACE,@,1)});
> > Set(MEMBERNUMBER=${CUT(MEMBERNUMBER,/,2)});
> > return;
> > };
> >
> > Everything works normal, but when the client's and queue call
> > establishes , I get this WARNING:
> >
> > -- Local/123 at cc-out-da9a;1 answered SIP/xxx.xxx.xx-12d132d0
> > [Dec 17 20:52:12] WARNING[3849]: pbx.c:3656 __ast_pbx_run:
> > SIP/sip.call.lt-12d132d0 already has PBX structure??
> > == Starting SIP/sip.call.lt-12d132d0 at check-record,s,0 failed so
> > falling back to exten 's'
> > -- Executing [s at check-record:1] Set("SIP/sip.call.lt-12d132d0",
> > "MEMBERNUMBER=Local/123") in new stack
> > -- Executing [s at check-record:2] Set("SIP/sip.call.lt-12d132d0",
> > "MEMBERNUMBER=123") in new stack
> >
> > What I'm missing? Something wrong with ael syntax/structure ?
> >
> > Thanks in advance
> >
> > --
> > Pagarbiai / Best Regards,
> > Giedrius Augys
> >
>
> This is a bug you are experiencing, which I fixed recently in a series of
> commits. Assuming you are using a 1.6 tag, the next build should have this
> problem fixed.
>
> Mark Michelson
>
> _______________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-users
>
Hi,
yes I'm using 1.6.0.1 version.
--
Pagarbiai / Best Regards,
Giedrius Augys
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20081217/204e01a2/attachment.htm
More information about the asterisk-users
mailing list