problem with trying b2bua in jain slee

42 показвания
Преминаване към първото непрочетено съобщение

ichi

непрочетено,
12.07.2011 г., 8:36:4512.07.11 г.
до mobicents-public
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!

yvon colin

непрочетено,
12.07.2011 г., 8:53:3312.07.11 г.
до mobicent...@googlegroups.com
You must look at the cause IRI :
the exception is :


 Caused by: java.net.UnknownHostException: scscf.open-ims.test
       at java.net.Inet4AddressImpl.
lookupAllHostAddr(Native Method)
       at java.net.InetAddress$1.
lookupAllHostAddr(InetAddress.java:

I thing you must  replace thel realm "open-ims.test" by yours. fot me it is localhost!
I hope that can help you!

yvon

2011/7/12 ichi <ichi...@gmail.com>



--
Yvon Colin
-------------------------------------------------------------------------------------------------------------- 
École Nationale Supérieure de Sciences Appliquées et de Technologie (ENSSAT)
Université de Rennes 1 
Élève ingénieur : Électronique et informatique industrielle (EII3)
Tel : 06 27 81 72 75
--------------------------------------------------------------------------------------------------------------


ichi

непрочетено,
12.07.2011 г., 9:39:3612.07.11 г.
до mobicents-public
In my other method in my Sbb (onPublish, onRegister),
I also respond to the request by using the route to open-ims.test, and
Mobicents JAIN SLEE succeeded to forward it without problem.
If I change the realm, I dont think the call be forwarded to open-
ims.test,
is there any other way?

On Jul 12, 2:53 pm, yvon colin <colin.y...@gmail.com> wrote:
> You must look at the cause IRI :
> the exception is :
>
>  *Caused by: java.net.UnknownHostException: scscf.open-ims.test
>        at java.net.Inet4AddressImpl.*
> *lookupAllHostAddr(Native Method)
>        at java.net.InetAddress$1.**lookupAllHostAddr(InetAddress.**java:
> *
> I thing you must  replace thel realm "*open-ims.test"* by yours. fot me it
> is localhost!
> I hope that can help you!
>
> yvon
>
> 2011/7/12 ichi <ichi8...@gmail.com>
>
>
>
> > 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:iscm...@scscf.open-ims.test:
> > 6060;lr;s=1;
> > h=0;d=0;a=7369703a69727361406f70656e2d696d732e74657374>
> > Call-ID: bcfd5dc0629c880c3b08929574bfb...@10.193.193.46
> > CSeq: 4 INVITE
> > From: <sip:i...@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:i...@10.193.193.46:5069>
> > User-Agent: monster Version: 0.9.19
> > P-Asserted-Identity: <sip:i...@open-ims.test>
> > Call-ID: bcfd5dc0629c880c3b08929574bfb...@10.193.193.46
> > From: <sip:i...@open-ims.test>;tag=1005
> > Content-Length: 0
>
> > 14:25:59,102 INFO  [DisponibilitySbbImpl] Forwarding request INVITE to
> > dialog Cl
> > ientDialogWrapper[ handle =
> > bcfd5dc0629c880c3b08929574bfb...@10.193.193.46:bc3d8
> > Call-ID: bcfd5dc0629c880c3b08929574bfb...@10.193.193.46
> > From: <sip:i...@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!
>
> --
> Yvon Colin
> *
> -----------------------------------------------------------------------------------------------------------
> ---
> École Nationale Supérieure de Sciences Appliquées et de Technologie (ENSSAT)
> Université de Rennes 1
> Élève ingénieur : Électronique et informatique industrielle (EII3)*
> *Tel : 06 27 81 72 75
> *
> *
> -------------------------------------------------------------------------------------------------------------
> **-*
> *
> *

yvon colin

непрочетено,
12.07.2011 г., 9:56:4012.07.11 г.
до mobicent...@googlegroups.com
Hmm sorry! So, What is your network configuration? realm? etc...

2011/7/12 ichi <ichi...@gmail.com>



--
Yvon Colin
-------------------------------------------------------------------------------------------------------------- 

École Nationale Supérieure de Sciences Appliquées et de Technologie (ENSSAT)
Université de Rennes 1 
Élève ingénieur : Électronique et informatique industrielle (EII3)
Tel : 06 27 81 72 75
--------------------------------------------------------------------------------------------------------------


ichi

непрочетено,
12.07.2011 г., 10:25:5012.07.11 г.
до mobicents-public
the realm is open-ims.test, with ip address (10.193.193.179)
since it is not also in localhost (not in Mobicents machine), should i
specify this ip addr somewhere to be known?
thanks!

On Jul 12, 3:56 pm, yvon colin <colin.y...@gmail.com> wrote:
> Hmm sorry! So, What is your network configuration? realm? etc...
>
> 2011/7/12 ichi <ichi8...@gmail.com>

yvon colin

непрочетено,
12.07.2011 г., 11:09:0912.07.11 г.
до mobicent...@googlegroups.com
1) Do you have a simple SIP registrar or do you try to use it on IMS? 
2)  Can you post the code too?

yvon

2011/7/12 ichi <ichi...@gmail.com>



--
Yvon Colin
-------------------------------------------------------------------------------------------------------------- 

École Nationale Supérieure de Sciences Appliquées et de Technologie (ENSSAT)
Université de Rennes 1 
Élève ingénieur : Électronique et informatique industrielle (EII3)
Tel : 06 27 81 72 75
--------------------------------------------------------------------------------------------------------------


aayush

непрочетено,
12.07.2011 г., 11:18:2812.07.11 г.
до mobicent...@googlegroups.com

Have you configured the DNS server IP address in the network settings? If you are on Linux, you should specify it in resolv.conf

On Jul 12, 2011 8:39 PM, "yvon colin" <colin...@gmail.com> wrote:

1) Do you have a simple SIP registrar or do you try to use it on IMS? 
2)  Can you post the code too?

