Hi everyone,
I try to use the code in B2Bua example in my program, after I tried to
call between two clients, the server could not forward the second leg
(outgoing call) from the incoming invite because of: Could not resolve
next hop or listeni
ng point unavailable!. Could you suggest me what should I fix? in the
code side or there's something wrong with the server?
14:25:59,055 INFO [SipResourceAdaptor] Received Request:
INVITE sip:al...@open-ims.test SIP/2.0
Record-Route: <sip:m...@scscf.open-ims.test:6060;lr>,<sip:m...@pcscf.open-
ims.test:4
060;lr>
Route: <sip:10.193.193.46:5060;lr>,<sip:isc...@scscf.open-ims.test:
6060;lr;s=1;
h=0;d=0;a=7369703a69727361406f70656e2d696d732e74657374>
Call-ID:
bcfd5dc0629c880c...@10.193.193.46
CSeq: 4 INVITE
From: <sip:ir...@open-ims.test>;tag=1005
To: <sip:al...@open-ims.test>
Via: SIP/2.0/UDP 10.193.193.179:6060;branch=z9hG4bKc4b4.ce957e13.0,SIP/
2.0/UDP 1
0.193.193.179:4060;branch=z9hG4bKc4b4.2981b985.0,SIP/2.0/UDP
10.193.193.46:5069;
rport=5069;branch=z9hG4bKbc0bce0c2d600c7f5b8f2e8a079a3c88313530
Max-Forwards: 15
Content-Type: application/sdp
Contact: "Irsa" <
sip:ir...@10.193.193.46:5069>
User-Agent: monster Version: 0.9.19
P-Asserted-Identity: <sip:ir...@open-ims.test>
P-Charging-Vector: icid-value="P-CSCFabcd4e1c3d5400000006";icid-
generated-at=10.
193.193.179;orig-ioi=open-ims.test
Content-Length: 248
v=0
o=irsa
3519462358 3519462358 IN IP4 10.193.193.46
s=A Funky MONSTER Stream
t=0 0
m=audio 23002 RTP/AVP 0 8 14 101
c=IN IP4 10.193.193.46
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:14 MPA/8000
a=rtpmap:101 telephone-event/8000
14:25:59,086 INFO [DisponibilitySbbImpl] Receiving INVITE
14:25:59,086 INFO [ServerTransactionWrapper]
ServerTransaction[z9hG4bKc4b4.ce95
7e13.0] sending response:
SIP/2.0 100 Trying
To: <sip:al...@open-ims.test>
Via: SIP/2.0/UDP 10.193.193.179:6060;branch=z9hG4bKc4b4.ce957e13.0,SIP/
2.0/UDP 1
0.193.193.179:4060;branch=z9hG4bKc4b4.2981b985.0,SIP/2.0/UDP
10.193.193.46:5069;
rport=5069;branch=z9hG4bKbc0bce0c2d600c7f5b8f2e8a079a3c88313530
CSeq: 4 INVITE
Call-ID:
bcfd5dc0629c880c...@10.193.193.46
From: <sip:ir...@open-ims.test>;tag=1005
Content-Length: 0
14:25:59,102 INFO [DisponibilitySbbImpl] Forwarding request INVITE to
dialog Cl
ientDialogWrapper[ handle =
bcfd5dc0629c880c...@10.193.193.46:bc3d8
1af:null, state = null, clientTXs = [] ]
14:25:59,336 ERROR [DisponibilitySbbImpl] Failed to process incoming
INVITE.
javax.sip.TransactionUnavailableException: Could not resolve next hop
or listeni
ng point unavailable!
at
gov.nist.javax.sip.SipProviderImpl.getNewClientTransaction(SipProvide
rImpl.java:434)
at
org.mobicents.slee.resource.sip11.SleeSipProviderImpl.getNewDialogAct
ivityClientTransaction(SleeSipProviderImpl.java:461)
at
org.mobicents.slee.resource.sip11.wrappers.ClientDialogWrapper.sendRe
quest(ClientDialogWrapper.java:446)
at
org.mobicents.slee.disponible.DisponibilitySbb.forwardRequest(Disponi
bilitySbb.java:235)
at
org.mobicents.slee.disponible.DisponibilitySbb.onINVITE(Disponibility
Sbb.java:165)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.mobicents.slee.runtime.sbbentity.SbbEntityImpl.invokeEventHandler
(SbbEntityImpl.java:497)
at
org.mobicents.slee.runtime.eventrouter.routingtask.EventRoutingTaskIm
pl.routeQueuedEvent(EventRoutingTaskImpl.java:378)
at
org.mobicents.slee.runtime.eventrouter.routingtask.EventRoutingTaskIm
pl.run(EventRoutingTaskImpl.java:126)
at
org.mobicents.slee.runtime.eventrouter.EventRouterExecutorImpl$EventR
outingTaskStatsCollector.run(EventRouterExecutorImpl.java:73)
at java.util.concurrent.ThreadPoolExecutor
$Worker.runTask(ThreadPoolExec
utor.java:886)
at java.util.concurrent.ThreadPoolExecutor
$Worker.run(ThreadPoolExecutor
.java:908)
at java.lang.Thread.run(Thread.java:662)
Caused by: java.net.UnknownHostException: scscf.open-ims.test
at java.net.Inet4AddressImpl.lookupAllHostAddr(Native Method)
at java.net.InetAddress$1.lookupAllHostAddr(InetAddress.java:
850)
at
java.net.InetAddress.getAddressFromNameService(InetAddress.java:1201)
at java.net.InetAddress.getAllByName0(InetAddress.java:1154)
at java.net.InetAddress.getAllByName(InetAddress.java:1084)
at java.net.InetAddress.getAllByName(InetAddress.java:1020)
at java.net.InetAddress.getByName(InetAddress.java:970)
at gov.nist.core.Host.getInetAddress(Host.java:272)
at gov.nist.core.HostPort.getInetAddress(HostPort.java:147)
at
gov.nist.javax.sip.stack.UDPMessageProcessor.createMessageChannel(UDP
MessageProcessor.java:301)
at
gov.nist.javax.sip.stack.SIPTransactionStack.createMessageChannel(SIP
TransactionStack.java:1665)
at
gov.nist.javax.sip.SipProviderImpl.getNewClientTransaction(SipProvide
rImpl.java:401)
... 15 more
14:25:59,336 INFO [ServerTransactionWrapper]
ServerTransaction[z9hG4bKc4b4.ce95
7e13.0] sending response:
SIP/2.0 503 Service unavailable
To: <sip:al...@open-ims.test>;tag=1739a57a
Via: SIP/2.0/UDP 10.193.193.179:6060;branch=z9hG4bKc4b4.ce957e13.0,SIP/
2.0/UDP 1
0.193.193.179:4060;branch=z9hG4bKc4b4.2981b985.0,SIP/2.0/UDP
10.193.193.46:5069;
rport=5069;branch=z9hG4bKbc0bce0c2d600c7f5b8f2e8a079a3c88313530
CSeq: 4 INVITE
Call-ID:
bcfd5dc0629c880c...@10.193.193.46
From: <sip:ir...@open-ims.test>;tag=1005
Content-Length: 0
It showed that the error was in this line:
final ClientTransaction ct = out.sendRequest(outgoingRequest);
Thank you!