Juha Heinanen writes:
> next problem is that an extra char is added to the end of request uri:
>
> U 2011/10/12 20:02:09.570866 127.0.0.1:5090 -> 127.0.0.1:5080
> INVITE sip:[email protected]. SIP/2.0.
>
> wireshark shows the . as \031. any idea where that comes from?
looks like that last char of ruri is garbage, i.e., it changes from call
to call.
i added debug to RtmpConnection.cpp:
if(obj.o_num > 3){
AMFProp_GetString(AMF_GetProp(&obj, NULL, 3), &uri);
}
INFO("received uri <%.*s>\n", uri.av_len, uri.av_val);
and is shows that uri is correct when received from flash phone, but
looks like later length of ruri gets one too big resulting into garbage:
# Oct 13 09:16:07 sip sems[3354]: [#b53dab70] [invoke, RtmpConnection.cpp:415]
INFO: received uri <sip:[email protected]>
Oct 13 09:16:07 sip /usr/sbin/sip-proxy[29744]: INFO: Relaying INVITE
<sip:[email protected]!> from sems
Oct 13 09:16:08 sip /usr/sbin/sip-proxy[29744]: ERROR: tm [ut.h:304]: ERROR:
uri2dst: failed to resolve "sip2sip.info!" :unresolvable A or
AAAA request (-7)
-- juha
_______________________________________________
Semsdev mailing list
[email protected]
http://lists.iptel.org/mailman/listinfo/semsdev