[jitsi-dev] Right way to enable DTMF on Jigasi


#1

Hi,

What is the right way to enable DTMF on Jigasi?

Thanks,

/Kaiduan


#2

Hi,

The UI for sending dtmf through jitsi-meet is not currently working,
but the code inside lib-jitsi-meet should be fine.
To enable it in jigasi you need any of the following account properties:

net.java.sip.communicator.impl.protocol.sip.acc1403273890647.DTMF_METHOD=AUTO_DTMF
net.java.sip.communicator.impl.protocol.sip.acc1403273890647.DTMF_METHOD=RTP_DTMF
net.java.sip.communicator.impl.protocol.sip.acc1403273890647.DTMF_METHOD=SIP_INFO_DTMF
net.java.sip.communicator.impl.protocol.sip.acc1403273890647.DTMF_METHOD=INBAND_DTMF

Where AUTO will choose RTP_DTMF if telephon-event is available in sdp,
otherwise will fallback to INBAND_DTMF.

Regards
damencho

···

On Fri, Jul 21, 2017 at 10:58 AM, Kaiduan Xie <kaiduanx@gmail.com> wrote:

Hi,

What is the right way to enable DTMF on Jigasi?

Thanks,

/Kaiduan

_______________________________________________
dev mailing list
dev@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/dev


#3

Thanks Damian.

In our test, the DTMF sequence coming from JVB is different than what user
enters from webrtc side.

On webrtc side, our app uses API defined in
https://www.w3.org/TR/webrtc/#rtcdtmfsender to send DTMF.

However on Jigasi side, the received DTMF sequence is different. I added
some log in GatewaySession.java,

public void toneReceived(DTMFReceivedEvent dtmfReceivedEvent)

Do you have any idea on the difference?

Thanks,

/Kaiduan

···

On Mon, Jul 24, 2017 at 2:21 PM, Damian Minkov <damencho@jitsi.org> wrote:

Hi,

The UI for sending dtmf through jitsi-meet is not currently working,
but the code inside lib-jitsi-meet should be fine.
To enable it in jigasi you need any of the following account properties:

net.java.sip.communicator.impl.protocol.sip.acc1403273890647.DTMF_METHOD=
AUTO_DTMF
net.java.sip.communicator.impl.protocol.sip.acc1403273890647.DTMF_METHOD=
RTP_DTMF
net.java.sip.communicator.impl.protocol.sip.acc1403273890647.DTMF_METHOD=
SIP_INFO_DTMF
net.java.sip.communicator.impl.protocol.sip.acc1403273890647.DTMF_METHOD=
INBAND_DTMF

Where AUTO will choose RTP_DTMF if telephon-event is available in sdp,
otherwise will fallback to INBAND_DTMF.

Regards
damencho

On Fri, Jul 21, 2017 at 10:58 AM, Kaiduan Xie <kaiduanx@gmail.com> wrote:
> Hi,
>
> What is the right way to enable DTMF on Jigasi?
>
> Thanks,
>
> /Kaiduan
>
> _______________________________________________
> dev mailing list
> dev@jitsi.org
> Unsubscribe instructions and other list options:
> http://lists.jitsi.org/mailman/listinfo/dev

_______________________________________________
dev mailing list
dev@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/dev

--
Founder of Goodstartsoft
https://www.goodstartsoft.com


#4

Hum, it needs further debugging, have no idea what can be the problem here.
I see in lib-jitsi-meet we use the same webrtc API to send dtmfs to jigasi.

···

On Mon, Jul 24, 2017 at 4:29 PM, Kaiduan Xie <kaiduanx@gmail.com> wrote:

Thanks Damian.

In our test, the DTMF sequence coming from JVB is different than what user
enters from webrtc side.

On webrtc side, our app uses API defined in
https://www.w3.org/TR/webrtc/#rtcdtmfsender to send DTMF.

However on Jigasi side, the received DTMF sequence is different. I added
some log in GatewaySession.java,

public void toneReceived(DTMFReceivedEvent dtmfReceivedEvent)

Do you have any idea on the difference?

Thanks,

/Kaiduan

On Mon, Jul 24, 2017 at 2:21 PM, Damian Minkov <damencho@jitsi.org> wrote:

