<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>Hi Daniel,<div><br></div><div>Thanks for the response, sorry I must of missed this!</div><div><br></div><div>I was thinking of using the t_uac_dlg command to generate the INFO message, but will this allow me to do it within an established INVITE dialog?</div><div><br></div><div>I am just worried that changing the CSEQ value will cause issues, so am I better looking to modify in a B2BUA rather than the proxy, or will the dialog module handle this?</div><div><br></div><div>Thanks</div><div><br></div><div>Jon</div><div><br></div><div><br><div><hr id="stopSpelling">To: sr-users@lists.sip-router.org<br>From: miconda@gmail.com<br>Date: Thu, 6 Oct 2016 12:41:32 +0200<br>Subject: Re: [SR-Users] Send SIP Info within a dialog using $uac_req(method)="INFO"<br><br>
  
    
  
  
    Hello,<BR>
    uac_req_send() is able to send only initial requests (with follow
      up on auth challenge). It doesn't expose the ability to send
      requests within a dialog -- the functions exist in c (tm module),
      but not availble in config.<BR>
    On the other hand, there should be a mi/rpc command exported by
      tm module that allows that -- it may be possible to do it from
      config file via jsonrpc-s module.<BR>
    Cheers,<br>
      Daniel<br>
    <BR>
    <br>
    <div class="ecxmoz-cite-prefix">On 29/09/16 21:41, Jonathan Hunter
      wrote:<br>
    </div>
    <blockquote cite="mid:DUB126-W205437B53CF9E170273F97BDCE0@phx.gbl">
      <style><!--
.ExternalClass .ecxhmmessage P {
padding:0px;
}

.ExternalClass body.ecxhmmessage {
font-size:12pt;
font-family:Calibri;
}

--></style>
      <div dir="ltr">
        <pre style="white-space:pre-wrap;">Hi Guys,</pre>
        <pre style="white-space:pre-wrap;"></pre>
        <pre style="white-space:pre-wrap;">Is it still the case that when using uac_req_send, you cant send withing a specific dialog?</pre>
        <pre style="white-space:pre-wrap;"><span style="font-family:Calibri, sans-serif;font-size:12pt;">I can modify call-id, but I presume tags may be more of a problem?</span></pre>
        <pre style="white-space:pre-wrap;">See old post below from 2015;</pre>
        <pre style="white-space:pre-wrap;"></pre>
        <pre style="white-space:pre-wrap;">><i> I am familiar with uac_req_send. but how do I send it with in a
</i>><i> specific dialog and with data in the INFO req ?
</i>sending a new request inside a dialog is not possible with
uac_req_send(). It is not easy over all because you change the sequence
order (CSeq value). Practically, you need to track how many requests you
sent from the middle to update (and restore in reply) when caller or
callee sends a new request.

dialog module can track changes in CSeq for requests sent to callee,
being used now for authentication of INVITE to another provider, when
Kamailio adds the credentials. But for more you would need to extend the
dialog module.

I just need to send a SIP info within an established dialog to stop some function up stream, so wondered if this is still a blocker?</pre>
        <pre style="white-space:pre-wrap;"></pre>
        <pre style="white-space:pre-wrap;">Many thanks</pre>
        <pre style="white-space:pre-wrap;"></pre>
        <pre style="white-space:pre-wrap;">Jon</pre>
        <pre style="white-space:pre-wrap;"></pre>
      </div>
      <br>
      <fieldset class="ecxmimeAttachmentHeader"></fieldset>
      <br>
      <pre>_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
<a class="ecxmoz-txt-link-abbreviated" href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a>
<a class="ecxmoz-txt-link-freetext" 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>
</pre>
    </blockquote>
    <br>
    <pre class="ecxmoz-signature">-- 
Daniel-Constantin Mierla
<a class="ecxmoz-txt-link-freetext" href="http://twitter.com/#%21/miconda" target="_blank">http://twitter.com/#!/miconda</a> - <a class="ecxmoz-txt-link-freetext" href="http://www.linkedin.com/in/miconda" target="_blank">http://www.linkedin.com/in/miconda</a>
Kamailio Advanced Training, Berlin, Oct 24-26, 2016 - <a class="ecxmoz-txt-link-freetext" href="http://www.asipto.com" target="_blank">http://www.asipto.com</a></pre>
  

<br>_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</div></div>                                     </div></body>
</html>