Hello,
one more question with this new release of media server .
with MGCP I try to configure a packet relay endpoint but I get back an error 410 . ( before I think it was running with the Beta1 version )
I have changed/renamed endpoint name in my application but same error.
U 80.10.10.5:2727 -> 80.10.10.5:2427
CRCX 303054937 /mobicents/relay/$@80.10.10.5:2427 MGCP 1.0.C: 3.M: sendrecv..v=0..o=PVG 1309198611140 1309198611140 IN IP4 212.249.199.9..s=-..p=+1 6135555555..c
=IN IP4 212.249.199.9..t=0 0..m=audio 56168 RTP/AVP 18 0 8 101..a=rtpmap:101 telephone-event/8000..a=fmtp:101 0-15..a=ptime:20..a=fmtp:18 annexb=no..
U 80.10.10.5:2427 -> 80.10.10.5:2727
410 303054937 Endpoint not available.
on the MMS side I get this error:
java.lang.NullPointerException
at org.mobicents.media.server.mgcp.controller.CreateConnectionAction$LookupEndpointTask.perform(CreateConnectionAction.java:388)
at org.mobicents.media.server.scheduler.Task.run(Task.java:92)
at org.mobicents.media.server.scheduler.Scheduler$CpuThread.run(Scheduler.java:232)
full log of MMS
log4j:WARN No appenders could be found for logger (org.mobicents.media.server.bootstrap.Main).
log4j:WARN Please initialize the log4j system properly.
20:54:45,155 INFO [Main] log4j configured
20:54:45,163 INFO [Main] Booting from file:/home/mms-server/conf/bootstrap-beans.xml
20:54:45,971 INFO [Configuration] Configuring /home/mms-server/deploy/server-beans.xml
20:54:46,012 INFO [Scheduler] Starting
20:54:46,013 INFO [Scheduler] Started
20:54:46,031 INFO [UdpManager] Initialized UDP interface[unknown]: bind address=80.10.10.5
20:54:46,080 INFO [Server] Creating RTP Manager
20:54:46,081 INFO [MGCP] Set server
20:54:46,087 INFO [MGCP] Set scheduler: org.mobicents.media.server.scheduler.Scheduler@19e09a4
20:54:46,087 INFO [MGCP] Starting MGCP controller
20:54:46,100 INFO [MGCP] Starting MGCP provider
20:54:46,106 INFO [MgcpProvider] Opening channel
20:54:46,110 INFO [MgcpProvider] Binding channel to 80.10.10.5:2427
20:54:46,112 INFO [MGCP] Controller started
20:54:46,132 INFO [Server] Installing mobicents/aap/1
20:54:46,717 INFO [MGCP] Endpoint restarted: mobicents/aap/1
20:54:46,717 INFO [Server] Installing mobicents/aap/2
20:54:46,751 INFO [MGCP] Endpoint restarted: mobicents/aap/2
20:54:46,751 INFO [Server] Installing mobicents/aap/3
20:54:46,783 INFO [MGCP] Endpoint restarted: mobicents/aap/3
20:54:46,792 INFO [Server] Installing mobicents/ivr/1
20:54:46,862 INFO [MGCP] Endpoint restarted: mobicents/ivr/1
20:54:46,871 INFO [Server] Installing mobicents/cnf/1
20:54:46,899 INFO [MGCP] Endpoint restarted: mobicents/cnf/1
20:54:46,899 INFO [Server] Installing mobicents/cnf/2
20:54:46,925 INFO [MGCP] Endpoint restarted: mobicents/cnf/2
20:54:46,925 INFO [Server] Installing mobicents/cnf/3
20:54:46,949 INFO [MGCP] Endpoint restarted: mobicents/cnf/3
20:54:46,958 INFO [Server] Installing mobicents/relay/1
20:54:47,023 INFO [MGCP] Endpoint restarted: mobicents/relay/1
20:54:47,023 INFO [Server] Installing mobicents/relay/2
20:54:47,045 INFO [MGCP] Endpoint restarted: mobicents/relay/2
20:54:47,046 INFO [Server] Installing mobicents/relay/3
20:54:47,068 INFO [MGCP] Endpoint restarted: mobicents/relay/3
20:54:47,069 INFO [MainDeployer] [[[[[[[[[ Mobicents Media Server: release.version=${pom.version} Started ]]]]]]]]]
20:56:10,352 INFO [Transaction] ID=303054937, state=0, command=CRCX
20:56:10,375 ERROR [CreateConnectionAction] Endpoint not available
java.lang.NullPointerException
at org.mobicents.media.server.mgcp.controller.CreateConnectionAction$LookupEndpointTask.perform(CreateConnectionAction.java:388)
at org.mobicents.media.server.scheduler.Task.run(Task.java:92)
at org.mobicents.media.server.scheduler.Scheduler$CpuThread.run(Scheduler.java:232)
it was the first "/" thanks, but I see another problem.
I create a packet relay and I attach to this relay and aap endpoint.
in the function onCreateConnectionResponse, to know if I process the result of the creation of the packet relay or the creation of the aap endpoint I check if event. SecondEndpointIdentifier is null or not. ( like I see in an example) . the problem is that the event. SecondEndpointIdentifier is always null .
When I create the aap endpoint he only return me the success not the created endpoint .
CRCX 311968058 mobicents/aap/$@80.10.10.5:2427 MGCP 1.0
C: 1
M: sendrecv
Z2: mobicents/relay/1...@80.10.10.5:2427
200 311968058 Success
any idea ?
full MGCP stream bellow
regards
Laurent
CRCX 311968057 mobicents/relay/$@80.10.10.5:2427 MGCP 1.0
C: 1
M: sendrecv
v=0.
o=PVG 1309204348910 1309204348910 IN IP4 212.249.199.9.
s=-.
c=IN IP4 212.249.199.9.
t=0 0.
m=audio 56022 RTP/AVP 18 0 8 101.
a=rtpmap:101 telephone-event/8000.
a=fmtp:101 0-15.
a=ptime:20.
a=fmtp:18 annexb=no.
200 311968057 Success
I:8715f55f31fb88
Z:mobicents/relay/1...@80.10.10.5:2427
v=0
o=- 1309205611360 1 IN IP4 80.10.10.5
s=Mobicents Media Server
c=IN IP4 80.10.10.5
t=0 0
m=audio 1026 RTP/AVP 8 101
a=rtpmap:8 pcma/8000
a=rtpmap:101 telephone-event/8000
a=fmtp: 101 0-15
CRCX 311968058 mobicents/aap/$@80.10.10.5:2427 MGCP 1.0
C: 1
M: sendrecv
Z2: mobicents/relay/1...@80.10.10.5:2427
200 311968058 Success
De : Vladimir Ralev [mailto:vladimi...@gmail.com]
Envoyé : lundi 27 juin 2011 21:19
À : mobicent...@googlegroups.com
Objet : Re: [mobicents-public] MMS 2.1.0.BETA2 error: Endpoint not available.
Thanks I will try it in a moment I have just another questions.
actually to connect an aap endpoint to the IP network I use a packet relay endpoint , is that correct ?
or can I directly connect the aap to the IP network (by passing the received SDP from SIP to the aap and not to the packet relay)
regards
Laurent
De : Oleg Kulikov [mailto:oleg.k...@gmail.com]
Envoyé : mardi 28 juin 2011 09:28
so I have tried to connect the aap endoint directly but when I start the player I have an error
any Idea ?
Laurent
I get this error:
10:24:06,743 INFO [MainDeployer] [[[[[[[[[ Mobicents Media Server: release.version=${pom.version} Started ]]]]]]]]]
10:24:52,072 INFO [Transaction] ID=286834776, state=0, command=CRCX
10:24:52,189 INFO [Transaction] ID=286834777, state=0, command=RQNT
java.lang.ArrayIndexOutOfBoundsException
at java.lang.System.arraycopy(Native Method)
at org.mobicents.media.server.utils.Text.duplicate(Text.java:167)
at org.mobicents.media.server.mgcp.controller.NotifiedEntity.setValue(NotifiedEntity.java:54)
at org.mobicents.media.server.mgcp.controller.Request.accept(Request.java:96)
at org.mobicents.media.server.mgcp.controller.NotificationRequestAction$ExecuteRequestTask.perform(NotificationRequestAction.java:136)
at org.mobicents.media.server.scheduler.Task.run(Task.java:92)
at org.mobicents.media.server.scheduler.Scheduler$CpuThread.run(Scheduler.java:232)
full MGCP transaction
U 95.128.80.92:2727 -> 95.128.80.92:2427
CRCX 286834776 mobicents/aap/$@95.128.80.92:2427 MGCP 1.0
C: 1
M: sendrecv
v=0.
o=root 1202146062 1202146064 IN IP4 95.128.80.6.
s=call.
c=IN IP4 95.128.80.6.
t=0 0.
m=audio 3066 RTP/AVP 8 101.
a=rtpmap:8 pcma/8000.
a=rtpmap:101 telephone-event/8000.
a=fmtp:101 0-16.
a=ptime:20.
a=sendrecv.
a=nortpproxy:yes.
U 95.128.80.92:2427 -> 95.128.80.92:2727
200 286834776 Success
I:873de5e85717f0
Z:mobicents/aap/1...@95.128.80.92:2427
v=0
o=- 1309249492096 1 IN IP4 95.128.80.92
s=Mobicents Media Server
c=IN IP4 95.128.80.92
t=0 0
m=audio 1026 RTP/AVP 8 101
a=rtpmap:8 pcma/8000
a=rtpmap:101 telephone-event/8000
a=fmtp: 101 0-15
U 95.128.80.92:2727 -> 95.128.80.92:2427
RQNT 286834777 mobicents/aap/1...@95.128.80.92:2427 MGCP 1.0
X:1
S:A/ann@873de5e85717f0(file:///var/lib/asterisk/moh/fpm-sunshine.wav)
R:A/oc@873de5e85717f0 (N),A/of@873de5e85717f0 (N)
De : Oleg Kulikov [mailto:oleg.k...@gmail.com]
Envoyé : mardi 28 juin 2011 09:44
S:A/ann@873de5e85717f0(file:///var/lib/asterisk/moh/fpm-sunshine.wav)
R:A/oc@873de5e85717f0 (N),A/of@873de5e85717f0 (N)S:AU/pa(ann=file:///var/lib/asterisk/moh/fpm-sunshine.wav)
R:AU/oc(N),AU/of(N)Hello,
before I was using the standalone version , so to test your patch I have downloaded from the svn the Beta2 version
(svn co http://mobicents.googlecode.com/svn/tags/servers/media/2.x.y/server-2.1.0.BETA2/)
but when I try to compile it with "mvn install" I get the error bellow (patch is not applied).
so it seems that I'm doing something wrong, can you tell me how I must compile it ?
Regards
Laurent
root@me server-2.1.0.BETA2]# mvn install
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[ERROR] FATAL ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Error building POM (may not be this project's POM).
Project ID: unknown
Reason: Could not find the model file '/home/mms-server-svn/server-2.1.0.BETA2/scheduler'. for project unknown
[INFO] ------------------------------------------------------------------------
[INFO] Trace
org.apache.maven.reactor.MavenExecutionException: Could not find the model file '/home/mms-server-svn/server-2.1.0.BETA2/scheduler'. for project unknown
at org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:378)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:292)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:287)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by: org.apache.maven.project.ProjectBuildingException: Could not find the model file '/home/mms-server-svn/server-2.1.0.BETA2/scheduler'. for project unknown
at org.apache.maven.project.DefaultMavenProjectBuilder.readModel(DefaultMavenProjectBuilder.java:1557)
at org.apache.maven.project.DefaultMavenProjectBuilder.buildFromSourceFileInternal(DefaultMavenProjectBuilder.java:504)
at org.apache.maven.project.DefaultMavenProjectBuilder.build(DefaultMavenProjectBuilder.java:198)
at org.apache.maven.DefaultMaven.getProject(DefaultMaven.java:583)
at org.apache.maven.DefaultMaven.collectProjects(DefaultMaven.java:461)
at org.apache.maven.DefaultMaven.collectProjects(DefaultMaven.java:534)
at org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:365)
... 11 more
Caused by: java.io.FileNotFoundException: /home/mms-server-svn/server-2.1.0.BETA2/scheduler (No such file or directory)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.java:106)
at hidden.org.codehaus.plexus.util.xml.XmlReader.<init>(XmlReader.java:123)
at hidden.org.codehaus.plexus.util.xml.XmlStreamReader.<init>(XmlStreamReader.java:67)
at hidden.org.codehaus.plexus.util.ReaderFactory.newXmlReader(ReaderFactory.java:113)
at org.apache.maven.project.DefaultMavenProjectBuilder.readModel(DefaultMavenProjectBuilder.java:1552)
... 17 more
[INFO] ------------------------------------------------------------------------
[INFO] Total time: < 1 second
[INFO] Finished at: Tue Jun 28 10:39:59 CEST 2011
[INFO] Final Memory: 3M/150M
[INFO] ------------------------------------------------------------------------
De : Oleg Kulikov [mailto:oleg.k...@gmail.com]
Envoyé : mardi 28 juin 2011 09:28
À : mobicents-public@googlegroups.com
Hi,
with the trunk version, compilation fail due to a test failure, I will try to disable run of test for the compilation.
regarding the other error, java.lang.ArrayIndexOutOfBoundsException when I start the player, any idea ?
Laurent
------------------------------------------------------
T E S T S
-------------------------------------------------------
Running org.mobicents.media.server.impl.resource.mediaplayer.audio.gsm.GsmTrackImplTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.075 sec
Running org.mobicents.media.server.impl.resource.mediaplayer.audio.wav.WavTrackImplTest
724000
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.013 sec
Running org.mobicents.media.server.impl.resource.mediaplayer.MediaPlayerImplTest
log4j:ERROR Could not find value for key log4j.appender.R
log4j:ERROR Could not instantiate appender named "R".
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.071 sec
Running org.mobicents.media.server.impl.resource.mediaplayer.audio.tts.TtsTrackImplTest
2011-06-28 22:37:29,980 WARN [org.mobicents.media.server.impl.resource.mediaplayer.audio.tts.MbrolaVoiceFactory] MBROLA Voice mbrola_us1 set-up failed.
System property "mbrola.base" is undefined. You might need to set the MBROLA_DIR environment variable.
2011-06-28 22:37:29,980 WARN [org.mobicents.media.server.impl.resource.mediaplayer.audio.tts.MbrolaVoiceFactory] MBROLA Voice mbrola_us2 set-up failed.
System property "mbrola.base" is undefined. You might need to set the MBROLA_DIR environment variable.
2011-06-28 22:37:29,980 WARN [org.mobicents.media.server.impl.resource.mediaplayer.audio.tts.MbrolaVoiceFactory] MBROLA Voice mbrola_us3 set-up failed.
System property "mbrola.base" is undefined. You might need to set the MBROLA_DIR environment variable.
2011-06-28 22:37:29,980 INFO [org.mobicents.media.server.impl.resource.mediaplayer.audio.tts.VoiceManager] Available voices for TTS are : alan, kevin16, kevin,
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.456 sec <<< FAILURE!
Results :
Tests in error:
testDurationd(org.mobicents.media.server.impl.resource.mediaplayer.audio.tts.TtsTrackImplTest)
Tests run: 4, Failures: 0, Errors: 1, Skipped: 0
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] There are test failures.
De : Laurent Schweizer [mailto:laurent....@peoplefone.com]
Envoyé : mardi 28 juin 2011 10:28
À : mobicent...@googlegroups.com
Objet : RE: [mobicents-public] MMS 2.1.0.BETA2 error: Endpoint not available.
Hi Oleg,
sorry, 2 different topic ( I send it in 2 mails yesterday but same subject ) :
- regarding compilation from trunk it's ok now, I will do a test with them in a moment.
- now regarding this error java.lang.ArrayIndexOutOfBoundsException it's still with the standalone MMS . I have allocated the AAP endpoint without the packet relay and when I try to start the player I get this error:
De : Oleg Kulikov [mailto:oleg.k...@gmail.com]
Envoyé : mercredi 29 juin 2011 09:13
sorry, 2 different topic ( I send it in 2 mails yesterday but same subject ) :
- regarding compilation from trunk it's ok now, I will do a test with them in a moment.
- now regarding this error java.lang.ArrayIndexOutOfBoundsException it's still with the standalone MMS . I have allocated the AAP endpoint without the packet relay and when I try to start the player I get this error:
De : Oleg Kulikov [mailto:oleg.k...@gmail.com]
Envoyé : mercredi 29 juin 2011 09:13
Hi Oleg,
sorry, 2 different topic ( I send it in 2 mails yesterday but same subject ) :
- regarding compilation from trunk it's ok now, I will do a test with them in a moment.
- now regarding this error java.lang.ArrayIndexOutOfBoundsException it's still with the standalone MMS . I have allocated the AAP endpoint without the packet relay and when I try to start the player I get this error:
De : Oleg Kulikov [mailto:oleg.k...@gmail.com]
Envoyé : mercredi 29 juin 2011 09:13
Hi Oleg,
regarding the compilation of the trunk, when I do mvn install -Dmaven.test.skip=true in the media directory all is ok, just after I don't know how to deploy / install them.
I have tried to run "ant" in the release directory but when I run it he do again all test, is that possible to disable it ?
regarding the other problem, any idea ?
Regards
Laurent
De : laurent schweizer [mailto:laurent....@gmail.com]
Envoyé : mercredi 29 juin 2011 16:15
Hi Oleg,
First, many thanks for your help .
so if I correctly understand , the A package is to send signal to an endpoint like a packet relay and the AU package to send directly to the connection (RTP) ?
so before I was doing:
EventName[] signalRequests = { new EventName(PackageName.Announcement, MgcpEvent.ann.withParm(mediaPath),connectionIdentifier) };
and I must do:
EventName[] signalRequests = { new EventName(PackageName.Announcement, MgcpEvent.pa.withParm(mediaPath),
connectionIdentifier) };
just for the PackageName, I don't see the Audio (AU) only the Announcement (A)
De : Oleg Kulikov [mailto:oleg.k...@gmail.com]
Envoyé : jeudi 30 juin 2011 05:42
À : mobicent...@googlegroups.com
Objet : Re: [mobicents-public] MMS 2.1.0.BETA2 error: Endpoint not available.
Hi Laurent,
In your MGCP request you are asking AAP to play announcement signal from A package. For future would be better to use AU package with pa signal and ann parameter. See (http://tools.ietf.org/html/rfc2897)
I've just commited the A/ann as well so you can try with your code where you need to ask signal on endpoint rather then on connection.
Oleg
Thanks for the explanation just one point is not really clear for me..
with the example that you give me:
UA ---------------------connection---------------------------------[Endpoint....]
<----- to connection SIGNAL endpoint------>
Imagine that [Endpoint] represents PSTN phone line and UA is a SIP phone. In this case SIP phone user will hear "hello" if signal has been applied to connection and PSTN phone user will hear "hello" if signal has been applied to endpoint. By default signal is always applied to endpoint and if connection ID is specified then signal will be applied to connection.
if the UA is the SIP phone and the Endpoint is a PSTN phone I need an announcement endpoint to play the "hello" ?
I have also tested the code that you give me with the AU package but I have still the same error. (I have done the test still with the standalone beta2 version)
log of MGCP and error of MMS are bellow.
Laurent
CRCX 538575294 mobicents/aap/$@95.128.80.92:2427 MGCP 1.0
C: 1
M: sendrecv
v=0.
o=root 1650038610 1650038612 IN IP4 95.128.80.6.
s=call.
c=IN IP4 95.128.80.6.
t=0 0.
m=audio 3324 RTP/AVP 8 101.
a=rtpmap:8 pcma/8000.
a=rtpmap:101 telephone-event/8000.
a=fmtp:101 0-16.
a=ptime:20.
a=sendrecv.
a=nortpproxy:yes.
200 538575294 Success
I:87e7a76b3009a0
Z:mobicents/aap/1...@95.128.80.92:2427
v=0
o=- 1309436150764 1 IN IP4 95.128.80.92
s=Mobicents Media Server
c=IN IP4 95.128.80.92
t=0 0
m=audio 1026 RTP/AVP 8 101
a=rtpmap:8 pcma/8000
a=rtpmap:101 telephone-event/8000
a=fmtp: 101 0-15
RQNT 538575295 mobicents/aap/1...@95.128.80.92:2427 MGCP 1.0
S:AU/pa(file:///var/lib/asterisk/moh/fpm-sunshine.wav)
R:AU/oc (N),AU/of (N)
14:14:55,326 INFO [MainDeployer] [[[[[[[[[ Mobicents Media Server: release.version=${pom.version} Started ]]]]]]]]]
14:15:50,740 INFO [Transaction] ID=538575294, state=0, command=CRCX
14:15:50,836 INFO [Transaction] ID=538575295, state=0, command=RQNT
java.lang.ArrayIndexOutOfBoundsException
at java.lang.System.arraycopy(Native Method)
at org.mobicents.media.server.utils.Text.duplicate(Text.java:167)
at org.mobicents.media.server.mgcp.controller.NotifiedEntity.setValue(NotifiedEntity.java:54)
at org.mobicents.media.server.mgcp.controller.Request.accept(Request.java:96)
at org.mobicents.media.server.mgcp.controller.NotificationRequestAction$ExecuteRequestTask.perform(NotificationRequestAction.java:136)
at org.mobicents.media.server.scheduler.Task.run(Task.java:92)
at org.mobicents.media.server.scheduler.Scheduler$CpuThread.run(Scheduler.java:232)
Shutting down
14:15:56,944 INFO [MGCP] Controller stopped
14:15:56,945 INFO [MGCP] Set scheduler: null
14:15:56,945 INFO [MGCP] Set server
14:15:56,946 INFO [Server] Stopping UDP Manager
14:15:56,946 INFO [UdpManager] Stopped
14:15:56,946 INFO [Server] Stopping scheduler
14:15:56,949 INFO [Server] Stopped media server instance
14:15:56,968 INFO [MainDeployer] Stopped
You have new mail in /var/spool/mail/root
De : Oleg Kulikov [mailto:oleg.k...@gmail.com]
Envoyé : jeudi 30 juin 2011 10:53
Yes your code was ok ! sorry.
so I changed with "ann=" before the url
RQNT 538575303 mobicents/aap/1...@95.128.80.92:2427 MGCP 1.0
X:3
S:AU/pa(ann=file:///var/lib/asterisk/moh/fpm-sunshine.wav)
R:AU/oc (N),AU/of (N)
but still the same error
CRCX 538575302 mobicents/aap/$@95.128.80.92:2427 MGCP 1.0
C: 3
M: sendrecv
v=0.
o=root 1089142672 1089142674 IN IP4 95.128.80.6.
s=call.
c=IN IP4 95.128.80.6.
t=0 0.
m=audio 3752 RTP/AVP 8 101.
a=rtpmap:8 pcma/8000.
a=rtpmap:101 telephone-event/8000.
a=fmtp:101 0-16.
a=ptime:20.
a=sendrecv.
a=nortpproxy:yes.
200 538575302 Success
I:87ebb24166b0b0
Z:mobicents/aap/1...@95.128.80.92:2427
v=0
o=- 1309440552836 1 IN IP4 95.128.80.92
s=Mobicents Media Server
c=IN IP4 95.128.80.92
t=0 0
m=audio 1026 RTP/AVP 8 101
a=rtpmap:8 pcma/8000
a=rtpmap:101 telephone-event/8000
a=fmtp: 101 0-15
RQNT 538575303 mobicents/aap/1...@95.128.80.92:2427 MGCP 1.0
X:3
S:AU/pa(ann=file:///var/lib/asterisk/moh/fpm-sunshine.wav)
R:AU/oc (N),AU/of (N)
De : Oleg Kulikov [mailto:oleg.k...@gmail.com]
Envoyé : jeudi 30 juin 2011 15:05
Hi,
I have this for MMS
log4j:WARN No appenders could be found for logger (org.mobicents.media.server.bootstrap.Main).
log4j:WARN Please initialize the log4j system properly.
15:23:20,329 INFO [Main] log4j configured
15:23:20,337 INFO [Main] Booting from file:/home/mms-server/conf/bootstrap-beans.xml
15:23:21,111 INFO [Configuration] Configuring /home/mms-server/deploy/server-beans.xml
15:23:21,152 INFO [Scheduler] Starting
15:23:21,153 INFO [Scheduler] Started
15:23:21,172 INFO [UdpManager] Initialized UDP interface[unknown]: bind address=95.128.80.92
15:23:21,221 INFO [Server] Creating RTP Manager
15:23:21,227 INFO [MGCP] Set scheduler: org.mobicents.media.server.scheduler.Scheduler@34c92507
15:23:21,227 INFO [MGCP] Set server
15:23:21,228 INFO [MGCP] Starting MGCP controller
15:23:21,240 INFO [MGCP] Starting MGCP provider
15:23:21,246 INFO [MgcpProvider] Opening channel
15:23:21,250 INFO [MgcpProvider] Binding channel to 95.128.80.92:2427
15:23:21,252 INFO [MGCP] Controller started
15:23:21,273 INFO [Server] Installing mobicents/aap/1
15:23:21,813 INFO [MGCP] Endpoint restarted: mobicents/aap/1
15:23:21,813 INFO [Server] Installing mobicents/aap/2
15:23:21,848 INFO [MGCP] Endpoint restarted: mobicents/aap/2
15:23:21,848 INFO [Server] Installing mobicents/aap/3
15:23:21,878 INFO [MGCP] Endpoint restarted: mobicents/aap/3
15:23:21,887 INFO [Server] Installing mobicents/ivr/1
15:23:21,948 INFO [MGCP] Endpoint restarted: mobicents/ivr/1
15:23:21,957 INFO [Server] Installing mobicents/cnf/1
15:23:21,984 INFO [MGCP] Endpoint restarted: mobicents/cnf/1
15:23:21,984 INFO [Server] Installing mobicents/cnf/2
15:23:22,008 INFO [MGCP] Endpoint restarted: mobicents/cnf/2
15:23:22,008 INFO [Server] Installing mobicents/cnf/3
15:23:22,032 INFO [MGCP] Endpoint restarted: mobicents/cnf/3
15:23:22,040 INFO [Server] Installing mobicents/relay/1
15:23:22,099 INFO [MGCP] Endpoint restarted: mobicents/relay/1
15:23:22,099 INFO [Server] Installing mobicents/relay/2
15:23:22,121 INFO [MGCP] Endpoint restarted: mobicents/relay/2
15:23:22,121 INFO [Server] Installing mobicents/relay/3
15:23:22,144 INFO [MGCP] Endpoint restarted: mobicents/relay/3
15:23:22,144 INFO [MainDeployer] [[[[[[[[[ Mobicents Media Server: release.version=${pom.version} Started ]]]]]]]]]
15:23:37,362 INFO [Transaction] ID=538575298, state=0, command=CRCX
15:23:37,436 INFO [Transaction] ID=538575299, state=0, command=RQNT
java.lang.ArrayIndexOutOfBoundsException
at java.lang.System.arraycopy(Native Method)
at org.mobicents.media.server.utils.Text.duplicate(Text.java:167)
at org.mobicents.media.server.mgcp.controller.NotifiedEntity.setValue(NotifiedEntity.java:54)
at org.mobicents.media.server.mgcp.controller.Request.accept(Request.java:96)
at org.mobicents.media.server.mgcp.controller.NotificationRequestAction$ExecuteRequestTask.perform(NotificationRequestAction.java:136)
at org.mobicents.media.server.scheduler.Task.run(Task.java:92)
at org.mobicents.media.server.scheduler.Scheduler$CpuThread.run(Scheduler.java:232)
Shutting down
15:28:42,501 INFO [MGCP] Controller stopped
15:28:42,501 INFO [MGCP] Set scheduler: null
15:28:42,501 INFO [MGCP] Set server
15:28:42,502 INFO [Server] Stopping UDP Manager
15:28:42,502 INFO [UdpManager] Stopped
15:28:42,502 INFO [Server] Stopping scheduler
15:28:42,505 INFO [Server] Stopped media server instance
15:28:42,525 INFO [MainDeployer] Stopped
De : Oleg Kulikov [mailto:oleg.k...@gmail.com]
Envoyé : jeudi 30 juin 2011 16:06
regarding the compilation of the trunk I need also your help
when I run " mvn install -Dmaven.test.skip=true" from media directory then all is ok .
but then I don't know how to deploy.
if I go in the release directory and I try to run ant, then he give back an error , see bellow.
I have a jboss server for jain-slee on the same server, maybe I can deploy with this server (so not the standalone version) but no idea how to do it.
Thanks for your help
Laurent
[exec] [INFO] ------------------------------------------------------------------------
[exec] [INFO] Building Mobicents Media Server Impl
[exec] [INFO] task-segment: [clean, install]
[exec] [INFO] ------------------------------------------------------------------------
[exec] [INFO] [clean:clean]
[exec] [INFO] Deleting directory /home/mms-server-svn/media/core/server-impl/target
[exec] [INFO] [buildnumber:create {execution: default}]
[exec] [INFO] Checking for local modifications: skipped.
[exec] [INFO] Updating project files from SCM: skipped.
[exec] [INFO] Storing buildNumber: 19159 at timestamp: 1309465161481
[exec] [INFO] [resources:resources]
[exec] [INFO] Using default encoding to copy filtered resources.
[exec] Downloading: http://repo1.maven.org/maven2/org/mobicents/external/jspeex/jspeex/0.9.7/jspeex-0.9.7.pom
[exec] Downloading: http://repository.jboss.org/maven2/org/mobicents/external/jspeex/jspeex/0.9.7/jspeex-0.9.7.pom
[exec] Downloading: https://repository.jboss.org/nexus/content/groups/public//org/mobicents/external/jspeex/jspeex/0.9.7/jspeex-0.9.7.pom
[exec] Downloading: http://repo1.maven.org/maven2/org/mobicents/external/jspeex/jspeex/0.9.7/jspeex-0.9.7.pom
[exec] Downloading: http://repo1.maven.org/maven2/net/java/stun4j/stun4j/1.0.MOBICENTS/stun4j-1.0.MOBICENTS.pom
[exec] Downloading: http://repository.jboss.org/maven2/net/java/stun4j/stun4j/1.0.MOBICENTS/stun4j-1.0.MOBICENTS.pom
[exec] Downloading: https://repository.jboss.org/nexus/content/groups/public//net/java/stun4j/stun4j/1.0.MOBICENTS/stun4j-1.0.MOBICENTS.pom
[exec] Downloading: http://repo1.maven.org/maven2/net/java/stun4j/stun4j/1.0.MOBICENTS/stun4j-1.0.MOBICENTS.pom
[exec] [INFO] ------------------------------------------------------------------------
[exec] [ERROR] BUILD ERROR
[exec] [INFO] ------------------------------------------------------------------------
[exec] [INFO] Error building POM (may not be this project's POM).
[exec]
[exec]
[exec] Project ID: org.mobicents.protocols.ss7.mtp:mtp
[exec]
[exec] Reason: Error getting POM for 'org.mobicents.protocols.ss7.mtp:mtp' from the repository: Unable to read local copy of metadata: Cannot read metadata from '/root/.m2/repository/org/mobicents/protocols/ss7/mtp/mtp/1.0.0-SNAPSHOT/maven-metadata-jboss-snapshots.xml': expected START_TAG or END_TAG not TEXT (position: TEXT seen ...<classifier>javadoc</... @14:30)
[exec] org.mobicents.protocols.ss7.mtp:mtp:pom:1.0.0-SNAPSHOT
[exec]
[exec] for project org.mobicents.protocols.ss7.mtp:mtp
[exec]
[exec]
De : Oleg Kulikov [mailto:oleg.k...@gmail.com]
Envoyé : jeudi 30 juin 2011 16:37
Hi Oleg,
so, the bug is fixed and I have no more error but no sound, no RTP packet is going out the MMS
Regards
Bellow you have:
MMS log
MGCP trace
tethereal RTP trace eher you only see the incoming RTP
=========================================================================
log4j:WARN No appenders could be found for logger (org.mobicents.media.server.bootstrap.Main).
log4j:WARN Please initialize the log4j system properly.
14:57:16,564 INFO [Main] log4j configured
14:57:16,572 INFO [Main] Booting from file:/home/mms-server-svn/media/bootstrap/target/mms-server.dir/conf/bootstrap-beans.xml
14:57:17,385 INFO [Configuration] Configuring /home/mms-server-svn/media/bootstrap/target/mms-server.dir/deploy/server-beans.xml
14:57:17,426 INFO [Scheduler] Starting
14:57:17,427 INFO [Scheduler] Started
14:57:17,446 INFO [UdpManager] Initialized UDP interface[unknown]: bind address=95.128.80.92
14:57:17,494 INFO [Server] Creating RTP Manager
14:57:17,500 INFO [MGCP] Set scheduler: org.mobicents.media.server.scheduler.Scheduler@2344b18f
14:57:17,501 INFO [MGCP] Set server
14:57:17,501 INFO [MGCP] Starting MGCP controller
14:57:17,515 INFO [MGCP] Starting MGCP provider
14:57:17,522 INFO [MgcpProvider] Opening channel
14:57:17,525 INFO [MgcpProvider] Binding channel to 95.128.80.92:2427
14:57:17,527 INFO [MGCP] Controller started
14:57:17,549 INFO [Server] Installing mobicents/aap/1
14:57:18,095 INFO [MGCP] Endpoint restarted: mobicents/aap/1
14:57:18,095 INFO [Server] Installing mobicents/aap/2
14:57:18,129 INFO [MGCP] Endpoint restarted: mobicents/aap/2
14:57:18,129 INFO [Server] Installing mobicents/aap/3
14:57:18,159 INFO [MGCP] Endpoint restarted: mobicents/aap/3
14:57:18,168 INFO [Server] Installing mobicents/ivr/1
14:57:18,239 INFO [MGCP] Endpoint restarted: mobicents/ivr/1
14:57:18,247 INFO [Server] Installing mobicents/cnf/1
14:57:18,276 INFO [MGCP] Endpoint restarted: mobicents/cnf/1
14:57:18,276 INFO [Server] Installing mobicents/cnf/2
14:57:18,300 INFO [MGCP] Endpoint restarted: mobicents/cnf/2
14:57:18,300 INFO [Server] Installing mobicents/cnf/3
14:57:18,322 INFO [MGCP] Endpoint restarted: mobicents/cnf/3
14:57:18,369 INFO [Server] Installing mobicents/relay/1
14:57:18,392 INFO [MGCP] Endpoint restarted: mobicents/relay/1
14:57:18,392 INFO [Server] Installing mobicents/relay/2
14:57:18,414 INFO [MGCP] Endpoint restarted: mobicents/relay/2
14:57:18,414 INFO [Server] Installing mobicents/relay/3
14:57:18,436 INFO [MGCP] Endpoint restarted: mobicents/relay/3
14:57:18,436 INFO [MainDeployer] [[[[[[[[[ Mobicents Media Server: release.version=${pom.version} Started ]]]]]]]]]
14:58:31,382 INFO [Transaction] ID=562184262, state=0, command=CRCX
14:58:31,464 INFO [Transaction] ID=562184263, state=0, command=RQNT
14:58:31,465 INFO [Play] Executing...
14:58:31,465 INFO [Play] Got player org.mobicents.media.server.impl.resource.mediaplayer.audio.AudioPlayerImpl@5578920a
14:58:31,465 INFO [Play] Assign listener org.mobicents.media.server.impl.resource.mediaplayer.audio.AudioPlayerImpl@5578920a
14:58:31,466 INFO [Play] Parsed options org.mobicents.media.server.impl.resource.mediaplayer.audio.AudioPlayerImpl@5578920a
14:58:31,466 INFO [Play] Assigning URL: file:///var/lib/asterisk/moh/fpm-sunshine.wav
14:58:31,490 INFO [Play] Assigned url org.mobicents.media.server.impl.resource.mediaplayer.audio.AudioPlayerImpl@5578920a
14:58:31,492 INFO [AudioPlayerImpl] ==== drift=98000000 , dur=161234000000
start:14:58:31,492
Shutting down
CRCX 562184262 mobicents/aap/$@95.128.80.92:2427 MGCP 1.0
C: 1
M: sendrecv
v=0.
o=root 2096880525 2096880527 IN IP4 95.128.80.6.
s=call.
c=IN IP4 95.128.80.6.
t=0 0.
m=audio 3588 RTP/AVP 8 101.
a=rtpmap:8 pcma/8000.
a=rtpmap:101 telephone-event/8000.
a=fmtp:101 0-16.
a=ptime:20.
a=sendrecv.
a=nortpproxy:yes.
200 562184262 Success
I:88388c1903b560
Z:mobicents/aap/1...@95.128.80.92:2427
v=0
o=- 1309525111406 1 IN IP4 95.128.80.92
s=Mobicents Media Server
c=IN IP4 95.128.80.92
t=0 0
m=audio 1026 RTP/AVP 8 101
a=rtpmap:8 pcma/8000
a=rtpmap:101 telephone-event/8000
a=fmtp: 101 0-15
RQNT 562184263 mobicents/aap/1...@95.128.80.92:2427 MGCP 1.0
S:AU/pa(ann=file:///var/lib/asterisk/moh/fpm-sunshine.wav)
R:AU/oc (N),AU/of (N)
U 95.128.80.92:2427 -> 95.128.80.92:2727
200 562184263 Success
9.427265 95.128.80.6 -> 95.128.80.92 SIP/SDP Request: INVITE sip:peopl...@95.128.80.92:5060, with session description
9.433291 95.128.80.92 -> 95.128.80.6 SIP/SDP Status: 200 OK, with session description
9.440931 95.128.80.92 -> 95.128.80.6 SIP Request: INVITE sip:90483...@62.12.193.204:10273;line=9gh33wx5
9.441372 95.128.80.6 -> 95.128.80.92 SIP Status: 100 Giving a try
9.607148 95.128.80.6 -> 95.128.80.92 SIP/SDP Status: 200 Ok, with session description
9.614668 95.128.80.6 -> 95.128.80.92 SIP Request: ACK sip:peopl...@95.128.80.92:5060
9.685943 95.128.80.92 -> 95.128.80.6 SIP/SDP Request: ACK sip:90483...@62.12.193.204:10273;line=9gh33wx5, with session description
9.706906 95.128.80.6 -> 95.128.80.92 RTP PT=ITU-T G.711 PCMA, SSRC=0x5F42625C, Seq=34985, Time=2647661776
9.726859 95.128.80.6 -> 95.128.80.92 RTP PT=ITU-T G.711 PCMA, SSRC=0x5F42625C, Seq=34986, Time=2647661936
9.746856 95.128.80.6 -> 95.128.80.92 RTP PT=ITU-T G.711 PCMA, SSRC=0x5F42625C, Seq=34987, Time=2647662096
9.766856 95.128.80.6 -> 95.128.80.92 RTP PT=ITU-T G.711 PCMA, SSRC=0x5F42625C, Seq=34988, Time=2647662256
9.787302 95.128.80.6 -> 95.128.80.92 RTP PT=ITU-T G.711 PCMA, SSRC=0x5F42625C, Seq=34989, Time=2647662416
9.806853 95.128.80.6 -> 95.128.80.92 RTP PT=ITU-T G.711 PCMA, SSRC=0x5F42625C, Seq=34990, Time=2647662576
9.827247 95.128.80.6 -> 95.128.80.92 RTP PT=ITU-T G.711 PCMA, SSRC=0x5F42625C, Seq=34991, Time=2647662736
9.846851 95.128.80.6 -> 95.128.80.92 RTP PT=ITU-T G.711 PCMA, SSRC=0x5F42625C, Seq=34992, Time=2647662896
9.867222 95.128.80.6 -> 95.128.80.92 RTP PT=ITU-T G.711 PCMA, SSRC=0x5F42625C, Seq=34993, Time=2647663056
9.887239 95.128.80.6 -> 95.128.80.92 RTP PT=ITU-T G.711 PCMA, SSRC=0x5F42625C, Seq=34994, Time=2647663216
9.906848 95.128.80.6 -> 95.128.80.92 RTP PT=ITU-T G.711 PCMA, SSRC=0x5F42625C, Seq=34995, Time=2647663376
9.926848 95.128.80.6 -> 95.128.80.92 RTP PT=ITU-T G.711 PCMA, SSRC=0x5F42625C, Seq=34996, Time=2647663536
9.946850 95.128.80.6 -> 95.128.80.92 RTP PT=ITU-T G.711 PCMA, SSRC=0x5F42625C, Seq=34997, Time=2647663696
9.967263 95.128.80.6 -> 95.128.80.92 RTP PT=ITU-T G.711 PCMA, SSRC=0x5F42625C, Seq=34998, Time=2647663856
9.987242 95.128.80.6 -> 95.128.80.92 RTP PT=ITU-T G.711 PCMA, SSRC=0x5F42625C, Seq=34999, Time=2647664016
10.006844 95.128.80.6 -> 95.128.80.92 RTP PT=ITU-T G.711 PCMA, SSRC=0x5F42625C, Seq=35000, Time=2647664176
10.027246 95.128.80.6 -> 95.128.80.92 RTP PT=ITU-T G.711 PCMA, SSRC=0x5F42625C, Seq=35001, Time=2647664336
10.046841 95.128.80.6 -> 95.128.80.92 RTP PT=ITU-T G.711 PCMA, SSRC=0x5F42625C, Seq=35002, Time=2647664496
10.066842 95.128.80.6 -> 95.128.80.92 RTP PT=ITU-T G.711 PCMA, SSRC=0x5F42625C, Seq=35003, Time=2647664656
10.087257 95.128.80.6 -> 95.128.80.92 RTP PT=ITU-T G.711 PCMA, SSRC=0x5F42625C, Seq=35004, Time=2647664816
10.106840 95.128.80.6 -> 95.128.80.92 RTP PT=ITU-T G.711 PCMA, SSRC=0x5F42625C, Seq=35005, Time=2647664976
10.126893 95.128.80.6 -> 95.128.80.92 RTP PT=ITU-T G.711 PCMA, SSRC=0x5F42625C, Seq=35006, Time=2647665136
10.147259 95.128.80.6 -> 95.128.80.92 RTP PT=ITU-T G.711 PCMA, SSRC=0x5F42625C, Seq=35007, Time=2647665296
10.166855 95.128.80.6 -> 95.128.80.92 RTP PT=ITU-T G.711 PCMA, SSRC=0x5F42625C, Seq=35008, Time=2647665456
10.187189 95.128.80.6 -> 95.128.80.92 RTP PT=ITU-T G.711 PCMA, SSRC=0x5F42625C, Seq=35009, Time=2647665616
10.207214 95.128.80.6 -> 95.128.80.92 RTP PT=ITU-T G.711 PCMA, SSRC=0x5F42625C, Seq=35010, Time=2647665776
10.226835 95.128.80.6 -> 95.128.80.92 RTP PT=ITU-T G.711 PCMA, SSRC=0x5F42625C, Seq=35011, Time=2647665936
10.246833 95.128.80.6 -> 95.128.80.92 RTP PT=ITU-T G.711 PCMA, SSRC=0x5F42625C, Seq=35012, Time=2647666096
10.267216 95.128.80.6 -> 95.128.80.92 RTP PT=ITU-T G.711 PCMA, SSRC=0x5F42625C, Seq=35013, Time=2647666256
10.286839 95.128.80.6 -> 95.128.80.92 RTP PT=ITU-T G.711 PCMA, SSRC=0x5F42625C, Seq=35014, Time=2647666416
10.306832 95.128.80.6 -> 95.128.80.92 RTP PT=ITU-T G.711 PCMA, SSRC=0x5F42625C, Seq=35015, Time=2647666576
10.327249 95.128.80.6 -> 95.128.80.92 RTP PT=ITU-T G.711 PCMA, SSRC=0x5F42625C, Seq=35016, Time=2647666736
10.346831 95.128.80.6 -> 95.128.80.92 RTP PT=ITU-T G.711 PCMA, SSRC=0x5F42625C, Seq=35017, Time=2647666896
10.366828 95.128.80.6 -> 95.128.80.92 RTP PT=ITU-T G.711 PCMA, SSRC=0x5F42625C, Seq=35018, Time=2647667056
10.386827 95.128.80.6 -> 95.128.80.92 RTP PT=ITU-T G.711 PCMA, SSRC=0x5F42625C, Seq=35019, Time=2647667216
10.406826 95.128.80.6 -> 95.128.80.92 RTP PT=ITU-T G.711 PCMA, SSRC=0x5F42625C, Seq=35020, Time=2647667376
10.426825 95.128.80.6 -> 95.128.80.92 RTP PT=ITU-T G.711 PCMA, SSRC=0x5F42625C, Seq=35021, Time=2647667536
De : Oleg Kulikov [mailto:oleg.k...@gmail.com]
Envoyé : vendredi 1 juillet 2011 05:33
À : mobicent...@googlegroups.com
Objet : Re: [mobicents-public] MMS 2.1.0.BETA2 error: Endpoint not available.
Hi Laurent,
2011/7/1 Laurent Schweizer <laurent....@peoplefone.com>
2011/6/30 Laurent Schweizer <laurent....@peoplefone.com>
Oleg
2011/6/30 Laurent Schweizer <laurent....@peoplefone.com>
2011/6/30 Laurent Schweizer <laurent....@peoplefone.com>
UA ---------------------connection---------------------------------[Endpoint.....]
yes but we have a RTP proxy to deal with it, the IP 95.128.80.6 that you see on the tethereal trace is this proxy.
and I have done the trace (Tethereal ) on the Mobicents media host and no packet are going out.
I only get packet from the RTP proxy to MMS
RTP Proxy host is 95.128.80.6
MMS host is 95.128.80.92
Regards
Laurent
De : Oleg Kulikov [mailto:oleg.k...@gmail.com]
Envoyé : vendredi 1 juillet 2011 15:17
YES,
with sendonly all is OK
THANKS.
Laurent
De : Oleg Kulikov [mailto:oleg.k...@gmail.com]
Envoyé : vendredi 1 juillet 2011 15:50
Yes I will do test and send you the wireshark trace.
I will also do the test with the AAP connected to the packet relay and give you a feed back.
Regards
Laurent
De : Oleg Kulikov [mailto:oleg.k...@gmail.com]
Envoyé : vendredi 1 juillet 2011 16:30
Regarding the AAP connected to the packet relay connected to the UA I still the a small problem.
like you can see MMS send me back an (410) error and a success and for the 200 Success the transaction id seems set to 0.
CRCX 570572998 mobicents/relay/$@95.128.80.92:2427 MGCP 1.0
C: 1
M: sendrecv
v=0.
o=root 1113439519 1113439521 IN IP4 95.128.80.6.
s=call.
c=IN IP4 95.128.80.6.
t=0 0.
m=audio 3192 RTP/AVP 8 101.
a=rtpmap:8 pcma/8000.
a=rtpmap:101 telephone-event/8000.
a=fmtp:101 0-16.
a=ptime:20.
a=sendrecv.
a=nortpproxy:yes.
200 570572998 Success
I:883ddf2030e7d8
Z:mobicents/relay/1...@95.128.80.92:2427
v=0
o=- 1309531128565 1 IN IP4 95.128.80.92
s=Mobicents Media Server
c=IN IP4 95.128.80.92
t=0 0
m=audio 1026 RTP/AVP 8 101
a=rtpmap:8 pcma/8000
a=rtpmap:101 telephone-event/8000
a=fmtp: 101 0-15
CRCX 570572999 mobicents/aap/$@95.128.80.92:2427 MGCP 1.0
C: 1
M: sendonly
Z2: mobicents/relay/1...@95.128.80.92:2427
410 570572999 Endpoint not available
200 0 Success
I:883ddf137300f8
Z:mobicents/aap/3...@95.128.80.92:2427
I2:883ddf203116b8
Z2:mobicents/relay/1...@95.128.80.92:2427
and on the Jain slee part I see that he don't parse correctly the 410, maybe I must update the MGCP RA on the jain slee
16:38:48,670 ERROR [TransactionHandler] Could not decode message:
java.text.ParseException: unknown response code: 410
at org.mobicents.protocols.mgcp.parser.Utils.decodeReturnCode(Utils.java:1568)
at org.mobicents.protocols.mgcp.stack.CreateConnectionHandler$ResponseContentHandle.header(CreateConnectionHandler.java:267)
at org.mobicents.protocols.mgcp.parser.MgcpMessageParser.parse(MgcpMessageParser.java:55)
at org.mobicents.protocols.mgcp.stack.CreateConnectionHandler.decodeResponse(CreateConnectionHandler.java:88)
at org.mobicents.protocols.mgcp.stack.TransactionHandler.receiveResponse(TransactionHandler.java:621)
at org.mobicents.protocols.mgcp.stack.MessageHandler.scheduleMessages(MessageHandler.java:223)
at org.mobicents.protocols.mgcp.stack.JainMgcpStackImpl.run(JainMgcpStackImpl.java:327)
16:38:48,671 ERROR [JainMgcpStackImpl] Unexpected exception occured:
java.lang.NullPointerException
at org.mobicents.protocols.mgcp.stack.TransactionHandler.receiveResponse(TransactionHandler.java:627)
at org.mobicents.protocols.mgcp.stack.MessageHandler.scheduleMessages(MessageHandler.java:223)
at org.mobicents.protocols.mgcp.stack.JainMgcpStackImpl.run(JainMgcpStackImpl.java:327)
16:38:48,671 WARN [MessageHandler] --- Address:/95.128.80.92
De : Laurent Schweizer [mailto:laurent....@peoplefone.com]
Envoyé : vendredi 1 juillet 2011 16:34
À : mobicent...@googlegroups.com
Objet : RE: [mobicents-public] MMS 2.1.0.BETA2 error: Endpoint not available.
2011/7/1 Laurent Schweizer <laurent....@peoplefone.com>
2011/7/1 Laurent Schweizer <laurent....@peoplefone.com>
2011/7/1 Laurent Schweizer <laurent....@peoplefone.com>
2011/7/1 Laurent Schweizer <laurent....@peoplefone.com>
when I run " mvn install -Dmaven.test.skip=true" from media directory then all is ok ..
Hi Oleg, when I need to delete a connection, I must specify the connection ID ? I cannot just indicate the call id ?
DLCX 570952188 mobicents/aap/1...@95.128.80.92:2427 MGCP 1.0
C:2
510 570952188 Connection identifier was not specified
I see in the RFC that it was possible:
F.7 DeleteConnection (multiple connections from the Call Agent)
In the first example, the Call Agent instructs the gateway to delete
all connections related to call "A3C47F21456789F0" on the specified
endpoint:
DLCX 1210 aaln/1...@rgw-2567.whatever.net MGCP 1.0
C: A3C47F21456789F0
The response indicates success and that the connection(s) were
deleted:
250 1210 OK
Regards
Laurent
Full log :
CRCX 570952186 mobicents/aap/$@95.128.80.92:2427 MGCP 1.0
C: 2
M: sendonly
v=0.
o=root 654640985 654640987 IN IP4 95.128.80.6.
s=call.
c=IN IP4 95.128.80.6.
t=0 0.
m=audio 4350 RTP/AVP 8 101.
a=rtpmap:8 pcma/8000.
a=rtpmap:101 telephone-event/8000.
a=fmtp:101 0-16.
a=ptime:20.
a=sendrecv.
a=nortpproxy:yes.
200 570952186 Success
I:88429beac1cc18
Z:mobicents/aap/1...@95.128.80.92:2427
v=0
o=- 1309536112902 1 IN IP4 95.128.80.92
s=Mobicents Media Server
c=IN IP4 95.128.80.92
t=0 0
m=audio 1026 RTP/AVP 8 101
a=rtpmap:8 pcma/8000
a=rtpmap:101 telephone-event/8000
a=fmtp: 101 0-15
RQNT 570952187 mobicents/aap/1...@95.128.80.92:2427 MGCP 1.0
X:2
S:AU/pa(ann=file:/var/lib/asterisk/moh/fpm-sunshine.wav)
200 570952187 Success
DLCX 570952188 mobicents/aap/1...@95.128.80.92:2427 MGCP 1.0
C:2
510 570952188 Connection identifier was not specified
De : Oleg Kulikov [mailto:oleg.k...@gmail.com]
Envoyé : vendredi 1 juillet 2011 16:59
Oleg,
attached two wireshark capture done on linux centos with MMS trunk
Regards
Laurent
De : Oleg Kulikov [mailto:oleg.k...@gmail.com]
Envoyé : vendredi 1 juillet 2011 20:16
Hi Oleg, yes it's better and no more interruptions .
just I have still (yes again!) a problem , when I'm repeating many time :
1) allocation of an Announcement endpoint
2) play a file
3) delete the connection
after many time (about 10 times with 3 announcements endpoints ) I get on the MMS the output:
15:48:58,773 ERROR [MgcpProvider] java.lang.NullPointerException
15:49:00,769 ERROR [MgcpProvider] java.lang.NullPointerException
15:49:02,775 ERROR [MgcpProvider] java.lang.NullPointerException
15:49:04,772 ERROR [MgcpProvider] java.lang.NullPointerException
15:49:10,778 ERROR [MgcpProvider] java.lang.NullPointerException
15:49:12,775 ERROR [MgcpProvider] java.lang.NullPointerException
and no answer for new allocation/ query to delete
bellow log of MMS and MGCP trace.
Laurent
[root@me bin]# ../run.sh
=========================================================================
MMS Bootstrap Environment
MMS_HOME: /home/mms-server-svn/media/bootstrap/target/mms-server.dir
JAVA: /usr/java/jdk1.6.0_22/bin/java
JAVA_OPTS: -Dprogram.name=run.sh -server -Djava.net.preferIPv4Stack=true -Xms128m -Xmx512m -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000
CLASSPATH: /home/mms-server-svn/media/bootstrap/target/mms-server.dir/bin/run.jar
=========================================================================
log4j:WARN No appenders could be found for logger (org.mobicents.media.server.bootstrap.Main).
log4j:WARN Please initialize the log4j system properly.
15:47:01,274 INFO [Main] log4j configured
15:47:01,282 INFO [Main] Booting from file:/home/mms-server-svn/media/bootstrap/target/mms-server.dir/conf/bootstrap-beans.xml
15:47:02,056 INFO [Configuration] Configuring /home/mms-server-svn/media/bootstrap/target/mms-server.dir/deploy/server-beans.xml
15:47:02,097 INFO [Scheduler] Starting
15:47:02,099 INFO [Scheduler] Started
15:47:02,117 INFO [UdpManager] Initialized UDP interface[unknown]: bind address=95.128.80.92
15:47:02,165 INFO [Server] Creating RTP Manager
15:47:02,165 INFO [MGCP] Set server
15:47:02,171 INFO [MGCP] Set scheduler: org.mobicents.media.server.scheduler.Scheduler@3465b738
15:47:02,172 INFO [MGCP] Starting MGCP controller
15:47:02,186 INFO [MGCP] Starting MGCP provider
15:47:02,193 INFO [MgcpProvider] Opening channel
15:47:02,196 INFO [MgcpProvider] Binding channel to 95.128.80.92:2427
15:47:02,198 INFO [MGCP] Controller started
15:47:02,219 INFO [Server] Installing mobicents/aap/1
15:47:02,780 INFO [MGCP] Endpoint restarted: mobicents/aap/1
15:47:02,781 INFO [Server] Installing mobicents/aap/2
15:47:02,816 INFO [MGCP] Endpoint restarted: mobicents/aap/2
15:47:02,816 INFO [Server] Installing mobicents/aap/3
15:47:02,847 INFO [MGCP] Endpoint restarted: mobicents/aap/3
15:47:02,857 INFO [Server] Installing mobicents/ivr/1
15:47:02,917 INFO [MGCP] Endpoint restarted: mobicents/ivr/1
15:47:02,926 INFO [Server] Installing mobicents/cnf/1
15:47:02,957 INFO [MGCP] Endpoint restarted: mobicents/cnf/1
15:47:02,958 INFO [Server] Installing mobicents/cnf/2
15:47:02,982 INFO [MGCP] Endpoint restarted: mobicents/cnf/2
15:47:02,983 INFO [Server] Installing mobicents/cnf/3
15:47:03,007 INFO [MGCP] Endpoint restarted: mobicents/cnf/3
15:47:03,050 INFO [Server] Installing mobicents/relay/1
15:47:03,072 INFO [MGCP] Endpoint restarted: mobicents/relay/1
15:47:03,072 INFO [Server] Installing mobicents/relay/2
15:47:03,095 INFO [MGCP] Endpoint restarted: mobicents/relay/2
15:47:03,095 INFO [Server] Installing mobicents/relay/3
15:47:03,117 INFO [MGCP] Endpoint restarted: mobicents/relay/3
15:47:03,118 INFO [MainDeployer] [[[[[[[[[ Mobicents Media Server: release.version=${pom.version} Started ]]]]]]]]]
15:48:12,841 INFO [Transaction] ID=822608022, state=0, command=CRCX
15:48:12,928 INFO [Transaction] ID=822608023, state=0, command=RQNT
15:48:12,928 INFO [Play] Executing...
15:48:12,928 INFO [Play] Got player org.mobicents.media.server.impl.resource.mediaplayer.audio.AudioPlayerImpl@1bd7b222
15:48:12,928 INFO [Play] Assign listener org.mobicents.media.server.impl.resource.mediaplayer.audio.AudioPlayerImpl@1bd7b222
15:48:12,929 INFO [Play] Parsed options org.mobicents.media.server.impl.resource.mediaplayer.audio.AudioPlayerImpl@1bd7b222
15:48:12,930 INFO [Play] Assigning URL: file:/var/lib/asterisk/moh/fpm-sunshine.wav
15:48:12,953 INFO [Play] Assigned url org.mobicents.media.server.impl.resource.mediaplayer.audio.AudioPlayerImpl@1bd7b222
15:48:12,954 INFO [AudioPlayerImpl] ==== drift=100000000 , dur=161232000000
start:15:48:12,954
15:48:19,295 INFO [Transaction] ID=822608024, state=0, command=DLCX
15:48:21,842 INFO [Transaction] ID=822608025, state=0, command=CRCX
15:48:21,896 INFO [Transaction] ID=822608026, state=0, command=RQNT
15:48:21,897 INFO [Play] Executing...
15:48:21,897 INFO [Play] Got player org.mobicents.media.server.impl.resource.mediaplayer.audio.AudioPlayerImpl@2b76086d
15:48:21,897 INFO [Play] Assign listener org.mobicents.media.server.impl.resource.mediaplayer.audio.AudioPlayerImpl@2b76086d
15:48:21,897 INFO [Play] Parsed options org.mobicents.media.server.impl.resource.mediaplayer.audio.AudioPlayerImpl@2b76086d
15:48:21,897 INFO [Play] Assigning URL: file:/var/lib/asterisk/moh/fpm-sunshine.wav
15:48:21,899 INFO [Play] Assigned url org.mobicents.media.server.impl.resource.mediaplayer.audio.AudioPlayerImpl@2b76086d
15:48:21,900 INFO [AudioPlayerImpl] ==== drift=99000000 , dur=161233000000
start:15:48:21,900
15:48:23,909 INFO [Transaction] ID=822608027, state=0, command=DLCX
15:48:25,940 INFO [Transaction] ID=822608028, state=0, command=CRCX
15:48:25,986 INFO [Transaction] ID=822608029, state=0, command=RQNT
15:48:25,987 INFO [Play] Executing...
15:48:25,987 INFO [Play] Got player org.mobicents.media.server.impl.resource.mediaplayer.audio.AudioPlayerImpl@466d1750
15:48:25,987 INFO [Play] Assign listener org.mobicents.media.server.impl.resource.mediaplayer.audio.AudioPlayerImpl@466d1750
15:48:25,987 INFO [Play] Parsed options org.mobicents.media.server.impl.resource.mediaplayer.audio.AudioPlayerImpl@466d1750
15:48:25,987 INFO [Play] Assigning URL: file:/var/lib/asterisk/moh/fpm-sunshine.wav
15:48:25,988 INFO [Play] Assigned url org.mobicents.media.server.impl.resource.mediaplayer.audio.AudioPlayerImpl@466d1750
15:48:25,989 INFO [AudioPlayerImpl] ==== drift=99000000 , dur=161233000000
start:15:48:25,989
15:48:27,831 INFO [Transaction] ID=822608030, state=0, command=DLCX
15:48:29,421 INFO [Transaction] ID=822608031, state=0, command=CRCX
15:48:29,487 INFO [Transaction] ID=822608032, state=0, command=RQNT
15:48:29,488 INFO [Play] Executing...
15:48:29,488 INFO [Play] Got player org.mobicents.media.server.impl.resource.mediaplayer.audio.AudioPlayerImpl@1bd7b222
15:48:29,488 INFO [Play] Assign listener org.mobicents.media.server.impl.resource.mediaplayer.audio.AudioPlayerImpl@1bd7b222
15:48:29,488 INFO [Play] Parsed options org.mobicents.media.server.impl.resource.mediaplayer.audio.AudioPlayerImpl@1bd7b222
15:48:29,488 INFO [Play] Assigning URL: file:/var/lib/asterisk/moh/fpm-sunshine.wav
15:48:29,489 INFO [Play] Assigned url org.mobicents.media.server.impl.resource.mediaplayer.audio.AudioPlayerImpl@1bd7b222
15:48:29,490 INFO [AudioPlayerImpl] ==== drift=99000000 , dur=161233000000
start:15:48:29,490
15:48:31,266 INFO [Transaction] ID=822608033, state=0, command=DLCX
15:48:32,880 INFO [Transaction] ID=822608034, state=0, command=CRCX
15:48:32,942 INFO [Transaction] ID=822608035, state=0, command=RQNT
15:48:32,943 INFO [Play] Executing...
15:48:32,943 INFO [Play] Got player org.mobicents.media.server.impl.resource.mediaplayer.audio.AudioPlayerImpl@2b76086d
15:48:32,943 INFO [Play] Assign listener org.mobicents.media.server.impl.resource.mediaplayer.audio.AudioPlayerImpl@2b76086d
15:48:32,943 INFO [Play] Parsed options org.mobicents.media.server.impl.resource.mediaplayer.audio.AudioPlayerImpl@2b76086d
15:48:32,943 INFO [Play] Assigning URL: file:/var/lib/asterisk/moh/fpm-sunshine.wav
15:48:32,944 INFO [Play] Assigned url org.mobicents.media.server.impl.resource.mediaplayer.audio.AudioPlayerImpl@2b76086d
15:48:32,945 INFO [AudioPlayerImpl] ==== drift=99000000 , dur=161233000000
start:15:48:32,945
15:48:34,446 INFO [Transaction] ID=822608036, state=0, command=DLCX
15:48:35,860 INFO [Transaction] ID=822608037, state=0, command=CRCX
15:48:35,914 INFO [Transaction] ID=822608038, state=0, command=RQNT
15:48:35,915 INFO [Play] Executing...
15:48:35,915 INFO [Play] Got player org.mobicents.media.server.impl.resource.mediaplayer.audio.AudioPlayerImpl@466d1750
15:48:35,915 INFO [Play] Assign listener org.mobicents.media.server.impl.resource.mediaplayer.audio.AudioPlayerImpl@466d1750
15:48:35,915 INFO [Play] Parsed options org.mobicents.media.server.impl.resource.mediaplayer.audio.AudioPlayerImpl@466d1750
15:48:35,915 INFO [Play] Assigning URL: file:/var/lib/asterisk/moh/fpm-sunshine.wav
15:48:35,916 INFO [Play] Assigned url org.mobicents.media.server.impl.resource.mediaplayer.audio.AudioPlayerImpl@466d1750
15:48:35,916 INFO [AudioPlayerImpl] ==== drift=100000000 , dur=161232000000
start:15:48:35,916
15:48:41,425 INFO [Transaction] ID=822608039, state=0, command=DLCX
15:48:43,560 INFO [Transaction] ID=822608040, state=0, command=CRCX
15:48:43,607 INFO [Transaction] ID=822608041, state=0, command=RQNT
15:48:43,608 INFO [Play] Executing...
15:48:43,608 INFO [Play] Got player org.mobicents.media.server.impl.resource.mediaplayer.audio.AudioPlayerImpl@1bd7b222
15:48:43,608 INFO [Play] Assign listener org.mobicents.media.server.impl.resource.mediaplayer.audio.AudioPlayerImpl@1bd7b222
15:48:43,608 INFO [Play] Parsed options org.mobicents.media.server.impl.resource.mediaplayer.audio.AudioPlayerImpl@1bd7b222
15:48:43,608 INFO [Play] Assigning URL: file:/var/lib/asterisk/moh/fpm-sunshine.wav
15:48:43,609 INFO [Play] Assigned url org.mobicents.media.server.impl.resource.mediaplayer.audio.AudioPlayerImpl@1bd7b222
15:48:43,609 INFO [AudioPlayerImpl] ==== drift=100000000 , dur=161232000000
start:15:48:43,609
15:48:45,264 INFO [Transaction] ID=822608042, state=0, command=DLCX
15:48:46,859 INFO [Transaction] ID=822608043, state=0, command=CRCX
15:48:46,910 INFO [Transaction] ID=822608044, state=0, command=RQNT
15:48:46,911 INFO [Play] Executing...
15:48:46,911 INFO [Play] Got player org.mobicents.media.server.impl.resource.mediaplayer.audio.AudioPlayerImpl@2b76086d
15:48:46,911 INFO [Play] Assign listener org.mobicents.media.server.impl.resource.mediaplayer.audio.AudioPlayerImpl@2b76086d
15:48:46,911 INFO [Play] Parsed options org.mobicents.media.server.impl.resource.mediaplayer.audio.AudioPlayerImpl@2b76086d
15:48:46,911 INFO [Play] Assigning URL: file:/var/lib/asterisk/moh/fpm-sunshine.wav
15:48:46,912 INFO [Play] Assigned url org.mobicents.media.server.impl.resource.mediaplayer.audio.AudioPlayerImpl@2b76086d
15:48:46,912 INFO [AudioPlayerImpl] ==== drift=100000000 , dur=161232000000
start:15:48:46,912
15:48:49,326 INFO [Transaction] ID=822608045, state=0, command=DLCX
15:48:50,729 INFO [Transaction] ID=822608046, state=0, command=CRCX
15:48:50,788 INFO [Transaction] ID=822608047, state=0, command=RQNT
15:48:50,789 INFO [Play] Executing...
15:48:50,789 INFO [Play] Got player org.mobicents.media.server.impl.resource.mediaplayer.audio.AudioPlayerImpl@466d1750
15:48:50,789 INFO [Play] Assign listener org.mobicents.media.server.impl.resource.mediaplayer.audio.AudioPlayerImpl@466d1750
15:48:50,789 INFO [Play] Parsed options org.mobicents.media.server.impl.resource.mediaplayer.audio.AudioPlayerImpl@466d1750
15:48:50,789 INFO [Play] Assigning URL: file:/var/lib/asterisk/moh/fpm-sunshine.wav
15:48:50,790 INFO [Play] Assigned url org.mobicents.media.server.impl.resource.mediaplayer.audio.AudioPlayerImpl@466d1750
15:48:50,791 INFO [AudioPlayerImpl] ==== drift=99000000 , dur=161233000000
start:15:48:50,791
15:48:55,254 INFO [Transaction] ID=822608048, state=0, command=DLCX
15:48:56,990 INFO [Transaction] ID=822608049, state=0, command=CRCX
15:48:57,042 INFO [Transaction] ID=822608050, state=0, command=RQNT
15:48:57,043 INFO [Play] Executing...
15:48:57,043 INFO [Play] Got player org.mobicents.media.server.impl.resource.mediaplayer.audio.AudioPlayerImpl@1bd7b222
15:48:57,043 INFO [Play] Assign listener org.mobicents.media.server.impl.resource.mediaplayer.audio.AudioPlayerImpl@1bd7b222
15:48:57,043 INFO [Play] Parsed options org.mobicents.media.server.impl.resource.mediaplayer.audio.AudioPlayerImpl@1bd7b222
15:48:57,043 INFO [Play] Assigning URL: file:/var/lib/asterisk/moh/fpm-sunshine.wav
15:48:57,044 INFO [Play] Assigned url org.mobicents.media.server.impl.resource.mediaplayer.audio.AudioPlayerImpl@1bd7b222
15:48:57,044 INFO [AudioPlayerImpl] ==== drift=100000000 , dur=161232000000
start:15:48:57,044
15:48:58,773 ERROR [MgcpProvider] java.lang.NullPointerException
15:49:00,769 ERROR [MgcpProvider] java.lang.NullPointerException
15:49:02,775 ERROR [MgcpProvider] java.lang.NullPointerException
15:49:04,772 ERROR [MgcpProvider] java.lang.NullPointerException
15:49:10,778 ERROR [MgcpProvider] java.lang.NullPointerException
15:49:12,775 ERROR [MgcpProvider] java.lang.NullPointerException
CRCX 822608022 mobicents/aap/$@95.128.80.92:2427 MGCP 1.0
C: 1
M: sendonly
v=0.
o=root 1476062518 1476062520 IN IP4 95.128.80.6.
s=call.
c=IN IP4 95.128.80.6.
t=0 0.
m=audio 4826 RTP/AVP 8 101.
a=crypto:1 AES_CM_128_HMAC_SHA1_32 inline:sr1EUAmcZnD05azUVKfvJZ0l8yhcITRmnxzjq+Bd.
a=direction:both.
a=rtpmap:8 pcma/8000.
a=rtpmap:101 telephone-event/8000.
a=fmtp:101 0-16.
a=ptime:20.
a=sendrecv.
a=nortpproxy:yes.
200 822608022 Success
I:892700ba08ced8
Z:mobicents/aap/1...@95.128.80.92:2427
v=0
o=- 1309787292865 1 IN IP4 95.128.80.92
s=Mobicents Media Server
c=IN IP4 95.128.80.92
t=0 0
m=audio 1026 RTP/AVP 8 101
a=rtpmap:8 pcma/8000
a=rtpmap:101 telephone-event/8000
a=fmtp: 101 0-15
RQNT 822608023 mobicents/aap/1...@95.128.80.92:2427 MGCP 1.0
S:AU/pa(ann=file:/var/lib/asterisk/moh/fpm-sunshine.wav)
200 822608023 Success
200 822608024 Success
I:892700ba08ced8
CRCX 822608025 mobicents/aap/$@95.128.80.92:2427 MGCP 1.0
C: 2
M: sendonly
v=0.
o=root 1476062518 1476062522 IN IP4 95.128.80.6.
s=call.
c=IN IP4 95.128.80.6.
t=0 0.
m=audio 4826 RTP/AVP 8 101.
a=crypto:1 AES_CM_128_HMAC_SHA1_32 inline:sr1EUAmcZnD05azUVKfvJZ0l8yhcITRmnxzjq+Bd.
a=direction:both.
a=rtpmap:8 pcma/8000.
a=rtpmap:101 telephone-event/8000.
a=fmtp:101 0-16.
a=ptime:20.
a=sendrecv.
a=nortpproxy:yes.
200 822608025 Success
I:892700bc33d8b0
Z:mobicents/aap/2...@95.128.80.92:2427
v=0
o=- 1309787301863 1 IN IP4 95.128.80.92
s=Mobicents Media Server
c=IN IP4 95.128.80.92
t=0 0
m=audio 65532 RTP/AVP 8 101
a=rtpmap:8 pcma/8000
a=rtpmap:101 telephone-event/8000
a=fmtp: 101 0-15
RQNT 822608026 mobicents/aap/2...@95.128.80.92:2427 MGCP 1.0
X:2
S:AU/pa(ann=file:/var/lib/asterisk/moh/fpm-sunshine.wav)
R:AU/oc (N),AU/of (N)
200 822608026 Success
200 822608027 Success
I:892700bc33d8b0
CRCX 822608028 mobicents/aap/$@95.128.80.92:2427 MGCP 1.0
C: 3
M: sendonly
v=0.
o=root 1476062518 1476062524 IN IP4 95.128.80.6.
s=call.
c=IN IP4 95.128.80.6.
t=0 0.
m=audio 4826 RTP/AVP 8 101.
a=crypto:1 AES_CM_128_HMAC_SHA1_32 inline:sr1EUAmcZnD05azUVKfvJZ0l8yhcITRmnxzjq+Bd.
a=direction:both.
a=rtpmap:8 pcma/8000.
a=rtpmap:101 telephone-event/8000.
a=fmtp:101 0-16.
a=ptime:20.
a=sendrecv.
a=nortpproxy:yes.
200 822608028 Success
I:892700be101a90
Z:mobicents/aap/3...@95.128.80.92:2427
v=0
o=- 1309787305961 1 IN IP4 95.128.80.92
s=Mobicents Media Server
c=IN IP4 95.128.80.92
t=0 0
m=audio 1028 RTP/AVP 8 101
a=rtpmap:8 pcma/8000
a=rtpmap:101 telephone-event/8000
a=fmtp: 101 0-15
RQNT 822608029 mobicents/aap/3...@95.128.80.92:2427 MGCP 1.0
S:AU/pa(ann=file:/var/lib/asterisk/moh/fpm-sunshine.wav)
200 822608029 Success
200 822608030 Success
I:892700be101a90
CRCX 822608031 mobicents/aap/$@95.128.80.92:2427 MGCP 1.0
C: 4
M: sendonly
v=0.
o=root 1476062518 1476062526 IN IP4 95.128.80.6.
s=call.
c=IN IP4 95.128.80.6.
t=0 0.
m=audio 4826 RTP/AVP 8 101.
a=crypto:1 AES_CM_128_HMAC_SHA1_32 inline:sr1EUAmcZnD05azUVKfvJZ0l8yhcITRmnxzjq+Bd.
a=direction:both.
a=rtpmap:8 pcma/8000.
a=rtpmap:101 telephone-event/8000.
a=fmtp:101 0-16.
a=ptime:20.
a=sendrecv.
a=nortpproxy:yes.
200 822608031 Success
I:892700ba095790
Z:mobicents/aap/1...@95.128.80.92:2427
v=0
o=- 1309787309445 1 IN IP4 95.128.80.92
s=Mobicents Media Server
c=IN IP4 95.128.80.92
t=0 0
m=audio 65530 RTP/AVP 8 101
a=rtpmap:8 pcma/8000
a=rtpmap:101 telephone-event/8000
a=fmtp: 101 0-15
S:AU/pa(ann=file:/var/lib/asterisk/moh/fpm-sunshine.wav)
R:AU/oc (N),AU/of (N)
200 822608032 Success
200 822608033 Success
I:892700ba095790
CRCX 822608034 mobicents/aap/$@95.128.80.92:2427 MGCP 1.0
C: 5
M: sendonly
v=0.
o=root 1476062518 1476062528 IN IP4 95.128.80.6.
s=call.
c=IN IP4 95.128.80.6.
t=0 0.
m=audio 4826 RTP/AVP 8 101.
a=crypto:1 AES_CM_128_HMAC_SHA1_32 inline:sr1EUAmcZnD05azUVKfvJZ0l8yhcITRmnxzjq+Bd.
a=direction:both.
a=rtpmap:8 pcma/8000.
a=rtpmap:101 telephone-event/8000.
a=fmtp:101 0-16.
a=ptime:20.
a=sendrecv.
a=nortpproxy:yes.
200 822608034 Success
I:892700bc340790
Z:mobicents/aap/2...@95.128.80.92:2427
v=0
o=- 1309787312904 1 IN IP4 95.128.80.92
s=Mobicents Media Server
c=IN IP4 95.128.80.92
t=0 0
m=audio 1030 RTP/AVP 8 101
a=rtpmap:8 pcma/8000
a=rtpmap:101 telephone-event/8000
a=fmtp: 101 0-15
S:AU/pa(ann=file:/var/lib/asterisk/moh/fpm-sunshine.wav)
R:AU/oc (N),AU/of (N)
200 822608035 Success
200 822608036 Success
I:892700bc340790
CRCX 822608037 mobicents/aap/$@95.128.80.92:2427 MGCP 1.0
C: 6
M: sendonly
v=0.
o=root 1476062518 1476062530 IN IP4 95.128.80.6.
s=call.
c=IN IP4 95.128.80.6.
t=0 0.
m=audio 4826 RTP/AVP 8 101.
a=crypto:1 AES_CM_128_HMAC_SHA1_32 inline:sr1EUAmcZnD05azUVKfvJZ0l8yhcITRmnxzjq+Bd.
a=direction:both.
a=rtpmap:8 pcma/8000.
a=rtpmap:101 telephone-event/8000.
a=fmtp:101 0-16.
a=ptime:20.
a=sendrecv.
a=nortpproxy:yes.
200 822608037 Success
I:892700be104970
Z:mobicents/aap/3...@95.128.80.92:2427
v=0
o=- 1309787315880 1 IN IP4 95.128.80.92
s=Mobicents Media Server
c=IN IP4 95.128.80.92
t=0 0
m=audio 65528 RTP/AVP 8 101
a=rtpmap:8 pcma/8000
a=rtpmap:101 telephone-event/8000
a=fmtp: 101 0-15
S:AU/pa(ann=file:/var/lib/asterisk/moh/fpm-sunshine.wav)
R:AU/oc (N),AU/of (N)
200 822608038 Success
200 822608039 Success
I:892700be104970
CRCX 822608040 mobicents/aap/$@95.128.80.92:2427 MGCP 1.0
C: 7
M: sendonly
v=0.
o=root 1476062518 1476062532 IN IP4 95.128.80.6.
s=call.
c=IN IP4 95.128.80.6.
t=0 0.
m=audio 4826 RTP/AVP 8 101.
a=crypto:1 AES_CM_128_HMAC_SHA1_32 inline:sr1EUAmcZnD05azUVKfvJZ0l8yhcITRmnxzjq+Bd.
a=direction:both.
a=rtpmap:8 pcma/8000.
a=rtpmap:101 telephone-event/8000.
a=fmtp:101 0-16.
a=ptime:20.
a=sendrecv.
a=nortpproxy:yes.
200 822608040 Success
I:892700ba0ae600
Z:mobicents/aap/1...@95.128.80.92:2427
v=0
o=- 1309787323582 1 IN IP4 95.128.80.92
s=Mobicents Media Server
c=IN IP4 95.128.80.92
t=0 0
m=audio 1032 RTP/AVP 8 101
a=rtpmap:8 pcma/8000
a=rtpmap:101 telephone-event/8000
a=fmtp: 101 0-15
S:AU/pa(ann=file:/var/lib/asterisk/moh/fpm-sunshine.wav)
R:AU/oc (N),AU/of (N)
200 822608041 Success
200 822608042 Success
I:892700ba0ae600
CRCX 822608043 mobicents/aap/$@95.128.80.92:2427 MGCP 1.0
C: 8
M: sendonly
v=0.
o=root 1476062518 1476062534 IN IP4 95.128.80.6.
s=call.
c=IN IP4 95.128.80.6.
t=0 0.
m=audio 4826 RTP/AVP 8 101.
a=crypto:1 AES_CM_128_HMAC_SHA1_32 inline:sr1EUAmcZnD05azUVKfvJZ0l8yhcITRmnxzjq+Bd.
a=direction:both.
a=rtpmap:8 pcma/8000.
a=rtpmap:101 telephone-event/8000.
a=fmtp:101 0-16.
a=ptime:20.
a=sendrecv.
a=nortpproxy:yes.
200 822608043 Success
I:892700bc342ea0
Z:mobicents/aap/2...@95.128.80.92:2427
v=0
o=- 1309787326881 1 IN IP4 95.128.80.92
s=Mobicents Media Server
c=IN IP4 95.128.80.92
t=0 0
m=audio 65526 RTP/AVP 8 101
a=rtpmap:8 pcma/8000
a=rtpmap:101 telephone-event/8000
a=fmtp: 101 0-15
S:AU/pa(ann=file:/var/lib/asterisk/moh/fpm-sunshine.wav)
R:AU/oc (N),AU/of (N)
200 822608044 Success
200 822608045 Success
I:892700bc342ea0
CRCX 822608046 mobicents/aap/$@95.128.80.92:2427 MGCP 1.0
C: 9
M: sendonly
v=0.
o=root 1476062518 1476062536 IN IP4 95.128.80.6.
s=call.
c=IN IP4 95.128.80.6.
t=0 0.
m=audio 4826 RTP/AVP 8 101.
a=crypto:1 AES_CM_128_HMAC_SHA1_32 inline:sr1EUAmcZnD05azUVKfvJZ0l8yhcITRmnxzjq+Bd.
a=direction:both.
a=rtpmap:8 pcma/8000.
a=rtpmap:101 telephone-event/8000.
a=fmtp:101 0-16.
a=ptime:20.
a=sendrecv.
a=nortpproxy:yes.
200 822608046 Success
I:892700be107080
Z:mobicents/aap/3...@95.128.80.92:2427
v=0
o=- 1309787330751 1 IN IP4 95.128.80.92
s=Mobicents Media Server
c=IN IP4 95.128.80.92
t=0 0
m=audio 1034 RTP/AVP 8 101
a=rtpmap:8 pcma/8000
a=rtpmap:101 telephone-event/8000
a=fmtp: 101 0-15
S:AU/pa(ann=file:/var/lib/asterisk/moh/fpm-sunshine.wav)
R:AU/oc (N),AU/of (N)
200 822608047 Success
200 822608048 Success
I:892700be107080
CRCX 822608049 mobicents/aap/$@95.128.80.92:2427 MGCP 1.0
C: a
M: sendonly
v=0.
o=root 1476062518 1476062538 IN IP4 95.128.80.6.
s=call.
c=IN IP4 95.128.80.6.
t=0 0.
m=audio 4826 RTP/AVP 8 101.
a=crypto:1 AES_CM_128_HMAC_SHA1_32 inline:sr1EUAmcZnD05azUVKfvJZ0l8yhcITRmnxzjq+Bd.
a=direction:both.
a=rtpmap:8 pcma/8000.
a=rtpmap:101 telephone-event/8000.
a=fmtp:101 0-16.
a=ptime:20.
a=sendrecv.
a=nortpproxy:yes.
200 822608049 Success
I:892700ba0b14e0
Z:mobicents/aap/1...@95.128.80.92:2427
v=0
o=- 1309787337011 1 IN IP4 95.128.80.92
s=Mobicents Media Server
c=IN IP4 95.128.80.92
t=0 0
m=audio 65524 RTP/AVP 8 101
a=rtpmap:8 pcma/8000
a=rtpmap:101 telephone-event/8000
a=fmtp: 101 0-15
S:AU/pa(ann=file:/var/lib/asterisk/moh/fpm-sunshine.wav)
R:AU/oc (N),AU/of (N)
200 822608050 Success
CRCX 822608052 mobicents/aap/$@95.128.80.92:2427 MGCP 1.0
C: b
M: sendonly
v=0.
o=root 1476062518 1476062540 IN IP4 95.128.80.6.
s=call.
c=IN IP4 95.128.80.6.
t=0 0.
m=audio 4826 RTP/AVP 8 101.
a=crypto:1 AES_CM_128_HMAC_SHA1_32 inline:sr1EUAmcZnD05azUVKfvJZ0l8yhcITRmnxzjq+Bd.
a=direction:both.
a=rtpmap:8 pcma/8000.
a=rtpmap:101 telephone-event/8000.
a=fmtp:101 0-16.
a=ptime:20.
a=sendrecv.
a=nortpproxy:yes.
U 95.128.80.92:2727 -> 95.128.80.92:2427
DLCX 822608051 mobicents/aap/1...@95.128.80.92:2427 MGCP 1.0
C:a
I:892700ba0b14e0
CRCX 822608052 mobicents/aap/$@95.128.80.92:2427 MGCP 1.0
C: b
M: sendonly
v=0.
o=root 1476062518 1476062540 IN IP4 95.128.80.6.
s=call.
c=IN IP4 95.128.80.6.
t=0 0.
m=audio 4826 RTP/AVP 8 101.
a=crypto:1 AES_CM_128_HMAC_SHA1_32 inline:sr1EUAmcZnD05azUVKfvJZ0l8yhcITRmnxzjq+Bd.
a=direction:both.
a=rtpmap:8 pcma/8000.
a=rtpmap:101 telephone-event/8000.
a=fmtp:101 0-16.
a=ptime:20.
a=sendrecv.
a=nortpproxy:yes.
U 95.128.80.92:2727 -> 95.128.80.92:2427
DLCX 822608051 mobicents/aap/1...@95.128.80.92:2427 MGCP 1.0
C:a
I:892700ba0b14e0
CRCX 822608052 mobicents/aap/$@95.128.80.92:2427 MGCP 1.0
C: b
M: sendonly
v=0.
o=root 1476062518 1476062540 IN IP4 95.128.80.6.
s=call.
c=IN IP4 95.128.80.6.
t=0 0.
m=audio 4826 RTP/AVP 8 101.
a=crypto:1 AES_CM_128_HMAC_SHA1_32 inline:sr1EUAmcZnD05azUVKfvJZ0l8yhcITRmnxzjq+Bd.
a=direction:both.
a=rtpmap:8 pcma/8000.
a=rtpmap:101 telephone-event/8000.
a=fmtp:101 0-16.
a=ptime:20.
a=sendrecv.
a=nortpproxy:yes.
De : Oleg Kulikov [mailto:oleg.k...@gmail.com]
Envoyé : lundi 4 juillet 2011 09:59
Hello,
I will do test tomorrow and give you a feedback.
Regards
Laurent
De : Oleg Kulikov [mailto:oleg.k...@gmail.com]
Envoyé : vendredi 8 juillet 2011 11:31
Hi Oleg,
I have just downloaded and compiled the last trunk version of MMS ( Rev: 19339) and they is an error when I try to use the AAP.
below MGCP log and MMS log.
Regards
Laurent
17:32:32,433 INFO [MGCP] tx=446220681 Started, message= CRCX mobicents/aap/$@95.128.80.92:2427, call agent = /95.128.80.92:2727
17:32:32,478 INFO [MGCP] tx=446220681 was executed normaly
17:32:32,488 INFO [MGCP] tx=446220682 Started, message= RQNT mobicents/aap/3...@95.128.80.92:2427, call agent = /95.128.80.92:2727
17:32:32,489 INFO [Play] Executing...
17:32:32,489 INFO [Play] Got player org.mobicents.media.server.impl.resource.mediaplayer.audio.AudioPlayerImpl@53706eb7
17:32:32,489 INFO [Play] Assign listener org.mobicents.media.server.impl.resource.mediaplayer.audio.AudioPlayerImpl@53706eb7
17:32:32,490 INFO [Play] Parsed options null
17:32:32,491 ERROR [MGCP] tx=446220682 Failed
17:32:32,503 INFO [MGCP] tx=446220682 Rolled back
Shutting down
MGCP LOG:
CRCX 446220681 mobicents/aap/$@95.128.80.92:2427 MGCP 1.0
C: 2
M: sendonly
v=0.
o=root 1427690981 1427690982 IN IP4 95.128.80.6.
s=call.
c=IN IP4 95.128.80.6.
t=0 0.
m=audio 42148 RTP/AVP 8 101.
a=rtpmap:8 pcma/8000.
a=rtpmap:101 telephone-event/8000.
a=fmtp:101 0-16.
a=ptime:20.
a=sendrecv.
a=nortpproxy:yes.
200 446220681 Success
I:8ba16102dc4f90
Z:mobicents/aap/3...@95.128.80.92:2427
v=0
o=- 1310484752446 1 IN IP4 95.128.80.92
s=Mobicents Media Server
c=IN IP4 95.128.80.92
t=0 0
m=audio 65532 RTP/AVP 8 101
a=rtpmap:8 pcma/8000
a=rtpmap:101 telephone-event/8000
a=fmtp: 101 0-15
S:AU/pa(ann=file:/var/lib/asterisk/moh/fpm-sunshine.wav)
R:AU/oc (N),AU/of (N)
400 446220682 Unknown
De : Laurent Schweizer [mailto:laurent....@peoplefone.com]
Envoyé : lundi 11 juillet 2011 17:38