| Quote: |
| So logically we will NEVER reach "exit" statement |
That is only true if operation A and B both exit the script by some means (relaying the message perhaps, or sending a negative response). if A and B just assign avp values or some other arbitrary task, the exit call will be reached.
| Quote: |
| "if (t_check_trans()) { do something }" wasn't clear to me. |
Well, its basically like saying "if the message is part of an existing transaction, then do some stuff, else do other stuff"