[Asterisk-Users] Stopping Asterisk from forwarding calls?
John Lange
john.lange at open-it.ca
Tue Nov 8 07:22:03 MST 2005
Ultimately this turned out to be a red herring as well. dialparties.agi
just does a database dip to figure out which extensions are forwarded
and then builds a dialstring based on whats left. It then returns to the
Asterisk dialplan and the extensions are still dialed in the normal way.
I stopped looking at this point but it appears that it only works if you
are using AMP to manage your extensions in a database.
Unless someone has a better idea it looks like the only way to do this
will be a patch to Asterisk.
Thanks all for your suggestions.
--
John Lange
On Mon, 2005-11-07 at 23:20 -0600, John Lange wrote:
> Thanks Tad.
>
> This might turn out the be the clue I was looking for.
>
> It appears AMP has a macro-dial which has a comment about dealing with
> CFWD, DND etc. It actually dials using a script:
>
> exten => s,4,AGI,dialparties.agi
>
> I'm still trying to figure out what it does exactly because the code is
> not commented very well but it looks promising.
>
> Thanks for pointing me in this direction.
>
> John
>
> On Mon, 2005-11-07 at 15:35 -0500, Tad Heckaman wrote:
> > I use Asterisk at Home, and if I have one of my Cisco phones forwarded to
> > my cell phone, when the phones ring in a ring group, it never
> > forwards. You may want to look at the latest configs that comes with
> > Asterisk at Home and see if theres some special dialplans thats doing
> > what your looking for.
> >
> > Keep in mind I am using the call forward on the phone, and not the
> > built in call forward in the dialplan.
> >
> > On 11/7/05, Kevin P. Fleming <kpfleming at digium.com> wrote:
> > John Lange wrote:
> >
> > > Reading the source code I see there are two parameters for
> > channels,
> > > allowredir_in & allowredir_out. These offer me some hope
> > that Asterisk
> > > has the ability but I couldn't figure out what these do or
> > how to make
> > > use of them (I'm not a C programmer so maybe its just a red
> > herring?).
> >
> > Those are entirely unrelated.
> >
> > At this time there is no method available to make Asterisk
> > ignore
> > incoming '302 REDIRECT' from SIP phones. It may be possible to
> > send
> > those 'forward' requests to a context that has no valid
> > extensions in
> > it, but I don't think we even support that at this time.
> > _______________________________________________
> > --Bandwidth and Colocation sponsored by Easynews.com --
> >
> > Asterisk-Users mailing list
> > Asterisk-Users at lists.digium.com
> > http://lists.digium.com/mailman/listinfo/asterisk-users
> > To UNSUBSCRIBE or update options visit:
> > http://lists.digium.com/mailman/listinfo/asterisk-users
> >
> >
> >
> > --
> > Tad Heckaman
> > _______________________________________________
> > --Bandwidth and Colocation sponsored by Easynews.com --
> >
> > Asterisk-Users mailing list
> > Asterisk-Users at lists.digium.com
> > http://lists.digium.com/mailman/listinfo/asterisk-users
> > To UNSUBSCRIBE or update options visit:
> > http://lists.digium.com/mailman/listinfo/asterisk-users
>
>
> _______________________________________________
> --Bandwidth and Colocation sponsored by Easynews.com --
>
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-users
>
More information about the asterisk-users
mailing list