[SR-Users] Error with ACK from SIPML5

Jayesh Nambiar jayesh1017 at gmail.com
Sat Jun 22 09:10:35 CEST 2013


Hi,
Is it possible that this could be a problem in the script. But when I call
using a normal SIP Client like X-Lite, it works well. This only happens
when the request comes on websocket. Is there something to be handled
specially when handling requests like ACK over websocket?
The reference is more or less taken from
https://gist.github.com/jesusprubio/4066845

--- Jayesh


On Wed, Jun 19, 2013 at 2:14 PM, Jayesh Nambiar <jayesh1017 at gmail.com>wrote:

> Hi Daniel,
> 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 at 126.128.68.8:5065;transport=udp SIP/2.0
> Via: SIP/2.0/WS
> df7jal23ls0d.invalid;branch=z9hG4bKJ0Qsiuh94B2slPLp19qH;rport
> From: "Jayesh"<sip:1000001001 at ghanti.com>;tag=vsTKsfB1ZR8EkHTPqzyc
> To: <sip:1223 at ghanti.com>;tag=UQ9veX0vUg7QS
> Contact: "Jayesh"<sip:1000001001 at 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 at 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
>
> Where 126.128.68.9:5060 is the Kamailio; 126.128.68.8:5065 is a
> freeswitch playing music and the request is received on 126.128.68.9:8080which is kamailio acting as a websocket server.
> 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
>
>
> On Tue, Jun 18, 2013 at 2:17 PM, Daniel-Constantin Mierla <
> miconda at gmail.com> wrote:
>
>>  Hello,
>>
>>
>> On 6/14/13 4:52 PM, Jayesh Nambiar wrote:
>>
>>  Hello All,
>> I have a setup which is SIPML5 -> Kamailio(Websocket) -> Freeswitch. All
>> I am trying to do is initiate a call from SIPML5 and Play a Music file from
>> freeswitch. This works, but the call hangs up after 30 seconds due to ACK
>> timeout from from the SIPML5.
>>
>>  What I can see is the SIPML5 from Chrome does send an ACK on websocket,
>> but I see the following error in kamailio syslog:
>>
>>  *via_builder(): TCP/TLS connection (id: 0) for WebSocket could not be
>> found*
>> *ERROR: <core> [msg_translator.c:1725]: build_req_buf_from_sip_req():
>> could not create Via header*
>> *ERROR: <core> [forward.c:607]: forward_request(): ERROR:
>> forward_request: building failed*
>> *ERROR: sl [sl_funcs.c:371]: sl_reply_error(): ERROR: sl_reply_error
>> used: I'm terribly sorry, server error occurred (1/SL)*
>>
>>  Can someone help me understand what I am missing here and why kamailio
>> is not able to create a VIA header to forward this request towards
>> freeswitch. I have built a simple config file by following
>> https://gist.github.com/jesusprubio/4066845 as reference.
>>
>>  Any help in understanding this is really appreciated.
>>
>> looks like the web rtc connection was down (closed by one side or
>> interrupted by the network). You can check with kamcmd the list of active
>> connections.
>>
>> Cheers,
>> Daniel
>>
>> --
>> Daniel-Constantin Mierla - http://www.asipto.comhttp://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
>> Kamailio Advanced Training, San Francisco, USA - June 24-27, 2013
>>   * http://asipto.com/u/katu *
>>
>>
>> _______________________________________________
>> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
>> sr-users at lists.sip-router.org
>> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20130622/e82e8c94/attachment.html>


More information about the sr-users mailing list