Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

getting dtmf #93

Open
thiva7 opened this issue Apr 8, 2024 · 7 comments
Open

getting dtmf #93

thiva7 opened this issue Apr 8, 2024 · 7 comments

Comments

@thiva7
Copy link

thiva7 commented Apr 8, 2024

Hey , i have install and running the app and is work perfect , but i would like to ask is possible to get dtmf from caller?not send but receive it so to able to show calls based on caller selection?

Thanks

@kingster
Copy link
Member

kingster commented Apr 8, 2024

Hi @thiva7

How would you be using that? What do you mean by displaying it?

A softphone is for calling purpose, whereas dtmf is meant for an ivr system. If I guess you want to have dynamic forwarding based on user input it needs to be done at an ivr which can then appropriately forward.

@thiva7
Copy link
Author

thiva7 commented Apr 8, 2024

Hi @thiva7

How would you be using that? What do you mean by displaying it?

A softphone is for calling purpose, whereas dtmf is meant for an ivr system. If I guess you want to have dynamic forwarding based on user input it needs to be done at an ivr which can then appropriately forward.

Hey thanks for you reply
a very simple example.

in call center when call come i have this "for this press 1 for other press 2" etc

i want based on dtmf to show or not the caller from my app . now as it is , when i have incoming call is open same time notification window to all users .

Thanks

@kingster
Copy link
Member

kingster commented Apr 8, 2024

in call center when call come i have this "for this press 1 for other press 2" etc

This is something that needs to be done in ivr/pbx. Once the call comes you can have this as handling, and based on the response you can route it to 2 different queues on which you have different set of people answering.

Doing this on softphone is not even possible since it doesn't have call routing control.

@thiva7
Copy link
Author

thiva7 commented Apr 8, 2024

control

Hey thanks for reply
Im not asking for adding routing to calls. But to get dtmf input while call is active.

Thanks for your time.

@kingster
Copy link
Member

kingster commented Apr 8, 2024

Unfortunately that is not supported currently. The way to implement this would be to start a AudioMedia transmit to a listener which would continue to detect dtmf tunes, once detected it can raise those events. Have a look at how conference is implemented and you can start from there.

@kingster
Copy link
Member

kingster commented Apr 8, 2024

Here's the link to pjsip documentation with guidance to implement inband dtmf detection

https://docs.pjsip.org/en/latest/specific-guides/sip/dtmf.html#implementing-inband-dtmf-detector

@thiva7
Copy link
Author

thiva7 commented Apr 9, 2024

Unfortunately that is not supported currently. The way to implement this would be to start a AudioMedia transmit to a listener which would continue to detect dtmf tunes, once detected it can raise those events. Have a look at how conference is implemented and you can start from there.

Here's the link to pjsip documentation with guidance to implement inband dtmf detection

https://docs.pjsip.org/en/latest/specific-guides/sip/dtmf.html#implementing-inband-dtmf-detector

Hey , Thanks for reply

i will give a try.

Thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants