[JDEV] sip to jabber Component

Schweizer Laurent schweizerl at hotmail.com
Thu May 9 08:09:06 CDT 2002


hello,
I have add 'route' tag but it's not working

<route to='10.192.72.61' from='sip.10.192.72.61
' type='auth'><iq type='get' id='SipReg1'><query 
xmlns='jabber:iq:auth'><username>lschweiz</username></query
></iq></route>

the log:

Thu May  9 14:54:21 2002  mio.c:760 MIO read from socket 15: <route 
to='10.192.72.61' from='sip.10.192.72.61
' type='auth'><iq type='get' id='SipReg1'><query 
xmlns='jabber:iq:auth'><username>lschweiz</username></query
></iq></route>
Thu May  9 14:54:21 2002  base_accept.c:120 process XML: m:80E4918 state:3, 
arg:80F1D90, x:81EBD80
Thu May  9 14:54:21 2002  deliver.c:474 DELIVER 4:10.192.72.61 <route 
to='10.192.72.61' from='sip.10.192.72.
61' type='auth'><iq type='get' id='SipReg1'><query 
xmlns='jabber:iq:auth'><username>lschweiz</username></que
ry></iq></route>
Thu May  9 14:54:21 2002  deliver.c:678 delivering to instance 'sessions'
Thu May  9 14:54:21 2002  deliver.c:94 (80DDF58)incoming packet <route 
to='10.192.72.61' from='sip.10.192.72
.61' type='auth'><iq type='get' id='SipReg1'><query 
xmlns='jabber:iq:auth'><username>lschweiz</username></qu
ery></iq></route>
Thu May  9 14:54:21 2002  util.c:103 config query auth
Thu May  9 14:54:21 2002  mtq 81495C8 entering from pth
Thu May  9 14:54:21 2002  mtq 81495C8 one call 81EC998
Thu May  9 14:54:21 2002  deliver.c:474 DELIVER 4:sip.10.192.72.61 <route 
from='10.192.72.61' to='sip.10.192
.72.61' type='auth'><iq type='error' id='SipReg1'><query 
xmlns='jabber:iq:auth'><username>lschweiz</username
></query><error code='406'>Not Acceptable</error></iq></route>
Thu May  9 14:54:21 2002  deliver.c:678 delivering to instance 'dnsrv'
Thu May  9 14:54:21 2002  deliver.c:606 delivery failed (Internal Delivery 
Error)
Thu May  9 14:54:21 2002  log.c:116 <log type='notice' 
from='sip.10.192.72.61'>bouncing a routed packet to s
ip.10.192.72.61 from 10.192.72.61: Internal Delivery Error</log>
Thu May  9 14:54:21 2002  deliver.c:474 DELIVER 3:sip.10.192.72.61 <log 
type='notice' from='sip.10.192.72.61
'>bouncing a routed packet to sip.10.192.72.61 from 10.192.72.61: Internal 
Delivery Error</log>
Thu May  9 14:54:21 2002  deliver.c:678 delivering to instance 'elogger'
20020509T12:54:21: [notice] (sip.10.192.72.61): bouncing a routed packet to 
sip.10.192.72.61 from 10.192.72.
61: Internal Delivery Error
Thu May  9 14:54:21 2002  deliver.c:474 DELIVER 4:10.192.72.61 <route 
from='sip.10.192.72.61' to='10.192.72.
61' type='error' error='Internal Delivery Error'><iq type='error' 
id='SipReg1'><query xmlns='jabber:iq:auth'
><username>lschweiz</username></query><error code='406'>Not 
>Acceptable</error></iq></route>
Thu May  9 14:54:21 2002  deliver.c:678 delivering to instance 'sessions'
Thu May  9 14:54:21 2002  deliver.c:94 (80DDF58)incoming packet <route 
from='sip.10.192.72.61' to='10.192.72
.61' type='error' error='Internal Delivery Error'><iq type='error' 
id='SipReg1'><query xmlns='jabber:iq:auth
'><username>lschweiz</username></query><error code='406'>Not 
Acceptable</error></iq></route>
Thu May  9 14:54:21 2002  log.c:116 <log type='notice' 
from='10.192.72.61'>Bouncing packet intended for none
xistant user: &lt;route from=&apos;sip.10.192.72.61&apos; 
to=&apos;10.192.72.61&apos; type=&apos;error&apos;
error=&apos;Internal Delivery Error&apos;&gt;&lt;iq type=&apos;error&apos; 
id=&apos;SipReg1&apos;&gt;&lt;qu
ery 
xmlns=&apos;jabber:iq:auth&apos;&gt;&lt;username&gt;lschweiz&lt;/username&gt;&lt;/query&gt;&lt;error 
cod
e=&apos;406&apos;&gt;Not 
Acceptable&lt;/error&gt;&lt;/iq&gt;&lt;/route&gt;</log>
Thu May  9 14:54:21 2002  deliver.c:474 DELIVER 3:10.192.72.61 <log 
type='notice' from='10.192.72.61'>Bounci
ng packet intended for nonexistant user: &lt;route 
from=&apos;sip.10.192.72.61&apos; to=&apos;10.192.72.61&a
pos; type=&apos;error&apos; error=&apos;Internal Delivery 
Error&apos;&gt;&lt;iq type=&apos;error&apos; id=&a
pos;SipReg1&apos;&gt;&lt;query 
xmlns=&apos;jabber:iq:auth&apos;&gt;&lt;username&gt;lschweiz&lt;/username&gt;
&lt;/query&gt;&lt;error code=&apos;406&apos;&gt;Not 
Acceptable&lt;/error&gt;&lt;/iq&gt;&lt;/route&gt;</log>
Thu May  9 14:54:21 2002  deliver.c:678 delivering to instance 'elogger'
20020509T12:54:21: [notice] (10.192.72.61): Bouncing packet intended for 
nonexistant user: <route from='sip.
10.192.72.61' to='10.192.72.61' type='error' error='Internal Delivery 
Error'><iq type='error' id='SipReg1'><
query xmlns='jabber:iq:auth'><username>lschweiz</username></query><error 
code='406'>Not Acceptable</error></
iq></route>
Thu May  9 14:54:21 2002  deliver.c:606 delivery failed (Invalid User)
Thu May  9 14:54:21 2002  log.c:116 <log type='warn' 
from='10.192.72.61'>dropping a routed packet to 10.192.
72.61 from sip.10.192.72.61: Invalid User</log>
Thu May  9 14:54:21 2002  deliver.c:474 DELIVER 3:10.192.72.61 <log 
type='warn' from='10.192.72.61'>dropping
a routed packet to 10.192.72.61 from sip.10.192.72.61: Invalid User</log>
Thu May  9 14:54:21 2002  deliver.c:678 delivering to instance 'elogger'
20020509T12:54:21: [warn] (10.192.72.61): dropping a routed packet to 
10.192.72.61 from sip.10.192.72.61: In
valid User
Thu May  9 14:54:21 2002  mtq 81495C8 leaving to pth
Thu May  9 14:54:21 2002  mio.c:607 mio while loop top
Thu May  9 14:54:28 2002  jabberd.c:265 received signal 2
Thu May  9 14:54:28 2002  dnsrv.c:396 dnsrv: Read error on coprocess: 11 
Resource temporarily unavailable
Thu May  9 14:54:28 2002  log.c:116 <log type='notice' 
from='-internal'>shutting down server</log>
Thu May  9 14:54:28 2002  deliver.c:474 DELIVER 3:-internal <log 
type='notice' from='-internal'>shutting dow
n server</log>




