DTMF

56 views
Skip to first unread message

Laurent Schweizer

unread,
Aug 7, 2014, 3:15:40 PM8/7/14
to sipme-med...@googlegroups.com
Hello,


I have again a question for your :(

I try to connect an IVR ton a CNF  with DTMF detection, the problem is that  a fault DTMF  is immediately detected and I have an error on the log.

Can you tell me what I'm doing wrong.

If i don't do the DTMF detection I can here the played file.

BR

Laurent



U
2014/08/07 18:05:58.530037 95.128.80.91:2727 -> 95.128.80.91:2427

CRCX
823263280 mobius/cnf/$@95.128.80.91:2427 MGCP 1.0

C
: 3

M
: confrnce

 

v
=0.

o
=- 13051901163342935 1 IN IP4 95.128.80.10.

s
=Bria 3 release 3.5.3 stamp 70599.

c
=IN IP4 95.128.80.10.

t
=0 0.

m
=audio 15118 RTP/AVP 8 0 101.

a
=rtpmap:101 telephone-event/8000.

a
=fmtp:101 0-15.

a
=sendrecv.

 

 

U
2014/08/07 18:05:58.552525 95.128.80.91:2427 -> 95.128.80.91:2727

200 823263280 Success

I
:ad8

Z
:mobius/cnf/101@95.128.80.91:2427

 

v
=0

o
=- 1407427558533 1 IN IP4 95.128.80.91

s
=Sipme Media Server

c
=IN IP4 95.128.80.91

t
=0 0

m
=audio 65168 RTP/AVP 8 101

a
=rtpmap:8 pcma/8000

a
=rtpmap:101 telephone-event/8000

a
=fmtp:101 0-15

 

 

U
2014/08/07 18:05:58.596819 95.128.80.91:2727 -> 95.128.80.91:2427

CRCX
823263281 mobius/ivr/$@95.128.80.91:2427 MGCP 1.0

C
: 4

M
: sendrecv

Z2
: mobius/cnf/101@95.128.80.91:2427

 

 

U
2014/08/07 18:05:58.631549 95.128.80.91:2427 -> 95.128.80.91:2727

200 823263281 Success

I
:ae7

Z
:mobius/ivr/79@95.128.80.91:2427

Z2
:mobius/cnf/101@95.128.80.91:2427

I2
:ad9

 

 

U
2014/08/07 18:05:58.635223 95.128.80.91:2727 -> 95.128.80.91:2427

MDCX
823263282 mobius/ivr/79@95.128.80.91:2427 MGCP 1.0

C
:4

I
:ad9

M
:confrnce

 

 

U
2014/08/07 18:05:58.635560 95.128.80.91:2727 -> 95.128.80.91:2427

RQNT
823263283 mobius/ivr/79@95.128.80.91:2427 MGCP 1.0

N
:95.128.80.91@95.128.80.91:2727

X
:2

S
:AU/pc@ae7(ip=file:/home/peoplefone/sound/moh/users/86293_testing.wav cb iv=20 fdt=50 mx=1 )

R
:A/oc (N),A/of (N),D/dtmf0 (N),D/dtmf1 (N),D/dtmf2 (N),D/dtmf3 (N),D/dtmf4 (N),D/dtmf5 (N),D/dtmf6 (N),D/dtmf7 (N),D/dtmf8 (N),D/dtmf9 (N),D/dtmfStar (N),D/dtmfHash (N)

 

 

U
2014/08/07 18:05:58.669874 95.128.80.91:2427 -> 95.128.80.91:2727

200 823263282 Success

I
:ad9

 

 

U
2014/08/07 18:05:58.687324 95.128.80.91:2427 -> 95.128.80.91:2727

512 823263283 dtmf0 (N)

 

 

 

2014-08-07 18:05:58,531 INFO [MGCP] (Thread-15) tx=823263280 Started, message= CRCX mobius/cnf/$@95.128.80.91:2427, call agent = /95.128.80.91:2727

2014-08-07 18:05:58,531 INFO [Server] (Thread-2) Installing mobius/
cnf/101

2014-08-07 18:05:58,532 INFO [MGCP] (Thread-2) Endpoint restarted: mobius/cnf/101

2014-08-07 18:05:58,533 INFO [RtpConnectionImpl] (Thread-2) FormatsRTPFormats{8 AudioFormat[pcma,8000,8,mono],0 AudioFormat[pcmu,8000,8,mono],101 AudioFormat[telephone-event,8000,mono]}

2014-08-07 18:05:58,552 INFO [MGCP] (Thread-4) tx=823263280 was executed normaly

2014-08-07 18:05:58,611 INFO [MGCP] (Thread-3) tx=823263281 Started, message= CRCX mobius/ivr/$@95.128.80.91:2427, call agent = /95.128.80.91:2727

2014-08-07 18:05:58,612 INFO [Server] (Thread-9) Installing mobius/
ivr/79

2014-08-07 18:05:58,613 INFO [MGCP] (Thread-9) Endpoint restarted: mobius/ivr/79

2014-08-07 18:05:58,631 INFO [MGCP] (Thread-13) tx=823263281 was executed normaly

2014-08-07 18:05:58,651 INFO [MGCP] (Thread-13) tx=823263282 Started, message= MDCX mobius/ivr/79@95.128.80.91:2427, call agent = /95.128.80.91:2727

2014-08-07 18:05:58,651 INFO [MGCP] (Thread-13) tx=823263283 Started, message= RQNT
mobius/ivr/79@95.128.80.91:2427, call agent = /95.128.80.91:2727

2014-08-07 18:05:58,652 ERROR [MGCP] (Thread-3) tx=823263283 Failed

ua
.mobius.media.server.mgcp.tx.cmd.MgcpCommandException

 at ua
.mobius.media.server.mgcp.tx.cmd.NotificationRequestCmd$Request.perform(NotificationRequestCmd.java:159)

 at ua
.mobius.media.server.scheduler.Task.run(Task.java:127)

 at ua
.mobius.media.server.scheduler.Scheduler$WorkerThread.run(Scheduler.java:425)

2014-08-07 18:05:58,669 INFO [MGCP] (Thread-4) tx=823263282 was executed normaly

2014-08-07 18:05:58,687 INFO [MGCP] (Thread-9) tx=823263283 Rolled back

2014-08-07 18:05:58,791 INFO [JitterBuffer] (Thread-1) Format has been changed: 8 AudioFormat[pcma,8000,8,mono]

2014-08-07 18:06:07,911 INFO [DtmfBuffer] (Thread-16) (detector) Buffer size: 1

2014-08-07 18:06:07,911 INFO [DetectorImpl] (Thread-16) endpointName (detector) Buffered '1' tone

2014-08-07 18:06:16,471 INFO [DtmfBuffer] (Thread-9) (detector) Buffer size: 2

2014-08-07 18:06:16,471 INFO [DetectorImpl] (Thread-9) endpointName (detector) Buffered '1' tone

2014-08-07 18:06:27,511 INFO [DtmfBuffer] (Thread-14) (detector) Buffer size: 3

2014-08-07 18:06:27,511 INFO [DetectorImpl] (Thread-14) endpointName (detector) Buffered '1' tone



Saisissez le code ici...




oifa.yulian

unread,
Aug 12, 2014, 4:10:10 AM8/12/14
to sipme-med...@googlegroups.com
Hello
What is your mgcp-conf.xml?Does it has definition for dtmf events?
Example you can see here:
https://code.google.com/p/sipme-media-server/source/browse/bootstrap/src/main/config/mgcp-conf.xml

Best regards
Yulian Oifa

Laurent Schweizer

unread,
Aug 12, 2014, 6:17:14 AM8/12/14
to sipme-med...@googlegroups.com
Hello

I think that I have the default config file and he look like your example .

<mgcp>
    <!-- Implemented packages -->
    <packages>
        <package name="A">
            <signal name="ann" handler="ua.mobius.media.server.mgcp.pkg.ann.Play"/>
        </package>

        <package name="AU">
            <signal name="pa" handler="ua.mobius.media.server.mgcp.pkg.au.Play"/>
            <signal name="aupa" handler="ua.mobius.media.server.mgcp.pkg.au.Play"/>
            <signal name="pc" handler="ua.mobius.media.server.mgcp.pkg.au.PlayCollect"/>
            <signal name="aupc" handler="ua.mobius.media.server.mgcp.pkg.au.PlayCollect"/>
            <signal name="pr" handler="ua.mobius.media.server.mgcp.pkg.au.PlayRecord"/>
            <signal name="aupr" handler="ua.mobius.media.server.mgcp.pkg.au.PlayRecord"/>
                <signal name="es" handler="ua.mobius.media.server.mgcp.pkg.au.EndSignal"/>
            <signal name="aues" handler="ua.mobius.media.server.mgcp.pkg.au.EndSignal"/>
        </package>

        <package name="T">
            <signal name="co1" handler="ua.mobius.media.server.mgcp.pkg.trunk.Continuity1"/>
            <signal name="co2" handler="ua.mobius.media.server.mgcp.pkg.trunk.Continuity2"/>
            <signal name="lp" handler="ua.mobius.media.server.mgcp.pkg.trunk.Loopback"/>
            <signal name="ct" handler="ua.mobius.media.server.mgcp.pkg.trunk.ContinuityTransporder"/>
        </package>

        <package name="D">
            <signal name="0" handler="ua.mobius.media.server.mgcp.pkg.dtmf.Dtmf0"/>
            <signal name="1" handler="ua.mobius.media.server.mgcp.pkg.dtmf.Dtmf1"/>
            <signal name="2" handler="ua.mobius.media.server.mgcp.pkg.dtmf.Dtmf2"/>
            <signal name="3" handler="ua.mobius.media.server.mgcp.pkg.dtmf.Dtmf3"/>
            <signal name="4" handler="ua.mobius.media.server.mgcp.pkg.dtmf.Dtmf4"/>
            <signal name="5" handler="ua.mobius.media.server.mgcp.pkg.dtmf.Dtmf5"/>
            <signal name="6" handler="ua.mobius.media.server.mgcp.pkg.dtmf.Dtmf6"/>
            <signal name="7" handler="ua.mobius.media.server.mgcp.pkg.dtmf.Dtmf7"/>
            <signal name="8" handler="ua.mobius.media.server.mgcp.pkg.dtmf.Dtmf8"/>
            <signal name="9" handler="ua.mobius.media.server.mgcp.pkg.dtmf.Dtmf9"/>
            <signal name="A" handler="ua.mobius.media.server.mgcp.pkg.dtmf.DtmfA"/>
            <signal name="B" handler="ua.mobius.media.server.mgcp.pkg.dtmf.DtmfB"/>
            <signal name="C" handler="ua.mobius.media.server.mgcp.pkg.dtmf.DtmfC"/>
            <signal name="D" handler="ua.mobius.media.server.mgcp.pkg.dtmf.DtmfD"/>
            <signal name="#" handler="ua.mobius.media.server.mgcp.pkg.dtmf.DtmfHash"/>
            <signal name="*" handler="ua.mobius.media.server.mgcp.pkg.dtmf.DtmfStar"/>
        </package>

Laurent Schweizer

unread,
Aug 18, 2014, 7:20:50 AM8/18/14
to sipme-med...@googlegroups.com
Hello Yulian,
 
I have downloaded a clean version mms-server-4.0.1.FINAL  and I have done the test, same error.
 
any idea ?
 
Laurent

18/08/2014 13:13:13,977 DEBUG [MgcpProvider] Dispatching message
18/08/2014 13:13:13,977 INFO  [MGCP] tx=680167734 Started, message= MDCX mobius/ivr/3...@95.128.80.91:2427, call agent = /95.128.80.91:2727
18/08/2014 13:13:13,977 DEBUG [MgcpProvider] Receive  message 218 bytes length
18/08/2014 13:13:13,977 DEBUG [MgcpProvider] Parsing message: RQNT 680167735 mobius/ivr/3...@95.128.80.91:2427  MGCP 1.0
N:95.128...@95.128.80.91:2727
X:3
S:AU/pc(ip=file:/home/peoplefone/sound/moh/users/86293_testing.wav  cb iv=20 fdt=50 mx=1 )
R:AU/oc (N),AU/of (N),D/dtmf0 (N)
18/08/2014 13:13:13,978 DEBUG [MgcpProvider] Dispatching message
18/08/2014 13:13:13,978 INFO  [MGCP] tx=680167735 Started, message= RQNT mobius/ivr/3...@95.128.80.91:2427, call agent = /95.128.80.91:2727
18/08/2014 13:13:13,980 ERROR [MGCP] tx=680167735 Failed

ua.mobius.media.server.mgcp.tx.cmd.MgcpCommandException
        at ua.mobius.media.server.mgcp.tx.cmd.NotificationRequestCmd$Request.perform(NotificationRequestCmd.java:159)
        at ua.mobius.media.server.scheduler.Task.run(Task.java:127)
        at ua.mobius.media.server.scheduler.Scheduler$WorkerThread.run(Scheduler.java:425)
18/08/2014 13:13:13,996 INFO  [MGCP] tx=680167734 was executed normaly

oifa.yulian

unread,
Aug 23, 2014, 5:51:10 AM8/23/14
to sipme-med...@googlegroups.com
Hi
Try to change to pa , instead of pc .
Basically error is that mms notifies that it can not detect event.
Please also post bottom part of config file , where packages are attached to endpoints

Code example :
https://code.google.com/p/jain-slee/source/browse/examples/mgcp-demo/slee/ivr-sbb/src/main/java/org/mobicents/mgcp/demo/IVRSbb.java?repo=media

Best regards
Yulian Oifa

Laurent Schweizer

unread,
Sep 3, 2014, 6:04:58 AM9/3/14
to sipme-med...@googlegroups.com
Hello,
 
Small feadback,
 
 
I have changed  D/dtmf1   to   D/1   (same for other DTMF event)  and all is ok.
 
Thanks

oifa.yulian

unread,
Sep 4, 2014, 3:57:54 AM9/4/14
to sipme-med...@googlegroups.com
Hello
Yeah that should be a number only , i did not paid attention on that.
Glad it works for you.
Best regards
Yulian OIfa
Reply all
Reply to author
Forward
0 new messages