[OpenSIPS-Users] Dispatcher issue

michel freiha michofr at gmail.com
Sun Jan 25 22:26:42 CET 2009


Dear Bogdan,

When trying to make a call I got now the following error:

Jan 25 23:17:14 [25302] ERROR:core:validate_msg: Message has no Call-ID
header
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

Regards

On Sun, Jan 25, 2009 at 11:02 PM, michel freiha <michofr at gmail.com> wrote:

> Dear Bogdan,
>
> 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...
>
> I added the following function to opensips.cfg:
>
>
>     if(!cr_route("default", "0", "$rU", "$rU", "call_id")){
>
>        sl_send_reply("403", "Not allowed");
>      } else {
>          # In cas of failure, re-route the request
>           t_on_failure("1");
>           # Relay the request to the gateway
>            t_relay();
>    }
>
> When restarting opensips i got the following error:
>
>  25 22:51:48 [25007] ERROR:core:pv_parse_spec: bad parameters
> Jan 25 22:51:48 [25007] INFO:carrierroute:carrier_fixup: carrier tree
> default has id 3
> Jan 25 22:51:48 [25007] ERROR:core:pv_parse_spec: bad parameters
> Jan 25 22:51:48 [25007] DBG:core:fix_actions: fixing sl_send_reply, line
> 388
>
> Can you please help in that?
>
> I tried to use:
> if(!cr_route("default", "0", "$rU", "$rU", "call_id", "crc32")){
>
> But still getting the same problem
>
> Regards
>
> On Sat, Jan 24, 2009 at 8:47 PM, Bogdan-Andrei Iancu <
> bogdan at voice-system.ro> wrote:
>
>> Hi Michel,
>>
>> 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.
>>
>> Regards,
>> Bogdan
>>
>> michel freiha wrote:
>>
>>> Hi all,
>>>
>>> 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:
>>>
>>> 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
>>>
>>> Regards
>>>
>>>
>>> ------------------------------------------------------------------------
>>>
>>> _______________________________________________
>>> Users mailing list
>>> Users at lists.opensips.org
>>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>>
>>>
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.opensips.org/pipermail/users/attachments/20090125/25743885/attachment-0003.htm 


More information about the Users mailing list