sofia_reg_handle_register_token - exp possibly always false
7 Jul
2015
7 Jul
'15
11:24 p.m.
Hi, According to grep the function sofia_reg_handle_register_token is called from a single place src/mod/endpoints/mod_sofia/sofia_reg.c:2305 <https://freeswitch.org/stash/projects/FS/repos/freeswitch/browse/src/mod/endpoints/mod_sofia/sofia_reg.c#2305> where the argument *v_event* would always be NULL at that time. So I'm wondering what the line at src/mod/endpoints/mod_sofia/sofia_reg.c:1297 <https://freeswitch.org/stash/projects/FS/repos/freeswitch/browse/src/mod/endpoints/mod_sofia/sofia_reg.c#1297> if (v_event && *v_event) pres_on_reg = switch_event_get_header(*v_event, "send-presence-on-register"); is suppose to do, won't this always evaluate to false? -- Aron Podrigal - //Be happy :-)
4138
Age (days ago)
4138
Last active (days ago)
0 comments
1 participants
participants (1)
-
Podrigal, Aron