yvon



2011/7/12 ichi <ichi...@gmail.com>
>
> the realm is open-ims.test, with ip address (10.193.193.17...

--

Yvon Colin
-----------------------------------------------------------------------------------------...

yvon colin

непрочетено,
12.07.2011 г., 11:22:1812.07.11 г.
до mobicent...@googlegroups.com

Yes i did

Le 12 juil. 2011 17:18, "aayush" <abhatnag...@gmail.com> a écrit :
> Have you configured the DNS server IP address in the network settings? If
> you are on Linux, you should specify it in resolv.conf
>
> On Jul 12, 2011 8:39 PM, "yvon colin" <colin...@gmail.com> wrote:
>
> 1) Do you have a simple SIP registrar or do you try to use it on IMS?
> 2) Can you post the code too?
>
> yvon
>
>
>
> 2011/7/12 ichi <ichi...@gmail.com>
>>
>> the realm is open-ims.test, with ip address (10.193.193.17...
> --
>
> Yvon Colin
> -----------------------------------------------------------------------------------------...
>
>
> Tel : 06 27 81 72 75

ichi

непрочетено,
12.07.2011 г., 11:55:5812.07.11 г.
до mobicents-public
Thank's, it works. I installed Mobicents and I haven't specify the DNS
lookup for scscf in
C:\WINDOWS\system32\drivers\etc\hosts

Hmm, but i wondered when I coded in onRegister and onPublish it could
re-forward back to open-ims before I specified.


On Jul 12, 5:18 pm, aayush <abhatnagar192...@gmail.com> wrote:
> Have you configured the DNS server IP address in the network settings? If
> you are on Linux, you should specify it in resolv.conf
>
> On Jul 12, 2011 8:39 PM, "yvon colin" <colin.y...@gmail.com> wrote:
>
> 1) Do you have a simple SIP registrar or do you try to use it on IMS?
> 2)  Can you post the code too?
>
> yvon
>
> 2011/7/12 ichi <ichi8...@gmail.com>
>
> > the realm is open-ims.test, with ip address (10.193.193.17...
>
> --
>
> Yvon Colin
> -----------------------------------------------------------------------------------------...
>
> Tel : 06 27 81 72 75

yvon colin

непрочетено,
12.07.2011 г., 12:41:2812.07.11 г.
до mobicent...@googlegroups.com

Good! I never did operation like onRegister  but i think it didnt work 'cause on the header when it added a via with the sccf@ the system din't know where to find it. That 's all. On a onregister or onpublish you don't do that kind of action i think!

Отговор до всички
Отговор до автора
Препращане
0 нови съобщения