<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <p>Hello,<br>
    </p>
    <br>
    <div class="moz-cite-prefix">On 14/06/16 16:33, José Seabra wrote:<br>
    </div>
    <blockquote
cite="mid:CAEVZRWsePA+Y6ppAf6D2MED52O1GXMpEgH4RK8qw0J0GgOPrqA@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div>
          <div>
            <div>
              <div>
                <div>Hi Olle and Daniel,<br>
                </div>
                Thank you for your replies, After receive your msg I
                looked again to my script and i found the problem.<br>
                <br>
              </div>
              I didn't configure the correct failure_route block and the
              failure route configured didn't print any msg on the logs,
              so I <span id="result_box" class="" lang="en"><span
                  class="">thought</span></span> that it wasn't entering
              on failure route.<br>
              <br>
            </div>
            Sorry for my mistake.<br>
            <br>
          </div>
          <div>Anyway, How should i handle the CANCEL sip msg to an
            INVITE that is suspended? (still related with this
            implementation)<br>
          </div>
        </div>
      </div>
    </blockquote>
    Just handling it as done in the default configuration file is ok --
    the suspended transaction will be canceled.<br>
    <br>
    Cheers,<br>
    Daniel<br>
    <blockquote
cite="mid:CAEVZRWsePA+Y6ppAf6D2MED52O1GXMpEgH4RK8qw0J0GgOPrqA@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div>
          <div><br>
            <br>
          </div>
          Thank you for your support.<br>
          <br>
        </div>
        Regards</div>
      <div class="gmail_extra"><br>
        <div class="gmail_quote">2016-06-14 14:52 GMT+01:00 Olle E.
          Johansson <span dir="ltr"><<a moz-do-not-send="true"
              href="mailto:oej@edvina.net" target="_blank">oej@edvina.net</a>></span>:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">
            <div style="word-wrap:break-word"><br>
              <div><span class="">
                  <blockquote type="cite">
                    <div>On 14 Jun 2016, at 15:45, José Seabra <<a
                        moz-do-not-send="true"
                        href="mailto:joseseabra4@gmail.com"
                        target="_blank"><a class="moz-txt-link-abbreviated" href="mailto:joseseabra4@gmail.com">joseseabra4@gmail.com</a></a>>
                      wrote:</div>
                    <br>
                    <div>
                      <div dir="ltr">
                        <div>
                          <div>
                            <div>
                              <div>Hello,<br>
                                <br>
                              </div>
                              Regarding to this implementation, I'm
                              sending SIP Subscribe message from
                              uac_req_send function to CNAM server but
                              it is unavailable and Kamailio doesn't
                              receive any reply from CNAM server, What
                              I'm noticing is that kamailio is
                              retransmitting the SIP Subscribe msg until
                              get "408 request time out".<br>
                              <br>
                            </div>
                            <div>In order to implement a failure_route
                              to this SIP Subscribe msg sent from
                              uac_req_send I put kamailio send this SIP
                              msg first to itself then kamailio set the
                              failure_route and send SIP Subscribe msg
                              to CNAM server using t_relay from script
                              configuration file, but kamailio still not
                              entering on failure_route block.<br>
                            </div>
                          </div>
                        </div>
                      </div>
                    </div>
                  </blockquote>
                </span>I am doing the same with SIP REGISTER and get
                into the failure route with a lot of different issues.
                Haven’t specifically tried with a local TM timeout, a
                locally generated 408 though. <span class=""><br>
                  <blockquote type="cite">
                    <div>
                      <div dir="ltr">
                        <div>
                          <div>
                            <div><br>
                              How can I set  failure_route to this SIP
                              Subscribe msg sent from uac_req_send()</div>
                          </div>
                        </div>
                      </div>
                    </div>
                  </blockquote>
                </span>SHould work with a normal failure route trigger
                in the script. </div>
              <div><br>
              </div>
              <div>Sounds very strange ...</div>
              <div><br>
              </div>
              <div>/O<br>
                <blockquote type="cite">
                  <div>
                    <div dir="ltr">
                      <div>
                        <div><br>
                        </div>
                        Regards<br>
                      </div>
                    </div>
                    <div class="gmail_extra"><br>
                      <div class="gmail_quote"><span class="">2016-06-07
                          22:06 GMT+01:00 José Seabra <span dir="ltr"><<a
                              moz-do-not-send="true"
                              href="mailto:joseseabra4@gmail.com"
                              target="_blank"><a class="moz-txt-link-abbreviated" href="mailto:joseseabra4@gmail.com">joseseabra4@gmail.com</a></a>></span>:<br>
                        </span>
                        <blockquote class="gmail_quote" style="margin:0
                          0 0 .8ex;border-left:1px #ccc
                          solid;padding-left:1ex"><span class="">
                            <div dir="ltr">Hello, 
                              <div><br>
                              </div>
                              <div>Thank you for the feedback.</div>
                              <div><br>
                              </div>
                              <div>BR</div>
                            </div>
                          </span>
                          <div class="gmail_extra">
                            <div>
                              <div><br>
                                <div class="gmail_quote"><span class="">2016-06-07
                                    8:38 GMT+01:00 Pavel Eremin <span
                                      dir="ltr"><<a
                                        moz-do-not-send="true"
                                        href="mailto:eremina.net@gmail.com"
                                        target="_blank"><a class="moz-txt-link-abbreviated" href="mailto:eremina.net@gmail.com">eremina.net@gmail.com</a></a>></span>:<br>
                                  </span>
                                  <blockquote class="gmail_quote"
                                    style="margin:0 0 0
                                    .8ex;border-left:1px #ccc
                                    solid;padding-left:1ex"><span
                                      class="">
                                      <div dir="ltr">
                                        <div>Hi,</div>
                                        <div><br>
                                        </div>
                                        We using PERL moodule and PERL
                                        script to do this.
                                        <div>Don't sure but, Kamailio
                                          will stop anyway when it sends
                                          www query and wating answer.</div>
                                        <div><br>
                                        </div>
                                      </div>
                                    </span>
                                    <div class="gmail_extra"><br>
                                      <div class="gmail_quote"><span
                                          class="">
                                          <div>
                                            <div>2016-06-06 19:56
                                              GMT+05:00 José Seabra <span
                                                dir="ltr"><<a
                                                  moz-do-not-send="true"
