Hola Iñaki,
PD: ¿Hay alguna razón para que un gateway te envíe un BYE acto seguido de responderle un INVITE con "200 OK" si no has enviado antes un "180" o "183"? Lo digo más que nada porque me está ocurriendo eso mismo, o sea, tengo que meter un 180/183 antes del 200 o el gateway me termina la llamada al instante ¿?
No debería pasar eso.
Pues te garantizo que ocurre. Llamo desde Telefónica al número PSTN, lo recibe un Asterisk que contesta directamente con 200 OK (sin 180 previo) y acto seguido el gateway me envía un BYE.
O sea:
Gatway Asterisk ----> INVITE <---- 100 Trying <---- 200 OK ----> ACK ----> BYE (al instante) <---- 200 OK
Si es el que me imagino, a ver que te dice Nuria ;)
Saludos JesusR.
------------------------------------ Jesus Rodriguez VozTelecom Sistemas, S.L. jesusr@voztele.com http://www.voztele.com Tel. 902360305 -------------------------------------