Summary:ASTERISK-00422: phone still ringing after picking up netmeeting
Reporter:chris_de (chris_de)Labels:
Date Opened:2003-10-23 13:30:12Date Closed:2011-06-07 14:05:03
Versions:Frequency of
Environment:Attachments:( 0) netmeeting.bmp
Description:since the cvs upgrade version ~ 1 Sep I cannot establish a connection to

1.) E.g.
exten => 1234,1,Dial,H323/

If I dial 1234 with capi or another netmeeting or openphone, first the
called netmeeting rings. When I pickup netmeeting I still get a ringtone in my
calling phone respectively see the calling openphone client trying to establish
a connection. The called netmeeting tells me that a connection is established
as well as asterisk.

2.) If I use openphone instead, everything works fine. I pickup openphone
and I can talk.

3.) Ok, what I found is that if I specify
exten => 1234,1,Dial,H323/|10
and then dial 1234 netmeeting rings and if I pickup I get the same result as
in 1.) but then after the timeout (10 seconds) asterisk displays "Nobody
picked up after 10000ms" and then the connection is established.

4.) If I declare the following extensions:

exten => 1234,1,Answer
exten => 1234,2,Dial,H323/

It also works. When I pickup the called netmeeting the connection is
established immediately.

So I think asterisk doesn't realize when the called party picks up the
phone. But as I said this problem only occurs with use of netmeeting, not with
openphone! And also I tried different netmeeting clients on different
workstations to be sure that netmeeting isn't broken.

I use the recommended openh323 1.11.7 and pwlib 1.4.11

I also can setup a connection using netmeeting -> gnugk -> netmeeting,
netmeeting <-> openphone.


if I comment line 179 in app_dial.c

//winner = ast_waitfor_n(watchers, pos, to);

It seems to work. Because asterisk is hanging on the select(...) call when
using netmeeting. I could reproduce this problem by setting up a blank new
redhat 8.0 system.
Comments:By: jerjer (jerjer) 2003-10-30 10:16:27.000-0600

We shouldn't have to comment anything out in app_dial.  

I just placed a dozen calls from chan_sip to netmeeting using chan_h323 and could not duplicate this problem. I also made a few calls from openphone to netmeeting thru chan_h323 with no trouble.

By: chris_de (chris_de) 2003-10-31 10:23:48.000-0600

sorry, but I tested this with different configurations and didn't get it to run anymore. My h323.conf:

My extensions.conf:
exten => 13,1,Dial(H323/

text on asterisk console (after pickung up netmeeting):
-- Executing Dial("CAPI[contr1/13]/1", "H323/") in new stack
-- started pbx on channel!
-- Called

text after hangig up the calling phone (pstn) while _not touching_ netmeeting:
-- Executing Dial("CAPI[contr1/13]/1", "H323/") in new stack
-- started pbx on channel!
-- Called
-- H323/ answered CAPI[contr1/13]/1
== Spawn extension (pstn, 13, 1) exited non-zero on 'CAPI[contr1/13]/1'