DTMF

MB
Michael Bradley Jr
Thu, Feb 21, 2008 10:05 AM

Hi,

does the library actually supports DTMF that are transmitted in-band and not
based on RFC 2833 ?
I can hear the DTMF sound but can catch this!
If not, how can someone quickly hack on this?

cheers
Michael

Hi, does the library actually supports DTMF that are transmitted in-band and not based on RFC 2833 ? I can hear the DTMF sound but can catch this! If not, how can someone quickly hack on this? cheers Michael
BP
Benny Prijono
Thu, Feb 21, 2008 12:34 PM

On 2/21/08, Michael Bradley Jr mbradley.jr@gmail.com wrote:

Hi,

does the library actually supports DTMF that are transmitted in-band and not
based on RFC 2833 ?
I can hear the DTMF sound but can catch this!
If not, how can someone quickly hack on this?

I think you can find the answer in http://trac.pjsip.org/repos/wiki/FAQ#dtmf

cheers,
-benny

cheers
Michael

On 2/21/08, Michael Bradley Jr <mbradley.jr@gmail.com> wrote: > Hi, > > does the library actually supports DTMF that are transmitted in-band and not > based on RFC 2833 ? > I can hear the DTMF sound but can catch this! > If not, how can someone quickly hack on this? > I think you can find the answer in http://trac.pjsip.org/repos/wiki/FAQ#dtmf cheers, -benny > cheers > Michael
NF
Norman Franke
Thu, Feb 21, 2008 3:39 PM

Although, in my experience using a tonegen often results in tones
that are not understood by a number of other systems. I'm not sure if
this is due to audio volume issues or what, but we've had a number of
systems that can't understand some or all digits from the tonegen.
Sending SIP INFO messages to our Cisco to then generate them always
works.

Norman Franke
Answering Service for Directors, Inc.
www.myasd.com

On Feb 21, 2008, at 7:34 AM, Benny Prijono wrote:

On 2/21/08, Michael Bradley Jr mbradley.jr@gmail.com wrote:

Hi,

does the library actually supports DTMF that are transmitted in-
band and not
based on RFC 2833 ?
I can hear the DTMF sound but can catch this!
If not, how can someone quickly hack on this?

I think you can find the answer in http://trac.pjsip.org/repos/wiki/
FAQ#dtmf

cheers,
-benny

cheers
Michael

Although, in my experience using a tonegen often results in tones that are not understood by a number of other systems. I'm not sure if this is due to audio volume issues or what, but we've had a number of systems that can't understand some or all digits from the tonegen. Sending SIP INFO messages to our Cisco to then generate them always works. Norman Franke Answering Service for Directors, Inc. www.myasd.com On Feb 21, 2008, at 7:34 AM, Benny Prijono wrote: > On 2/21/08, Michael Bradley Jr <mbradley.jr@gmail.com> wrote: >> Hi, >> >> does the library actually supports DTMF that are transmitted in- >> band and not >> based on RFC 2833 ? >> I can hear the DTMF sound but can catch this! >> If not, how can someone quickly hack on this? >> > > I think you can find the answer in http://trac.pjsip.org/repos/wiki/ > FAQ#dtmf > > cheers, > -benny > >> cheers >> Michael > > _______________________________________________ > Visit our blog: http://blog.pjsip.org > > pjsip mailing list > pjsip@lists.pjsip.org > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
BP
Benny Prijono
Thu, Feb 21, 2008 9:50 PM

On 2/21/08, Norman Franke norman@myasd.com wrote:

Although, in my experience using a tonegen often results in tones that are
not understood by a number of other systems. I'm not sure if this is due to
audio volume issues or what, but we've had a number of systems that can't
understand some or all digits from the tonegen. Sending SIP INFO messages to
our Cisco to then generate them always works.

The tone generator heavily depends on the quality of sine wave
generation, and in PJMEDIA, I use a sine wave emulation which I
thought should give good balance between quality and speed. With this
method, speed definitely is much better than using math.h, but
quality, well turns out not to be perfect. I'm aware that the longer
the tone is, the more deviation it'll have from the perfect tone.

Have a look at tonegen.c for more info. Thanks for the feedback though.

cheers,
-benny