>
>You mean create sessions for it?  You might want to take a look at this
>doc:
>
>http://www.jabberstudio.org/cgi-bin/viewcvs.cgi/jabberd/jadc2s/PROTO?rev=1.1&content-type=text/vnd.viewcvs-markup
>
>it shows how components talk with a SM for sessions.
>
>--temas
>
>
>On Wed, 2002-05-08 at 13:34, Schweizer Laurent wrote:
> > I want to auth a SIP agent connected to the component.
> >
> > >
> > >Umm... sounds like the ids are bad somewhere, but why is the component
> > >trying to auth?
> > >
> > >--temas
> > >
> > >
> > >On Wed, 2002-05-08 at 09:09, Schweizer Laurent wrote:
> > > > hello,
> > > >
> > > > I try to make a gateway sip to jabber
> > > >
> > > > Now i can authenticate the component to the jabber server, but i 
>can't
> > >make
> > > > request (IQ auth), I dont receive answer. Can you say me what is 
>wrong
> > >in
> > > > the request ?
> > > >
> > > > Schweizer Laurent
> > > > www.tcom.ch
> > > >
> > > >
> > > > component --> jabber server
> > > > <stream:stream xmlns='jabber:component:accept'
> > > > xmlns:stream='http://etherx.jabber.org/streams' to='10.192.72.61'>
> > > >
> > > > jabber server --> component
> > > > <?xml version='1.0'?><stream:stream
> > > > xmlns:stream='http://etherx.jabber.org/streams' id='3CD92A23'
> > > > xmlns='jabber:component:accept' from='sip.192.72.61'>
> > > >
> > > > component --> jabber server
> > > > <handshake>c27a76bc0817418caf7260d5016ef8b6c29d02b6</handshake>
> > > >
> > > > jabber server --> component
> > > > <handshake/>
> > > >
> > > > component --> jabber server
> > > > <iq type='get' from='sip.10.192.72.61' to='10.192.72.61'><query
> > > > xmlns='jabber:iq:auth'>
> > > > <username>lschweiz</username></query></iq>
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > > _________________________________________________________________
> > > > Discutez en ligne avec vos amis, essayez MSN Messenger :
> > > > http://messenger.msn.com
> > > >
> > > > _______________________________________________
> > > > jdev mailing list
> > > > jdev at jabber.org
> > > > http://mailman.jabber.org/listinfo/jdev
> > >
> > >
> > >_______________________________________________
> > >jdev mailing list
> > >jdev at jabber.org
> > >http://mailman.jabber.org/listinfo/jdev
> >
> >
> > _________________________________________________________________
> > Discutez en ligne avec vos amis, essayez MSN Messenger :
> > http://messenger.msn.com
> >
> > _______________________________________________
> > jdev mailing list
> > jdev at jabber.org
> > http://mailman.jabber.org/listinfo/jdev
>
>
>_______________________________________________
>jdev mailing list
>jdev at jabber.org
>http://mailman.jabber.org/listinfo/jdev


_________________________________________________________________
Téléchargez MSN Explorer gratuitement à l'adresse 
http://explorer.msn.fr/intl.asp.




More information about the JDev mailing list