I did a bit more testing and have more findings to share.

Until the latest update to the linphone mobile clients rfc-2833 and opus
working as expected with freeswitch

ios Linphone iPhone 2.2.4.2-store-85-gbfcbadb
android Linphone 2.4.0

The simplest change to make rfc-2833 dtmf work again is to disable opus on
linphone

Linphone is the uac and freeswitch is the uas in the described scenario

the relevant bits of the bad sdp exchange looks like this

invite
   m=audio 7076 RTP/AVP 96 0 8 9 101 97
   a=rtpmap:96 opus/48000/2
   a=fmtp:96 useinbandfec=1; stereo=0; sprop-stereo=0
   a=rtpmap:101 telephone-event/48000
   a=rtpmap:97 telephone-event/8000

ok
   m=audio 16016 RTP/AVP 96 101
   a=rtpmap:96 opus/48000/2
   a=fmtp:96 useinbandfec=1
   a=rtpmap:101 telephone-event/8000
   a=fmtp:101 0-16

the relevant bits of good sdp exchange looks like this

invite
   m=audio 7076 RTP/AVP 0 8 101
   a=rtpmap:101 telephone-event/8000

ok
   m=audio 16008 RTP/AVP 0 101
   a=rtpmap:0 PCMU/8000
   a=rtpmap:101 telephone-event/8000
   a=fmtp:101 0-16

Can you confirm that the last update to linphone changed your spd offer in
regard to opus and dtmf?

Sincerely,

Russell Treleaven


On Tue, May 12, 2015 at 1:32 AM, Russell Treleaven <[email protected]>
wrote:

> Actually info is working, using it as a partial workaround for now.
>
>
> On Mon, May 11, 2015 at 2:26 PM, Russell Treleaven <
> [email protected]> wrote:
>
>> Hi,
>>
>> I am calling an ivr on
>> FreeSWITCH Version 1.5.15b+git~20141215T224714Z~0b414a8de8~64bit (git
>> 0b414a8 2014-12-15 22:47:14Z 64bit)
>>
>> Linphone was working as expected until I updated the apps to the latest
>> release.
>> Acrobits, Bria and Zoiper all work as expected.
>> I have included a couple of sample invites and a small dialplan exerpt
>> that demonstrates the problem.
>>
>> The rtpmap for linphone has the sample rate set to 48000 which may be an
>> issue.
>>
>>
>>
>>
>>
>> On Mon, May 11, 2015 at 5:33 AM, Gautier Pelloux-Prayer <
>> [email protected]> wrote:
>>
>>> Hi,
>>>
>>> Testing it between:
>>> - Linphone Android 2.4.0 and Linphone desktop (both SIP INFO + RFC2833):
>>> working fine.
>>> - Linphone Android 2.4.0 and tier SIP provider (RFC2833): working fine.
>>> - Linphone iphone 2.2.5-125 and Linphone desktop (both SIP INFO +
>>> RFC2833): working fine.
>>>
>>> What's your setup?
>>>
>>> Regards,
>>>
>>> Gautier Pelloux-Prayer
>>> Software Engineer @ Belledonne Communications
>>>
>>> > On 08 May 2015, at 03:55, Russell Treleaven <[email protected]>
>>> wrote:
>>> >
>>> > Can someone please verify that the latest update to Android and IOS
>>> linphone applications breaks DTMF. Neither info or rfc-2833 seem to work.
>>> >
>>> > versions tested
>>> > ios Linphone iPhone 2.2.4.2-store-85-gbfcbadb
>>> > android Linphone 2.4.0
>>> >
>>> > Sincerely
>>> >
>>> > Russell Treleaven
>>> > _______________________________________________
>>> > Linphone-users mailing list
>>> > [email protected]
>>> > https://lists.nongnu.org/mailman/listinfo/linphone-users
>>>
>>>
>>> _______________________________________________
>>> Linphone-users mailing list
>>> [email protected]
>>> https://lists.nongnu.org/mailman/listinfo/linphone-users
>>>
>>
>>
>
   INVITE sip:[email protected] SIP/2.0
   Via: SIP/2.0/TCP PRIVATE-IP:56860;branch=z9hG4bK.Vw7XGF-nC;rport
   From: <sip:[email protected]>;tag=17NnH56NU
   To: sip:[email protected]
   CSeq: 21 INVITE
   Call-ID: siVp-L3YWG
   Max-Forwards: 70
   Supported: outbound
   Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE, SUBSCRIBE, 
INFO, UPDATE
   Content-Type: application/sdp
   Content-Length: 748
   Contact: 
