]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
freetdm: Fix for typo in print
authorDavid Yat Sin <dyatsin@sangoma.com>
Wed, 2 Feb 2011 16:35:38 +0000 (11:35 -0500)
committerDavid Yat Sin <dyatsin@sangoma.com>
Wed, 2 Feb 2011 16:35:38 +0000 (11:35 -0500)
libs/freetdm/mod_freetdm/mod_freetdm.c

index 92cf9e54b9c8dadc34a52bb59204245973702842..563a203a70d28dc8debc76b62a68af25bc41976e 100755 (executable)
@@ -1570,8 +1570,8 @@ ftdm_status_t ftdm_channel_from_event(ftdm_sigmsg_t *sigmsg, switch_core_session
                switch_channel_set_variable_printf(channel, "sip_h_X-FreeTDM-ANI2", "%s", channel_caller_data->aniII);
                
                switch_channel_set_variable_printf(channel, "sip_h_X-FreeTDM-DNIS", "%s", channel_caller_data->dnis.digits);
-               switch_channel_set_variable_printf(channel, "sip_h_X-FreeTDM-DNIS-TON", "%s", channel_caller_data->dnis.type);
-               switch_channel_set_variable_printf(channel, "sip_h_X-FreeTDM-DNIS-Plan", "%s", channel_caller_data->dnis.plan);
+               switch_channel_set_variable_printf(channel, "sip_h_X-FreeTDM-DNIS-TON", "%d", channel_caller_data->dnis.type);
+               switch_channel_set_variable_printf(channel, "sip_h_X-FreeTDM-DNIS-Plan", "%d", channel_caller_data->dnis.plan);
 
                switch_channel_set_variable_printf(channel, "sip_h_X-FreeTDM-RDNIS", "%s", channel_caller_data->rdnis.digits);
                switch_channel_set_variable_printf(channel, "sip_h_X-FreeTDM-RDNIS-TON", "%d", channel_caller_data->rdnis.type);