Hi Bobby,

If you want to match the transaction (and dialog) you should explicitly arm an "onreply_route" for the initial INVITE:

route {

   ...
   # here gets the initial INVITE
   create_dialog();
   t_on_reply("2"); # arm the onreply_route[2]
   ...

}

# fires when a reply is received for the initial INVITE
onreply_route[2] {

   $dlg_val(cisco) = "true";
   set_dlg_flag("3");
   ...

}

Please let us know if you find any problems.

Regards,

Razvan Crainea
OpenSIPS Developer

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

Reply via email to