<div dir="ltr">Thanks 

<span style="font-size:12.8px;text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">Daniel!</span><div>I'm folow:   <a href="https://www.kamailio.org/docs/modules/stable/modules/dispatcher.html#dispatcher.ex.install" rel="noreferrer" target="_blank" style="color:rgb(17,85,204);font-size:12.8px;background-color:rgb(255,255,255)">https://www.kamailio.org/docs/<wbr>modules/stable/modules/<wbr>dispatcher.html#dispatcher.ex.<wbr>install</a>

</div><div>but my kamailio get errors: </div><div>parameter <dstid_avp> of type <1> not found in module <dispatcher></div><div>parameter <attrs_avp> of type <1> not found in module <dispatcher><br></div><div>parameter <sock_avp> of type <1> not found in module <dispatcher><br></div><div>parameter <cnt_avp> of type <1> not found in module <dispatcher><br></div><div>I have no infor how to fix it</div><div>Can you show me more detail about how to do:</div><div>     - <b>Fix error</b></div><div><b>     - S<span style="font-size:12.8px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">et the socket attribute to your private </span><span style="font-size:12.8px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">ip socket to do bridge from external to internal networks. </span></b></div><div><span style="font-size:12.8px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">                  (just add to "attrs(str,opt)", and in my situation, it is my private IP of 

<span style="text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">Kamailio server1</span>

? forexample: </span></div><div><span style="font-size:12.8px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">                             1 sip:<PublicIP>:<Port> 0 0 duid=kamilioserver1;socket=<protocol>:<KamailioServer1_PrivateIP>:<Port>;</span><span style="font-size:12.8px">my=xyz) (I don't understand what 

<span style="background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial">my=xyz mean..)</span></span></div><div><span style="font-size:12.8px"><b style="background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial">    - Do i have to do something in Kamailio server2 and KamailioServer3 (or just create kamailio database each server and synchronyze kamailio database between them?)</b></span></div><div><span style="font-size:12.8px"><b style="background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial">Thanks!</b></span></div><div><br></div><div>And thanks 

<span style="font-size:12.8px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">Mojtaba! I had read your recomment tutorial with OpenSIP, but do not know how to apply to my system. Have you got an other more clearly tutorial for this?</span></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jul 12, 2018 at 5:00 PM,  <span dir="ltr"><<a href="mailto:sr-users-request@lists.kamailio.org" target="_blank">sr-users-request@lists.kamailio.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Send sr-users mailing list submissions to<br>
        <a href="mailto:sr-users@lists.kamailio.org">sr-users@lists.kamailio.org</a><br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<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>
or, via email, send a message with subject or body 'help' to<br>
        <a href="mailto:sr-users-request@lists.kamailio.org">sr-users-request@lists.<wbr>kamailio.org</a><br>
<br>
You can reach the person managing the list at<br>
        <a href="mailto:sr-users-owner@lists.kamailio.org">sr-users-owner@lists.kamailio.<wbr>org</a><br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than "Re: Contents of sr-users digest..."<br>
<br>
<br>
Today's Topics:<br>
<br>
   1. UAC register (Ben Hood)<br>
   2. Re: UAC register (Daniel-Constantin Mierla)<br>
   3. Re: UAC register (Daniel-Constantin Mierla)<br>
   4. dispatcher module complete tutorial (SamSung TV)<br>
   5. Re: UAC register (Ben Hood)<br>
   6. Re: UAC register (Ben Hood)<br>
   7. Re: dispatcher module complete tutorial (Mojtaba)<br>
   8. Re: SIP/2.0 500 I'm terribly sorry,       server error occurred<br>
      (1/TM) (Aqs Younas)<br>
   9. Re: dispatcher module complete tutorial (Daniel-Constantin Mierla)<br>
  10. Re: UAC register (Daniel-Constantin Mierla)<br>
  11. Re: UAC register (Daniel-Constantin Mierla)<br>
  12. Re: SIP/2.0 500 I'm terribly sorry, server error occurred<br>
      (1/TM) (Daniel-Constantin Mierla)<br>
