The solution to your problem seems to be fairly simple. Before you
establish the sesssion with the Jabber server, you are routing to
'[EMAIL PROTECTED]/sip', which is correct. However, after you've
established the session, you're routing to the address associated with
your session, but for some reason you've tagged on 'sip.' to the beginning
of the hostname. (see below)

> sip --> jabber
> <route to='[EMAIL PROTECTED]/8142028'
> from='sip.10.192.72.61'><presence><status>available</status></presence></route>
>
> jabber --> sip
> <route to='[EMAIL PROTECTED]/8142028'
> from='sip.10.192.72.61'><presence><status>available</status></presence></route>

What you should be doing is routing to the address returned to you when
you established the session. So, instead of routing to
'[EMAIL PROTECTED]/8142028', you should be routing to
'[EMAIL PROTECTED]/8142028'. The behavior you are currently seeing is
absolutely correct, since you are effectively sending a packet out to the
Jabber server which is supposed to be getting routed back to your
component.

Hope this helps,

bs.

On Fri, 31 May 2002, Schweizer Laurent wrote:
> hello,
>
> yes i have more information:
>
>
> sip --> jabber
> stream:stream xmlns='jabber:component:accept'
> xmlns:stream='http://etherx.jabber.org/streams' to='10.192.72.61'>
>
> jabber --> sip
> <?xml version='1.0'?><stream:stream
> xmlns:stream='http://etherx.jabber.org/streams' id='3CF71986'
> xmlns='jabber:component:accept' from='sip.10.192.72.61'>
>
> sip --> jabber
> <handshake>42ef5af7591965126f7577284f01f31ab363eb35</handshake>
>
> jabber --> sip
> <handshake/>
>
> sip --> jabber
> <route type='auth' to='[EMAIL PROTECTED]/sip' from='sip.10.192.72.61'><iq
> type='set' id='REGISTER1022826922647'><query xmlns='jabber:iq:auth'>
> 
><username>1000</username><password>080596</password><resource>sip</resource></query></iq></route>
>
>
> jabber --> sip
> <route from='[EMAIL PROTECTED]/sip' to='sip.10.192.72.61' type='auth'><iq
> type='result' id='REGISTER1022826922647'/></route>
>
> sip --> jabber
> <route type='session' to='[EMAIL PROTECTED]/sip' from='sip.10.192.72.61'/>
>
> jabber --> sip
> <route type='session' to='sip.10.192.72.61'
> from='[EMAIL PROTECTED]/8142028'/>
>
> sip --> jabber
> <route to='[EMAIL PROTECTED]/8142028'
> from='sip.10.192.72.61'><presence><status>available</status></presence></route>
>
> jabber --> sip
> <route to='[EMAIL PROTECTED]/8142028'
> from='sip.10.192.72.61'><presence><status>available</status></presence></route>
>

  [...snip -- let's shorten this message...]

_______________________________________________
jdev mailing list
[EMAIL PROTECTED]
http://mailman.jabber.org/listinfo/jdev

Reply via email to