RE: Bayonne OpenH323 digit recognition

<[email protected]>
Newsgroups gmane.comp.gnu.bayonne.devel
Organization One97 Communications Pvt. Ltd.
Message-ID <[email protected]>
David,

I followed Julien's suggestion and tried using Openphone. I downloaded the
binaries from openh323.org and now Bayonne was able to recognise the digits
sent using openphone. But I still get some error with the playrec test
script when I try to press # to finish a recording. Here is a trace of one
such session:


[root@localhost bayonne-20050116]# server/bayonne --driver oh323 --test
playrec
group=bayonne; cannot change
SERVER VERSION 20050116; i686 Linux 2.6.5-1.358
TGI VERSION 3.0; driver(s)= oh323; etc=/etc/bayonne-test/
Loading TGI plugins...
tgi: initialized; uid=0, pid=25364, buffers=32
tgi: control=/var/run/bayonne/bayonne.ctrl; cfd=4; time=10
Loading DSO plugin images...
debug: trace module loaded
H323 trunk driver loaded; capacity=32
ODBC Driver loaded

TTS: loading english phrasebooks...
loading default trunk group
Compiling default scripts...

testtgi: 8 steps compiled

playrec: 30 steps compiled
playrec
: 3 steps initial
record::initial: 13 steps compiled
record::record: 26 steps compiled
record::replace: 18 steps compiled
record: 1 steps initial
Configuration reloaded

