Aah a reply :D. I’ll explain all the steps:
-
I login through the userid 101031 from my client which successfully connects and displays the dialpad.
-
I then logged in from another pc using userid 101007 which also successfuly connected to the server.
The messages displayed at the openfire server console are:
2008-07-09 19:02:31,359 INFO org.red5.server.net.rtmp.RTMPHandler - Connecting to:
2008-07-09 19:02:31,375 INFO org.red5.server.net.rtmp.RTMPHandler - DEBUG - conn RTMPMinaConnection from 116.71.17.94 : 2153 to myopenfireserver.com (in: 3415 out 3073 ), scope , call Service: null Method: connect Num Params: 0
2008-07-09 19:02:31,375 INFO org.red5.server.net.rtmp.RTMPHandler - DEBUG - args {}
2008-07-09 19:02:31,375 INFO org.red5.server.jmx.JMXFactory - Object name: org.red5.server:type=Client,id=0
Red5SIP Client connected 0 service RTMPMinaConnection from 116.71.17.94 : 2153 to myopenfireserver.com (in: 3415 out 3073 )
Red5SIP Client joined app 0
2008-07-09 19:02:31,406 INFO org.red5.server.jmx.JMXFactory - Object name: org.red5.server:type=RTMPMinaConnection,connectionType=persistent,host=myopenfi reserver.com,port=1935,clientId=0
Red5SIP login 101031
Red5SIP open creating sipUser for 101031 on sip port 5070 audio port 3000
2008-07-09 19:02:31,906 INFO org.red5.server.net.rtmp.RTMPHandler - Connecting to:
2008-07-09 19:02:31,906 INFO org.red5.server.net.rtmp.RTMPHandler - DEBUG - conn RTMPMinaConnection from 116.71.17.94 : 2152 to myopenfireserver.com (in: 3415 out 3073 ), scope , call Service: null Method: connect Num Params: 0
2008-07-09 19:02:31,921 INFO org.red5.server.net.rtmp.RTMPHandler - DEBUG - args {}
2008-07-09 19:02:31,921 INFO org.red5.server.jmx.JMXFactory - Object name: org.red5.server:type=Client,id=1
Red5SIP Client connected 1 service RTMPMinaConnection from 116.71.17.94 : 2152 to myopenfireserver.com (in: 3415 out 3073 )
Red5SIP Client joined app 1
2008-07-09 19:02:31,984 INFO org.red5.server.jmx.JMXFactory - Object name: org.red5.server:type=RTMPMinaConnection,connectionType=persistent,host=myopenfi reserver.com,port=1935,clientId=1
SIPUser Constructor: sip port 5070 rtp port:3000
SIPUser login
Red5SIP register
SIPUser register
RegisterAgent: Registering contact sip:101031@11.22.33.44:5070 (it expires in 3600 secs)
RegisterAgent: Registration success:
SIP Registration success 200 OK
Red5SIP login 101031
SIPUser login
Red5SIP register
SIPUser register
RegisterAgent: Registering contact sip:101031@11.22.33.44:5070 (it expires in 3600 secs)
2008-07-09 19:02:43,406 INFO org.red5.server.net.rtmp.RTMPHandler - Connecting to:
2008-07-09 19:02:43,406 INFO org.red5.server.net.rtmp.RTMPHandler - DEBUG - conn RTMPMinaConnection from 116.71.17.94 : 2159 to myopenfireserver.com (in: 3415 out 3073 ), scope , call Service: null Method: connect Num Params: 0
2008-07-09 19:02:43,406 INFO org.red5.server.net.rtmp.RTMPHandler - DEBUG - args {}
2008-07-09 19:02:43,406 INFO org.red5.server.jmx.JMXFactory - Object name: org.red5.server:type=Client,id=2
Red5SIP Client connected 2 service RTMPMinaConnection from 116.71.17.94 : 2159 to myopenfireserver.com (in: 3415 out 3073 )
Red5SIP Client joined app 2
2008-07-09 19:02:43,421 INFO org.red5.server.jmx.JMXFactory - Object name: org.red5.server:type=RTMPMinaConnection,connectionType=persistent,host=myopenfi reserver.com,port=1935,clientId=2
Red5SIP login 101007
Red5SIP open creating sipUser for 101007 on sip port 5072 audio port 3002
SIPUser Constructor: sip port 5072 rtp port:3002
SIPUser login
Red5SIP register
SIPUser register
RegisterAgent: Registering contact sip:101007@11.22.33.44:5072 (it expires in 3600 secs)
RegisterAgent: Registration success:
SIP Registration success 200 OK
Now, if user 101031 needs to dial to 101007, dialing just 101031 on the phone doesnot connect. Or from any other sip phone if i dial to 101031@11.22.33.44 doesnot connect to the user. I have to dial 101031@11.22.33.44:5070 or 101007@11.22.33.44:5072 in order to successfuly connect to the phone.
My question was that is it supposed to work this way or am I missing something ?