On 2/21/08, Norman Franke <norman@myasd.com> wrote: > > Although, in my experience using a tonegen often results in tones that are > not understood by a number of other systems. I'm not sure if this is due to > audio volume issues or what, but we've had a number of systems that can't > understand some or all digits from the tonegen. Sending SIP INFO messages to > our Cisco to then generate them always works. The tone generator heavily depends on the quality of sine wave generation, and in PJMEDIA, I use a sine wave emulation which I thought should give good balance between quality and speed. With this method, speed definitely is much better than using math.h, but quality, well turns out not to be perfect. I'm aware that the longer the tone is, the more deviation it'll have from the perfect tone. Have a look at tonegen.c for more info. Thanks for the feedback though. cheers, -benny
NF
Norman Franke
Fri, Feb 22, 2008 4:54 PM

On Feb 21, 2008, at 4:50 PM, Benny Prijono wrote:

On 2/21/08, Norman Franke norman@myasd.com wrote:

Although, in my experience using a tonegen often results in tones
that are
not understood by a number of other systems. I'm not sure if this
is due to
audio volume issues or what, but we've had a number of systems
that can't
understand some or all digits from the tonegen. Sending SIP INFO
messages to
our Cisco to then generate them always works.

The tone generator heavily depends on the quality of sine wave
generation, and in PJMEDIA, I use a sine wave emulation which I
thought should give good balance between quality and speed. With this
method, speed definitely is much better than using math.h, but
quality, well turns out not to be perfect. I'm aware that the longer
the tone is, the more deviation it'll have from the perfect tone.

Have a look at tonegen.c for more info. Thanks for the feedback
though.

Perhaps there should be an option to use a better one, since this one
is incompatible with some remote systems. Oddly, it seemed some
digits would work, like zero. Nine seemed to be a constant problem,
which uses a higher frequency according to: http://en.wikipedia.org/
wiki/DTMF

Norman Franke
Answering Service for Directors, Inc.
www.myasd.com

On Feb 21, 2008, at 4:50 PM, Benny Prijono wrote: > On 2/21/08, Norman Franke <norman@myasd.com> wrote: >> >> Although, in my experience using a tonegen often results in tones >> that are >> not understood by a number of other systems. I'm not sure if this >> is due to >> audio volume issues or what, but we've had a number of systems >> that can't >> understand some or all digits from the tonegen. Sending SIP INFO >> messages to >> our Cisco to then generate them always works. > > The tone generator heavily depends on the quality of sine wave > generation, and in PJMEDIA, I use a sine wave emulation which I > thought should give good balance between quality and speed. With this > method, speed definitely is much better than using math.h, but > quality, well turns out not to be perfect. I'm aware that the longer > the tone is, the more deviation it'll have from the perfect tone. > > Have a look at tonegen.c for more info. Thanks for the feedback > though. Perhaps there should be an option to use a better one, since this one is incompatible with some remote systems. Oddly, it seemed some digits would work, like zero. Nine seemed to be a constant problem, which uses a higher frequency according to: http://en.wikipedia.org/ wiki/DTMF Norman Franke Answering Service for Directors, Inc. www.myasd.com
BP
Benny Prijono
Sat, Feb 23, 2008 7:45 AM

On 2/22/08, Norman Franke norman@myasd.com wrote:

Perhaps there should be an option to use a better one, since this one
is incompatible with some remote systems. Oddly, it seemed some
digits would work, like zero. Nine seemed to be a constant problem,
which uses a higher frequency according to: http://en.wikipedia.org/
wiki/DTMF

Yeah I agree. In fact I'm surprised that this is not configurable in
the first place. I've added http://trac.pjsip.org/repos/ticket/494 for
this.

thanks,
-benny

On 2/22/08, Norman Franke <norman@myasd.com> wrote: > Perhaps there should be an option to use a better one, since this one > is incompatible with some remote systems. Oddly, it seemed some > digits would work, like zero. Nine seemed to be a constant problem, > which uses a higher frequency according to: http://en.wikipedia.org/ > wiki/DTMF > Yeah I agree. In fact I'm surprised that this is not configurable in the first place. I've added http://trac.pjsip.org/repos/ticket/494 for this. thanks, -benny
JA
jorge.amador (at) withus.pt
Wed, Feb 27, 2008 3:29 PM

Hi everyone,

I'm using pjsua_player_create() to play a wav file to the conference
bridge and I've noticed that the file is repeated several times in
loop stopping only when the call is terminated. I'd like to be able to
play the file only once and after this destroy the file port. Is there
a way to do this whith pjsua? Thanks,

Jorge

