forked from Mirrors/freeswitch
FSCORE-247 DTMF digit # is being interpreted as 1 when received in info DTMF
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10679 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
85dcc6d8d1
commit
18a90c87e3
@ -3498,7 +3498,7 @@ void sofia_handle_sip_i_info(nua_t *nua, sofia_profile_t *profile, nua_handle_t
|
||||
int tmp;
|
||||
/* move signal_ptr where we need it (right past Signal=) */
|
||||
signal_ptr = signal_ptr + 7;
|
||||
if (is_dtmf(*signal_ptr)) {
|
||||
if (*strlen && strlen(signal_ptr) == 1 && is_dtmf(*signal_ptr)) {
|
||||
dtmf.digit = *signal_ptr;
|
||||
} else {
|
||||
tmp = atoi(signal_ptr);
|
||||
|
Loading…
Reference in New Issue
Block a user