2010/3/20 Iñaki Baz Castillo ibc@aliax.net:
Ok, good and bad news: I've re-read the entire thread and realized of the following complex case:
UA1 --> P1 --> P2 --> P1 --> UA2 Now, UA2 rejects the call, but P2 decides to reroute the call to an IVR UA1 --> P1 --> P2 --> IVR What will be the state of the dialog on P1?
So I've changed the wiki page in order to expose a single dialog approach when spiral occurs. It's definitely better as you said. However I've found an important bug which is not solved in any of the suggested proposals.
Please check the new "spiral" example I've writen (the same as the above complex flow) in which the new issue arises and let me know your opinion for the proposed fix:
http://www.kamailio.org/dokuwiki/doku.php/dialog-stateful:new-dialog-module-...
Well, I'm very happy as I've improved the specification in order to fix the above complex case. Please check it, it should allow *any* exotic case, if not it's a bug.
http://www.kamailio.org/dokuwiki/doku.php/dialog-stateful:new-dialog-module-...
Regards.