[OpenSIPS-Users] Dialog duration accounting question
Apostolos Pantsiopoulos
regs at kinetix.gr
Thu Jan 20 16:14:44 CET 2011
Thank you!
I'll give it a try...
--
-------------------------------------------
Apostolos Pantsiopoulos
Kinetix Tele.com R & D
email: regs at kinetix.gr
-------------------------------------------
On 20/1/2011 4:50 μμ, Bogdan-Andrei Iancu wrote:
> ok, found the problem, a silly one . Dialog module needs loose_route to
> work, so you need a more formated script (as logic) (better take a look
> at the default opensips script):
>
> route {
>
> if(has_totag) {
> #sequential request
> loose_route();
> t_relay();
> }
>
> # initial request
> seturi("sip:333 at 192.168.253.55");
> record_route();
>
> append_branch("sip:333 at 192.168.253.10", "0.5");
> append_branch("sip:333 at 192.168.253.55", "0.5");
> serialize_branches(1);
> next_branches();
>
> t_on_failure("serial");
> create_dialog();
> setflag(1);
> setflag(2);
> setflag(3);
> t_relay();
> }
>
> has_totag() is from "uri" module.
>
> Regards,
> Bogdan
>
> Apostolos Pantsiopoulos wrote:
>> I don't know if you received my email with the attachment due to its
>> size.
>> I am sending it - personally to you - again.
>>
>>
>>
>
>
More information about the Users
mailing list