[asterisk-dev] Re: FastAGI behaviour in trunk changed recently?
Kaloyan Kovachev
kkovachev at varna.net
Thu Jul 27 03:28:23 MST 2006
On Thu, 27 Jul 2006 10:24:12 +0100, Alistair Cunningham wrote
> Kaloyan Kovachev wrote:
>
> >>>> [to-voiptalk]
> >>>> exten => _X., 1, Set(CALLERID(number)=44${CALLERID(number):1})
> >>>> exten => _00., 2, Dial(IAX2/voiptalk/${EXTEN:2})
> >>>> exten => _0., 2, Dial(IAX2/voiptalk/44${EXTEN:1})
> >>>> exten => _X., 2, Dial(IAX2/voiptalk/${EXTEN})
> >>>> exten => _X., 3, Hangup
> >>>> exten => h, 1, DeadAGI(agi://127.0.0.1/end)
> >>>> exten => t, 1, Hangup
> >
> > The only AGI here is the DeadAGI at 'h' extension, where the call comes when
> > it is hangup. Yes, the channel may be still up, but not the call.
> > If you want to transfer the caller to another extension after the callee have
> > hangup you may use Dial with 'g' option and start the AGI at 'exten => _X.,3'
> > instead of doing Hangup.
>
> Kaloyan,
>
> I wasn't clear; my apologies. [to-voiptalk] is the context that the
> AGI does a SET CONTEXT to, not the context that it was called from.
> It was called from [from-internal] which is:
>
> [from-internal]
> exten => _[0-9*]., 1,
>
AGI(agi://127.0.0.1/start?stype=phone&snumber=${CALLERIDNUM}&cnumber=${EXTEN}&scustomer=${ENSWITCH-SCUSTOMER})
>
> plus various other irrelevant lines.
Sorry, just checked the beginning of this thread
Have you tried to add 'i' extension to [from-internal] and [to-voiptalk], and
a NoOp after AGI() this will give some additional info where exactly the call
goes on AGI exit.
> _______________________________________________
> --Bandwidth and Colocation provided by Easynews.com --
>
> asterisk-dev mailing list
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-dev
More information about the asterisk-dev
mailing list