[SIP SIMPLE client] sylk is not relaying chat messages

Juha Heinanen jh at tutpro.com
Fri Apr 29 17:09:00 CEST 2011


Saúl Ibarra Corretgé writes:

> Edit file sylk/applications/conference/room.py and locate function 
> _message_dispatcher, and the following test:
> 
> if data.sender.uri != session.remote_identity.uri:
>       return
> 
> Print both uris before entering the if and add another print after the if.

i added:

log.msg(u'data.sender.uri/session.remote_identity.uri=%s/%s' % (data.sender.uri, session.remote_identity.uri))
if data.sender.uri != session.remote_identity.uri:
    return
log.msg(u'data.sender.uri/session.remote_identity.uri=%s/%s' % (data.sender.uri, session.remote_identity.uri))

and correctly got the message twice:

Apr 29 18:07:36 sip sylk-server[7540]: data.sender.uri/session.remote_identity.uri=sip:foo at test.fi/sip:foo at test.fi
Apr 29 18:07:36 sip sylk-server[7540]: data.sender.uri/session.remote_identity.uri=sip:foo at test.fi/sip:foo at test.fi

-- juha



More information about the SIPBeyondVoIP mailing list