[Freeswitch-users] Fwd: sofia_reg_handle_register_token - exp possibly always false

Brian West brian at freeswitch.org
Thu Jul 9 16:52:57 MSD 2015


Please file bugs in jira

On Wednesday, July 8, 2015, Podrigal, Aron <aronp at guaranteedplus.com> wrote:

>
> ---------- Forwarded message ----------
> From: Podrigal, Aron <aronp at guaranteedplus.com
> <javascript:_e(%7B%7D,'cvml','aronp at guaranteedplus.com');>>
> Date: Tue, Jul 7, 2015 at 7:24 PM
> Subject: sofia_reg_handle_register_token - exp possibly always false
> To: freeswitch-dev <freeswitch-dev at lists.freeswitch.org
> <javascript:_e(%7B%7D,'cvml','freeswitch-dev at lists.freeswitch.org');>>
>
>
> 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 :-)
>
>
>
> --
> Aron Podrigal
> -
> //Be happy :-)
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org <javascript:;>
> http://www.freeswitchsolutions.com
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://confluence.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org <javascript:;>
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>


-- 

*Brian West*
brian at freeswitch.org


*Twitter: @FreeSWITCH , @briankwest*
http://www.freeswitchbook.com
http://www.freeswitchcookbook.com

ClueCon 2015 Call for Speakers <https://www.cluecon.com/call-for-speakers/> |
Register <https://freeswitch.com/cart.php?gid=1> TODAY! | Reddit:
/r/freeswitch <https://www.reddit.com/r/freeswitch>

*T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378)
*iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150709/3312f851/attachment.html 


Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list