Return to LanScape's home page Go back a page...       Active TopicsActive Topics   Display List of Forum MembersMember List   Knowledge Base SearchSearch   HelpHelp  RegisterRegister  LoginLogin

LanScape VOIP Media Engine™ - Pre-Sales Technical Support
 LanScape Support Forum -> LanScape VOIP Media Engine™ - Pre-Sales Technical Support
Subject Topic: DTMF detection Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
Geoff Day
Intermediate
Intermediate


Joined: November 19 2009
Posts: 9
Posted: December 27 2009 at 4:23pm | IP Logged Quote Geoff Day

Hi, I'm having trouble getting my app to detect incoming
DTMF. I can post all the code if it helps but essentially
I've written a simple test app that registers with a SIP
registrar and answers an incoming call.

In the StartupParams I've set DtmfEnabled=true and
requested one line.

Then I've called:

Engine.InitializeRfc2833DtmfDecoder(0);
Engine.SetRfc2833DtmfDecoderEnableState(0, true);

and:

Engine.InitializeInBandDtmfDecoder(0);
Engine.SetInBandDtmfDecoderEnableState(0, true);

But SipDtmfDigitEvent is never fired. It works fine in
the Multi Line sample app so I'm doing something wrong.
Can you give me any ideas? Thanks.
Back to Top View Geoff Day's Profile Search for other posts by Geoff Day
 
support
Administrator
Administrator


Joined: January 26 2005
Location: United States
Posts: 1666
Posted: December 28 2009 at 3:01pm | IP Logged Quote support

Hello Geoff,

Thanks for your post.

From the information in your post, it sounds like you understand what you are doing. You have all the basic requirements to allow your VOIP app to detect RFC2833 and in-band DTMF. The problem must be something simple that I am not seeing. You should be receiving on/off DTMF detection events from the media engine.

It might be good for you to upload your test code to your support forum FTP account if you can. That way I can build the code and take a quick look to see what is going on. I will send you the FTP user account info via email.

One thing you might want to try is to turn on the media engine “event logging” mechanism. See the Software Developer’s Reference for the SetEventLogServer() API proceure. Once event logging is enabled, you can have the EventLogD.exe server utility log all the media engine events. Look at the event log that is created for the SipDtmfDigitEvent. You should be receiving them.

As soon as I receive your test code, I will look into what is occurring.


Thank you and happy holidays,

Randal

Back to Top View support's Profile Search for other posts by support Visit support's Homepage
 
support
Administrator
Administrator


Joined: January 26 2005
Location: United States
Posts: 1666
Posted: December 30 2009 at 12:42pm | IP Logged Quote support

Hello Geoff,

1)
I received your code… If you don’t mind, ZIP up the entire C# project and upload that to your FTP account.

2)
One other item that would be very helpful would be for you to get me a wireshark network capture of a typical call from your VOIP service provider to your app (the call should contain DTMF signaling) and upload the capture file. Looking at that will be a big help. Google “wireshark” for the web site.

3)
If you can, email me off line and tell me about your intended VOIP application and how you intend to use and license the LS media engine software. This way I can make sure you get the proper free support you require.


Thank you Geoff,

Randal

Back to Top View support's Profile Search for other posts by support Visit support's Homepage
 
Geoff Day
Intermediate
Intermediate


Joined: November 19 2009
Posts: 9
Posted: December 30 2009 at 2:47pm | IP Logged Quote Geoff Day

Hi Randal,

I solved the problem - I wasn't setting the min/max local
RTP port values. Now DTMF is working fine. Thanks very much
for your help, sorry to have wasted your time. I'll email
separately about the project I'm working on.

Thanks, Geoff
Back to Top View Geoff Day's Profile Search for other posts by Geoff Day
 
support
Administrator
Administrator


Joined: January 26 2005
Location: United States
Posts: 1666
Posted: December 31 2009 at 11:26am | IP Logged Quote support

Geoff,

Good Job! glad you found the issue.

Randal

Back to Top View support's Profile Search for other posts by support Visit support's Homepage
 

If you wish to post a reply to this topic you must first login
If you are not already registered you must first register

  Post ReplyPost New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum






Contact LanScape Hear what the Lawyers have to say How youm may use this site Read your privacy rights