href="mailto:joseseabra4@gmail.com" target="_blank"><a class="moz-txt-link-abbreviated" href="mailto:joseseabra4@gmail.com">joseseabra4@gmail.com</a></a>></span>:<br>
                                            </div>
                                          </div>
                                        </span>
                                        <blockquote class="gmail_quote"
                                          style="margin:0 0 0
                                          .8ex;border-left:1px #ccc
                                          solid;padding-left:1ex">
                                          <div>
                                            <div>
                                              <div dir="ltr"><span
                                                  class="">
                                                  <div>Hello there,<br>
                                                  </div>
                                                  I need to use kamailio
                                                  to consult an CNAM
                                                  server in order to get
                                                  the caller id name and
                                                  number to the call,
                                                  the diagram bellow
                                                  represents what i need
                                                  implement:<br>
                                                  <br>
                                                </span><span><kamailio_CNAM.png></span>
                                                <div>
                                                  <div class="h5"><br>
                                                    ​<br clear="all">
                                                    <div>
                                                      <div>Can I 
                                                        implement this
                                                        behavior through
                                                        the following
                                                        kamailio
                                                        modules:<br>
                                                      </div>
                                                      <ol>
                                                        <li>tm and tmx
                                                          module (call
                                                          the function
                                                          t_suspend and
                                                          t_continue in
                                                          order to stop
                                                          INVITE
                                                          transaction
                                                          and resume
                                                          it).</li>
                                                        <li>UAC module
                                                          (generate the
                                                          SUBSCRIBE sip
                                                          message)</li>
                                                        <li>Some
                                                          kamailio
                                                          scripting
                                                          logic to
                                                          manage this
                                                          behavior.</li>
                                                      </ol>
                                                      <div>what are your
                                                        advices to
                                                        implement this
                                                        scenario?<br>
                                                        <br>
                                                      </div>
                                                      <div>Thank you for
                                                        your help<br>
                                                      </div>
                                                      <div><br>
                                                        Regards<span><font
