ladendirekt / pjsip4net

A wrapper library exposing the pjsip library to the .NET world in a OO-friendly way.
71 stars 42 forks source link

DTMF is not detected when transmitting Contact-ID Alarm #111

Open guilledefino opened 5 years ago

guilledefino commented 5 years ago

Hello! I am using pjsip4net library to develop an contact-id receiver which receives alarms. when alarm device sends an alarm, dtmf numbers are transmitting too fast and library does not recognize numbers as DTMF instead audio. When I call with a cell phone, DTMF is recognized without any problems. can you help me to solve this problem?

thanks in advance Billy

siniypin commented 5 years ago

I'm sorry, but what does Contact-ID Alarm protocol have to do with SIP?

guilledefino commented 5 years ago

Hello Robert.

Thank you for your help. Let me explain better the scenario.

Alarm device transmits an alarms event by using Contact-ID protocol over telephony ( can be SIP or traditional). Contact-Id is a series of number sent from as DTMF from alarm device to alarm station.

When alarms is sent(16 numbers separated with 50 milliseconds one each other) pjsip4net implementation does not recognize numbers as DTMF.

When I try from a cell phone sending the same numbers as DTMF but slower ( at speed of my fingers) everything works fine.

I don’t know if I could clarify my problem, but in this case, do you have any idea about how to solve it.

Thanks in advance

GD

De: Robert notifications@github.com Enviado el: martes, 22 de octubre de 2019 10:14 Para: siniypin/pjsip4net pjsip4net@noreply.github.com CC: guilledefino guillermo.defino@gmail.com; Author author@noreply.github.com Asunto: Re: [siniypin/pjsip4net] DTMF is not detected when transmitting Contact-ID Alarm (#111)

I'm sorry, but what does Contact-ID Alarm protocol have to do with SIP?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/siniypin/pjsip4net/issues/111?email_source=notifications&email_token=AFRTELB5HGE5H5XKHKCCX63QP34BHA5CNFSM4JDPGFMKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEB5V2HQ#issuecomment-544955678 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AFRTELC473DEK3MIYTIZXGTQP34BHANCNFSM4JDPGFMA . https://github.com/notifications/beacon/AFRTELGKJYQL3NEKZ7SX62LQP34BHA5CNFSM4JDPGFMKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEB5V2HQ.gif

siniypin commented 5 years ago

Maybe this bit Contact-ID protocol over telephony (SIP) isn't working?

guilledefino commented 5 years ago

Maybe this bit Contact-ID protocol over telephony (SIP) isn't working?

It's woking. I've already checked in the past

siniypin commented 5 years ago

Maybe check it again? It would be especially helpful if you could check that these messages arrive to your pjsip4net app and you see them in logs. Here's an example config to enable message logging: https://gist.github.com/siniypin/7860029#file-app-config-L6