mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-14 16:15:04 +00:00
fix registration bug when doing authed calls
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5604 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
a5b6f48128
commit
68f58ae927
@ -435,6 +435,10 @@ uint8_t sofia_reg_handle_register(nua_t * nua, sofia_profile_t *profile, nua_han
|
||||
}
|
||||
reg:
|
||||
|
||||
if (regtype != REG_REGISTER) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
if (exptime) {
|
||||
if (!sofia_reg_find_reg_url(profile, to_user, to_host, buf, sizeof(buf))) {
|
||||
sql = switch_mprintf("insert into sip_registrations values ('%q','%q','%q','%q', '%q', %ld)",
|
||||
|
Loading…
x
Reference in New Issue
Block a user