color="#888888"><br>
                                                          <br>
                                                          </font></span></div>
                                                      <span><font
                                                          color="#888888">
                                                          <div><br>
                                                          </div>
                                                          <div><br>
                                                          </div>
                                                          <div>-- <br>
                                                          <div
                                                          data-smartmail="gmail_signature">Cumprimentos
                                                          <div>José
                                                          Seabra</div>
                                                          </div>
                                                          </div>
                                                        </font></span></div>
                                                  </div>
                                                </div>
                                              </div>
                                              <br>
                                            </div>
                                          </div>
                                          <div>
                                            <div class="h5">_______________________________________________<br>
                                              SIP Express Router (SER)
                                              and Kamailio (OpenSER) -
                                              sr-users mailing list<br>
                                              <a moz-do-not-send="true"
href="mailto:sr-users@lists.sip-router.org" target="_blank">sr-users@lists.sip-router.org</a><br>
                                              <a moz-do-not-send="true"
href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users"
                                                rel="noreferrer"
                                                target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a><br>
                                              <br>
                                            </div>
                                          </div>
                                        </blockquote>
                                      </div>
                                      <br>
                                    </div>
                                    <div>
                                      <div class="h5">
                                        <br>
_______________________________________________<br>
                                        SIP Express Router (SER) and
                                        Kamailio (OpenSER) - sr-users
                                        mailing list<br>
                                        <a moz-do-not-send="true"
                                          href="mailto:sr-users@lists.sip-router.org"
                                          target="_blank">sr-users@lists.sip-router.org</a><br>
                                        <a moz-do-not-send="true"
                                          href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users"
                                          rel="noreferrer"
                                          target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a><br>
                                        <br>
                                      </div>
                                    </div>
                                  </blockquote>
                                </div>
                                <br>
                                <br clear="all">
                                <span class="HOEnZb"><font
                                    color="#888888">
                                    <div><br>
                                    </div>
                                  </font></span></div>
                            </div>
                            <span class="HOEnZb"><font color="#888888"><span><font
                                    color="#888888">-- <br>
                                    <div
                                      data-smartmail="gmail_signature">Cumprimentos
                                      <div>José Seabra</div>
                                    </div>
                                  </font></span></font></span></div>
                          <span class="HOEnZb"><font color="#888888">
                            </font></span></blockquote>
                      </div>
                      <span class="HOEnZb"><font color="#888888"><br>
                          <br clear="all">
                          <br>
                          -- <br>
                          <div data-smartmail="gmail_signature">Cumprimentos
                            <div>José Seabra</div>
                          </div>
                        </font></span></div>
                    <div>
                      <div class="h5">
                        _______________________________________________<br>
                        SIP Express Router (SER) and Kamailio (OpenSER)
                        - sr-users mailing list<br>
                        <a moz-do-not-send="true"
                          href="mailto:sr-users@lists.sip-router.org"
                          target="_blank">sr-users@lists.sip-router.org</a><br>
                        <a moz-do-not-send="true"
                          href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users"
                          target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a><br>
                      </div>
                    </div>
                  </div>
                </blockquote>
              </div>
              <br>
            </div>
            <br>
            _______________________________________________<br>
            SIP Express Router (SER) and Kamailio (OpenSER) - sr-users
            mailing list<br>
            <a moz-do-not-send="true"
              href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a><br>
            <a moz-do-not-send="true"
              href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users"
              rel="noreferrer" target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a><br>
            <br>
          </blockquote>
        </div>
        <br>
        <br clear="all">
        <br>
        -- <br>
        <div class="gmail_signature" data-smartmail="gmail_signature">Cumprimentos
          <div>José Seabra</div>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a>
<a class="moz-txt-link-freetext" href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
    </blockquote>
    <br>
    <pre class="moz-signature" cols="72">-- 
Daniel-Constantin Mierla
<a class="moz-txt-link-freetext" href="http://www.asipto.com">http://www.asipto.com</a> - <a class="moz-txt-link-freetext" href="http://www.kamailio.org">http://www.kamailio.org</a>
<a class="moz-txt-link-freetext" href="http://twitter.com/#!/miconda">http://twitter.com/#!/miconda</a> - <a class="moz-txt-link-freetext" href="http://www.linkedin.com/in/miconda">http://www.linkedin.com/in/miconda</a></pre>
  </body>
</html>