<div>I have a real case, when I need to break b2b dialog.</div><div><br></div>For example. Before send b2b packet, I read values from cachedb and add tags in INVITE. If cachedb don&#39;t answer or value not found, I should break dialog and send reply back. But I cannot. Maybe it would be helpful, if I would call some command, which deletes (breaks) b2b dialog.<div>
<br clear="all">--<br>Nick<br><br><div class="gmail_quote">2012/3/29 Bogdan-Andrei Iancu <span dir="ltr">&lt;<a href="mailto:bogdan@opensips.org">bogdan@opensips.org</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi Nick,<br>
<br>
Once again - do you have a real case of a such error or dialog broken you want to &quot;fix&quot; ? I&#39;m just asking because the approach you are looking for does not seem natural for me :)<br>
<br>
Regards,<br>
Bogdan<div class="HOEnZb"><div class="h5"><br>
<br>
On 03/28/2012 09:03 AM, Nick wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I need to drop some packets in local route due to internal errors,<br>
when b2b dialog already broken.<br>
<br>
It would be great possibility also to generate replies from local<br>
route in that cases.<br>
<br>
--<br>
Nick<br>
<br>
<br>
<br>
2012/3/23 Bogdan-Andrei Iancu&lt;<a href="mailto:bogdan@opensips.org" target="_blank">bogdan@opensips.org</a>&gt;:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi Nick,<br>
<br>
The b2b_request|reply routes are used to see the inbound traffic (related to<br>
the b2bua sessions) and they do not allow you to drop the messages.<br>
<br>
Now, why do you want to route in locale route ? routing (in regards to b2b)<br>
should be done in the scenario of the b2b - you should not try to drop<br>
requests / replies generated by b2b as that will break the internal logic of<br>
the b2b.<br>
<br>
Maybe you can detail a bit what you try to accomplish and might advice on a<br>
better way to do it.<br>
<br>
Regards,<br>
Bogdan<br>
<br>
<br>
<br>
On 03/23/2012 11:09 AM, Nick wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
When I&#39;d like drop something, that generated by b2b_logic module. I<br>
don&#39;t know can I drop such packet in b2b_request route or not (I think<br>
that answer is no), but I need to drop it in local route, where placed<br>
all of my b2b routing logic because I need to change $du, but $du<br>
changed in b2b_request route ignored and I change it in local route.<br>
<br>
--<br>
Nick<br>
<br>
<br>
2012/3/23 Bogdan-Andrei Iancu&lt;<a href="mailto:bogdan@opensips.org" target="_blank">bogdan@opensips.org</a>&gt;:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi Nick,<br>
<br>
Theoretically speaking, something like that would be possible to<br>
implement -<br>
but can you give me an example of why you should do that ?<br>
<br>
Regards,<br>
Bogdan<br>
<br>
<br>
On 03/23/2012 07:19 AM, Nick wrote:<br>
<br>
drop() command doesn&#39;t work in local route. Is it possible to add this?<br>
<br>
--<br>
Nick<br>
<br>
<br>
______________________________<u></u>_________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-<u></u>bin/mailman/listinfo/users</a><br>
<br>
<br>
<br>
--<br>
Bogdan-Andrei Iancu<br>
OpenSIPS Founder and Developer<br>
<a href="http://www.opensips-solutions.com" target="_blank">http://www.opensips-solutions.<u></u>com</a><br>
</blockquote></blockquote>
<br>
<br>
--<br>
Bogdan-Andrei Iancu<br>
OpenSIPS Founder and Developer<br>
<a href="http://www.opensips-solutions.com" target="_blank">http://www.opensips-solutions.<u></u>com</a><br>
<br>
</blockquote></blockquote>
<br>
<br>
-- <br>
Bogdan-Andrei Iancu<br>
OpenSIPS Founder and Developer<br>
<a href="http://www.opensips-solutions.com" target="_blank">http://www.opensips-solutions.<u></u>com</a><br>
<br>
</div></div></blockquote></div><br></div>