<br>
<br>
------------------------------<wbr>------------------------------<wbr>----------<br>
<br>
Message: 1<br>
Date: Wed, 11 Jul 2018 12:36:36 +0100<br>
From: Ben Hood <<a href="mailto:ben@relops.com">ben@relops.com</a>><br>
To: <a href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a><br>
Subject: [SR-Users] UAC register<br>
Message-ID: <<a href="mailto:7B1A15CF-7BCF-4BCC-8DF0-20E2906BA1DA@relops.com">7B1A15CF-7BCF-4BCC-8DF0-<wbr>20E2906BA1DA@relops.com</a>><br>
Content-Type: text/plain; charset="utf-8"<br>
<br>
Hi,<br>
<br>
I’m wondering if there is a flag somewhere in the UAC module config that prevents remote registration from happening.<br>
<br>
It looks like I’ve loaded the uacreg table but I can’t see any REGISTER methods being sent from Kamailio to the remote peer.<br>
<br>
The remote registrants are loaded using this config:<br>
<br>
listen=udp:<a href="http://172.16.176.150:5060" rel="noreferrer" target="_blank">172.16.176.150:5060</a><br>
<br>
loadmodule "db_postgres.so"<br>
loadmodule "kex.so"<br>
loadmodule "corex.so"<br>
loadmodule "tm.so"<br>
loadmodule "tmx.so"<br>
loadmodule "sl.so"<br>
loadmodule "rr.so"<br>
loadmodule "pv.so"<br>
loadmodule "maxfwd.so"<br>
loadmodule "textops.so"<br>
loadmodule "siputils.so"<br>
loadmodule "xlog.so"<br>
loadmodule "sanity.so"<br>
loadmodule "ctl.so"<br>
loadmodule "cfg_rpc.so"<br>
loadmodule "counters.so"<br>
loadmodule "uac.so"<br>
<br>
modparam("uac", "reg_db_url", DBURL)<br>
modparam("uac", "reg_contact_addr", “<a href="http://172.16.176.150:5060" rel="noreferrer" target="_blank">172.16.176.150:5060</a>")<br>
modparam("uac", "reg_db_table", "uacreg")<br>
modparam("uac", "reg_timer_interval", 10)<br>
modparam("uac", "reg_retry_interval", 10)<br>
<br>
request_route {<br>
  route(RELAY);<br>
}<br>
<br>
route[RELAY] {<br>
<br>
  t_on_reply("MANAGE_REPLY");<br>
<br>
  if (!t_relay()) {<br>
    sl_reply_error();<br>
  }<br>
  exit;<br>
}<br>
<br>
And it looks like this has been consumed by Kamailio:<br>
<br>
$ kamcmd uac.reg_dump<br>
{<br>
        l_uuid: 2cc6776d-61ed-4ea1-a3ae-<wbr>055f89bd4d3f<br>
        l_username: 126231943099723776<br>
        l_domain: 172.16.176.150<br>
        r_username: 1000<br>
        r_domain: 172.16.176.129<br>
        realm: 172.16.176.129<br>
        auth_username: 1000<br>
        auth_password: password<br>
        auth_proxy: sip:<a href="http://172.16.176.129:5080" rel="noreferrer" target="_blank">172.16.176.129:5080</a><br>
        expires: 0<br>
        flags: 0<br>
        diff_expires: -1531235076<br>
        timer_expires: 0<br>
        reg_init: 1531234841<br>
        reg_delay: 0<br>
}<br>
<br>
Doing a refresh successfully reloads the uacreg data<br>
<br>
$ kamcmd uac.reg_refresh 2cc6776d-61ed-4ea1-a3ae-<wbr>055f89bd4d3f<br>
<br>
I can get Kamailio to forward an OPTIONS message to the remote peer () to verify network connectivity, e.g. :<br>
<br>
$ru = "<a href="http://sip:1000@172.16.176.129:5080" rel="noreferrer" target="_blank">sip:1000@172.16.176.129:5080</a>"<wbr>;<br>
$fs = "udp:<a href="http://172.16.176.150:5060" rel="noreferrer" target="_blank">172.16.176.150:5060</a>";<br>
<br>
But Kamailio does not appear to generate REGISTER messages either after first boot or as a result of the manual refresh.<br>
<br>
This is using an instance of Kamailio 5.0.1. Should I try with a newer version?<br>
<br>
Is there a way to get extra debugging of the uac module?<br>
<br>
If I increase the debug verbosity, I get quite granular detail for the DB traffic, but the uac module doesn’t appear to emit much diagnostics.<br>
<br>
Many thanks,<br>
<br>
Ben<br>
<br>
<br>
<br>
<br>
<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://lists.kamailio.org/pipermail/sr-users/attachments/20180711/3f3f7069/attachment-0001.html" rel="noreferrer" target="_blank">http://lists.kamailio.org/<wbr>pipermail/sr-users/<wbr>attachments/20180711/3f3f7069/<wbr>attachment-0001.html</a>><br>
<br>
------------------------------<br>
<br>
Message: 2<br>
Date: Wed, 11 Jul 2018 18:11:41 +0200<br>
From: Daniel-Constantin Mierla <<a href="mailto:miconda@gmail.com">miconda@gmail.com</a>><br>
To: "Kamailio (SER) - Users Mailing List"<br>
        <<a href="mailto:sr-users@lists.kamailio.org">sr-users@lists.kamailio.org</a>>, Ben Hood <<a href="mailto:ben@relops.com">ben@relops.com</a>>,<br>
        <a href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a><br>
Subject: Re: [SR-Users] UAC register<br>
Message-ID: <<a href="mailto:72b0b243-998f-c400-0129-6692521d3ff8@gmail.com">72b0b243-998f-c400-0129-<wbr>6692521d3ff8@gmail.com</a>><br>
Content-Type: text/plain; charset="utf-8"<br>
<br>
Hello,<br>
<br>
is the 'expires' value in the db records greater than 0? It is shown 0<br>
in the rpc dump.<br>
<br>
Cheers,<br>
Daniel<br>
<br>
<br>
On 11.07.18 13:36, Ben Hood wrote:<br>
> Hi,<br>
><br>
> I’m wondering if there is a flag somewhere in the UAC module config<br>
> that prevents remote registration from happening.<br>
><br>
> It looks like I’ve loaded the uacreg table but I can’t see any<br>
> REGISTER methods being sent from Kamailio to the remote peer.<br>
><br>
> The remote registrants are loaded using this config:<br>
><br>
> listen=udp:<a href="http://172.16.176.150:5060" rel="noreferrer" target="_blank">172.16.176.150:5060</a><br>
><br>
> loadmodule "db_postgres.so"<br>
> loadmodule "kex.so"<br>
> loadmodule "corex.so"<br>
> loadmodule "tm.so"<br>
> loadmodule "tmx.so"<br>
> loadmodule "sl.so"<br>
> loadmodule "rr.so"<br>
> loadmodule "pv.so"<br>
> loadmodule "maxfwd.so"<br>
> loadmodule "textops.so"<br>
> loadmodule "siputils.so"<br>
> loadmodule "xlog.so"<br>
> loadmodule "sanity.so"<br>
> loadmodule "ctl.so"<br>
> loadmodule "cfg_rpc.so"<br>
> loadmodule "counters.so"<br>
> loadmodule "uac.so"<br>
><br>
> modparam("uac", "reg_db_url", DBURL)<br>
> modparam("uac", "reg_contact_addr", “<a href="http://172.16.176.150:5060" rel="noreferrer" target="_blank">172.16.176.150:5060</a>")<br>
> modparam("uac", "reg_db_table", "uacreg")<br>
> modparam("uac", "reg_timer_interval", 10)<br>
> modparam("uac", "reg_retry_interval", 10)<br>
><br>
> request_route {<br>
>   route(RELAY);<br>
> }<br>
><br>
> route[RELAY] {<br>
><br>
>   t_on_reply("MANAGE_REPLY");<br>
><br>
>   if (!t_relay()) {<br>
>     sl_reply_error();<br>
>   }<br>
>   exit;<br>
> }<br>
><br>
> And it looks like this has been consumed by Kamailio:<br>
><br>
> $ kamcmd uac.reg_dump<br>
> {<br>
> l_uuid: 2cc6776d-61ed-4ea1-a3ae-<wbr>055f89bd4d3f<br>
> l_username: 126231943099723776<br>
> l_domain: 172.16.176.150<br>
> r_username: 1000<br>
> r_domain: 172.16.176.129<br>
> realm: 172.16.176.129<br>
> auth_username: 1000<br>
> auth_password: password<br>
> auth_proxy: sip:<a href="http://172.16.176.129:5080" rel="noreferrer" target="_blank">172.16.176.129:5080</a><br>
> expires: 0<br>
> flags: 0<br>
> diff_expires: -1531235076<br>
> timer_expires: 0<br>
> reg_init: 1531234841<br>
> reg_delay: 0<br>
> }<br>
><br>
> Doing a refresh successfully reloads the uacreg data<br>
><br>
> $ kamcmd uac.reg_refresh 2cc6776d-61ed-4ea1-a3ae-<wbr>055f89bd4d3f<br>
><br>
> I can get Kamailio to forward an OPTIONS message to the remote peer ()<br>
> to verify network connectivity, e.g. :<br>
><br>
> $ru = "<a href="http://sip:1000@172.16.176.129:5080" rel="noreferrer" target="_blank">sip:1000@172.16.176.129:5080</a>"<wbr>;<br>
> $fs = "udp:<a href="http://172.16.176.150:5060" rel="noreferrer" target="_blank">172.16.176.150:5060</a>";<br>
><br>
> But Kamailio does not appear to generate REGISTER messages either<br>
> after first boot or as a result of the manual refresh.<br>
><br>
> This is using an instance of Kamailio 5.0.1. Should I try with a newer<br>
> version?<br>
><br>
> Is there a way to get extra debugging of the uac module?<br>
><br>
> If I increase the debug verbosity, I get quite granular detail for the<br>
> DB traffic, but the uac module doesn’t appear to emit much diagnostics.<br>
><br>
> Many thanks,<br>
><br>
> Ben<br>
><br>
><br>
><br>
><br>
><br>
><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>
<br>
-- <br>
Daniel-Constantin Mierla -- <a href="http://www.asipto.com" rel="noreferrer" target="_blank">www.asipto.com</a><br>
<a href="http://www.twitter.com/miconda" rel="noreferrer" target="_blank">www.twitter.com/miconda</a> -- <a href="http://www.linkedin.com/in/miconda" rel="noreferrer" target="_blank">www.linkedin.com/in/miconda</a><br>
Kamailio World Conference -- <a href="http://www.kamailioworld.com" rel="noreferrer" target="_blank">www.kamailioworld.com</a><br>
<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://lists.kamailio.org/pipermail/sr-users/attachments/20180711/ab4c3410/attachment-0002.html" rel="noreferrer" target="_blank">http://lists.kamailio.org/<wbr>pipermail/sr-users/<wbr>attachments/20180711/ab4c3410/<wbr>attachment-0002.html</a>><br>
<br>
------------------------------<br>
<br>
Message: 3<br>
Date: Wed, 11 Jul 2018 18:11:41 +0200<br>
From: Daniel-Constantin Mierla <<a href="mailto:miconda@gmail.com">miconda@gmail.com</a>><br>
To: "Kamailio (SER) - Users Mailing List"<br>
        <<a href="mailto:sr-users@lists.kamailio.org">sr-users@lists.kamailio.org</a>>, Ben Hood <<a href="mailto:ben@relops.com">ben@relops.com</a>>,<br>
        <a href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a><br>
Subject: Re: [SR-Users] UAC register<br>
Message-ID: <<a href="mailto:72b0b243-998f-c400-0129-6692521d3ff8@gmail.com">72b0b243-998f-c400-0129-<wbr>6692521d3ff8@gmail.com</a>><br>
Content-Type: text/plain; charset="utf-8"<br>
<br>
Hello,<br>
<br>
is the 'expires' value in the db records greater than 0? It is shown 0<br>
in the rpc dump.<br>
<br>
Cheers,<br>
Daniel<br>
<br>
<br>
On 11.07.18 13:36, Ben Hood wrote:<br>
> Hi,<br>
><br>
> I’m wondering if there is a flag somewhere in the UAC module config<br>
> that prevents remote registration from happening.<br>
><br>
> It looks like I’ve loaded the uacreg table but I can’t see any<br>
> REGISTER methods being sent from Kamailio to the remote peer.<br>
><br>
> The remote registrants are loaded using this config:<br>
><br>
> listen=udp:<a href="http://172.16.176.150:5060" rel="noreferrer" target="_blank">172.16.176.150:5060</a><br>
><br>
> loadmodule "db_postgres.so"<br>
> loadmodule "kex.so"<br>
> loadmodule "corex.so"<br>
> loadmodule "tm.so"<br>
> loadmodule "tmx.so"<br>
> loadmodule "sl.so"<br>
> loadmodule "rr.so"<br>
> loadmodule "pv.so"<br>
> loadmodule "maxfwd.so"<br>
> loadmodule "textops.so"<br>
> loadmodule "siputils.so"<br>
> loadmodule "xlog.so"<br>
> loadmodule "sanity.so"<br>
> loadmodule "ctl.so"<br>
> loadmodule "cfg_rpc.so"<br>
> loadmodule "counters.so"<br>
> loadmodule "uac.so"<br>
><br>
> modparam("uac", "reg_db_url", DBURL)<br>
> modparam("uac", "reg_contact_addr", “<a href="http://172.16.176.150:5060" rel="noreferrer" target="_blank">172.16.176.150:5060</a>")<br>
> modparam("uac", "reg_db_table", "uacreg")<br>
> modparam("uac", "reg_timer_interval", 10)<br>
> modparam("uac", "reg_retry_interval", 10)<br>
><br>
> request_route {<br>
>   route(RELAY);<br>
> }<br>
><br>
> route[RELAY] {<br>
><br>
>   t_on_reply("MANAGE_REPLY");<br>
><br>
>   if (!t_relay()) {<br>
>     sl_reply_error();<br>
>   }<br>
>   exit;<br>
> }<br>
><br>
> And it looks like this has been consumed by Kamailio:<br>
><br>
> $ kamcmd uac.reg_dump<br>
> {<br>
> l_uuid: 2cc6776d-61ed-4ea1-a3ae-<wbr>055f89bd4d3f<br>
> l_username: 126231943099723776<br>
> l_domain: 172.16.176.150<br>
> r_username: 1000<br>
> r_domain: 172.16.176.129<br>
> realm: 172.16.176.129<br>
> auth_username: 1000<br>
> auth_password: password<br>
> auth_proxy: sip:<a href="http://172.16.176.129:5080" rel="noreferrer" target="_blank">172.16.176.129:5080</a><br>
> expires: 0<br>
> flags: 0<br>
> diff_expires: -1531235076<br>
> timer_expires: 0<br>
> reg_init: 1531234841<br>
> reg_delay: 0<br>
> }<br>
><br>
> Doing a refresh successfully reloads the uacreg data<br>
><br>
> $ kamcmd uac.reg_refresh 2cc6776d-61ed-4ea1-a3ae-<wbr>055f89bd4d3f<br>
><br>
> I can get Kamailio to forward an OPTIONS message to the remote peer ()<br>
> to verify network connectivity, e.g. :<br>
><br>
> $ru = "<a href="http://sip:1000@172.16.176.129:5080" rel="noreferrer" target="_blank">sip:1000@172.16.176.129:5080</a>"<wbr>;<br>
> $fs = "udp:<a href="http://172.16.176.150:5060" rel="noreferrer" target="_blank">172.16.176.150:5060</a>";<br>
><br>
> But Kamailio does not appear to generate REGISTER messages either<br>
> after first boot or as a result of the manual refresh.<br>
><br>
> This is using an instance of Kamailio 5.0.1. Should I try with a newer<br>
> version?<br>
><br>
> Is there a way to get extra debugging of the uac module?<br>
><br>
> If I increase the debug verbosity, I get quite granular detail for the<br>
> DB traffic, but the uac module doesn’t appear to emit much diagnostics.<br>
><br>
> Many thanks,<br>
><br>
> Ben<br>
><br>
><br>
><br>
><br>
><br>
><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>
<br>
-- <br>
Daniel-Constantin Mierla -- <a href="http://www.asipto.com" rel="noreferrer" target="_blank">www.asipto.com</a><br>
<a href="http://www.twitter.com/miconda" rel="noreferrer" target="_blank">www.twitter.com/miconda</a> -- <a href="http://www.linkedin.com/in/miconda" rel="noreferrer" target="_blank">www.linkedin.com/in/miconda</a><br>
Kamailio World Conference -- <a href="http://www.kamailioworld.com" rel="noreferrer" target="_blank">www.kamailioworld.com</a><br>
<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://lists.kamailio.org/pipermail/sr-users/attachments/20180711/ab4c3410/attachment-0003.html" rel="noreferrer" target="_blank">http://lists.kamailio.org/<wbr>pipermail/sr-users/<wbr>attachments/20180711/ab4c3410/<wbr>attachment-0003.html</a>><br>
<br>
------------------------------<br>
<br>
Message: 4<br>
Date: Wed, 11 Jul 2018 21:04:57 +0700<br>
From: SamSung TV <<a href="mailto:samsungtv32inc@gmail.com">samsungtv32inc@gmail.com</a>><br>
To: <a href="mailto:sr-users@lists.kamailio.org">sr-users@lists.kamailio.org</a><br>
Subject: [SR-Users] dispatcher module complete tutorial<br>
Message-ID:<br>
        <CABjDKsEzuN9Hog=bYo+<wbr>K5gfoHjTwZ=<a href="mailto:dHOqMyYbEEgxYdxZsS%2Bg@mail.gmail.com">dHOqMyYbEEgxYdxZsS+<wbr>g@mail.gmail.com</a>><br>
Content-Type: text/plain; charset="utf-8"<br>
<br>
I want to use kamailio as load balancing server<br>
<br>
<br>
<br>
my topo:<br>
<br>
         (Private IP) Kamailio  server2<br>
<br>
          /<br>
<br>
         /<br>
(public iP)Kamailio server1(load balance)(Private IP)<br>
<br>
        \<br>
                                                                        \<br>
<br>
<br>
          (Private IP) Kamailio server1<br>
<br>
Any body can recomment me some tutorial to do this?<br>
Thanks any advance!<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://lists.kamailio.org/pipermail/sr-users/attachments/20180711/b222d309/attachment-0001.html" rel="noreferrer" target="_blank">http://lists.kamailio.org/<wbr>pipermail/sr-users/<wbr>attachments/20180711/b222d309/<wbr>attachment-0001.html</a>><br>
<br>
------------------------------<br>
<br>
Message: 5<br>
Date: Wed, 11 Jul 2018 23:11:23 +0100<br>
From: Ben Hood <<a href="mailto:ben@relops.com">ben@relops.com</a>><br>
To: Daniel-Constantin Mierla <<a href="mailto:miconda@gmail.com">miconda@gmail.com</a>><br>
Cc: <a href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a>, "Kamailio \(SER\) - Users Mailing<br>
        List" <<a href="mailto:sr-users@lists.kamailio.org">sr-users@lists.kamailio.org</a>><br>
Subject: Re: [SR-Users] UAC register<br>
Message-ID: <<a href="mailto:74D561E0-8F8E-4F74-B2A7-F54A8CF6706C@relops.com">74D561E0-8F8E-4F74-B2A7-<wbr>F54A8CF6706C@relops.com</a>><br>
Content-Type: text/plain; charset="utf-8"<br>
<br>
<br>
<br>
> On 11 Jul 2018, at 17:11, Daniel-Constantin Mierla <<a href="mailto:miconda@gmail.com">miconda@gmail.com</a>> wrote:<br>
> is the 'expires' value in the db records greater than 0? It is shown 0 in the rpc dump.<br>
> <br>
<br>
Yes, that was it.<br>
<br>
After setting the expires field to 360 and the reg_delay to 3, kamailio sent the REGISTER messages to the auth proxy:<br>
<br>
 7(9339) DEBUG: tm [uac.c:427]: t_uac_prepare(): next_hop=<sip:<a href="http://172.16.176.129:5080" rel="noreferrer" target="_blank">172.16.176.129:<wbr>5080</a>><br>
<br>
So now the uac module has successfully registered with the remote proxy.<br>
<br>
Many thanks for you help, very much appreciated :-)<br>
<br>
Ben<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://lists.kamailio.org/pipermail/sr-users/attachments/20180711/64396061/attachment-0002.html" rel="noreferrer" target="_blank">http://lists.kamailio.org/<wbr>pipermail/sr-users/<wbr>attachments/20180711/64396061/<wbr>attachment-0002.html</a>><br>
<br>
------------------------------<br>
<br>
Message: 6<br>
Date: Wed, 11 Jul 2018 23:11:23 +0100<br>
From: Ben Hood <<a href="mailto:ben@relops.com">ben@relops.com</a>><br>
To: Daniel-Constantin Mierla <<a href="mailto:miconda@gmail.com">miconda@gmail.com</a>><br>
Cc: <a href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a>, "Kamailio \(SER\) - Users Mailing<br>
        List" <<a href="mailto:sr-users@lists.kamailio.org">sr-users@lists.kamailio.org</a>><br>
Subject: Re: [SR-Users] UAC register<br>
Message-ID: <<a href="mailto:74D561E0-8F8E-4F74-B2A7-F54A8CF6706C@relops.com">74D561E0-8F8E-4F74-B2A7-<wbr>F54A8CF6706C@relops.com</a>><br>
Content-Type: text/plain; charset="utf-8"<br>
<br>
<br>
<br>
> On 11 Jul 2018, at 17:11, Daniel-Constantin Mierla <<a href="mailto:miconda@gmail.com">miconda@gmail.com</a>> wrote:<br>
> is the 'expires' value in the db records greater than 0? It is shown 0 in the rpc dump.<br>
> <br>
<br>
Yes, that was it.<br>
<br>
After setting the expires field to 360 and the reg_delay to 3, kamailio sent the REGISTER messages to the auth proxy:<br>
<br>
 7(9339) DEBUG: tm [uac.c:427]: t_uac_prepare(): next_hop=<sip:<a href="http://172.16.176.129:5080" rel="noreferrer" target="_blank">172.16.176.129:<wbr>5080</a>><br>
<br>
So now the uac module has successfully registered with the remote proxy.<br>
<br>
Many thanks for you help, very much appreciated :-)<br>
<br>
Ben<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://lists.kamailio.org/pipermail/sr-users/attachments/20180711/64396061/attachment-0003.html" rel="noreferrer" target="_blank">http://lists.kamailio.org/<wbr>pipermail/sr-users/<wbr>attachments/20180711/64396061/<wbr>attachment-0003.html</a>><br>
<br>
------------------------------<br>
<br>
Message: 7<br>
Date: Thu, 12 Jul 2018 11:16:04 +0430<br>
From: Mojtaba <<a href="mailto:mespio@gmail.com">mespio@gmail.com</a>><br>
To: "Kamailio (SER) - Users Mailing List"<br>
        <<a href="mailto:sr-users@lists.kamailio.org">sr-users@lists.kamailio.org</a>><br>
Subject: Re: [SR-Users] dispatcher module complete tutorial<br>
Message-ID:<br>
        <CABVi_EzdMTbrQDwxZbg6_CBHB-<wbr>DEqzKtk=<a href="mailto:pdS1tEKhBUmT%2BCcQ@mail.gmail.com">pdS1tEKhBUmT+CcQ@mail.<wbr>gmail.com</a>><br>
Content-Type: text/plain; charset="UTF-8"<br>
<br>
Hi,<br>
You could use this tutorial - Load Balancing in OpenSIPS. It is<br>
similar to Kamailio.<br>
<a href="http://www.opensips.org/Documentation/Tutorials-LoadBalancing-1-9" rel="noreferrer" target="_blank">http://www.opensips.org/<wbr>Documentation/Tutorials-<wbr>LoadBalancing-1-9</a><br>
With Regards<br>
Mojtaba<br>
<br>
On Wed, Jul 11, 2018 at 6:34 PM, SamSung TV <<a href="mailto:samsungtv32inc@gmail.com">samsungtv32inc@gmail.com</a>> wrote:<br>
> I want to use kamailio as load balancing server<br>
><br>
><br>
><br>
> my topo:<br>
><br>
> (Private IP) Kamailio  server2<br>
><br>
> /<br>
><br>
> /<br>
> (public iP)Kamailio server1(load balance)(Private IP)<br>
><br>
> \<br>
> \<br>
><br>
> (Private IP) Kamailio server1<br>
><br>
> Any body can recomment me some tutorial to do this?<br>
> Thanks any advance!<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>
><br>
<br>
<br>
<br>
-- <br>
--Mojtaba Esfandiari.S<br>
<br>
<br>
<br>
------------------------------<br>
<br>
Message: 8<br>
Date: Wed, 11 Jul 2018 22:15:49 +0500<br>
From: Aqs Younas <<a href="mailto:aqsyounas@gmail.com">aqsyounas@gmail.com</a>><br>
Cc: "Kamailio (SER) - Users Mailing List"<br>
        <<a href="mailto:sr-users@lists.kamailio.org">sr-users@lists.kamailio.org</a>><br>
Subject: Re: [SR-Users] SIP/2.0 500 I'm terribly sorry, server error<br>
        occurred (1/TM)<br>
Message-ID:<br>
        <<a href="mailto:CAGVOjVWEmYFheRg7Zy7PxdGXGqq9TujGibXvFjc7ywdxmbvBEw@mail.gmail.com">CAGVOjVWEmYFheRg7Zy7PxdGXGqq9<wbr>TujGibXvFjc7ywdxmbvBEw@mail.<wbr>gmail.com</a>><br>
Content-Type: text/plain; charset="utf-8"<br>
<br>
Sorry, if i could not explain it well before.  I hope below picture will<br>
make it clear.<br>
<br>
[image: image.png]<br>
<br>
is it some configuration issue?<br>
<br>
BTW what is the best way to call multiple async functions in kamailio.<br>
<br>
Any suggestion is much appreciated.<br>
<br>
Best Regards,<br>
<br>
Aqs Younas<br>
<br>
On Wed, 11 Jul 2018 at 12:39, Daniel-Constantin Mierla <<a href="mailto:miconda@gmail.com">miconda@gmail.com</a>><br>
wrote:<br>
<br>
> Hello,<br>
><br>
> On 10.07.18 22:08, Aqs Younas wrote:<br>
><br>
> Greeting list,<br>
><br>
> I am using two async functions(http_async_query) in configuration one for<br>
> authentication and other one for push notifications. I am also using tsilio<br>
> module to suspend the transaction and resumed it.<br>
><br>
> I am resetting this flag 'T_ASYNC_SUSPENDED' before suspending the<br>
> transaction. Everything is working fine except. When caller send CANCEL on<br>
> the call, kamailio successfully completes sip flow at callee(B party) side<br>
> but send back below packet towards caller.<br>
><br>
><br>
> what the above statement means? Kamailio forwarded the invite to callee,<br>
> got 200ok, but sends back the 200 response?<br>
><br>
> Cheers,<br>
> Daniel<br>
><br>
><br>
> 2018/07/10 19:47:41.125893 <a href="http://172.31.21.87:5060" rel="noreferrer" target="_blank">172.31.21.87:5060</a> -> <a href="http://39.38.156.111:59969" rel="noreferrer" target="_blank">39.38.156.111:59969</a><br>
> SIP/2.0 500 I'm terribly sorry, server error occurred (1/TM )<br>
> Via: SIP/2.0/UDP <a href="http://39.38.156.111:59969" rel="noreferrer" target="_blank">39.38.156.111:59969</a><br>
> ;branch=z9hG4bK-524287-1---<wbr>91c6114330fe6293;rport=59969<br>
> To: <<a href="mailto:sip%3A923335550609@sip.talkhomeappcall.com">sip:923335550609@sip.<wbr>talkhomeappcall.com</a><br>
> ;transport=UDP>;tag=<wbr>9fe2d4c84d97a4af81aa65ca8fc51b<wbr>3d-62cb<br>
> From: <<a href="mailto:sip%3A923135082344@sip.talkhomeappcall.com">sip:923135082344@sip.<wbr>talkhomeappcall.com</a><br>
> ;transport=UDP>;tag=d72eaf4c<br>
> Call-ID: VkAwxpSgkKSGn5dXaXgn5A..<br>
> CSeq: 2 INVITE<br>
> Content-Length: 0<br>
><br>
><br>
> root@sip:~# kamailio -V<br>
> version: kamailio 5.1.3 (x86_64/linux)<br>
> flags: STATS: Off, USE_TCP, USE_TLS, USE_SCTP, TLS_HOOKS, DISABLE_NAGLE,<br>
> USE_MCAST, DNS_IP_HACK, SHM_MEM, SHM_MMAP, PKG_MALLOC, Q_MALLOC, F_MALLOC,<br>
> TLSF_MALLOC, DBG_SR_MEMORY, USE_FUTEX, FAST_LOCK-ADAPTIVE_WAIT,<br>
> USE_DNS_CACHE, USE_DNS_FAILOVER, USE_NAPTR, USE_DST_BLACKLIST,<br>
> HAVE_RESOLV_RES<br>
> ADAPTIVE_WAIT_LOOPS=1024, MAX_RECV_BUFFER_SIZE 262144, MAX_LISTEN 16,<br>
> MAX_URI_SIZE 1024, BUF_SIZE 65535, DEFAULT PKG_SIZE 8MB<br>
> poll method support: poll, epoll_lt, epoll_et, sigio_rt, select.<br>
> id: unknown<br>
> compiled on 08:06:26 May  2 2018 with gcc 4.9.2<br>
><br>
><br>
> Could someone please help me out how to fix this. Cancels are handles<br>
> automatically so, i cannot hardcore anything to resolve it.<br>
><br>
> Best Regards,<br>
><br>
> Aqs Younas<br>
><br>
><br>
><br>
> ______________________________<wbr>_________________<br>
> Kamailio (SER) - Users Mailing Listsr-users@lists.kamailio.<wbr>orghttps://<a href="http://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" rel="noreferrer" target="_blank">lists.kamailio.org/<wbr>cgi-bin/mailman/listinfo/sr-<wbr>users</a><br>
><br>
><br>
> --<br>
> Daniel-Constantin Mierla -- <a href="http://www.asipto.comwww.twitter.com/miconda" rel="noreferrer" target="_blank">www.asipto.comwww.twitter.com/<wbr>miconda</a> -- <a href="http://www.linkedin.com/in/miconda" rel="noreferrer" target="_blank">www.linkedin.com/in/miconda</a><br>
> Kamailio World Conference -- <a href="http://www.kamailioworld.com" rel="noreferrer" target="_blank">www.kamailioworld.com</a><br>
><br>
><br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://lists.kamailio.org/pipermail/sr-users/attachments/20180711/df28b5f3/attachment-0001.html" rel="noreferrer" target="_blank">http://lists.kamailio.org/<wbr>pipermail/sr-users/<wbr>attachments/20180711/df28b5f3/<wbr>attachment-0001.html</a>><br>
-------------- next part --------------<br>
A non-text attachment was scrubbed...<br>
Name: image.png<br>
Type: image/png<br>
Size: 170854 bytes<br>
Desc: not available<br>
URL: <<a href="http://lists.kamailio.org/pipermail/sr-users/attachments/20180711/df28b5f3/attachment-0001.png" rel="noreferrer" target="_blank">http://lists.kamailio.org/<wbr>pipermail/sr-users/<wbr>attachments/20180711/df28b5f3/<wbr>attachment-0001.png</a>><br>
<br>
------------------------------<br>
<br>
Message: 9<br>
Date: Thu, 12 Jul 2018 09:53:58 +0200<br>
From: Daniel-Constantin Mierla <<a href="mailto:miconda@gmail.com">miconda@gmail.com</a>><br>
To: "Kamailio (SER) - Users Mailing List"<br>
        <<a href="mailto:sr-users@lists.kamailio.org">sr-users@lists.kamailio.org</a>>, SamSung TV <<a href="mailto:samsungtv32inc@gmail.com">samsungtv32inc@gmail.com</a>><br>
Subject: Re: [SR-Users] dispatcher module complete tutorial<br>
Message-ID: <<a href="mailto:6b75c763-8c7a-ef0b-463b-7a1c50c43ce5@gmail.com">6b75c763-8c7a-ef0b-463b-<wbr>7a1c50c43ce5@gmail.com</a>><br>
Content-Type: text/plain; charset="utf-8"<br>
<br>
Dispatcher module has a full sample config as well as guidelines about<br>
building your dispatcher list file:<br>
<br>
  -<br>
<a href="https://www.kamailio.org/docs/modules/stable/modules/dispatcher.html#dispatcher.ex.install" rel="noreferrer" target="_blank">https://www.kamailio.org/docs/<wbr>modules/stable/modules/<wbr>dispatcher.html#dispatcher.ex.<wbr>install</a><br>
<br>
As an extra hint, you have to set the socket attribute to your private<br>
ip socket to do bridge from external to internal networks.<br>
<br>
Cheers,<br>
Daniel<br>
<br>
<br>
On 11.07.18 16:04, SamSung TV wrote:<br>
> I want to use kamailio as load balancing server<br>
><br>
><br>
><br>
> my topo:   <br>
>                                                                      <br>
>                (Private IP) Kamailio  server2 <br>
>                                                                      <br>
>                 /<br>
>                                                                      <br>
>                /<br>
> (public iP)Kamailio server1(load balance)(Private IP)<br>
>                                                                      <br>
>               \                                                       <br>
>                                                                      <br>
>             \                               <br>
>                                                                      <br>
>                 (Private IP) Kamailio server1<br>
><br>
> Any body can recomment me some tutorial to do this?<br>
> Thanks any advance!<br>
><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>
<br>
-- <br>
Daniel-Constantin Mierla -- <a href="http://www.asipto.com" rel="noreferrer" target="_blank">www.asipto.com</a><br>
<a href="http://www.twitter.com/miconda" rel="noreferrer" target="_blank">www.twitter.com/miconda</a> -- <a href="http://www.linkedin.com/in/miconda" rel="noreferrer" target="_blank">www.linkedin.com/in/miconda</a><br>
Kamailio World Conference -- <a href="http://www.kamailioworld.com" rel="noreferrer" target="_blank">www.kamailioworld.com</a><br>
<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://lists.kamailio.org/pipermail/sr-users/attachments/20180712/cd9b28cd/attachment-0001.html" rel="noreferrer" target="_blank">http://lists.kamailio.org/<wbr>pipermail/sr-users/<wbr>attachments/20180712/cd9b28cd/<wbr>attachment-0001.html</a>><br>
<br>
------------------------------<br>
<br>
Message: 10<br>
Date: Thu, 12 Jul 2018 09:55:24 +0200<br>
From: Daniel-Constantin Mierla <<a href="mailto:miconda@gmail.com">miconda@gmail.com</a>><br>
To: Ben Hood <<a href="mailto:ben@relops.com">ben@relops.com</a>><br>
Cc: <a href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a>, "Kamailio \(SER\) - Users Mailing<br>
        List" <<a href="mailto:sr-users@lists.kamailio.org">sr-users@lists.kamailio.org</a>><br>
Subject: Re: [SR-Users] UAC register<br>
Message-ID: <<a href="mailto:07ed6aea-101f-d538-ff7a-87a7a51bff07@gmail.com">07ed6aea-101f-d538-ff7a-<wbr>87a7a51bff07@gmail.com</a>><br>
Content-Type: text/plain; charset="windows-1252"<br>
<br>
It should also work without setting reg_delay, however, reg_delay<br>
purpose it to spread the registrations not to be done all at the same<br>
time, so if you set it, try to use several values if you have many users.<br>
<br>
Cheers,<br>
Daniel<br>
<br>
<br>
On 12.07.18 00:11, Ben Hood wrote:<br>
><br>
><br>
>> On 11 Jul 2018, at 17:11, Daniel-Constantin Mierla <<a href="mailto:miconda@gmail.com">miconda@gmail.com</a><br>
>> <mailto:<a href="mailto:miconda@gmail.com">miconda@gmail.com</a>>> wrote:<br>
>><br>
>> is the 'expires' value in the db records greater than 0? It is shown<br>
>> 0 in the rpc dump.<br>
>><br>
><br>
> Yes, that was it.<br>
><br>
> After setting the expires field to 360 and the reg_delay to 3,<br>
> kamailio sent the REGISTER messages to the auth proxy:<br>
><br>
>  7(9339) DEBUG: tm [uac.c:427]: t_uac_prepare():<br>
> next_hop=<sip:<a href="http://172.16.176.129:5080" rel="noreferrer" target="_blank">172.16.176.129:<wbr>5080</a>><br>
><br>
> So now the uac module has successfully registered with the remote proxy.<br>
><br>
> Many thanks for you help, very much appreciated :-)<br>
><br>
> Ben<br>
<br>
-- <br>
Daniel-Constantin Mierla -- <a href="http://www.asipto.com" rel="noreferrer" target="_blank">www.asipto.com</a><br>
<a href="http://www.twitter.com/miconda" rel="noreferrer" target="_blank">www.twitter.com/miconda</a> -- <a href="http://www.linkedin.com/in/miconda" rel="noreferrer" target="_blank">www.linkedin.com/in/miconda</a><br>
Kamailio World Conference -- <a href="http://www.kamailioworld.com" rel="noreferrer" target="_blank">www.kamailioworld.com</a><br>
<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://lists.kamailio.org/pipermail/sr-users/attachments/20180712/465b0bf6/attachment-0002.html" rel="noreferrer" target="_blank">http://lists.kamailio.org/<wbr>pipermail/sr-users/<wbr>attachments/20180712/465b0bf6/<wbr>attachment-0002.html</a>><br>
<br>
------------------------------<br>
<br>
Message: 11<br>
Date: Thu, 12 Jul 2018 09:55:24 +0200<br>
From: Daniel-Constantin Mierla <<a href="mailto:miconda@gmail.com">miconda@gmail.com</a>><br>
To: Ben Hood <<a href="mailto:ben@relops.com">ben@relops.com</a>><br>
Cc: <a href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a>, "Kamailio \(SER\) - Users Mailing<br>
        List" <<a href="mailto:sr-users@lists.kamailio.org">sr-users@lists.kamailio.org</a>><br>
