[Users] resent packets in siptrace

Daniel-Constantin Mierla daniel at voice-system.ro
Thu Nov 23 09:20:42 CET 2006


Hello,

On 11/22/06 23:02, Mark Price wrote:
> Hi,
> I am logging text/html messages with siptrace, and seeing that certain 
> packets are being retransmitted several times, but am left with no way 
> to detect that they are retransmissions and not legitimate messages.
> I.e . the contents of the msg field are the same, and the other fields 
> in the table seem to be of no help.
the module logs every message sent out by the server, does not check if 
it is a retransmission.
>
> Is there a way to detect within openser that a packet is either a 
> retransmission or being sent to multiple destinations, so that only 
> the first one is recorded?
if there are multiple destinations, then the toip filed should have 
different values.
>
> The larger problem I am trying to solve is the above one. 
> However, the specific one is interesting, too.
>
> The specific circumstances under which this is happening is that I'm 
> trying to communicate between gaim 2.0 beta5 and a counterpath xten phone.
> 1. the gaim client will only login using tcp (it's udp transport seems 
> to be broken.. it won't send the Authorization header).
> 2. messages sent from gaim arrive at the destination, but gaim does 
> not see incoming messages... openser complains about tcp errors.
>
>  7(32169) ERROR: tcp_blocking_connect: timeout 10 s elapsed from 10 s
>  7(32169) ERROR: tcpconn_connect: tcp_blocking_connect failed
>  7(32169) ERROR: tcp_send: connect failed
>  7(32169) msg_send: ERROR: tcp_send failed
>  7(32169) ERROR:tm:t_forward_nonack: sending request failed
>

It seems that gaim is not listening on the port it advertised. The best 
is to watch the network traffic and see which port is attempted to 
transmit the message:
ngrep -qt -d any port 5060
on your openser server.

Cheers,
Daniel

> In this context, the MESSAGE packets get sent several times, and get 
> logged several times.
>
>
> Thanks,
> Mark Price
> ------------------------------------------------------------------------
>
> _______________________________________________
> Users mailing list
> Users at openser.org
> http://openser.org/cgi-bin/mailman/listinfo/users
>   




More information about the sr-users mailing list