尝试在RestComm中调用内置联系时发现NPE

时间:2017-02-10 16:53:45

标签: restcomm

当我尝试使用内置号码拨打电话时,会遇到如下错误。我是restcomm的新手,不知道导致错误的原因,任何人都可以提供帮助吗?提前谢谢。

15:59:29,355 ERROR [org.restcomm.connect.telephony.Call] (RestComm-akka.actor.default-dispatcher-7) java.lang.NullPointerException: org.restcomm.connect.commons.fsm.TransitionFailedException: java.lang.NullPointerException
at org.restcomm.connect.commons.fsm.FiniteStateMachine.transition(FiniteStateMachine.java:89) [restcomm-connect.commons-8.1.0.1143.jar:8.1.0.1143]
at org.restcomm.connect.telephony.Call.onReceive(Call.java:495) [restcomm-connect.telephony-8.1.0.1143.jar:8.1.0.1143]
at akka.actor.UntypedActor$$anonfun$receive$1.applyOrElse(UntypedActor.scala:159) [akka-actor_2.10-2.1.2.jar:]
at akka.actor.ActorCell.receiveMessage(ActorCell.scala:425) [akka-actor_2.10-2.1.2.jar:]
at akka.actor.ActorCell.invoke(ActorCell.scala:386) [akka-actor_2.10-2.1.2.jar:]
at akka.dispatch.Mailbox.processMailbox(Mailbox.scala:230) [akka-actor_2.10-2.1.2.jar:]
at akka.dispatch.Mailbox.run(Mailbox.scala:212) [akka-actor_2.10-2.1.2.jar:]
at akka.dispatch.ForkJoinExecutorConfigurator$MailboxExecutionTask.exec(AbstractDispatcher.scala:506) [akka-actor_2.10-2.1.2.jar:]
at scala.concurrent.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:262) [scala-library-2.10.1.jar:]
at scala.concurrent.forkjoin.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:975) [scala-library-2.10.1.jar:]
at scala.concurrent.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1478) [scala-library-2.10.1.jar:]
at scala.concurrent.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:104) [scala-library-2.10.1.jar:]
Caused by: java.lang.NullPointerException
at org.restcomm.connect.telephony.Call$Failed.execute(Call.java:1120) [restcomm-connect.telephony-8.1.0.1143.jar:8.1.0.1143]
at org.restcomm.connect.commons.fsm.FiniteStateMachine.transition(FiniteStateMachine.java:87) [restcomm-connect.commons-8.1.0.1143.jar:8.1.0.1143]
... 11 more

15:59:29,373 INFO  [gov.nist.javax.sip.parser.NioPipelineParser] (pool-AffinityJAIN-thread-6) serving msg on call id 1486742368291
15:59:29,379 INFO  [gov.nist.javax.sip.stack.SIPTransactionStack] (pool-AffinityJAIN-thread-6) <message
from="60.16.4.62:52022"
to="192.168.0.2:5063"
time="1486742369379"
isSender="false"
transactionId="z9hg4bk-3336-02f2354632b4a0cec69192570e702894"
callId="1486742368291"
firstLine="ACK sip:+1234@iwenda.me SIP/2.0"
>
<![CDATA[ACK sip:+1234@iwenda.me SIP/2.0
Call-ID: 1486742368291
Max-Forwards: 70
From: "Alice Alissys" <sip:alice@iwenda.me>;tag=1486742368489
To: <sip:+1234@iwenda.me>;tag=79083205_0a919ed8_57a5b08a_badb824d
Via: SIP/2.0/WSS 60.16.4.62:52022;branch=z9hG4bK-3336-02f2354632b4a0cec69192570e702894;rport=52022;received=60.16.4.62
CSeq: 2 ACK
Content-Length: 0

]]>
</message>

我使用的命令是docker run -i -t --rm --name=restcomm-myInstance -v /var/log/restcomm/:/var/log/restcomm/ -e STATIC_ADDRESS="my eth0 ip" -e RESTCOMM_HOSTNAME="mydomain.name" -e ENVCONFURL="https://raw.githubusercontent.com/RestComm/Restcomm-Docker/master/env_files/restcomm_env_locally.sh" -p 80:80 -p 443:443 -p 9990:9990 -p 5060:5060 -p 5061:5061 -p 5062:5062 -p 5063:5063 -p 5060:5060/udp -p 65000-65050:65000-65050/udp restcomm/restcomm:latest

0 个答案:

没有答案