<div dir="ltr">Dear Bogdan,<br><br>When trying to make a call I got now the following error:<br><br>Jan 25 23:17:14 [25302] ERROR:core:validate_msg: Message has no Call-ID header<br>Jan 25 23:17:14 [25302] ERROR:carrierroute:rewrite_on_rule: could not hash message with CRC32Jan 25 23:17:14 [25302] INFO:carrierroute:cr_do_route: rewrite_uri_recursor doesn't complete, uri 009613089187, carrier 3, domain<br>
<br>Regards<br><br><div class="gmail_quote">On Sun, Jan 25, 2009 at 11:02 PM, michel freiha <span dir="ltr"><<a href="mailto:michofr@gmail.com">michofr@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div dir="ltr">Dear Bogdan,<br><br>I changed my mind and need to use carrierroute instead of dispatcher because I'm sure that carrierroute will accomplish what i need to do...<br><br>I added the following function to opensips.cfg:<br>
<br><br> if(!cr_route("default", "0", "$rU", "$rU", "call_id")){<br><br> sl_send_reply("403", "Not allowed");<br> } else {<br> # In cas of failure, re-route the request<br>
t_on_failure("1");<br> # Relay the request to the gateway<br> t_relay();<br> }<br><br>When restarting opensips i got the following error:<br><br> 25 22:51:48 [25007] ERROR:core:pv_parse_spec: bad parameters<br>
Jan 25 22:51:48 [25007] INFO:carrierroute:carrier_fixup: carrier tree default has id 3<br>Jan 25 22:51:48 [25007] ERROR:core:pv_parse_spec: bad parameters<br>Jan 25 22:51:48 [25007] DBG:core:fix_actions: fixing sl_send_reply, line 388<br>
<br>Can you please help in that?<br><br>I tried to use:<br>if(!cr_route("default", "0", "$rU", "$rU", "call_id", "crc32")){<br><br>But still getting the same problem<br>
<br>Regards<br><br><div class="gmail_quote"><div class="Ih2E3d">On Sat, Jan 24, 2009 at 8:47 PM, Bogdan-Andrei Iancu <span dir="ltr"><<a href="mailto:bogdan@voice-system.ro" target="_blank">bogdan@voice-system.ro</a>></span> wrote:<br>
</div><div><div></div><div class="Wj3C7c"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi Michel,<br>
<br>
The error means you try to send a statefull reply from script (via t_reply) but there is no transaction already created (via t_newtran) - check in your request ruting section where you use t_reply and be sure you create the transaction before.<br>
<br>
Regards,<br>
Bogdan<br>
<br>
michel freiha wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><div></div><div>
Hi all,<br>
<br>
I'm using dispatcher module...When trying to make a call, the attempt is successfully sent to the SIP proxy defined in the database but I got the following error:<br>
<br>
When trying to make a call I got ERROR:tm:w_t_reply: failed to send a t_reply to a message for which no transaction-state has been established<br>
<br>
Regards<br>
<br>
<br></div></div>
------------------------------------------------------------------------<br>
<br>
_______________________________________________<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-bin/mailman/listinfo/users</a><br>
<br>
</blockquote>
<br>
</blockquote></div></div></div><br></div>
</blockquote></div><br></div>