Hi Alberto,
Most probably your CANCEL doesn't reach the GW since in SER script you don't process the INVITEs and CANCELs in the same way.
In your "PSTN evaluation" block, replace the if (method=="INVITE") with if (method=="INVITE" || method=="CANCEL") and see if it works.
Best regards, Marian
Alberto Cruz wrote:
Hi Marian Maybe you can give me a tip about this problem. I've been reading the tm module documentation to try to find if it is because I'm doing something wrong at routing but I'm really confused. I haven't found nothing at the INSTALL and README documentation from mediaproxy either.
I have analyzed the problem and I'm watching that from some reason when the UA send the CANCEL signal to the SER, the SER is not sending the CANCEL to the PSTN gateway like if the transaction was losing the location or the call id. I don't know if this is because something with the rewritehost function.
Thanks in advance.
Alberto Cruz