<sip:rtreleaven@PRIVATE-IP:56860;transport=tcp>;+sip.instance="<urn:uuid:1d566c88-6be1-4d3e-9d82-6a5112261804>"
   User-Agent: LinphoneAndroid/2.4.0 (belle-sip/1.4.0)
   Proxy-Authorization:  Digest realm="sip.bunnykick.ca", 
nonce="cde8e6d5-ff30-4cc4-9604-97a1f2bf3ef2", algorithm=MD5, 
username="rtreleaven",  uri="sip:[email protected]", 
response="44223144e2417a7bc19fbfaa8c7d6cf0", cnonce="faaaebb5", nc=00000001, 
qop=auth
   
   v=0
   o=rtreleaven 3655 1753 IN IP4 PRIVATE-IP
   s=Talk
   c=IN IP4 PRIVATE-IP
   b=AS:380
   t=0 0
   a=ice-pwd:dbcee063efb0fc3a20d23fea
   a=ice-ufrag:cb0d7e5e
   a=rtcp-xr:rcvr-rtt=all:10000 stat-summary=loss,dup,jitt,TTL voip-metrics
   m=audio 7076 RTP/AVP 96 0 8 9 101 97
   c=IN IP4 PUBLIC-IP
   a=rtpmap:96 opus/48000/2
   a=fmtp:96 useinbandfec=1; stereo=0; sprop-stereo=0
   a=rtpmap:101 telephone-event/48000
   a=rtpmap:97 telephone-event/8000
   a=candidate:1 1 UDP 2130706431 PRIVATE-IP 7076 typ host
   a=candidate:1 2 UDP 2130706430 PRIVATE-IP 7077 typ host
   a=candidate:2 1 UDP 1694498815 PUBLIC-IP 7076 typ srflx raddr PRIVATE-IP 
rport 7076
   a=candidate:2 2 UDP 1694498814 PUBLIC-IP 7077 typ srflx raddr PRIVATE-IP 
rport 7077
   INVITE sip:[email protected] SIP/2.0
   Via: SIP/2.0/TCP PRIVATE-IP:56860;branch=z9hG4bK.uK1Vzf1-X;rport
   From: <sip:[email protected]>;tag=VfRpyMoSO
   To: sip:[email protected]
   CSeq: 21 INVITE
   Call-ID: 6Fo0gQ-Dd1
   Max-Forwards: 70
   Supported: outbound
   Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE, SUBSCRIBE, 
INFO, UPDATE
   Content-Type: application/sdp
   Content-Length: 627
   Contact: 
<sip:rtreleaven@PRIVATE-IP:56860;transport=tcp>;+sip.instance="<urn:uuid:1d566c88-6be1-4d3e-9d82-6a5112261804>"
   User-Agent: LinphoneAndroid/2.4.0 (belle-sip/1.4.0)
   Proxy-Authorization:  Digest realm="sip.bunnykick.ca", 
nonce="79d67e23-87e6-477b-ac6e-4152bc88f7f2", algorithm=MD5, 
username="rtreleaven",  uri="sip:[email protected]", 
response="abbfd552dd2a5f92d179aed826484d03", cnonce="05553b4d", nc=00000001, 
qop=auth
   
   v=0
   o=rtreleaven 1810 1099 IN IP4 PRIVATE-IP
   s=Talk
   c=IN IP4 PRIVATE-IP
   b=AS:380
   t=0 0
   a=ice-pwd:af5903f0062ffc5fa3425d8c
   a=ice-ufrag:c3461d8b
   a=rtcp-xr:rcvr-rtt=all:10000 stat-summary=loss,dup,jitt,TTL voip-metrics
   m=audio 7076 RTP/AVP 0 8 101
   c=IN IP4 PUBLIC-IP
   a=rtpmap:101 telephone-event/8000
   a=candidate:1 1 UDP 2130706431 PRIVATE-IP 7076 typ host
   a=candidate:1 2 UDP 2130706430 PRIVATE-IP 7077 typ host
   a=candidate:2 1 UDP 1694498815 PUBLIC-IP 7076 typ srflx raddr PRIVATE-IP 
rport 7076
   a=candidate:2 2 UDP 1694498814 PUBLIC-IP 7077 typ srflx raddr PRIVATE-IP 
