<div dir="ltr"><div>Apologies - just extending lines from legacy code from the OpenIMSCore project.  I'll correct these and commit as I note them.<br><br>Regards<br></div></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature"><div dir="ltr"><table style="width:450.0pt" width="600" border="0" cellpadding="0" cellspacing="0"><tbody><tr><td style="padding:0cm" valign="top"><table width="320px" border="0" cellpadding="0" cellspacing="0"><tbody><tr><td style="font-family:Arial,sans-serif;color:rgb(117,179,67);line-height:18px;padding-left:15px;padding-top:10px"><font><b>Richard Good<br></b></font></td>
                
        </tr>
        <tr>
                 <td style="font-family:Arial,sans-serif;color:rgb(117,179,67);line-height:18px;padding-left:15px;padding-top:10px"><font><b>Senior Manager: Applications & Services<br></b></font></td>
        </tr>
        <tr>
                 <td style="font-family:Arial,sans-serif;color:rgb(134,145,154);line-height:18px;padding-left:15px;padding-top:10px"><font><b>Smile Communications Pty (Ltd)</b></font></td>
        </tr>
        <tr>
                <td>
                <table width="100%" cellpadding="0" cellspacing="0">
            <tbody><tr>
                <td style="font-family:Arial,sans-serif;color:rgb(134,145,154);line-height:18px;padding-left:15px;padding-top:10px" width="27%">
                        <font><b>Mobile:</b></font>
                </td>
                <td style="font-family:Arial,sans-serif;color:rgb(134,145,154);line-height:18px;padding-left:10px;padding-top:10px" width="73%"><font>
                        +27 (0) 72 389 8365
                </font></td>
            </tr>                
            
            <tr>
                <td style="font-family:Arial,sans-serif;color:rgb(134,145,154);line-height:18px;padding-left:15px;padding-top:10px">
                <font><b>   Skype:</b></font>
                </td>
                <td style="font-family:Arial,sans-serif;color:rgb(134,145,154);line-height:18px;padding-left:10px;padding-top:10px"><font>
                        richard.a.good<br></font></td>
            </tr>
            
            </tbody></table>
        </td>
        </tr>
        <tr>
                <td style="font-family:Arial,sans-serif;color:rgb(117,179,67);line-height:18px;padding-left:15px;padding-top:10px">
        <font><a style="font-family:Arial;color:rgb(117,179,67);text-decoration:none" href="mailto:name.surname@smilecoms.com" target="_blank">richard.good@smilecoms.com</a></font></td>
        </tr>
    <tr>
                <td style="font-family:Arial,sans-serif;color:rgb(117,179,67);line-height:18px;padding-left:15px;padding-top:10px">
        <font><a style="font-family:Arial;color:rgb(117,179,67);text-decoration:underline" href="http://www.smilecoms.com" target="_blank">www.smilecoms.com</a></font></td>
        </tr>
        <tr>
                <td>
                        <font><img src="http://196.33.227.129/%7Esmlcoms/sigs/pty/images/smile_signature_07_09.jpg" alt="" height="111" width="320"></font></td></tr></tbody></table></td></tr><tr><td style="padding:3.75pt 0cm 3.75pt 0cm" valign="top"><br></td></tr></tbody></table><table style="width:450.0pt" width="600" border="0" cellpadding="0" cellspacing="0"><tbody><tr style="min-height:10.5pt"><td rowspan="3" style="width:173.25pt;padding:0cm 0cm 0cm 0cm;min-height:10.5pt" valign="top" width="231"><br></td><td style="padding:0cm 0cm 0cm 0cm;min-height:10.5pt" valign="top"><br></td></tr><tr style="min-height:42.75pt"><td style="padding:0cm 0cm 0cm 0cm;min-height:42.75pt" valign="top"><br></td></tr></tbody></table><span style="border-collapse:collapse;font-family:arial,sans-serif;font-size:13px"></span></div></div></div>