Hi everyone, I'm using pjsua_player_create() to play a wav file to the conference bridge and I've noticed that the file is repeated several times in loop stopping only when the call is terminated. I'd like to be able to play the file only once and after this destroy the file port. Is there a way to do this whith pjsua? Thanks, Jorge
JA
jorge.amador (at) withus.pt
Mon, Mar 3, 2008 3:38 PM

Hi everyone,

I'm using pjsua_player_create() to play a wav file to the conference
bridge and I've noticed that the file is repeated several times in
loop stopping only when the call is terminated. I'd like to be able to
play the file only once and after this destroy the file port. Is there
a way to do this whith pjsua? Thanks,

Jorge

Hi everyone, I'm using pjsua_player_create() to play a wav file to the conference bridge and I've noticed that the file is repeated several times in loop stopping only when the call is terminated. I'd like to be able to play the file only once and after this destroy the file port. Is there a way to do this whith pjsua? Thanks, Jorge
BP
Benny Prijono
Mon, Mar 3, 2008 4:12 PM

Hi everyone,

I'm using pjsua_player_create() to play a wav file to the conference
bridge and I've noticed that the file is repeated several times in
loop stopping only when the call is terminated. I'd like to be able to
play the file only once and after this destroy the file port. Is there
a way to do this whith pjsua? Thanks,

Jorge


Visit our blog: http://blog.pjsip.org

pjsip mailing list
pjsip@lists.pjsip.org
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org

http://www.pjsip.org/pjsip/docs/html/group__PJSUA__LIB__MEDIA.htm#g90a2ec9c8516b5ad13b061a46ae1d07a http://www.pjsip.org/pjsip/docs/html/group__PJSUA__LIB__MEDIA.htm#g19ec871dc458d07deabd1d7da16d1f98 http://www.pjsip.org/pjmedia/docs/html/group__PJMEDIA__FILE__PLAY.htm#g278007b67f63eaec515ae7163e5ec30b On 3/3/08, jorge.amador@withus.pt <jorge.amador@withus.pt> wrote: > Hi everyone, > > I'm using pjsua_player_create() to play a wav file to the conference > bridge and I've noticed that the file is repeated several times in > loop stopping only when the call is terminated. I'd like to be able to > play the file only once and after this destroy the file port. Is there > a way to do this whith pjsua? Thanks, > > Jorge > > > > _______________________________________________ > Visit our blog: http://blog.pjsip.org > > pjsip mailing list > pjsip@lists.pjsip.org > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org >
JA
jorge.amador (at) withus.pt
Mon, Mar 3, 2008 4:50 PM

Thanks

Quoting Benny Prijono bennylp@pjsip.org:

Hi everyone,

I'm using pjsua_player_create() to play a wav file to the conference
bridge and I've noticed that the file is repeated several times in
loop stopping only when the call is terminated. I'd like to be able to
play the file only once and after this destroy the file port. Is there
a way to do this whith pjsua? Thanks,

Jorge


Visit our blog: http://blog.pjsip.org

pjsip mailing list
pjsip@lists.pjsip.org
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org

Thanks Quoting Benny Prijono <bennylp@pjsip.org>: > http://www.pjsip.org/pjsip/docs/html/group__PJSUA__LIB__MEDIA.htm#g90a2ec9c8516b5ad13b061a46ae1d07a > http://www.pjsip.org/pjsip/docs/html/group__PJSUA__LIB__MEDIA.htm#g19ec871dc458d07deabd1d7da16d1f98 > http://www.pjsip.org/pjmedia/docs/html/group__PJMEDIA__FILE__PLAY.htm#g278007b67f63eaec515ae7163e5ec30b > > On 3/3/08, jorge.amador@withus.pt <jorge.amador@withus.pt> wrote: >> Hi everyone, >> >> I'm using pjsua_player_create() to play a wav file to the conference >> bridge and I've noticed that the file is repeated several times in >> loop stopping only when the call is terminated. I'd like to be able to >> play the file only once and after this destroy the file port. Is there >> a way to do this whith pjsua? Thanks, >> >> Jorge >> >> >> >> _______________________________________________ >> Visit our blog: http://blog.pjsip.org >> >> pjsip mailing list >> pjsip@lists.pjsip.org >> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org >> > > _______________________________________________ > Visit our blog: http://blog.pjsip.org > > pjsip mailing list > pjsip@lists.pjsip.org > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org >