<div dir="ltr"><div><div>Thanks, I have added like this<br><br>if(is_method("INVITE")){<br>                set_dlg_profile("outbound_call");<br>                set_dlg_profile("caller","$fu");<br>        }<br><br></div>I need to add something to this. Correct me if I am wrong<br></div>Because while executing it is saying the error as:<br>0(10636) CRITICAL: dialog [dialog.c:365]: fixup_profile(): profile <outbound_call> not defined<br> 0(10636) ERROR: <core> [core/route.c:1154]: fix_actions(): fixing failed (code=-6) at cfg:/usr/local/etc/kamailio/config/kamailio_final.cfg:559<br> 0(10636) ERROR: <core> [core/route.c:1154]: fix_actions(): fixing failed (code=-6) at cfg:/usr/local/etc/kamailio/config/kamailio_final.cfg:564<br><br><br></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div>Thanks & Kind Regards,<br></div>Logeshwaran G<br></div></div></div>
<br><div class="gmail_quote">On Mon, Aug 21, 2017 at 1:57 PM, Alex Balashov <span dir="ltr"><<a href="mailto:abalashov@evaristesys.com" target="_blank">abalashov@evaristesys.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Mon, Aug 21, 2017 at 01:55:26PM +0530, Logeshwaran G wrote:<br>
<br>
> Yes Thanks, Also I have checked that command as well :<br>
><br>
>  kamcmd dlg.profile_get_size outbound<br>
><br>
> I am getting the below output as 0 calls.<br>
> [root@zeodialer kamailio]# kamcmd dlg.profile_get_size outbound_calls<br>
> error: 404 - Profile not found: outbound_calls<br>
><br>
> [root@zeodialer kamailio]# kamcmd dlg.profile_get_size outbound<br>
> 0<br>
><br>
> But There is 1 outgoing call is placed and continued.<br>
<br>
</span>That's because it doesn't know what an "outbound" call is.<br>
<br>
You need to:<br>
<br>
1) Define the profile:<br>
<br>
<a href="https://kamailio.org/docs/modules/5.0.x/modules/dialog.html#dialog.p.profiles_no_value" rel="noreferrer" target="_blank">https://kamailio.org/docs/<wbr>modules/5.0.x/modules/dialog.<wbr>html#dialog.p.profiles_no_<wbr>value</a><br>
<br>
2) Add the call to the profile:<br>
<br>
<a href="https://kamailio.org/docs/modules/5.0.x/modules/dialog.html#dialog.f.set_dlg_profile" rel="noreferrer" target="_blank">https://kamailio.org/docs/<wbr>modules/5.0.x/modules/dialog.<wbr>html#dialog.f.set_dlg_profile</a><br>
<span class="HOEnZb"><font color="#888888"><br>
-- Alex<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
--<br>
Alex Balashov | Principal | Evariste Systems LLC<br>
<br>
Tel: +1-706-510-6800 / +1-800-250-5920 (toll-free)<br>
Web: <a href="http://www.evaristesys.com/" rel="noreferrer" target="_blank">http://www.evaristesys.com/</a>, <a href="http://www.csrpswitch.com/" rel="noreferrer" target="_blank">http://www.csrpswitch.com/</a><br>
<br>
______________________________<wbr>_________________<br>
Kamailio (SER) - Users Mailing List<br>
<a href="mailto:sr-users@lists.kamailio.org">sr-users@lists.kamailio.org</a><br>
<a href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" rel="noreferrer" target="_blank">https://lists.kamailio.org/<wbr>cgi-bin/mailman/listinfo/sr-<wbr>users</a><br>
</div></div></blockquote></div><br></div>