[Freeswitch-users] bind_meta_app failing - after FAX

Brian West brian at freeswitch.org
Thu May 8 18:57:29 MSD 2014


Was t.38 involved?
--
Brian West
brian at freeswitch.org



Twitter: @FreeSWITCH , @briankwest
http://www.freeswitchbook.com
http://www.freeswitchcookbook.com

T: +1.918.420.9001  |  F: +1.918.420.9002  |  M: +1.918.424.WEST
iNUM: +883 5100 1420 9001
ISN: 410*543
Skype:briankwest
PGP Key: http://www.bkw.org/key.txt (AB93356707C76CED)















On May 6, 2014, at 6:15 PM, Karl Schmidt <karl at xtronics.com> wrote:

> This used to work - only changed a few things to get fax detect to work reliably. Could it be that 
> the two interact?
> 
> If there isn't something obvious in the extension below:
> 
> What steps to debug? Do I need SIP logging?
> 
> 
> 
> 
> <extension name="group_dial_sales">
> <condition field="destination_number" expression="^30$">
> <!--Export - Exports a channel variable from the A leg to the B leg-->
> <action application="export" data="dialed_extension=$1"/>
> <action application="answer"/>
> <action application="set" data="transfer_ringback=${us-ring}"/>
> <action application="set" data="ringback=${us-ring}"/>
> <action application="spandsp_start_fax_detect" data="transfer '33 XML features' 6"/>
> 
> <!-- bind_meta_app can have these args <key> [a|b|ab] [a|b|o|s] <app> -->
> <action application="bind_meta_app" data="1 b s execute_extension::dx XML features"/>
> <action application="bind_meta_app" data="2 b s 
> record_session::$${recordings_dir}/${strftime(%Y-%m-%d_%H-%M-%S)}.${caller_id_number}.wav"/>
> <action application="bind_meta_app" data="3 b s execute_extension::cf XML features"/>
> <action application="bind_meta_app" data="4 b s execute_extension::att_xfer XML features"/>
> <action application="bind_meta_app" data="5 b s execute_extension::echo XML default"/>
> <!--    ringback specifies audio to play to the A leg on =>unanswered<= aka (early media) call-->
> <!--transfer_ringack sets ring tone for =>answered<= calls. This is any bridged call. -->
> <!--call_timeout is the seconds to ring the B leg of a call when using the bridge application. The 
> timeout is set on the A leg,-->
> <action application="set" data="call_timeout=20"/>
> <action application="set" data="zrtp_secure_media=false"/>
> <action application="set" data="hangup_after_bridge=true"/>
> <action application="set" 
> data="continue_on_fail=NORMAL_TEMPORARY_FAILURE,USER_BUSY,NO_ANSWER,TIMEOUT,NO_ROUTE_DESTINATION"/>
> <action application="set" data="continue_on_fail=true"/>
> <!--Set hash values for call features-->
> <action application="hash" 
> data="insert/${domain_name}-call_return/${dialed_extension}/${caller_id_number}"/>
> <action application="hash" data="insert/${domain_name}-last_dial_ext/${dialed_extension}/${uuid}"/>
> <action application="set" 
> data="called_party_callgroup=${user_data(${dialed_extension}@${domain_name} var callgroup)}"/>
> <action application="hash" 
> data="insert/${domain_name}-last_dial_ext/${called_party_callgroup}/${uuid}"/>
> <action application="hash" data="insert/${domain_name}-last_dial_ext/global/${uuid}"/>-->
> <action application="export" 
> data="nolocal:sip_secure_media=${user_data(${dialed_extension}@${domain_name} var sip_secure_media)}"/>
> <action application="hash" data="insert/${domain_name}-last_dial/${called_party_callgroup}/${uuid}"/>
> <action application="bridge" data="${group_call(sales@${domain_name})}"/>
> <action application="sleep" data="1000"/>
> <action application="transfer" data="voicemail xml features"/>
> </condition>
> </extension>
> 
> 
> 
> 
> --------------------------------------------------------------------------------
> Karl Schmidt                                  EMail Karl at xtronics.com
> Transtronics, Inc.                              WEB http://secure.transtronics.com
> 3209 West 9th Street                             Ph (785) 841-3089
> Lawrence, KS 66049                              FAX (785) 841-0434
> 
> Foreign aid is taking money from the poor people of a rich country and
> giving it to the rich people of a poor country.
> 
> 
> --------------------------------------------------------------------------------
> 
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
> 
> 
> 
> 
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
> 
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20140508/8d09eabc/attachment-0001.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: whmcslogo.png
Type: image/png
Size: 21896 bytes
Desc: not available
Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20140508/8d09eabc/attachment-0001.png 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 841 bytes
Desc: Message signed with OpenPGP using GPGMail
Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20140508/8d09eabc/attachment-0001.bin 


Join us at ClueCon 2013 Aug 6-8, 2013
More information about the FreeSWITCH-users mailing list