<br><div class="gmail_quote">On 13 January 2015 at 16:11, Ovidiu Sas <span dir="ltr"><<a href="mailto:osas@voipembedded.com" target="_blank">osas@voipembedded.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">The debug probe text should not explicitly specify the log level and<br>
the calling function.<br>
All that info is automatically handled/added by the LM_ macro.<br>
<br>
LM_DBG("received NOTIFY reply type [%d] and code [%d]\n", type, ps->code);<br>
<br>
-ovidiu<br>
<div class="HOEnZb"><div class="h5"><br>
On Tue, Jan 13, 2015 at 8:59 AM, Richard Good<br>
<<a href="mailto:richard.good@smilecoms.com">richard.good@smilecoms.com</a>> wrote:<br>
> Module: kamailio<br>
> Branch: master<br>
> Commit: 0e1b2bc99e04547b8a7482197412dc9b866eb320<br>
> URL: <a href="https://github.com/kamailio/kamailio/commit/0e1b2bc99e04547b8a7482197412dc9b866eb320" target="_blank">https://github.com/kamailio/kamailio/commit/0e1b2bc99e04547b8a7482197412dc9b866eb320</a><br>
><br>
> Author: Richard Good <<a href="mailto:richard.good@smilecoms.com">richard.good@smilecoms.com</a>><br>
> Committer: Richard Good <<a href="mailto:richard.good@smilecoms.com">richard.good@smilecoms.com</a>><br>
> Date: 2015-01-13T15:58:38+02:00<br>
><br>
> modules/ims_registrar_scscf: added logging of return code on NOTIFY response<br>
><br>
> ---<br>
><br>
> Modified: modules/ims_registrar_scscf/registrar_notify.c<br>
><br>
> ---<br>
><br>
> Diff:  <a href="https://github.com/kamailio/kamailio/commit/0e1b2bc99e04547b8a7482197412dc9b866eb320.diff" target="_blank">https://github.com/kamailio/kamailio/commit/0e1b2bc99e04547b8a7482197412dc9b866eb320.diff</a><br>
> Patch: <a href="https://github.com/kamailio/kamailio/commit/0e1b2bc99e04547b8a7482197412dc9b866eb320.patch" target="_blank">https://github.com/kamailio/kamailio/commit/0e1b2bc99e04547b8a7482197412dc9b866eb320.patch</a><br>
><br>
> ---<br>
><br>
> diff --git a/modules/ims_registrar_scscf/registrar_notify.c b/modules/ims_registrar_scscf/registrar_notify.c<br>
> index 5f131d9..1831b9f 100644<br>
> --- a/modules/ims_registrar_scscf/registrar_notify.c<br>
> +++ b/modules/ims_registrar_scscf/registrar_notify.c<br>
> @@ -1764,7 +1764,7 @@ str get_reginfo_partial(impurecord_t *r, ucontact_t *c, int event_type) {<br>
>   * Callback for the UAC response to NOTIFY<br>
>   */<br>
>  void uac_request_cb(struct cell *t, int type, struct tmcb_params * ps) {<br>
> -    LM_DBG("DBG:uac_request_cb: Type %d\n", type);<br>
> +    LM_DBG("DBG: uac_request_cb on response to NOTIFY: Type %d and code %d\n", type, ps->code);<br>
>  }<br>
><br>
>  static int free_tm_dlg(dlg_t * td) {<br>
><br>
><br>
> _______________________________________________<br>
> sr-dev mailing list<br>
> <a href="mailto:sr-dev@lists.sip-router.org">sr-dev@lists.sip-router.org</a><br>
> <a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev" target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev</a><br>
<br>
<br>
<br>
</div></div><span class="HOEnZb"><font color="#888888">--<br>
VoIP Embedded, Inc.<br>
<a href="http://www.voipembedded.com" target="_blank">http://www.voipembedded.com</a><br>
</font></span><div class="HOEnZb"><div class="h5"><br>
_______________________________________________<br>
sr-dev mailing list<br>
<a href="mailto:sr-dev@lists.sip-router.org">sr-dev@lists.sip-router.org</a><br>
<a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev" target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev</a><br>
</div></div></blockquote></div><br></div>

<br>
<span><font color="#888888"><pre>This email is subject to the disclaimer of Smile Communications at <a href="http://www.smilecoms.com/home/email-disclaimer/" target="_blank">http://www.smilecoms.com/home/<WBR>email-disclaimer/</a><a href="http://www.smilecoms.com/disclaimer" target="_blank"></a></pre></font></span>