maybe we can make an origination_cancel_key=# you could set on the dial string to be able to cancel that originate with dtmf<br><br><br><div class="gmail_quote">On Wed, Aug 26, 2009 at 1:27 PM, Anatoliy Kounitskiy <span dir="ltr"><<a href="mailto:anatoliy@kounitskiy.com">anatoliy@kounitskiy.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">After several hours of testing I was able to answer myself the<br>
previous mentioned questions.<br>
<br>
It appears that # and the 0 option work _only_ if user C has answered<br>
the call OR voicemail system answers it.<br>
<br>
user A ---call---> user B----attended xfer---> user C<br>
<br>
At this point I have new question. In example user C does not have a<br>
voicemail and the call timeout is not an option to wait for. How can<br>
user B go back to the user A, who is listening to MOH?<br>
Could someone help me with an advice/tip?<br>
<br>
At the moment I have just one idea for accomplishing it:<br>
1) try to use bind_meta_app in the extension with the att_xfer (not<br>
sure if it can be done). To have a key feature that takes the user A<br>
call leg id and bridging it with user B<br>
<br>
Thank you in advnace,<br>
Anatoliy Kounitskiy<br>
<div><div></div><div class="h5"><br>
<br>
On Wed, Aug 26, 2009 at 5:51 PM, Anatoliy<br>
Kounitskiy<<a href="mailto:anatoliy@kounitskiy.com">anatoliy@kounitskiy.com</a>> wrote:<br>
> Hello everybody!<br>
> I have few questions about the att_xfer application. First, what i want<br>
> to accomplish is: user A calls user B, after that user B makes attended<br>
> transfer to user C.<br>
> In the dialplan i have:<br>
><br>
> <context name="vpbx"><br>
> <extension name="local_number"><br>
> ...<br>
> <action application="bind_meta_app" data="1 b s<br>
> execute_extension::dx XML features"/><br>
> <action application="bind_meta_app" data="2 b s<br>
> record_session::$${base_dir}/recordings/${caller_id_number}.${strftime(%Y-%m-%d-%H-%M-%S)}.wav"/><br>
> <action application="bind_meta_app" data="3 b s<br>
> execute_extension::cf XML features"/><br>
> <action application="bind_meta_app" data="4 b s<br>
> execute_extension::attented_xfer XML features"/><br>
> ....<br>
> </condition><br>
> </extension><br>
><br>
> So when user B answers the call, he sends *4 and the extensions for the<br>
> attended transfer is started - the usual - plays message and read the<br>
> input dtmf:<br>
><br>
> features.xml<br>
> ...<br>
> <extension name="attented_xfer"><br>
> <condition field="${toll_allow}" expression="local"/><br>
> <condition field="destination_number" expression="^attented_xfer$"><br>
> <action application="info"/><br>
> <action application="read" data="3 4 ivr/ivr-enter_ext.wav<br>
> attxfer_callthis 30000 #"/><br>
> <action application="set" data="call_timeout=15"/><br>
> <action application="att_xfer"<br>
> data="user/${attxfer_callthis}@${domain_name}"/><br>
> </condition><br>
> </extension><br>
> ...<br>
><br>
> To this problems everything is perfect. But here comes the questions, so<br>
> if you can give some tips would be great.<br>
><br>
> 1) when user B enters the extension number of C - the C's phone starts<br>
> ringing in the tcpdump i can see that the phone is sending 180 ringing,<br>
> BUT user B does not hear the ringing.<br>
> 2) as mentioned in the<br>
> <a href="http://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_att_xfer" target="_blank">http://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_att_xfer</a><br>
> quote: "If the other leg is a voicemail or doesn't answered you can<br>
> hangup that leg by pressing dtmf # (fixed in r14438) "<br>
> It doesn't work. The option 0 is working even before C answering the<br>
> phone - after he answers it's a threeway conference :) - i like this<br>
> feature.<br>
><br>
> I'm using FreeSWITCH Version 1.0.trunk (14633M)<br>
><br>
> Also I tried to set call timeout to see if I can go back the user A, who<br>
> is listening to MOH - no luck here.<br>
><br>
> Probably I'm missing something. Tried to look in the source of att_xfer<br>
> to understand why the feature i want is not working - but it seems my<br>
> C/C++ skills are not so good, as i want :( .<br>
><br>
> Thank you in advance,<br>
> Anatoliy Kounitskiy<br>
><br>
<br>
<br>
<br>
</div></div><font color="#888888">--<br>
Anatoliy Kounitskiy<br>
-------------------------<br>
E-mail: <a href="mailto:anatoliy@kounitskiy.com">anatoliy@kounitskiy.com</a><br>
Mobile: +359898913540<br>
</font><div><div></div><div class="h5"><br>
_______________________________________________<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Anthony Minessale II<br><br>FreeSWITCH <a href="http://www.freeswitch.org/">http://www.freeswitch.org/</a><br>ClueCon <a href="http://www.cluecon.com/">http://www.cluecon.com/</a><br>
Twitter: <a href="http://twitter.com/FreeSWITCH_wire">http://twitter.com/FreeSWITCH_wire</a><br><br>AIM: anthm<br><a href="mailto:MSN%3Aanthony_minessale@hotmail.com">MSN:anthony_minessale@hotmail.com</a><br>GTALK/JABBER/<a href="mailto:PAYPAL%3Aanthony.minessale@gmail.com">PAYPAL:anthony.minessale@gmail.com</a><br>
IRC: <a href="http://irc.freenode.net">irc.freenode.net</a> #freeswitch<br><br>FreeSWITCH Developer Conference<br><a href="mailto:sip%3A888@conference.freeswitch.org">sip:888@conference.freeswitch.org</a><br><a href="http://iax:guest@conference.freeswitch.org/888">iax:guest@conference.freeswitch.org/888</a><br>
<a href="mailto:googletalk%3Aconf%2B888@conference.freeswitch.org">googletalk:conf+888@conference.freeswitch.org</a><br>pstn:213-799-1400<br>