Hi,

The UI for sending dtmf through jitsi-meet is not currently working,
but the code inside lib-jitsi-meet should be fine.
To enable it in jigasi you need any of the following account properties:

net.java.sip.communicator.impl.protocol.sip.acc1403273890647.DTMF_METHOD=AUTO_DTMF

net.java.sip.communicator.impl.protocol.sip.acc1403273890647.DTMF_METHOD=RTP_DTMF

net.java.sip.communicator.impl.protocol.sip.acc1403273890647.DTMF_METHOD=SIP_INFO_DTMF

net.java.sip.communicator.impl.protocol.sip.acc1403273890647.DTMF_METHOD=INBAND_DTMF

Where AUTO will choose RTP_DTMF if telephon-event is available in sdp,
otherwise will fallback to INBAND_DTMF.

Regards
damencho

On Fri, Jul 21, 2017 at 10:58 AM, Kaiduan Xie <kaiduanx@gmail.com> wrote:
> Hi,
>
> What is the right way to enable DTMF on Jigasi?
>
> Thanks,
>
> /Kaiduan
>
> _______________________________________________
> dev mailing list
> dev@jitsi.org
> Unsubscribe instructions and other list options:
> http://lists.jitsi.org/mailman/listinfo/dev

_______________________________________________
dev mailing list
dev@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/dev

--
Founder of Goodstartsoft
https://www.goodstartsoft.com

_______________________________________________
dev mailing list
dev@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/dev


#5

Any idea on how to debug this issue Damian?

···

On Mon, Jul 24, 2017 at 5:35 PM, Damian Minkov <damencho@jitsi.org> wrote:

Hum, it needs further debugging, have no idea what can be the problem here.
I see in lib-jitsi-meet we use the same webrtc API to send dtmfs to jigasi.

On Mon, Jul 24, 2017 at 4:29 PM, Kaiduan Xie <kaiduanx@gmail.com> wrote:
> Thanks Damian.
>
> In our test, the DTMF sequence coming from JVB is different than what
user
> enters from webrtc side.
>
> On webrtc side, our app uses API defined in
> https://www.w3.org/TR/webrtc/#rtcdtmfsender to send DTMF.
>
> However on Jigasi side, the received DTMF sequence is different. I added
> some log in GatewaySession.java,
>
> public void toneReceived(DTMFReceivedEvent dtmfReceivedEvent)
>
> Do you have any idea on the difference?
>
> Thanks,
>
> /Kaiduan
>
> On Mon, Jul 24, 2017 at 2:21 PM, Damian Minkov <damencho@jitsi.org> > wrote:
>>
>> Hi,
>>
>> The UI for sending dtmf through jitsi-meet is not currently working,
>> but the code inside lib-jitsi-meet should be fine.
>> To enable it in jigasi you need any of the following account properties:
>>
>>
>> net.java.sip.communicator.impl.protocol.sip.
acc1403273890647.DTMF_METHOD=AUTO_DTMF
>>
>> net.java.sip.communicator.impl.protocol.sip.
acc1403273890647.DTMF_METHOD=RTP_DTMF
>>
>> net.java.sip.communicator.impl.protocol.sip.
acc1403273890647.DTMF_METHOD=SIP_INFO_DTMF
>>
>> net.java.sip.communicator.impl.protocol.sip.
acc1403273890647.DTMF_METHOD=INBAND_DTMF
>>
>> Where AUTO will choose RTP_DTMF if telephon-event is available in sdp,
>> otherwise will fallback to INBAND_DTMF.
>>
>> Regards
>> damencho
>>
>>
>> On Fri, Jul 21, 2017 at 10:58 AM, Kaiduan Xie <kaiduanx@gmail.com> > wrote:
>> > Hi,
>> >
>> > What is the right way to enable DTMF on Jigasi?
>> >
>> > Thanks,
>> >
>> > /Kaiduan
>> >
>> > _______________________________________________
>> > dev mailing list
>> > dev@jitsi.org
>> > Unsubscribe instructions and other list options:
>> > http://lists.jitsi.org/mailman/listinfo/dev
>>
>> _______________________________________________
>> dev mailing list
>> dev@jitsi.org
>> Unsubscribe instructions and other list options:
>> http://lists.jitsi.org/mailman/listinfo/dev
>
>
>
>
> --
> Founder of Goodstartsoft
> https://www.goodstartsoft.com
>
> _______________________________________________
> dev mailing list
> dev@jitsi.org
> Unsubscribe instructions and other list options:
> http://lists.jitsi.org/mailman/listinfo/dev