Subject: Re: [SR-Users] UAC register<br>
Message-ID: <<a href="mailto:07ed6aea-101f-d538-ff7a-87a7a51bff07@gmail.com">07ed6aea-101f-d538-ff7a-<wbr>87a7a51bff07@gmail.com</a>><br>
Content-Type: text/plain; charset="windows-1252"<br>
<br>
It should also work without setting reg_delay, however, reg_delay<br>
purpose it to spread the registrations not to be done all at the same<br>
time, so if you set it, try to use several values if you have many users.<br>
<br>
Cheers,<br>
Daniel<br>
<br>
<br>
On 12.07.18 00:11, Ben Hood wrote:<br>
><br>
><br>
>> On 11 Jul 2018, at 17:11, Daniel-Constantin Mierla <<a href="mailto:miconda@gmail.com">miconda@gmail.com</a><br>
>> <mailto:<a href="mailto:miconda@gmail.com">miconda@gmail.com</a>>> wrote:<br>
>><br>
>> is the 'expires' value in the db records greater than 0? It is shown<br>
>> 0 in the rpc dump.<br>
>><br>
><br>
> Yes, that was it.<br>
><br>
> After setting the expires field to 360 and the reg_delay to 3,<br>
> kamailio sent the REGISTER messages to the auth proxy:<br>
><br>
>  7(9339) DEBUG: tm [uac.c:427]: t_uac_prepare():<br>
> next_hop=<sip:<a href="http://172.16.176.129:5080" rel="noreferrer" target="_blank">172.16.176.129:<wbr>5080</a>><br>
><br>
> So now the uac module has successfully registered with the remote proxy.<br>
><br>
> Many thanks for you help, very much appreciated :-)<br>
><br>
> Ben<br>
<br>
-- <br>
Daniel-Constantin Mierla -- <a href="http://www.asipto.com" rel="noreferrer" target="_blank">www.asipto.com</a><br>
<a href="http://www.twitter.com/miconda" rel="noreferrer" target="_blank">www.twitter.com/miconda</a> -- <a href="http://www.linkedin.com/in/miconda" rel="noreferrer" target="_blank">www.linkedin.com/in/miconda</a><br>
Kamailio World Conference -- <a href="http://www.kamailioworld.com" rel="noreferrer" target="_blank">www.kamailioworld.com</a><br>
<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://lists.kamailio.org/pipermail/sr-users/attachments/20180712/465b0bf6/attachment-0003.html" rel="noreferrer" target="_blank">http://lists.kamailio.org/<wbr>pipermail/sr-users/<wbr>attachments/20180712/465b0bf6/<wbr>attachment-0003.html</a>><br>
<br>
------------------------------<br>
<br>
Message: 12<br>
Date: Thu, 12 Jul 2018 09:56:22 +0200<br>
From: Daniel-Constantin Mierla <<a href="mailto:miconda@gmail.com">miconda@gmail.com</a>><br>
To: "Kamailio (SER) - Users Mailing List"<br>
        <<a href="mailto:sr-users@lists.kamailio.org">sr-users@lists.kamailio.org</a>>, Aqs Younas <<a href="mailto:aqsyounas@gmail.com">aqsyounas@gmail.com</a>><br>
