<div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">You don't have a closing </gateway> tag in that example. Not sure if<br>
that is your actual issue though.<br></blockquote><div><br></div><div>Umm, well that might be missing there, its not causing the problem. I've tried several approaches before posting. The only left is to debug. Like printing that "profile.username" string and if its really null or where did it get lost etc.</div>
<div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Have you reloaded the configuration/rescaned the sofia gateways since<br>
changing the file? Could you give us an example of the console log<br>
showing the fault, please?<br></blockquote><div><br></div><div>Yeah did that. This is the exact copy-paste of the relevant output:</div><div><br></div><div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
2012-08-03 01:02:19.768103 [NOTICE] sofia.c:2168 Waiting for worker thread<br>2012-08-03 01:02:19.768103 [NOTICE] sofia_glue.c:5574 deleted gateway <a href="http://example.com">example.com</a> from profile external<br>2012-08-03 01:02:19.768103 [NOTICE] sofia.c:4782 Started Profile external [sofia_reg_external]<br>
2012-08-03 01:02:19.788155 [ERR] sofia.c:2606 ERROR: username param is REQUIRED!<br>2012-08-03 01:02:19.788155 [NOTICE] sofia_reg.c:2904 Added gateway '<a href="http://example.com">example.com</a>' to profile 'external'</blockquote>
</div><div><br></div></div>-- <br>Sincerely,<br>Sazzad Bin Kamal<br><br>