Starting H323 driver...
oh323 driver starting...
Waiting for incoming calls for "Bayonne"
h323: listening on port 1720
drivers started for 32 port(s)
normal startup
fifo: path=/var/run/bayonne/bayonne.ctrl
Bayonne/20050116 running
network: starting
h323/0: ring
h323/0: attach script
OH323Trunk::stepHandler(event->id=100)
h323/0: step 3f0ffffb answer()
OH323Trunk::stepHandler(event->id=303)
OH323Trunk::stepHandler(event->parm.step=4)
h323/0: answer
OH323Trunk::stepHandler(event->id=100)
h323/0: step 3f0ffffb clear(%session.digits)
OH323Trunk::stepHandler(event->id=100)
h323/0: step 3f0ffffb play(playrec0)
OH323Trunk::stepHandler(event->id=303)
OH323Trunk::stepHandler(event->parm.step=6)
h323/0: play
OH323Trunk::stepHandler(event->id=100)
h323/0: step 3f0ffffb sleep(10s)
OH323Trunk::stepHandler(event->id=303)
OH323Trunk::stepHandler(event->parm.step=1)
h323/0: sleep
OH323Trunk::stepHandler(event->id=100)
h323/0: step 00000003
collect(=count,3,=ignore,*#ABCD,=var,&playrec.msg,=timeout,10s)
OH323Trunk::stepHandler(event->id=303)
OH323Trunk::stepHandler(event->parm.step=5)
h323/0: collect
OH323Trunk::stepHandler(event->id=100)
h323/0: step 00000003 begin()
OH323Trunk::stepHandler(event->id=401)
h323/0: step 00000003 case(%playrec.msg.len,-eq,0)
OH323Trunk::stepHandler(event->id=401)
h323/0: step 00000003 case(%playrec.msg.len,-lt,3)
OH323Trunk::stepHandler(event->id=401)
h323/0: step 00000003 case(-prompt,%playrec.msg,=prefix,prompts)
OH323Trunk::stepHandler(event->id=401)
h323/0: step 00000003 endcase()
OH323Trunk::stepHandler(event->id=401)
h323/0: step 00000003 build(%playrec.tempname,playrec1,&spell,%playrec.msg)
OH323Trunk::stepHandler(event->id=303)
OH323Trunk::stepHandler(event->parm.step=19)
h323/0: thread
OH323Trunk::stepHandler(event->id=100)
h323/0: step 00000003
call(record::initial,=timeout,10s,=file,%playrec.msg,=maxtime,60s,=name,%pla
yrec.tempname,=retries,3,=hel
OH323Trunk::stepHandler(event->id=401)
h323/0: step 3f0ffffb fconst(=prefix,prompts,=maxtime,60s,=timeout,10s)
OH323Trunk::stepHandler(event->id=401)
h323/0: step 3f0ffffb erase(=prefix,%prefix,=file,%file)
OH323Trunk::stepHandler(event->id=401)
h323/0: step 3f0ffffb counter(%retry)
OH323Trunk::stepHandler(event->id=401)
h323/0: step 3f0ffffb const(=retries,%session.retries,=help,%session.help)
OH323Trunk::stepHandler(event->id=401)
h323/0: step 3f0ffffb if(%retry,-ge,%retries,then)
OH323Trunk::stepHandler(event->id=401)
h323/0: step 3f0ffffb play(record1,%name,1toconfirm,0tocancel)
OH323Trunk::stepHandler(event->id=303)
OH323Trunk::stepHandler(event->parm.step=6)
h323/0: play
OH323Trunk::stepHandler(event->id=100)
h323/0: step 3f0fffff fconst()
OH323Trunk::stepHandler(event->id=100)
h323/0: step 3f0fffff const(%tmpname,%file,-,%session.tsid)
OH323Trunk::stepHandler(event->id=401)
h323/0: step 3f0fffff play(record2)
OH323Trunk::stepHandler(event->id=303)
OH323Trunk::stepHandler(event->parm.step=6)
h323/0: play
OH323Trunk::stepHandler(event->id=100)
h323/0: step 3f0fffff if(%help,-lt,2,then)
OH323Trunk::stepHandler(event->id=401)
h323/0: step 3f0fffff play(record3,pressp)
OH323Trunk::stepHandler(event->id=303)
OH323Trunk::stepHandler(event->parm.step=6)
h323/0: play
OH323Trunk::stepHandler(event->id=100)
h323/0: step 3f0fffff if(%help,-lt,1)
OH323Trunk::stepHandler(event->id=401)
h323/0: step 3f0fffff play(record4,press2)
OH323Trunk::stepHandler(event->id=303)
OH323Trunk::stepHandler(event->parm.step=6)
h323/0: play
OH323Trunk::stepHandler(event->id=100)
h323/0: step 3f0fffff play(record5,press3)
OH323Trunk::stepHandler(event->id=303)
OH323Trunk::stepHandler(event->parm.step=6)
h323/0: play
OH323Trunk::stepHandler(event->id=100)
h323/0: step 3f0fffff play(record9,press9)
OH323Trunk::stepHandler(event->id=303)
OH323Trunk::stepHandler(event->parm.step=6)
h323/0: play
OH323Trunk::stepHandler(event->id=100)
h323/0: step 3f0fffff endif()
OH323Trunk::stepHandler(event->id=401)
h323/0: step 3f0fffff tone(beep)
OH323Trunk::stepHandler(event->id=401)
h323/0: step 3f0fffff
record(=exit,#,=maxTime,%maxtime,=prefix,%prefix,%tmpname)
OH323Trunk::stepHandler(event->id=303)
OH323Trunk::stepHandler(event->parm.step=8)
h323/0: record
Floating point exception

Regards,

Ambar Roy

One97 Communications Pvt. Ltd.
701 Arunachal Building,
19 Barakhamba Road,
New Delhi - 110001

+91-9810094479
[email protected]

> -----Original Message-----
> From: David Sugar [mailto:[email protected]] 
> Sent: Tuesday, May 03, 2005 4:35 PM
> To: [email protected]
> Cc: [email protected]; [email protected]
> Subject: Re: [Bayonne-devel] Bayonne OpenH323 digit recognition
> 
> I had experimented with this in the sip driver with Aymeric and 
> eventually we got it to work reasonably well.  Probably it 
> needs to be 
> played with in the h323 driver.  You might want to look at the sip 
> driver for comparison.  Or use a client that (unlike 
> netmeeting) is not 
> broken and actually is compliant with h323 :).
> 
> 
> [email protected] wrote:
> > Hi David,
> > 
> > I tried to use the inbanddmf config option, but it was of 
> no help. There was
> > a section inside the drivers/oh323/audio.cpp that was 
> commented out. If I
> > uncomment this section then the moment I press a digit, 
> bayonne crashes with
> > a segmentation fault. Any idea how I can go about debugging 
> this? I do not
> > have much idea on using debuggers under linux!
> > 
> > I am using bayonne-20050116.
> > 
> > Regards,
> > 
> > Ambar Roy
> > 
> > One97 Communications Pvt. Ltd.
> > 701 Arunachal Building,
> > 19 Barakhamba Road,
> > New Delhi - 110001
> > 
> > +91-9810094479
> > [email protected] 
> > 
> > -----Original Message-----
> > From: David Sugar [mailto:[email protected]] 
> > Sent: Sunday, May 01, 2005 5:43 PM
> > To: [email protected]
> > Cc: [email protected]
> > Subject: Re: [Bayonne-devel] Bayonne OpenH323 digit recognition
> > 
> > Netmeeting does not use the h.323 standard for signalling 
> DTMF digits. 
> > Instead it sends them in-band which requires Bayonne to 
> look at each and 
> > every data packet and decode DTMF directly from the audio 
> stream.  This 
> > is enabled through a driver option in the [oh323] 
> configuration.  It 
> > will greatly reduce the total number of concurrent sessions 
> you can run, 
> > however.
> > 
> > [email protected] wrote:
> > 
> >>I have been able to successfully get a call answered by 
> bayonne using 
> >>OpenH323 when calling from a windows machine running NetMeeting.
> >> 
> >>But the playrec script does not seem to recognise the digits i send 
> >>using NetMeeting. Is there anything i am missing?
> >> 
> >>
> >>Regards,
> >>
> >>Ambar Roy
> >>
> >>
> >>------------------------------------------------------------
> ------------
> >>
> >>_______________________________________________
> >>Bayonne-devel mailing list
> >>[email protected]
> >>http://lists.gnu.org/mailman/listinfo/bayonne-devel
> > 
> > 
> > 
> > 
> > _______________________________________________
> > Bayonne-devel mailing list
> > [email protected]
> > http://lists.gnu.org/mailman/listinfo/bayonne-devel
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.