Subject: Re: [SR-Users] SIP/2.0 500 I'm terribly sorry, server error<br>
        occurred (1/TM)<br>
Message-ID: <<a href="mailto:306d7a97-cdfb-08dc-575b-552b20f38ed9@gmail.com">306d7a97-cdfb-08dc-575b-<wbr>552b20f38ed9@gmail.com</a>><br>
Content-Type: text/plain; charset="utf-8"<br>
<br>
Have you looked at log messages, any errors?<br>
<br>
If not, then run with debug=3 in kamailio config and send full log<br>
messages for such call.<br>
<br>
Cheers,<br>
Daniel<br>
<br>
<br>
On 11.07.18 19:15, Aqs Younas wrote:<br>
> Sorry, if i could not explain it well before.  I hope below picture<br>
> will make it clear. <br>
><br>
> ...<br>
><br>
> is it some configuration issue? <br>
><br>
> BTW what is the best way to call multiple async functions in kamailio. <br>
><br>
> Any suggestion is much appreciated. <br>
><br>
> Best Regards, <br>
><br>
> Aqs Younas<br>
><br>
> On Wed, 11 Jul 2018 at 12:39, Daniel-Constantin Mierla<br>
> <<a href="mailto:miconda@gmail.com">miconda@gmail.com</a> <mailto:<a href="mailto:miconda@gmail.com">miconda@gmail.com</a>>> wrote:<br>
><br>
>     Hello,<br>
><br>
><br>
>     On 10.07.18 22:08, Aqs Younas wrote:<br>
>>     Greeting list, <br>
>><br>
>>     I am using two async functions(http_async_query) in configuration<br>
>>     one for authentication and other one for push notifications. I am<br>
>>     also using tsilio module to suspend the transaction and resumed it.  <br>
>><br>
>>     I am resetting this flag 'T_ASYNC_SUSPENDED' before suspending<br>
>>     the transaction. Everything is working fine except. When caller<br>
>>     send CANCEL on the call, kamailio successfully completes sip flow<br>
>>     at callee(B party) side but send back below packet towards caller.<br>
><br>
>     what the above statement means? Kamailio forwarded the invite to<br>
>     callee, got 200ok, but sends back the 200 response?<br>
><br>
>     Cheers,<br>
>     Daniel<br>
><br>
>>      <br>
>>     2018/07/10 19:47:41.125893 <a href="http://172.31.21.87:5060" rel="noreferrer" target="_blank">172.31.21.87:5060</a><br>
>>     <<a href="http://172.31.21.87:5060" rel="noreferrer" target="_blank">http://172.31.21.87:5060</a>> -> <a href="http://39.38.156.111:59969" rel="noreferrer" target="_blank">39.38.156.111:59969</a><br>
>>     <<a href="http://39.38.156.111:59969" rel="noreferrer" target="_blank">http://39.38.156.111:59969</a>><br>
>>     SIP/2.0 500 I'm terribly sorry, server error occurred (1/TM )<br>
>>     Via: SIP/2.0/UDP<br>
>>     39.38.156.111:59969;branch=<wbr>z9hG4bK-524287-1---<wbr>91c6114330fe6293;rport=59969<br>
>>     To: <<a href="mailto:sip%3A923335550609@sip.talkhomeappcall.com">sip:923335550609@sip.<wbr>talkhomeappcall.com</a><br>
>>     <mailto:<a href="mailto:sip%253A923335550609@sip.talkhomeappcall.com">sip%3A923335550609@<wbr>sip.talkhomeappcall.com</a>>;<wbr>transport=UDP>;tag=<wbr>9fe2d4c84d97a4af81aa65ca8fc51b<wbr>3d-62cb<br>
>>     From: <<a href="mailto:sip%3A923135082344@sip.talkhomeappcall.com">sip:923135082344@sip.<wbr>talkhomeappcall.com</a><br>
>>     <mailto:<a href="mailto:sip%253A923135082344@sip.talkhomeappcall.com">sip%3A923135082344@<wbr>sip.talkhomeappcall.com</a>>;<wbr>transport=UDP>;tag=d72eaf4c<br>
>>     Call-ID: VkAwxpSgkKSGn5dXaXgn5A..<br>
>>     CSeq: 2 INVITE<br>
>>     Content-Length: 0<br>
>><br>
>><br>
>>     root@sip:~# kamailio -V<br>
>>     version: kamailio 5.1.3 (x86_64/linux)<br>
>>     flags: STATS: Off, USE_TCP, USE_TLS, USE_SCTP, TLS_HOOKS,<br>
>>     DISABLE_NAGLE, USE_MCAST, DNS_IP_HACK, SHM_MEM, SHM_MMAP,<br>
>>     PKG_MALLOC, Q_MALLOC, F_MALLOC, TLSF_MALLOC, DBG_SR_MEMORY,<br>
>>     USE_FUTEX, FAST_LOCK-ADAPTIVE_WAIT, USE_DNS_CACHE,<br>
>>     USE_DNS_FAILOVER, USE_NAPTR, USE_DST_BLACKLIST, HAVE_RESOLV_RES<br>
>>     ADAPTIVE_WAIT_LOOPS=1024, MAX_RECV_BUFFER_SIZE 262144, MAX_LISTEN<br>
>>     16, MAX_URI_SIZE 1024, BUF_SIZE 65535, DEFAULT PKG_SIZE 8MB<br>
>>     poll method support: poll, epoll_lt, epoll_et, sigio_rt, select.<br>
>>     id: unknown<br>
>>     compiled on 08:06:26 May  2 2018 with gcc 4.9.2<br>
>><br>
>><br>
>>     Could someone please help me out how to fix this. Cancels are<br>
>>     handles automatically so, i cannot hardcore anything to resolve it. <br>
>><br>
>>     Best Regards, <br>
>><br>
>>     Aqs Younas<br>
>><br>
>><br>
>><br>
>>     ______________________________<wbr>_________________<br>
>>     Kamailio (SER) - Users Mailing List<br>
>>     <a href="mailto:sr-users@lists.kamailio.org">sr-users@lists.kamailio.org</a> <mailto:<a href="mailto:sr-users@lists.kamailio.org">sr-users@lists.<wbr>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>
><br>
>     -- <br>
>     Daniel-Constantin Mierla -- <a href="http://www.asipto.com" rel="noreferrer" target="_blank">www.asipto.com</a> <<a href="http://www.asipto.com" rel="noreferrer" target="_blank">http://www.asipto.com</a>><br>
>     <a href="http://www.twitter.com/miconda" rel="noreferrer" target="_blank">www.twitter.com/miconda</a> <<a href="http://www.twitter.com/miconda" rel="noreferrer" target="_blank">http://www.twitter.com/<wbr>miconda</a>> -- <a href="http://www.linkedin.com/in/miconda" rel="noreferrer" target="_blank">www.linkedin.com/in/miconda</a> <<a href="http://www.linkedin.com/in/miconda" rel="noreferrer" target="_blank">http://www.linkedin.com/in/<wbr>miconda</a>><br>
>     Kamailio World Conference -- <a href="http://www.kamailioworld.com" rel="noreferrer" target="_blank">www.kamailioworld.com</a> <<a href="http://www.kamailioworld.com" rel="noreferrer" target="_blank">http://www.kamailioworld.com</a>><br>
><br>
><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>
<br>
-- <br>
Daniel-Constantin Mierla -- <a href="http://www.asipto.com" rel="noreferrer" target="_blank">www.asipto.com</a><br>
<a href="http://www.twitter.com/miconda" rel="noreferrer" target="_blank">www.twitter.com/miconda</a> -- <a href="http://www.linkedin.com/in/miconda" rel="noreferrer" target="_blank">www.linkedin.com/in/miconda</a><br>
Kamailio World Conference -- <a href="http://www.kamailioworld.com" rel="noreferrer" target="_blank">www.kamailioworld.com</a><br>
<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://lists.kamailio.org/pipermail/sr-users/attachments/20180712/e2363e95/attachment-0001.html" rel="noreferrer" target="_blank">http://lists.kamailio.org/<wbr>pipermail/sr-users/<wbr>attachments/20180712/e2363e95/<wbr>attachment-0001.html</a>><br>
<br>
------------------------------<br>
<br>
Subject: Digest Footer<br>
<br>
______________________________<wbr>_________________<br>
sr-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>
<br>
<br>
------------------------------<br>
<br>
End of sr-users Digest, Vol 158, Issue 12<br>
******************************<wbr>***********<br>
</blockquote></div><br></div>