Finally works..
I use this command sudo asterisk -r
On Jul 18, 2013 10:57 PM, "Artyom Horuzhenko" <[email protected]> wrote:

> Leaving the room usually happens when red5sip couldn't connect to Asterisk.
> Possible reasons are: wrong username, password or extension. Compare your
> configs with configs in instruction, usually it helps.
>
>
> 2013/7/18 Gagan sethi <[email protected]>
>
> > LOG OF ASTERISK IS ON INFINITE LOOP. I THINK ITS BECAUSE OF SIP TRANSPORT
> > ENTER ROOM & LEFT ROOM IN A SECOND,
> >
> >
> > On Thu, Jul 18, 2013 at 3:58 PM, Artyom Horuzhenko <[email protected]
> > >wrote:
> >
> > > What was sent before this message? There should be another message like
> > > "user not found".
> > >
> > >
> > > 2013/7/18 Gagan sethi <[email protected]>
> > >
> > > > here is asterisk log :
> > > > Retransmitting #2 (NAT) to 127.0.0.1:5076:
> > > > SIP/2.0 487 Request Terminated
> > > > Via: SIP/2.0/UDP 127.0.1.1:5076
> > > > ;branch=z9hG4bK134853749;received=127.0.0.1;rport=5076
> > > > From: "red5sip_user" <sip:[email protected]
> >;tag=z9hG4bK12896854
> > > > To: <sip:[email protected]>;tag=as15d3b330
> > > > Call-ID: [email protected]
> > > > CSeq: 1 INVITE
> > > > Server: Asterisk PBX 11.2.1
> > > > Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY,
> > INFO,
> > > > PUBLISH
> > > > Supported: replaces, timer
> > > > Content-Length: 0
> > > >
> > > >
> > > >
> > > > On Thu, Jul 18, 2013 at 3:16 PM, Artyom Horuzhenko <
> [email protected]
> > > > >wrote:
> > > >
> > > > > Red5sip was failed to connect to Asterisk. Check your
> > > settings.properties
> > > > > and whether Asterisk has been configured correctly. You also would
> > run
> > > > > "asterisk -r" and type "sip set debug on" to get helpfull messages.
> > > > >
> > > > >
> > > > > 2013/7/18 Gagan sethi <[email protected]>
> > > > >
> > > > > > 18 Jul 15:07:03 - [WARN ] o.r.c.n.r.RTMPClient: Exception during
> > > > > disconnect
> > > > > > org.apache.mina.core.RuntimeIoException: Failed to get the
> session.
> > > > > > at
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.mina.core.future.DefaultConnectFuture.getSession(DefaultConnectFuture.java:60)
> > > > > > ~[mina-core-bundle-2.0.4.jar:na]
> > > > > > at
> > org.red5.client.net.rtmp.RTMPClient.disconnect(RTMPClient.java:99)
> > > > > > ~[red5-client.jar:na]
> > > > > > at org.red5.sip.app.RTMPRoomClient.stop(RTMPRoomClient.java:148)
> > > > > > [red5sip.jar:na]
> > > > > > at
> > > > org.red5.sip.app.SIPRegisterAgent.register(SIPRegisterAgent.java:149)
> > > > > > [red5sip.jar:na]
> > > > > > at
> org.red5.sip.app.SIPRegisterAgent.run(SIPRegisterAgent.java:277)
> > > > > > [red5sip.jar:na]
> > > > > > at java.lang.Thread.run(Unknown Source) [na:1.7.0]
> > > > > > Caused by: java.net.ConnectException: Connection refused
> > > > > > at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
> > > ~[na:1.7.0]
> > > > > > at sun.nio.ch.SocketChannelImpl.finishConnect(Unknown Source)
> > > > ~[na:1.7.0]
> > > > > > at
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.mina.transport.socket.nio.NioSocketConnector.finishConnect(NioSocketConnector.java:224)
> > > > > > ~[mina-core-bundle-2.0.4.jar:na]
> > > > > > at
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.mina.transport.socket.nio.NioSocketConnector.finishConnect(NioSocketConnector.java:46)
> > > > > > ~[mina-core-bundle-2.0.4.jar:na]
> > > > > > at
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.mina.core.polling.AbstractPollingIoConnector.processConnections(AbstractPollingIoConnector.java:439)
> > > > > > ~[mina-core-bundle-2.0.4.jar:na]
> > > > > > at
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.mina.core.polling.AbstractPollingIoConnector.access$700(AbstractPollingIoConnector.java:64)
> > > > > > ~[mina-core-bundle-2.0.4.jar:na]
> > > > > > at
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.mina.core.polling.AbstractPollingIoConnector$Connector.run(AbstractPollingIoConnector.java:508)
> > > > > > ~[mina-core-bundle-2.0.4.jar:na]
> > > > > > at
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.mina.util.NamePreservingRunnable.run(NamePreservingRunnable.java:64)
> > > > > > ~[mina-core-bundle-2.0.4.jar:na]
> > > > > > at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown
> > Source)
> > > > > > ~[na:1.7.0]
> > > > > > at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown
> > Source)
> > > > > > ~[na:1.7.0]
> > > > > > ... 1 common frames omitted
> > > > > >
> > > > > >
> > > > > > On Thu, Jul 18, 2013 at 3:02 PM, Artyom Horuzhenko <
> > > [email protected]
> > > > > > >wrote:
> > > > > >
> > > > > > > Are there another error messages? Could you also look at
> Asterisk
> > > > logs?
> > > > > > >
> > > > > > >
> > > > > > > 2013/7/18 Gagan sethi <[email protected]>
> > > > > > >
> > > > > > > > 8 Jul 13:36:56 - [ERROR] o.r.s.a.RTMPControlClient:
> > Reconnection
> > > > > pause
> > > > > > > was
> > > > > > > > interrupted
> > > > > > > > java.lang.InterruptedException: sleep interrupted
> > > > > > > > at java.lang.Thread.sleep(Native Method) [na:1.7.0]
> > > > > > > > at
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.red5.sip.app.RTMPControlClient.handleException(RTMPControlClient.java:98)
> > > > > > > > ~[red5sip.jar:na]
> > > > > > > > at
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.red5.client.net.rtmp.RTMPClient$1.operationComplete(RTMPClient.java:86)
> > > > > > > > [red5-client.jar:na]
> > > > > > > > at
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.red5.client.net.rtmp.RTMPClient$1.operationComplete(RTMPClient.java:78)
> > > > > > > > [red5-client.jar:na]
> > > > > > > > at
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.mina.core.future.DefaultIoFuture.notifyListener(DefaultIoFuture.java:377)
> > > > > > > > [mina-core-bundle-2.0.4.jar:na]
> > > > > > > > at
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.mina.core.future.DefaultIoFuture.notifyListeners(DefaultIoFuture.java:362)
> > > > > > > > [mina-core-bundle-2.0.4.jar:na]
> > > > > > > > at
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.mina.core.future.DefaultIoFuture.setValue(DefaultIoFuture.java:290)
> > > > > > > > [mina-core-bundle-2.0.4.jar:na]
> > > > > > > > at
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.mina.core.future.DefaultConnectFuture.setException(DefaultConnectFuture.java:97)
> > > > > > > > [mina-core-bundle-2.0.4.jar:na]
> > > > > > > > at
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.mina.core.polling.AbstractPollingIoConnector.processConnections(AbstractPollingIoConnector.java:448)
> > > > > > > > [mina-core-bundle-2.0.4.jar:na]
> > > > > > > > at
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.mina.core.polling.AbstractPollingIoConnector.access$700(AbstractPollingIoConnector.java:64)
> > > > > > > > [mina-core-bundle-2.0.4.jar:na]
> > > > > > > > at
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.mina.core.polling.AbstractPollingIoConnector$Connector.run(AbstractPollingIoConnector.java:508)
> > > > > > > > [mina-core-bundle-2.0.4.jar:na]
> > > > > > > > at
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.mina.util.NamePreservingRunnable.run(NamePreservingRunnable.java:64)
> > > > > > > > [mina-core-bundle-2.0.4.jar:na]
> > > > > > > > at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown
> > > > Source)
> > > > > > > > [na:1.7.0]
> > > > > > > > at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown
> > > > Source)
> > > > > > > > [na:1.7.0]
> > > > > > > > at java.lang.Thread.run(Unknown Source) [na:1.7.0]
> > > > > > > >
> > > > > > > >
> > > > > > > > On Thu, Jul 18, 2013 at 2:00 PM, Artyom Horuzhenko <
> > > > > [email protected]
> > > > > > > > >wrote:
> > > > > > > >
> > > > > > > > > Hello,
> > > > > > > > >
> > > > > > > > > leaving the room means error in the configuration or
> > somewhere
> > > > > else.
> > > > > > > > Could
> > > > > > > > > you inspect your red5sip.log for error or other strange
> > > messages?
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > 2013/7/18 Gagan sethi <[email protected]>
> > > > > > > > >
> > > > > > > > > > Hello,
> > > > > > > > > >
> > > > > > > > > > I installed OM 2.1 with sip integration on ubuntu on
> > > localhost.
> > > > > > > > > > Problem i am facing is that SIP transport left room every
> > > > second,
> > > > > > It
> > > > > > > is
> > > > > > > > > not
> > > > > > > > > > stable.
> > > > > > > > > > anyone have solution for this?
> > > > > > > > > > Thank You
> > > > > > > > > >
> > > > > > > > > > --
> > > > > > > > > > *Gaganjot Singh*
> > > > > > > > > > *(+91-9899025098)*
> > > > > > > > > > *B.Tech - Electronics & Communication*
> > > > > > > > > > *Guru Tegh Bahadur Institute of Technology / GGSIPU*
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > --
> > > > > > > > *Gaganjot Singh*
> > > > > > > > *(+91-9899025098)*
> > > > > > > > *B.Tech - Electronics & Communication*
> > > > > > > > *Guru Tegh Bahadur Institute of Technology / GGSIPU*
> > > > > > > >
> > > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > > --
> > > > > > *Gaganjot Singh*
> > > > > > *(+91-9899025098)*
> > > > > > *B.Tech - Electronics & Communication*
> > > > > > *Guru Tegh Bahadur Institute of Technology / GGSIPU*
> > > > > >
> > > > >
> > > >
> > > >
> > > >
> > > > --
> > > > *Gaganjot Singh*
> > > > *(+91-9899025098)*
> > > > *B.Tech - Electronics & Communication*
> > > > *Guru Tegh Bahadur Institute of Technology / GGSIPU*
> > > >
> > >
> >
> >
> >
> > --
> > *Gaganjot Singh*
> > *(+91-9899025098)*
> > *B.Tech - Electronics & Communication*
> > *Guru Tegh Bahadur Institute of Technology / GGSIPU*
> >
>

Reply via email to