Hello,
Is it possible to use openSER as TCP <--> UDP convertor?
I have this working to a certain extent.
1) UA -> TCP INV -> openSER -> UDP INV -> Carrier 2) UA <- TCP 200 <- openSER <- UDP 200 <- Carrier 3) UA -> TCP ACK -> openSER -> UDP ACK -> Carrier
Setup transaction works like it should.
My question is about subsequent transactions. In the 200 from Carrier (2) a parameter of transport=udp is set on the contact header.
Now if the UA is running in an automatic protocol mode ( this would be UA specific ), It honors the transport=udp param and sends a BYE or re-Invite as UDP
4) UA -> UDP BYE -> openSER -> UDP BYE -> Carrier 5) UA <- UDP 200 <- openSER <- UDP 200 <- Carrier
Is there a way to re-write the transport= param in the contact header of the 200 ( msg 2 ) so it says transport=tcp Which would then allow the subsequent request messages from UA to be sent tcp?
Would doing this break the rfc?
Is anyone using openSER to accomplish similar protocol conversion?
Thanks,
T.R.