VoIP Mailing List Archives
Mailing list archives for the VoIP community |
|
View previous topic :: View next topic |
Author |
Message |
nachum.yaron at gmail.com Guest
|
Posted: Sun Oct 26, 2014 3:22 am Post subject: [asterisk-users] DTMF behavior in asterisk 12 with PJSIP |
|
|
Hello all,We have recently upgraded some of our services to Asterisk 12 with PJSIP.
We have 2 issues related to DTMF:
1. in the regular SIP channel we had DTMF auto mode, which adapted the DTMF settings according to the incoming INVITE - RFC2833 or inband. The is no such settings in PJSIP. Do you know is there is a plan to develop it?
2. When we setup 2 peers, one RFC4733 and the other inband, the asterisk does not transcode the DTMF signals, therefore DTMF is not working. It used to work on release 11. This is really bad. Do you know of a solution to this issue? Maybe some settings?
Thanks,
Yaron. |
|
Back to top |
|
|
mjordan at digium.com Guest
|
Posted: Sun Oct 26, 2014 3:46 pm Post subject: [asterisk-users] DTMF behavior in asterisk 12 with PJSIP |
|
|
On Sun, Oct 26, 2014 at 3:22 AM, Yaron Nachum <nachum.yaron@gmail.com (nachum.yaron@gmail.com)> wrote:
Quote: | Hello all,We have recently upgraded some of our services to Asterisk 12 with PJSIP.
We have 2 issues related to DTMF:
1. in the regular SIP channel we had DTMF auto mode, which adapted the DTMF settings according to the incoming INVITE - RFC2833 or inband. The is no such settings in PJSIP. Do you know is there is a plan to develop it?
|
No one that I'm aware of is currently working on that.
As Asterisk is an open source project, if having the 'auto' feature added to the PJSIP stack is something you're interested in, you should consider writing a patch for the project [1].
[1] https://wiki.asterisk.org/wiki/display/AST/Patch+Contribution+Process
Quote: | 2. When we setup 2 peers, one RFC4733 and the other inband, the asterisk does not transcode the DTMF signals, therefore DTMF is not working. It used to work on release 11. This is really bad. Do you know of a solution to this issue? Maybe some settings?
|
That actually is a bug. You are most likely ending up in a native packet to packet bridge (or a native remote bridge), which does not decode the RTP stream. Hence, the inband DTMF or RFC 2833 DTMF is not being decoded and is being passed to the other side. Please do open an issue for that [2]. Make sure you provide a full DEBUG log, as that will illustrate what is actually occurring.
Note that you can work around that issue by adding a feature flag to whatever application caused the bridging to occur.
[2] https://issues.asterisk.org/jira
--
Matthew Jordan
Digium, Inc. | Engineering Manager
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
Check us out at: http://digium.com & http://asterisk.org |
|
Back to top |
|
|
nachum.yaron at gmail.com Guest
|
Posted: Mon Oct 27, 2014 1:21 am Post subject: [asterisk-users] DTMF behavior in asterisk 12 with PJSIP |
|
|
Hello Mathew,Thank you for the reply.
I will open an issue and send debug information.
Can you explain more about the workaround? A reference to the documentation would be fine.
Thanks again,
Yaron.
On Sun, Oct 26, 2014 at 10:46 PM, Matthew Jordan <mjordan@digium.com (mjordan@digium.com)> wrote:
Quote: |
On Sun, Oct 26, 2014 at 3:22 AM, Yaron Nachum <nachum.yaron@gmail.com (nachum.yaron@gmail.com)> wrote:
Quote: | Hello all,We have recently upgraded some of our services to Asterisk 12 with PJSIP.
We have 2 issues related to DTMF:
1. in the regular SIP channel we had DTMF auto mode, which adapted the DTMF settings according to the incoming INVITE - RFC2833 or inband. The is no such settings in PJSIP. Do you know is there is a plan to develop it?
|
No one that I'm aware of is currently working on that.
As Asterisk is an open source project, if having the 'auto' feature added to the PJSIP stack is something you're interested in, you should consider writing a patch for the project [1].
[1] https://wiki.asterisk.org/wiki/display/AST/Patch+Contribution+Process
Quote: | 2. When we setup 2 peers, one RFC4733 and the other inband, the asterisk does not transcode the DTMF signals, therefore DTMF is not working. It used to work on release 11. This is really bad. Do you know of a solution to this issue? Maybe some settings?
|
That actually is a bug. You are most likely ending up in a native packet to packet bridge (or a native remote bridge), which does not decode the RTP stream. Hence, the inband DTMF or RFC 2833 DTMF is not being decoded and is being passed to the other side. Please do open an issue for that [2]. Make sure you provide a full DEBUG log, as that will illustrate what is actually occurring.
Note that you can work around that issue by adding a feature flag to whatever application caused the bridging to occur.
[2] https://issues.asterisk.org/jira
--
Matthew Jordan
Digium, Inc. | Engineering Manager
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
Check us out at: http://digium.com & http://asterisk.org
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
|
|
|
Back to top |
|
|
mjordan at digium.com Guest
|
Posted: Mon Oct 27, 2014 8:49 am Post subject: [asterisk-users] DTMF behavior in asterisk 12 with PJSIP |
|
|
On Mon, Oct 27, 2014 at 1:20 AM, Yaron Nachum <nachum.yaron@gmail.com (nachum.yaron@gmail.com)> wrote:
Quote: | Hello Mathew,Thank you for the reply.
I will open an issue and send debug information.
Can you explain more about the workaround? A reference to the documentation would be fine.
|
Sure - really, what you are running into is a difference in how Asterisk bridges channels:
https://wiki.asterisk.org/wiki/display/AST/Bridges
I suspect the reason DTMF is not decoded is because you are in a native bridge (local or remote). You can force a core two-party bridge by requiring that Asterisk decode the media and detect DTMF. Those requirements are done by setting the various 'feature' flags on whatever dialplan application is causing the channels to be bridged. For an example, see the 't' or 'T' options in Dial:
https://wiki.asterisk.org/wiki/display/AST/Asterisk+11+Application_Dial
--
Matthew Jordan
Digium, Inc. | Engineering Manager
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
Check us out at: http://digium.com & http://asterisk.org |
|
Back to top |
|
|
nachum.yaron at gmail.com Guest
|
Posted: Tue Oct 28, 2014 4:50 am Post subject: [asterisk-users] DTMF behavior in asterisk 12 with PJSIP |
|
|
Thank you Mathew,We tested the feature flag workaround and it worked.
We opened a ticket - Asterisk-24459.
If you need any information please get back to us and we will do our best.
Thanks again,
Yaron.
On Mon, Oct 27, 2014 at 3:48 PM, Matthew Jordan <mjordan@digium.com (mjordan@digium.com)> wrote:
|
|
Back to top |
|
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|