I checked using the kamcmd command and I see the webrtc connection active. The ACK comes from the webrtc client but somehow kamailio is unable to create a via header and forward the request. The ACK coming from webrtc client is as follows:
SEND: ACK sip:1223@126.128.68.8:5065;transport=udp SIP/2.0
Via: SIP/2.0/WS df7jal23ls0d.invalid;branch=z9hG4bKJ0Qsiuh94B2slPLp19qH;rport
Contact: "Jayesh"<sip:1000001001@df7jal23ls0d.invalid;rtcweb-breaker=no;click2call=no;transport=ws>;+g.oma.sip-im;+sip.ice;language="en,fr"
Call-ID: 2c76d5ee-e9d0-7f22-8be2-76e80b4ab48b
CSeq: 42684 ACK
Content-Length: 0
Route: <sip:126.128.68.9:5060;lr;sipml5-outbound;transport=udp>
Max-Forwards: 70
Proxy-Authorization: Digest username="1000001001",realm="
ghanti.com",nonce="UcFsQ1HBaxc84k4N1J00fpVDj9G57x5p",uri="sip:1223@126.128.68.8:5065;transport=udp",response="5b18a2182c335315875224f2244fb48b",algorithm=MD5
Route: <sip:126.128.68.9:8080;transport=ws;r2=on;lr=on;ftag=vsTKsfB1ZR8EkHTPqzyc;nat=yes>
Route: <sip:126.128.68.9;r2=on;lr=on;ftag=vsTKsfB1ZR8EkHTPqzyc;nat=yes>
User-Agent: IM-client/OMA1.0 sipML5-v1.2013.03.27
Organization: Doubango Telecom
Also the connection between Kamailio and Freeswitch is UDP. I am not able to use the websocket module just because of this small problem caused in signaling. Any help is really appreciated. Could it be related to the nathelper module?
Thanks,
--- Jayesh