[Freeswitch-dev] PlayAndGetDigits backward compatibility

Anthony Minessale anthony.minessale at gmail.com
Mon Jan 3 18:20:18 MSK 2011


SWITCH_DECLARE(char *) playAndGetDigits(int min_digits,
                                                 int max_digits,
                                                 int max_tries,
                                                 int timeout, char
*terminators, char *audio_files, char *bad_input_audio_files,
                                                 char *digits_regex,
const char *var_name = NULL, int digit_timeout = 0);

This is how it's declared in the c++ swig should pass this into its
translation and fill in 0 when it's not specified.


On Mon, Jan 3, 2011 at 6:03 AM, babak yakhchali
<babak.freeswitch at gmail.com> wrote:
> Hi
> I was trying to build my old scripts with latest revision in mod_managed and
> I found out PlayAndGetDigits takes one more argument:
> public string PlayAndGetDigits(int min_digits, int max_digits, int
> max_tries, int timeout, string terminators, string audio_files, string
> bad_input_audio_files, string digits_regex, string var_name, int
> digit_timeout);
> Isn't it possible to add an overload for backward compatibility?
> thanks
> _______________________________________________
> FreeSWITCH-dev mailing list
> FreeSWITCH-dev at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
> http://www.freeswitch.org
>
>



-- 
Anthony Minessale II

FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/
Twitter: http://twitter.com/FreeSWITCH_wire

AIM: anthm
MSN:anthony_minessale at hotmail.com
GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888 at conference.freeswitch.org
googletalk:conf+888 at conference.freeswitch.org
pstn:+19193869900



More information about the FreeSWITCH-dev mailing list