<div dir="ltr">i forgot to mention i use PJSIP on my asterisk........</div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Feb 18, 2016 at 9:35 PM, Uri Shacked <span dir="ltr"><<a href="mailto:ushacked@gmail.com" target="_blank">ushacked@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi,<div><br></div><div>for some strange reason, ask my regulator.... i need to manipulate certain calls.</div><div>the scenario goes like this:</div><div><br></div><div>1. caller sends invite to kamailio.</div><div>2. kamailio transfer the call to asterisk.</div><div>3. asterisk send progress and play "hello".</div><div>4. asterisk creates a new call (dial) to the same kamailio with destination callee.</div><div>5. the callee answers the call.</div><div><br></div><div>here, i need to block the 200ok. so that the caller does not receive it.</div><div><br></div><div>i managed to block it with t_suspend().</div><div>but, there is no bidirectional media.</div><div>the 183 progress was sent with sendreceive.</div><div>it seems the asterisk is waiting for the ACK in order to open both ways for media.<br></div><div><br></div><div>i tried to use uac_send_req() but it is being sent with no to tag. and when i try manipulating the uac_req(turi) it does not help because it takes all the string i entered and wraps it with <>.</div><div><br></div><div>any ideas?</div><div><br></div><div>BR,</div><div>Uri</div></div>
</blockquote></div><br></div>