VDK Discussion Forum

You must be logged in to post

Hook flash using DTMF 16 sia SIP INFO

UserPost

14:54
10 May 2009


simon

Member

posts 5

All,
I am trying to figure out how to send a hook flash via DTMF (hook flash is DTMF 16) as a SIP INFO message.  I tried using the SendDTMF method, however it only accepts a single character which is obviously not enough for "16″.
Thoughts,
Simon

10:28
11 May 2009


alienpenguin

Moderator

posts 8

Hello Simon, as you might know, RFC4733, which obsoletes RFC2833, deprecates the use of signal 16 for flash-hook events; as a workaround u can use either (depending on the other endpoint capabilities)


sendSipInfo(lineId, "Signal=16\r\nDuration=1000″, "application/dtmf-relay");

or

sendSipInfo(lineId, "16\r\n", "application/dtmf");


to send the flash-hook via SIP INFO .

However next release (0.9.8) that will be released Very Soon Now :) will add the ability to handle the 'R' character as flash-hook as stated in RFC4730.

Hope This Helps

16:44
11 May 2009


simon

Member

posts 5

As far as I understand it RFC4733 replaces RFC2833 which describes how to send DTMF tones within RTP headers.  I am looking to send hook flash via SIP INFO.  Would this be possible using sendSipInfo(lineId, "Signal=R\r\nDuration=1000″, "application/dtmf-relay");

16:51
11 May 2009


lamonica

Admin

posts 28

yes, indeed, however starting with release 0.9.8 you wiil be able to do simply

sendDTMF('R');

17:16
11 May 2009


simon

Member

posts 5

Are you not going to add an option for the duration field in 0.9.8?

19:55
11 May 2009


lamonica

Admin

posts 28

simon said:

Are you not going to add an option for the duration field in 0.9.8?


As a matter of fact, that was already scheduled and is already in the trunk; so you can expect it in 0.9.8 Laugh



About the VoipDevKit forum

Most Users Ever Online:

23


Currently Online:

1 Guest

Forum Stats:

Groups: 1

Forums: 2

Topics: 20

Posts: 75

Membership:

There are 235 Members

There has been 1 Guest

There are 2 Admins

There are 2 Moderators

Top Posters:

Antti – 9

zanes – 7

simon – 5

chedy – 3

Elimu – 3

grin – 3

Administrators: lamonica (28 Posts), admin (0 Posts)

Moderators: alienpenguin (8 Posts), murgia (0 Posts)