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:[email protected]");
      record_route();

      append_branch("sip:[email protected]", "0.5");
      append_branch("sip:[email protected]", "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.





--
Bogdan-Andrei Iancu
OpenSIPS Event - expo, conf, social, bootcamp
2 - 4 February 2011, ITExpo, Miami,  USA
OpenSIPS solutions and "know-how"


_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to