[asterisk-dev] [feature requests]: 'zap answer confirmation info' and 'different clis on forking'

Christian B bencokakao at gmail.com
Tue May 16 10:07:24 MST 2006


On Tue, 16 May 2006 10:35:41 -0400 (EDT)
Peter Beckman <beckman at purplecow.com> wrote:
>   First off, this is more of an asterisk-users mailing list question.
>   However, since I know your issue, I'll answer.

Uhm, yes, guess so, at least for the second feature, sorry about that.
But i think i'm not wrong on the first feature, the solutions you
posted will not work(see below).

> > 1.Feature: Answer Confirmation Info
> > ======================================
> > There's a patch by bweschke[1] called "follow_me-find_me", which
> > plays a message to the callee to accept the call by pressing a key,
> > if he doesn't, the next extension that has been configured in the
> > followme.conf is dialed.
> 
>   No need for a patch.  You need to use the M(x^y) option for Dial.
> At the CLI type "show application dial" for documentation, or see
> this page:
> 
>      http://mph.gotdns.com:82/manual/en/function.dial.php
> 
>   It calls the user, then calls a Macro called x and passes any
> parameters using the carrot ^ to delimit.


No, tried this before(as well as the A()-option), this doesn't work
with the "answer confirmation"-parameter as the macro/playback is not
started before the callee has pressed the '#'(=bridging of the call).
The result of your example is both phones are ringing, when i pickup the
zap-phone i hear nothing, then i press the pound and _after_ this the
macro is started (resp. announcement is played), if i don't press pound
in the first place, nothing will be executed.

bweschke's patch worked like i want it(announce _before_ key is
pressed)...

please take a look at the attached verbose-log. i was calling the
extensions with the option A(ping). 
Ringing was starting at 18:39:32
at ca. 18:39:50 i picked up the pstn-phone, but i did not press '#'
at 18:40:13 i finally pressed '#' and instantly, the announcement was
played to me. the same goes for the macro-option.

I could remove the 'c'-paramater and use the macro, if no '#' is
pressed, the call is hung up an restarted until another phone picks up
or the zap-phone confirms with the pound. however, when the zap-phone
picks up, all other phones would stop ringing, even though the
zap-phone has not confirmed the call. and if it doesn't, i could recall
all phones, giving the caller a second chance to reach his destination.
but imho this is very ugly and messes up the cdr, so this is not an
option.

i think i'm not wrong that this is a lacking feature.

btw: just for the sake of completeness, the read-application doesn't
seem to recognize '#', only digits and '*'.

> Feature 2.:
>   Not with a single Dial command with multiple channels is
> that possible. Instead, if CLID is more important than attempting both
> calls simultaneously, do separate calls:
> 
>   exten => s,1,SetCallerID(0023123456 <0023123456>)
>   exten => s,n,Dial(SIP/88888 at sipproxy.domain.com|20)
>   exten => s,n,SetCallerID(23123456 <23123456>)
>   exten => s,n,Dial(Zap/G1c/0023777777)

This is not an option, however, it is working with the
local-channel-solution posted by Jared Smith in reply to your post.
Thanks for the input though.

regards
christian
-------------- next part --------------
May 16 18:39:32 VERBOSE[688] logger.c:     -- Called 88888 at sipproxy.domain.com
May 16 18:39:32 VERBOSE[688] logger.c:     -- Requested transfer capability: 0x00 - SPEECH
May 16 18:39:32 VERBOSE[688] logger.c:     -- Called G1c/0023777777
May 16 18:39:33 VERBOSE[688] logger.c:     -- SIP/sipproxy.domain.com-80f6 is ringing
May 16 18:39:33 VERBOSE[688] logger.c:     -- SIP/sipproxy.domain.com-80f6 is ringing
May 16 18:39:33 VERBOSE[688] logger.c:     -- SIP/sipproxy.domain.com-80f6 is ringing
May 16 18:39:33 VERBOSE[688] logger.c:     -- Zap/124-1 is proceeding passing it to Zap/14-1
May 16 18:39:33 VERBOSE[688] logger.c:     -- Zap/124-1 is ringing
May 16 18:39:34 VERBOSE[688] logger.c:     -- SIP/sipproxy.domain.com-80f6 is ringing
May 16 18:39:36 VERBOSE[688] logger.c:     -- SIP/sipproxy.domain.com-80f6 is ringing
May 16 18:39:40 VERBOSE[688] logger.c:     -- SIP/sipproxy.domain.com-80f6 is ringing
May 16 18:39:48 VERBOSE[688] logger.c:     -- SIP/sipproxy.domain.com-80f6 is ringing
May 16 18:40:04 VERBOSE[688] logger.c:     -- SIP/sipproxy.domain.com-80f6 is ringing
May 16 18:40:13 VERBOSE[688] logger.c:     -- Zap/124-1 answered Zap/14-1
May 16 18:40:13 VERBOSE[688] logger.c:     -- Playing 'ping' (language 'en')
May 16 18:40:14 VERBOSE[688] logger.c:     -- Attempting native bridge of Zap/14-1 and Zap/124-1


More information about the asterisk-dev mailing list