<font class="Apple-style-span" face="verdana, sans-serif">Dialplan and Log - <a href="http://pastebin.freeswitch.org/14887">http://pastebin.freeswitch.org/14887</a></font><div><font class="Apple-style-span" face="verdana, sans-serif"><br>
</font></div><div><font class="Apple-style-span" face="verdana, sans-serif">Here is the dial plan. No Errors ... but group_confirm not working and call directly connected.</font></div><div><font class="Apple-style-span" face="verdana, sans-serif"><br>
</font></div><div><font class="Apple-style-span" face="verdana, sans-serif"><a href="http://pastebin.freeswitch.org/14887"></a><div><extension name="Local_Extension_FollowMe"></div><div> <condition field="${user_data(${destination_number}@${domain_name} var followme_status)}" expression="enable"/></div>
<div> <condition field="destination_number" expression="^(20[0-9])$"></div><div> <action application="set" data="dialed_extension=$1"/></div><div> <action application="export" data="dialed_extension=$1"/></div>
<div> <!-- bind_meta_app can have these args <key> [a|b|ab] [a|b|o|s] <app> --></div><div> <action application="bind_meta_app" data="1 b s execute_extension::dx XML features"/></div>
<div> <action application="bind_meta_app" data="2 b s record_session::$${recordings_dir}/${caller_id_number}.${strftime(%Y-%m-%d-%H-%M-%S)}.wav"/></div><div> <action application="bind_meta_app" data="3 b s execute_extension::cf XML features"/></div>
<div> <action application="bind_meta_app" data="4 b s execute_extension::att_xfer XML features"/></div><div> <action application="set" data="ringback=${us-ring}"/></div>
<div> <action application="set" data="transfer_ringback=$${hold_music}"/></div><div> <action application="set" data="call_timeout=20"/></div><div> <!-- <action application="set" data="sip_exclude_contact=${network_addr}"/> --></div>
<div> <action application="set" data="hangup_after_bridge=true"/></div><div> <!--<action application="set" data="continue_on_fail=NORMAL_TEMPORARY_FAILURE,USER_BUSY,NO_ANSWER,TIMEOUT,NO_ROUTE_DESTINATION"/> --></div>
<div> <action application="set" data="continue_on_fail=true"/></div><div> <action application="hash" data="insert/${domain_name}-call_return/${dialed_extension}/${caller_id_number}"/></div>
<div> <action application="hash" data="insert/${domain_name}-last_dial_ext/${dialed_extension}/${uuid}"/></div><div> <action application="hash" data="insert/${domain_name}-last_dial_ext/${called_party_callgroup}/${uuid}"/></div>
<div> <action application="hash" data="insert/${domain_name}-last_dial_ext/global/${uuid}"/></div><div> <action application="set" data="called_party_callgroup=${user_data(${dialed_extension}@${domain_name} var callgroup)}"/></div>
<div> <!--<action application="export" data="nolocal:sip_secure_media=${user_data(${dialed_extension}@${domain_name} var sip_secure_media)}"/>--></div><div> <action application="hash" data="insert/${domain_name}-last_dial/${called_party_callgroup}/${uuid}"/></div>
<div> <b> <action application="bridge" data="{ignore_early_media=true}[leg_timeout=20]user/${dialed_extension}@${domain_name},[ignore_early_media=true,group_confirm_file=/usr/local/freeswitch/sounds/en/us/callie/followme/press-1-to-accept.wav,group_confirm_key=1]sofia/gateway/utel/${user_data(${dialed_extension}@${domain_name} var followme_number)}"/></b></div>
<div> <action application="answer"/></div><div> <action application="sleep" data="1000"/></div><div> <action application="bridge" data="loopback/app=voicemail:default ${domain_name} ${dialed_extension}"/></div>
<div> </condition></div><div></extension></div><div><br></div></font>Thanks</div><div>Lloyd<br><br><div class="gmail_quote">On Mon, Dec 27, 2010 at 1:04 AM, Avi Marcus <span dir="ltr"><<a href="mailto:Avi@amarcus.com">Avi@amarcus.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div dir="ltr">Can you paste the bridge for us again just to confirm the change, and the new log?<div>And to clarify, you mean it's not working for the PSTN recipients, correct?<br>
<div><font color="#888888">-Avi</font><div><div></div><div class="h5"><br><br><div class="gmail_quote">
On Mon, Dec 27, 2010 at 6:57 AM, Aloysius Lloyd <span dir="ltr"><<a href="mailto:lloyd.aloysius@sunteltech.ca" target="_blank">lloyd.aloysius@sunteltech.ca</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<font face="verdana, sans-serif">I try the [] now no errors. But </font><div><font face="verdana, sans-serif"><br></font></div><div><font face="verdana, sans-serif">- group_confirm_file not play </font></div>
<div><font face="verdana, sans-serif">- call directly connected</font></div><div><font face="verdana, sans-serif"><br></font></div><div><font face="verdana, sans-serif">basically group_confirm not working.</font></div>
<div><font face="verdana, sans-serif"><br></font></div><div><font face="verdana, sans-serif">Thanks</font></div><div><font face="verdana, sans-serif">Lloyd<font color="#888888"><br>
</font></font><div><div></div><div><br><div class="gmail_quote">On Sun, Dec 26, 2010 at 4:29 PM, Avi Marcus <span dir="ltr"><<a href="mailto:Avi@amarcus.com" target="_blank">Avi@amarcus.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">I don't think you are supposed to be using {} variables in the middle of your bridge string. It's only used at the beginning for setting variables for EVERY bridge string, else, you should enclose it in []. I think. Give it a try.<div>
-Avi Marcus<br><br><div class="gmail_quote"><div><div></div><div>On Sun, Dec 26, 2010 at 10:37 PM, Aloysius Lloyd <span dir="ltr"><<a href="mailto:lloyd.aloysius@gmail.com" target="_blank">lloyd.aloysius@gmail.com</a>></span> wrote:<br>
</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div></div><div>
<font face="verdana, sans-serif"><div><font face="verdana, sans-serif">Hi All,</font></div><div><font face="verdana, sans-serif"><br></font></div><div>
<font face="verdana, sans-serif"><div>Dial plan below use group_confrim, work for both internal and external (PSTN) Calls without any issues</div><div><br></div><div><action application="bridge" data="{ignore_early_media=true,<b>group_confirm_file=/usr/local/freeswitch/sounds/en/us/callie/followme/press-1-to-accept.wav,group_confirm_key=1</b>}user/${dialed_extension}@${domain_name},sofia/gateway/voipms/${user_data(${dialed_extension}@${domain_name} var followme_number)}"/></div>
<div><br></div><div><br></div><div>-----</div><div><br></div></font></div><div><font face="verdana, sans-serif">But I would like to use the group_confirm feature for external PSTN (Calls only). The following Dial plan is not working and the console log below.</font></div>
<div><font face="verdana, sans-serif"><br></font></div><div><font face="verdana, sans-serif"><action application="bridge" data="{ignore_early_media=true}user/${dialed_extension}@${domain_name},{<b>group_confirm_file=/usr/local/freeswitch/sounds/en/us/callie/followme/press-1-to-accept.wav,group_confirm_key=1</b>}sofia/gateway/voipms/${user_data(${dialed_extension}@${domain_name} var followme_number)}"/></font></div>
<br></font>
<div><font face="verdana, sans-serif"><br></font></div><div><font face="verdana, sans-serif"><u>Console Log</u></font></div><div><font face="verdana, sans-serif"><br>
</font></div><div><font face="verdana, sans-serif"><div>2010-12-26 15:23:21.796308 [ERR] switch_core_session.c:380 Could not locate channel type {group_confirm_file=</div><div>2010-12-26 15:23:21.796308 [ERR] switch_ivr_originate.c:2614 Cannot create outgoing channel of type [{group_confirm_file=] cause: [CHAN_NOT_IMPLEMENTED]</div>
<div>2010-12-26 15:23:21.796308 [ERR] switch_core_session.c:380 Could not locate channel type group_confirm_key=1}sofia</div><div>2010-12-26 15:23:21.796308 [ERR] switch_ivr_originate.c:2614 Cannot create outgoing channel of type [group_confirm_key=1}sofia] cause: [CHAN_NOT_IMPLEMENTED]</div>
<div><br></div><div>--------</div><div><br></div><div>Any help is appreciated.</div><div><br></div><div>Thanks</div><div>Lloyd</div></font></div>
<br></div></div>_______________________________________________<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">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>
<br></blockquote></div><br></div></div>
<br>_______________________________________________<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">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>
<br></blockquote></div><br></div></div></div>
<br>_______________________________________________<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">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>
<br></blockquote></div><br></div></div></div></div></div>
<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>
<br></blockquote></div><br></div>