_______________________________________________
dev mailing list
dev@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/dev

--
Founder of Goodstartsoft
https://www.goodstartsoft.com


#6

I would say to enable packet logging in the bridge and check the order of
packets there. Than, not sure whether same logging can be enabled and in
jigasi and check the order there.
George recently posted this to the list, how to enable this.

···

On Jul 24, 2017 16:46, "Kaiduan Xie" <kaiduanx@gmail.com> wrote:

Any idea on how to debug this issue Damian?

On Mon, Jul 24, 2017 at 5:35 PM, Damian Minkov <damencho@jitsi.org> wrote:

Hum, it needs further debugging, have no idea what can be the problem
here.
I see in lib-jitsi-meet we use the same webrtc API to send dtmfs to
jigasi.

On Mon, Jul 24, 2017 at 4:29 PM, Kaiduan Xie <kaiduanx@gmail.com> wrote:
> Thanks Damian.
>
> In our test, the DTMF sequence coming from JVB is different than what
user
> enters from webrtc side.
>
> On webrtc side, our app uses API defined in
> https://www.w3.org/TR/webrtc/#rtcdtmfsender to send DTMF.
>
> However on Jigasi side, the received DTMF sequence is different. I added
> some log in GatewaySession.java,
>
> public void toneReceived(DTMFReceivedEvent dtmfReceivedEvent)
>
> Do you have any idea on the difference?
>
> Thanks,
>
> /Kaiduan
>
> On Mon, Jul 24, 2017 at 2:21 PM, Damian Minkov <damencho@jitsi.org> >> wrote:
>>
>> Hi,
>>
>> The UI for sending dtmf through jitsi-meet is not currently working,
>> but the code inside lib-jitsi-meet should be fine.
>> To enable it in jigasi you need any of the following account
properties:
>>
>>
>> net.java.sip.communicator.impl.protocol.sip.acc1403273890647
.DTMF_METHOD=AUTO_DTMF
>>
>> net.java.sip.communicator.impl.protocol.sip.acc1403273890647
.DTMF_METHOD=RTP_DTMF
>>
>> net.java.sip.communicator.impl.protocol.sip.acc1403273890647
.DTMF_METHOD=SIP_INFO_DTMF
>>
>> net.java.sip.communicator.impl.protocol.sip.acc1403273890647
.DTMF_METHOD=INBAND_DTMF
>>
>> Where AUTO will choose RTP_DTMF if telephon-event is available in sdp,
>> otherwise will fallback to INBAND_DTMF.
>>
>> Regards
>> damencho
>>
>>
>> On Fri, Jul 21, 2017 at 10:58 AM, Kaiduan Xie <kaiduanx@gmail.com> >> wrote:
>> > Hi,
>> >
>> > What is the right way to enable DTMF on Jigasi?
>> >
>> > Thanks,
>> >
>> > /Kaiduan
>> >
>> > _______________________________________________
>> > dev mailing list
>> > dev@jitsi.org
>> > Unsubscribe instructions and other list options:
>> > http://lists.jitsi.org/mailman/listinfo/dev
>>
>> _______________________________________________
>> dev mailing list
>> dev@jitsi.org
>> Unsubscribe instructions and other list options:
>> http://lists.jitsi.org/mailman/listinfo/dev
>
>
>
>
> --
> Founder of Goodstartsoft
> https://www.goodstartsoft.com
>
> _______________________________________________
> dev mailing list
> dev@jitsi.org
> Unsubscribe instructions and other list options:
> http://lists.jitsi.org/mailman/listinfo/dev

_______________________________________________
dev mailing list
dev@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/dev

--
Founder of Goodstartsoft
https://www.goodstartsoft.com

_______________________________________________
dev mailing list
dev@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/dev