Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[asterisk-users] Reading DTMF sent by callee during a SIP call


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users
View previous topic :: View next topic  
Author Message
ralienpp at gmail.com
Guest





PostPosted: Fri Dec 20, 2013 11:14 am    Post subject: [asterisk-users] Reading DTMF sent by callee during a SIP ca Reply with quote

Hi everyone,

I am looking for advice about the design of a SIP-based intercom. I
count on your help, as my current attempts are not fruitful (yet).

This will be a pretty long message, so here's my fundamental question:

Is there a way to interpret DTMF tones sent by the calee
(not the caller) while a voice call is in progress?






Here's the desired scenario:

- there is a box with speakers and a mic
- Asterisk is running on a computer inside that box
- the box is embedded in a door
- There are two user accounts, UserA and userB
- UserA is a client that runs on the server*
- UserA calls UserB and they are having a voice conversation


Throughout the call, Asterisk must react to DTMF tones sent by userB;
such that an action is executed when a specific key is pressed.

The idea is to build an intercom that would enable me to open a door
remotely, by relying entirely on SIP, so there would be no need to
have some additional communication channel to send the "open door"
signal.




I have previously implemented IVRs using `Background` and jumped to
specific extensions, when a button was pressed. But in that case, the
extensions are dialed by the caller; whereas now the input must from
the person who answered the call.

If I use `Dial` and `Read` - the latter is only executed after `Dial`
terminates - so this is not suitable.


`Background` behaves like I need - but it plays back a predefined
file, so it is not suitable for an interactive conversation.



* Having a SIP client on the same machine as the Asterisk server
itself is not possible, because both won't be able to bind to port
5060. My guess is that the solution is to originate a call from the
CLI; but I haven't gotten to that part yet.




Thank you for your patience, I am looking forward to your feedback,
Alex

--
_____________________________________________________________________
-- 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
ish at pack-net.co.uk
Guest





PostPosted: Fri Dec 20, 2013 11:30 am    Post subject: [asterisk-users] Reading DTMF sent by callee during a SIP ca Reply with quote

On 20 December 2013 16:13, Alex <ralienpp@gmail.com (ralienpp@gmail.com)> wrote:
Quote:
Hi everyone,

I am looking for advice about the design of a SIP-based intercom. I
count on your help, as my current attempts are not fruitful (yet).

This will be a pretty long message, so here's my fundamental question:

Is there a way to interpret DTMF tones sent by the calee
(not the caller) while a voice call is in progress?






Here's the desired scenario:

- there is a box with speakers and a mic
- Asterisk is running on a computer inside that box
- the box is embedded in a door
- There are two user accounts, UserA and userB
- UserA is a client that runs on the server*
- UserA calls UserB and they are having a voice conversation


Throughout the call, Asterisk must react to DTMF tones sent by userB;
such that an action is executed when a specific key is pressed.

The idea is to build an intercom that would enable me to open a door
remotely, by relying entirely on SIP, so there would be no need to
have some additional communication channel to send the "open door"
signal.




I have previously implemented IVRs using `Background` and jumped to
specific extensions, when a button was pressed. But in that case, the
extensions are dialed by the caller; whereas now the input must from
the person who answered the call.

If I use `Dial` and `Read` - the latter is only executed after `Dial`
terminates - so this is not suitable.


`Background` behaves like I need - but it plays back a predefined
file, so it is not suitable for an interactive conversation.



* Having a SIP client on the same machine as the Asterisk server
itself is not possible, because both won't be able to bind to port
5060. My guess is that the solution is to originate a call from the
CLI; but I haven't gotten to that part yet.




Thank you for your patience, I am looking forward to your feedback,
Alex




You could create your own feature in features.conf that executes a Macro/Gosub defined in sip.conf...


Ish



--
Quote:
Ishfaq Malik
Department: VOIP Support
Company: Packnet Limited
t: +44 (0)845 004 4994
f: +44 (0)161 660 9825
e: ish@pack-net.co.uk (ish@pack-net.co.uk)
w: http://www.pack-net.co.uk

Registered Address: PACKNET LIMITED, Duplex 2, Ducie House
37 Ducie Street
Manchester, M1 2JW
COMPANY REG NO. 04920552
Back to top
dk at donkelly.biz
Guest





PostPosted: Fri Dec 20, 2013 11:59 am    Post subject: [asterisk-users] Reading DTMF sent by callee during a SIP ca Reply with quote

Isn’t it easier just to use a SIP door phone?

--Don


From: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Ishfaq Malik
Sent: Friday, December 20, 2013 10:31 AM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] Reading DTMF sent by callee during a SIP call



On 20 December 2013 16:13, Alex <ralienpp@gmail.com (ralienpp@gmail.com)> wrote:
Hi everyone,

I am looking for advice about the design of a SIP-based intercom. I
count on your help, as my current attempts are not fruitful (yet).

This will be a pretty long message, so here's my fundamental question:

Is there a way to interpret DTMF tones sent by the calee
(not the caller) while a voice call is in progress?






Here's the desired scenario:

- there is a box with speakers and a mic
- Asterisk is running on a computer inside that box
- the box is embedded in a door
- There are two user accounts, UserA and userB
- UserA is a client that runs on the server*
- UserA calls UserB and they are having a voice conversation


Throughout the call, Asterisk must react to DTMF tones sent by userB;
such that an action is executed when a specific key is pressed.

The idea is to build an intercom that would enable me to open a door
remotely, by relying entirely on SIP, so there would be no need to
have some additional communication channel to send the "open door"
signal.




I have previously implemented IVRs using `Background` and jumped to
specific extensions, when a button was pressed. But in that case, the
extensions are dialed by the caller; whereas now the input must from
the person who answered the call.

If I use `Dial` and `Read` - the latter is only executed after `Dial`
terminates - so this is not suitable.


`Background` behaves like I need - but it plays back a predefined
file, so it is not suitable for an interactive conversation.



* Having a SIP client on the same machine as the Asterisk server
itself is not possible, because both won't be able to bind to port
5060. My guess is that the solution is to originate a call from the
CLI; but I haven't gotten to that part yet.




Thank you for your patience, I am looking forward to your feedback,
Alex




You could create your own feature in features.conf that executes a Macro/Gosub defined in sip.conf...



Ish




--
Quote:
Ishfaq Malik Department: VOIP SupportCompany: Packnet Limitedt: +44 (0)845 004 4994f: +44 (0)161 660 9825e: ish@pack-net.co.uk (ish@pack-net.co.uk)w: http://www.pack-net.co.uk Registered Address: PACKNET LIMITED, Duplex 2, Ducie House37 Ducie Street Department: VOIP Support
0
Quote:
Department: VOIP Support
1
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
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

VoiceMeUp - Corporate & Wholesale VoIP Services