<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 06/06/16 16:56, José Seabra wrote:<br>
</div>
<blockquote
cite="mid:CAEVZRWv+085HWTt2KP6avv3stAvut38Q058roYpY_x+zBOzDZw@mail.gmail.com"
type="cite">
<div dir="ltr">
<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>
<img src="cid:part1.BFB3D907.C51080D6@gmail.com" height="312"
width="444"><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>
</div>
</blockquote>
this looks like the way to try, imo.<br>
<br>
Cheers,<br>
Daniel<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>