Anthony, Thank you for the direction. The following syntax works <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}[leg_timeout=20]sofia/gateway/utel/${user_data(${dialed_extension}@${domain_name} var followme_number)}"/> I assume this is the right way of doing. Please let me know if this is wrong. Thanks Lloyd On Tue, Dec 28, 2010 at 9:26 AM, Anthony Minessale < anthony.minessale@gmail.com> wrote:
Your syntax is wrong you put the group confirm vars inside the same. {} as the ignore early media the {} encloses several comma sep name val pairs. Review the wiki on originate syntax. On Dec 26, 2010 2:39 PM, "Aloysius Lloyd" <lloyd.aloysius@gmail.com> wrote:
Hi All,
Dial plan below use group_confrim, work for both internal and external (PSTN) Calls without any issues
<action application="bridge" data="{ignore_early_media=true,*
group_confirm_file=/usr/local/freeswitch/sounds/en/us/callie/followme/press-1-to-accept.wav,group_confirm_key=1
*}user/${dialed_extension}@ ${domain_name},sofia/gateway/voipms/${user_data(${dialed_extension}@ ${domain_name} var followme_number)}"/>
-----
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.
<action application="bridge" data="{ignore_early_media=true}user/${dialed_extension}@ ${domain_name},{*
group_confirm_file=/usr/local/freeswitch/sounds/en/us/callie/followme/press-1-to-accept.wav,group_confirm_key=1
*}sofia/gateway/voipms/${user_data(${dialed_extension}@${domain_name} var followme_number)}"/>
*Console Log*
2010-12-26 15:23:21.796308 [ERR] switch_core_session.c:380 Could not locate channel type {group_confirm_file= 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] 2010-12-26 15:23:21.796308 [ERR] switch_core_session.c:380 Could not locate channel type group_confirm_key=1}sofia 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]
--------
Any help is appreciated.
Thanks Lloyd
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org