minor tweak
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4003 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
8e17a9b865
commit
ccd944d52b
|
@ -1 +1 @@
|
|||
Tue Dec 12 11:55:02 EST 2006
|
||||
Fri Jan 19 15:23:51 EST 2007
|
||||
|
|
|
@ -349,7 +349,9 @@ static ldl_status parse_session_code(ldl_handle_t *handle, char *id, char *from,
|
|||
session->payloads[session->payload_len].id = atoi(id);
|
||||
if (rate) {
|
||||
session->payloads[session->payload_len].rate = atoi(rate);
|
||||
}
|
||||
} else {
|
||||
session->payloads[session->payload_len].rate = 8000;
|
||||
}
|
||||
session->payload_len++;
|
||||
|
||||
if (globals.debug) {
|
||||
|
|
|
@ -2472,7 +2472,9 @@ static ldl_status handle_signalling(ldl_handle_t *handle, ldl_session_t *dlsessi
|
|||
if (!strncasecmp(name, "ilbc", 4)) {
|
||||
name = "ilbc";
|
||||
}
|
||||
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG, "compare %s %d to %s %d\n", payloads[x].name, payloads[x].id, name, tech_pvt->codecs[y]->ianacode);
|
||||
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG, "compare %s %d/%d to %s %d/%d\n",
|
||||
payloads[x].name, payloads[x].id, payloads[x].rate,
|
||||
name, tech_pvt->codecs[y]->ianacode, tech_pvt->codecs[y]->samples_per_second);
|
||||
if (tech_pvt->codecs[y]->ianacode > 95) {
|
||||
match = strcasecmp(name, payloads[x].name) ? 0 : 1;
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue