[asterisk-users] Zap Bridged Calls do not continue dialplan

Mr Shunz mrshunz at gmail.com
Wed Jul 9 09:16:24 CDT 2008


> Hello all!

Hello!

> I'm having problem with the calls that come through my asterisk box
> and back out to our legacy pbx, it seems to be that even if the call
> is ringing and not picked up yet, zap reports the line as answered,
> why is it doing that?

could be that the PBX *answers* the line (maybe for playing moh/messages)
and then rings the phones connected...

> Also it wont stay connected for the correct amount of rings, wont
> continue the dialplan after zap makes it hangup. The same thing
> happens if the line is busy from dialing the legacy pbx.

I think that if it hangup asterisk (by default) jumps to extension h,
so you may want create smth like

    exten => h,1,...

if you'd like to do other things after hangups

[snip]

> it seems to have to do with the busydetect=yes
> it detects it but just hangs up.
>
> Is there a way to tell it to just stop the call and continue with the dialplan?

you can check the ${DIALSTATUS} var and jump accordingly,
like:

    exten => s,n,Goto(s-${DIALSTATUS},1)

and then have

    exten => s-BUSY,1,...

    exten => s-NOANSWER,1,...

and so on ...

> Some more info i have theorized, it seems that since the other channel
> "answers" even though it is dialing out and only ringing(or busy or
> whatever), it thinks that the call was picked up.

yeah, that's it...

> I might be able to work around this with call confirmation. i'm gonna
> try that today, is there any way to do a call confirmation by just
> detecting if there is a voice on the other end?
> Also, the calls even while normal ringing time out to fast, i cant
> seem to find that setting, where might it be globally?

don't know about these ...

cheers

-- 
------------------------------------------------
Daniele Santi .o.
daniele at santi.vr.it ..o () ascii ribbon campaign
Linux User #415108 ooo /\ www.asciiribbon.org
------------------------------------------------



More information about the asterisk-users mailing list