AnsweredAssumed Answered

Openfire 3.6.3 + Red5Plugin 0.1.09 on Linux: Is SIP Working for you ?

Question asked by kerne on Feb 5, 2009
Latest reply on Feb 26, 2009 by gouriprasad

Hello guys...

 

Its been a while since I discovered that Red5SIP Plugin would not work on Linux Server (for some reason that I am trying to figure out).

 

So my servers and configuration bellow:

 

SIP Server: Asterisk 1.4.18 - Linux

 

Openfire Servers:

1- Windows XP + Java 1.6 + Openfire 3.6.3 + Red5 Plugin 0.1.09 + SIP Plugin

Results: All working! Video+Audio calls and SIP calls working. Its using G711 (ulaw) codec on Asterisk Server

2-Linux (Ubuntu 7.10 and Slack 10.2) + Java 1.6 + Openfire 3.6.3 + Red5 Plugin 0.1.09 + SIP Plugin

(before you ask.. Yes! Two diferent servers to avoid conflicts and improve support on any version available)

Results: All working BUT SIP calls. After login on SparkWeb the Phone Mapping shows: Registering...and keep this status the whole time that the users is logged on.

 

Debug information: After about a week of testes and debugging I'd found a few interesting things:

 

 

 

Windows (wheres its working right now):

1-When sparkweb user sign-in windows server makes 3 diferent lines on debug log relatede to SIP Authentication:

 

Line1:2009.02.05 17:01:31 InternalComponentManager: PACKET SENT: <iq type="result" id="get_sipark_19" from="sipark.desktop" to="kerne@desktop/sparkweb"><phone xmlns="http://www.jivesoftware.com/protocol/sipark"><registration><jid>kerne@desktop</jid><username>217</username><authUsername>21 7</authUsername><displayPhoneNum>217</displayPhoneNum><password>xxx</password><s erver>my.server.hostname.</server><stunServer></stunServer><stunPort></stunPort> <useStun>false</useStun><voicemail>999</voicemail><enabled>true</enabled><outbou ndproxy>my.server.hostname.</outboundproxy><promptCredentials>false</promptCrede ntials></registration></phone></iq>

 

Line2: 2009.02.05 17:01:31 InternalComponentManager: PACKET SENT: <iq type="result" id="get_siparkStatus_26" from="sipark.desktop" to="kerne@desktop/sparkweb"><phone xmlns="http://www.jivesoftware.com/protocol/sipark"><status>Registering</status></phone></iq>

 

Line3: 2009.02.05 17:01:36 InternalComponentManager: PACKET SENT: <iq type="result" id="get_siparkStatus_30" from="sipark.desktop" to="kerne@desktop/sparkweb"><phone xmlns="http://www.jivesoftware.com/protocol/sipark"><status>Registered</status></phone></iq>

 

 

Linux (where only SIP is not working):

 

Line1: 2009.02.05 16:40:45 InternalComponentManager: PACKET SENT: <iq type="result" id="get_sipark_22" from="sipark.192.168.0.10" to="kerne@192.168.0.10/sparkweb"><
phone xmlns="http://www.jivesoftware.com/protocol/sipark"><registration><jid>kerne@192.168.0.10</jid><username>215</username><authUserna me>215</authUsername>
<displayPhoneNum>215</displayPhoneNum><password>xxx</password><server>my.server. hostname.</server><stunServer></stunServer><stunPort></stunPort><useStu
n>false</useStun><voicemail>999</voicemail><enabled>true</enabled><outboundproxy >my.server.hostname.</outboundproxy><promptCredentials>false</promptCrede
ntials></registration></phone></iq>

 

 

Line2: 2009.02.05 16:40:46 InternalComponentManager: PACKET SENT: <iq type="result" id="get_siparkStatus_29" from="sipark.192.168.0.10" to="kerne@192.168.0.10/spark
web"><phone xmlns="http://www.jivesoftware.com/protocol/sipark"><status>Registering</status></phone></iq>

 

Note: Line3: never appears on Linux server!

 

 

Following the SIP Authentication on Asterisk it works fine on Windows.... but never hit my Linux server to authenticate the user!

 

Does anyone had the same problem ?

Is someone using Linux server to run Openfire+Red5Plugin+SparkWeb with SIP Support ?

 

Thanks for attention and I hope we can work togheter to figure out whats happenening. Let me know if you had the same error.

Outcomes