rport 7077
   SIP/2.0 200 OK
   Via: SIP/2.0/TCP PRIVATE-IP:56860;branch=z9hG4bK.Vw7XGF-nC;rport=56860
   From: <sip:[email protected]>;tag=17NnH56NU
   To: <sip:[email protected]>;tag=c8yU76gKtFK9F
   Call-ID: siVp-L3YWG
   CSeq: 21 INVITE
   Contact: <sip:dtreleaven@PUBLIC-IP:5080;transport=tcp>
   User-Agent: freeswitch
   Accept: application/sdp
   Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, 
REFER, NOTIFY, PUBLISH, SUBSCRIBE
   Supported: timer, path, replaces
   Allow-Events: talk, hold, conference, presence, as-feature-event, dialog, 
line-seize, call-info, sla, include-session-description, presence.winfo, 
message-summary, refer
   Session-Expires: 1800;refresher=uas
   Content-Type: application/sdp
   Content-Disposition: session
   Content-Length: 771
   
   v=0
   o=diyUa 1431431356 1431431357 IN IP4 PUBLIC-IP
   s=diyUa
   c=IN IP4 PUBLIC-IP
   t=0 0
   a=msid-semantic: WMS Naw97lP7vwaHL55V9ThUZJn9PoWKzIYc
   m=audio 16016 RTP/AVP 96 101
   a=rtpmap:96 opus/48000/2
   a=fmtp:96 useinbandfec=1
   a=rtpmap:101 telephone-event/8000
   a=fmtp:101 0-16
   a=silenceSupp:off - - - -
   a=ptime:20
   a=ssrc:961945179 cname:IlcGwSESeFpPBkBA
   a=ssrc:961945179 msid:Naw97lP7vwaHL55V9ThUZJn9PoWKzIYc a0
   a=ssrc:961945179 mslabel:Naw97lP7vwaHL55V9ThUZJn9PoWKzIYc
   a=ssrc:961945179 label:Naw97lP7vwaHL55V9ThUZJn9PoWKzIYca0
   a=ice-ufrag:4JkUiyUXMGxcfmfO
   a=ice-pwd:xhkUZPC3lSJM3bcXKnISLsGo
   a=candidate:2336253712 1 udp 659136 PUBLIC-IP 16016 typ host generation 0
   a=candidate:2336253712 2 udp 659134 PUBLIC-IP 16017 typ host generation 0
   SIP/2.0 200 OK
   Via: SIP/2.0/TCP PRIVATE-IP:56860;branch=z9hG4bK.uK1Vzf1-X;rport=56860
   From: <sip:[email protected]>;tag=VfRpyMoSO
   To: <sip:[email protected]>;tag=K7F9K46B6DFcH
   Call-ID: 6Fo0gQ-Dd1
   CSeq: 21 INVITE
   Contact: <sip:dtreleaven@PUBLIC-IP:5080;transport=tcp>
   User-Agent: freeswitch
   Accept: application/sdp
   Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, 
REFER, NOTIFY, PUBLISH, SUBSCRIBE
   Supported: timer, path, replaces
   Allow-Events: talk, hold, conference, presence, as-feature-event, dialog, 
line-seize, call-info, sla, include-session-description, presence.winfo, 
message-summary, refer
   Session-Expires: 1800;refresher=uas
   Content-Type: application/sdp
   Content-Disposition: session
   Content-Length: 740
   
   v=0
   o=diyUa 1431431731 1431431732 IN IP4 PUBLIC-IP
   s=diyUa
   c=IN IP4 PUBLIC-IP
   t=0 0
   a=msid-semantic: WMS MMrWUXjGHH4pu6p2Xp1hSXwhrFG8JIwm
   m=audio 16008 RTP/AVP 0 101
   a=rtpmap:0 PCMU/8000
   a=rtpmap:101 telephone-event/8000
   a=fmtp:101 0-16
   a=silenceSupp:off - - - -
   a=ptime:20
   a=ssrc:961945546 cname:kN95BiB8PwoasD2f
   a=ssrc:961945546 msid:MMrWUXjGHH4pu6p2Xp1hSXwhrFG8JIwm a0
   a=ssrc:961945546 mslabel:MMrWUXjGHH4pu6p2Xp1hSXwhrFG8JIwm
   a=ssrc:961945546 label:MMrWUXjGHH4pu6p2Xp1hSXwhrFG8JIwma0
   a=ice-ufrag:TTnCHJJYfgXPOj1Z
   a=ice-pwd:X0Vo9mnOICP16H7PrkiYURNZ
   a=candidate:6228883562 1 udp 659136 PUBLIC-IP 16008 typ host generation 0
   a=candidate:6228883562 2 udp 659134 PUBLIC-IP 16009 typ host generation 0
_______________________________________________
Linphone-users mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/linphone-users

Reply via email to