[OpenSIPS-Users] Dispatcher issue
Bogdan-Andrei Iancu
bogdan at voice-system.ro
Sun Jan 25 11:52:19 CET 2009
Hi Geoffrey,
in combination with t_relay(), you do not need to do anything special
for creating the transaction, as it will be automatically created
internally by t_relay(). But there is not the same behaviour for
t_reply() function - this function do expects to find the transaction
already created from the script (via t_newtran)....Probably all this
needs to be align to a unified and simplified behaviour.
Regards,
Bogdan
Geoffrey Mina wrote:
> Bogdan,
> Can you speak a bit on the t_newtran call and it's use as it
> corresponds to the dispatcher module? Currently I am doing something
> similar to:
>
> (greatly simplified for this email)
>
> route{
> if(is_method("INVITE")){
> ds_select_domain("1","4");
> t_on_reply("1");
> t_on_failure("1");
> t_relay();
> }
> }
>
> Am I missing a required call to t_newtran() in there?
>
> Thanks,
> Geoff
>
> On Sat, Jan 24, 2009 at 1: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
>>>
>>>
>> _______________________________________________
>> Users mailing list
>> Users at lists.opensips.org
>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>
>>
>
>
More information about the Users
mailing list