Guillermo Salas M.
2007-Feb-23 09:07 UTC
[asterisk-users] ooh323 hang up after the call is answered
Hi, I'm trying to make ooh323 works with one asterisk box running 1.2.15 version. I can ring from a h.323 to SIP and SIP to H.323, but when the call is finished when the phone is answered. This is the log when I call from the H.323 device to a SIP device: Feb 23 10:57:32 VERBOSE[6096] logger.c: -- Executing Dial("OOH323/Telconet Mantaer-c5f8", "SIP/666|30|TtrwWC") in new stack Feb 23 10:57:32 DEBUG[6096] chan_sip.c: Setting NAT on RTP to 524288 Feb 23 10:57:32 DEBUG[6096] chan_sip.c: Setting NAT on VRTP to 524288 Feb 23 10:57:32 DEBUG[6096] chan_sip.c: Outgoing Call for 666 Feb 23 10:57:32 VERBOSE[6096] logger.c: -- Called 666 Feb 23 10:57:32 DEBUG[6096] channel.c: Driver for channel 'OOH323/Telconet Mantaer-c5f8' does not support indication 3, emulating it Feb 23 10:57:32 DEBUG[6096] channel.c: Prodding channel 'OOH323/Telconet Mantaer-c5f8' Feb 23 10:57:32 DEBUG[6096] channel.c: Scheduling timer at 160 sample intervals Feb 23 10:57:32 DEBUG[6079] chan_sip.c: (Provisional) Stopping retransmission (but retaining packet) on '310fd4265f0f50135f272f6e41d7c3c1@200.93.220.26' Request 102: Found Feb 23 10:57:32 DEBUG[6079] chan_sip.c: (Provisional) Stopping retransmission (but retaining packet) on '310fd4265f0f50135f272f6e41d7c3c1@200.93.220.26' Request 102: Found Feb 23 10:57:32 DEBUG[6068] channel.c: Avoiding initial deadlock for 'SIP/666-098cde60' Feb 23 10:57:32 VERBOSE[6096] logger.c: -- SIP/666-098cde60 is ringing Feb 23 10:57:36 DEBUG[6079] chan_sip.c: Auto destroying call '32235a910efb4c1e3c00f08213eee73a@200.93.220.26' Feb 23 10:57:40 DEBUG[6079] chan_sip.c: Acked pending invite 102 Feb 23 10:57:40 DEBUG[6079] chan_sip.c: Stopping retransmission on '310fd4265f0f50135f272f6e41d7c3c1@200.93.220.26' of Request 102: Match Found Feb 23 10:57:40 DEBUG[6079] chan_sip.c: build_route: Contact hop: Guillermo Salas M <sip:666@200.93.220.7:5060;user=phone;transport=udp> Feb 23 10:57:40 VERBOSE[6096] logger.c: -- SIP/666-098cde60 answered OOH323/Telconet Mantaer-c5f8 Feb 23 10:57:40 WARNING[6096] src/chan_h323.c: Don't know how to indicate condition -1 on ooh323c_1 Feb 23 10:57:40 DEBUG[6096] channel.c: Scheduling timer at 0 sample intervals Feb 23 10:57:40 DEBUG[6096] channel.c: Didn't get a frame from channel: OOH323/Telconet Mantaer-c5f8 Feb 23 10:57:40 DEBUG[6096] channel.c: Bridge stops bridging channels OOH323/Telconet Mantaer-c5f8 and SIP/666-098cde60 Feb 23 10:57:40 DEBUG[6096] chan_sip.c: update_call_counter(666) - decrement call limit counter Feb 23 10:57:40 DEBUG[6096] app_dial.c: Exiting with DIALSTATUS=ANSWER. Feb 23 10:57:40 VERBOSE[6096] logger.c: == Spawn extension (macro-dial, s, 10) exited non-zero on 'OOH323/Telconet Mantaer-c5f8' in macro 'dial' Feb 23 10:57:40 VERBOSE[6096] logger.c: == Spawn extension (macro-dial, s, 10) exited non-zero on 'OOH323/Telconet Mantaer-c5f8' in macro 'exten-vm' Feb 23 10:57:40 VERBOSE[6096] logger.c: == Spawn extension (macro-dial, s, 10) exited non-zero on 'OOH323/Telconet Mantaer-c5f8' And the h323 log: 10:57:32:717 Created a new call (incoming, ooh323c_1) 10:57:32:753 Received SETUP message (incoming, ooh323c_1) 10:57:32:753 Tunneling disabled by remote endpoint. (incoming, ooh323c_1) 10:57:32:753 Enabled RFC2833 DTMF capability for (incoming, ooh323c_1) 10:57:32:754 Sent Message - CallProceeding (incoming, ooh323c_1) 10:57:32:754 Sent Message - Alerting (incoming, ooh323c_1) 10:57:40:475 Cmd connection accepted 10:57:40:476 Processing Answer Call command for ooh323c_1 10:57:40:476 Creating H245 listener 10:57:40:476 H245 listener creation - successful(port 12031) (incoming, ooh323c_1) 10:57:40:476 H.245 Listerner socket being monitored (incoming, ooh323c_1) 10:57:40:476 Sent Message - Connect (incoming, ooh323c_1) 10:57:40:476 H.245 Listerner socket being monitored (incoming, ooh323c_1) 10:57:40:501 H.245 connection established (incoming, ooh323c_1) 10:57:40:501 Sent Message - TerminalCapabilitySet (incoming, ooh323c_1) 10:57:40:502 Sent Message - MasterSlaveDetermination (incoming, ooh323c_1) 10:57:40:538 Sent Message - TerminalCapabilitySetAck (incoming, ooh323c_1) 10:57:40:542 Master Slave Determination received (incoming, ooh323c_1) 10:57:40:542 MasterSlaveDetermination done - Slave(incoming, ooh323c_1) 10:57:40:542 Sent Message - MasterSlaveDeterminationAck (incoming, ooh323c_1) 10:57:40:556 Opening logical channels (incoming, ooh323c_1) 10:57:40:556 ERROR:Local endpoint does not have any audio capabilities (incoming, ooh323c_1) 10:57:40:556 ERROR:Failed to open audio channels. Clearing call.(incoming, ooh323c_1) 10:57:40:556 Sent Message - EndSessionCommand (incoming, ooh323c_1) 10:57:40:556 Sent Message - ReleaseComplete (incoming, ooh323c_1) 10:57:40:562 Received EndSession command (incoming, ooh323c_1) 10:57:40:562 Closing H.245 connection (incoming, ooh323c_1) 10:57:40:562 H.245 Listerner socket being monitored (incoming, ooh323c_1) 10:57:40:577 H.225 Release Complete message received (incoming, ooh323c_1) 10:57:40:577 Release complete reason code 12. (incoming, ooh323c_1) 10:57:40:577 Cleaning Call (incoming, ooh323c_1)- reason:OO_REASON_LOCAL_CLEARED 10:57:40:577 Closing H.245 Listener (incoming, ooh323c_1) 10:57:40:577 Removed call (incoming, ooh323c_1) from list Below is my ooh323.conf file: [general] faststart=yes h245tunneling=yes gatekeeper = DISABLE port=1720 bindaddr=0.0.0.0 context=from-internal gateway=yes [gateway] type=peer context=from-internal ip=201.218.10.59 port=1720 ;disallow=all ;allow=ulaw ;allow=all canreinvite=no dtmfmode=rfc2833 To dial to h.323 I'm using Dial(OOH323/301@XXX.XXX.XXX.XXX:1720) I think the trouble is with: Feb 23 10:57:32 DEBUG[6096] channel.c: Driver for channel 'OOH323/Telconet Mantaer-c5f8' does not support indication 3, emulating it Feb 23 10:57:40 WARNING[6096] src/chan_h323.c: Don't know how to indicate condition -1 on ooh323c_1 Feb 23 10:57:40 DEBUG[6096] channel.c: Scheduling timer at 0 sample intervals Feb 23 10:57:40 DEBUG[6096] channel.c: Didn't get a frame from channel: OOH323/Telconet Mantaer-c5f8 Feb 23 10:57:40 DEBUG[6096] channel.c: Bridge stops bridging channels OOH323/Telconet Mantaer-c5f8 and SIP/666-098cde60 Best regards, -- Guillermo Salas M. Telconet S.A. Calle 15 y Avenida 24 Esq Edificio Barre #2 Primer Piso Telefono : +593 5 262 8071 Celular : +593 9 985 5138 e-mail : gsalas@manta.telconet.net www : http://www.manta.telconet.net http://www.telcocarrier.net Linux User: 255902 Beat me, whip me, make me use Windows! Please avoid sending me Word or PowerPoint attachments. See http://www.fsf.org/philosophy/no-word-attachments.html Please avoid the Top Posting, see http://es.wikipedia.org/wiki/Top-posting
Guillermo Salas M.
2007-Feb-23 09:20 UTC
[asterisk-users] ooh323 hang up after the call is answered
I fogot, the H.323 device is one Antek networks INC with two fxo ports. Regards, On Fri, 2007-02-23 at 11:07 -0500, Guillermo Salas M. wrote:> Hi, > > I'm trying to make ooh323 works with one asterisk box running 1.2.15 > version. > > I can ring from a h.323 to SIP and SIP to H.323, but when the call is > finished when the phone is answered. > > This is the log when I call from the H.323 device to a SIP device: > > Feb 23 10:57:32 VERBOSE[6096] logger.c: -- Executing > Dial("OOH323/Telconet Mantaer-c5f8", "SIP/666|30|TtrwWC") in new stack > Feb 23 10:57:32 DEBUG[6096] chan_sip.c: Setting NAT on RTP to 524288 > Feb 23 10:57:32 DEBUG[6096] chan_sip.c: Setting NAT on VRTP to 524288 > Feb 23 10:57:32 DEBUG[6096] chan_sip.c: Outgoing Call for 666 > Feb 23 10:57:32 VERBOSE[6096] logger.c: -- Called 666 > Feb 23 10:57:32 DEBUG[6096] channel.c: Driver for channel > 'OOH323/Telconet Mantaer-c5f8' does not support indication 3, emulating > it > Feb 23 10:57:32 DEBUG[6096] channel.c: Prodding channel 'OOH323/Telconet > Mantaer-c5f8' > Feb 23 10:57:32 DEBUG[6096] channel.c: Scheduling timer at 160 sample > intervals > Feb 23 10:57:32 DEBUG[6079] chan_sip.c: (Provisional) Stopping > retransmission (but retaining packet) on > '310fd4265f0f50135f272f6e41d7c3c1@200.93.220.26' Request 102: Found > Feb 23 10:57:32 DEBUG[6079] chan_sip.c: (Provisional) Stopping > retransmission (but retaining packet) on > '310fd4265f0f50135f272f6e41d7c3c1@200.93.220.26' Request 102: Found > Feb 23 10:57:32 DEBUG[6068] channel.c: Avoiding initial deadlock for > 'SIP/666-098cde60' > Feb 23 10:57:32 VERBOSE[6096] logger.c: -- SIP/666-098cde60 is > ringing > Feb 23 10:57:36 DEBUG[6079] chan_sip.c: Auto destroying call > '32235a910efb4c1e3c00f08213eee73a@200.93.220.26' > Feb 23 10:57:40 DEBUG[6079] chan_sip.c: Acked pending invite 102 > Feb 23 10:57:40 DEBUG[6079] chan_sip.c: Stopping retransmission on > '310fd4265f0f50135f272f6e41d7c3c1@200.93.220.26' of Request 102: Match > Found > Feb 23 10:57:40 DEBUG[6079] chan_sip.c: build_route: Contact hop: > Guillermo Salas M <sip:666@200.93.220.7:5060;user=phone;transport=udp> > Feb 23 10:57:40 VERBOSE[6096] logger.c: -- SIP/666-098cde60 answered > OOH323/Telconet Mantaer-c5f8 > Feb 23 10:57:40 WARNING[6096] src/chan_h323.c: Don't know how to > indicate condition -1 on ooh323c_1 > Feb 23 10:57:40 DEBUG[6096] channel.c: Scheduling timer at 0 sample > intervals > Feb 23 10:57:40 DEBUG[6096] channel.c: Didn't get a frame from channel: > OOH323/Telconet Mantaer-c5f8 > Feb 23 10:57:40 DEBUG[6096] channel.c: Bridge stops bridging channels > OOH323/Telconet Mantaer-c5f8 and SIP/666-098cde60 > Feb 23 10:57:40 DEBUG[6096] chan_sip.c: update_call_counter(666) - > decrement call limit counter > Feb 23 10:57:40 DEBUG[6096] app_dial.c: Exiting with DIALSTATUS=ANSWER. > Feb 23 10:57:40 VERBOSE[6096] logger.c: == Spawn extension > (macro-dial, s, 10) exited non-zero on 'OOH323/Telconet Mantaer-c5f8' in > macro 'dial' > Feb 23 10:57:40 VERBOSE[6096] logger.c: == Spawn extension > (macro-dial, s, 10) exited non-zero on 'OOH323/Telconet Mantaer-c5f8' in > macro 'exten-vm' > Feb 23 10:57:40 VERBOSE[6096] logger.c: == Spawn extension > (macro-dial, s, 10) exited non-zero on 'OOH323/Telconet Mantaer-c5f8' > > > And the h323 log: > > 10:57:32:717 Created a new call (incoming, ooh323c_1) > 10:57:32:753 Received SETUP message (incoming, ooh323c_1) > 10:57:32:753 Tunneling disabled by remote endpoint. (incoming, > ooh323c_1) > 10:57:32:753 Enabled RFC2833 DTMF capability for (incoming, ooh323c_1) > 10:57:32:754 Sent Message - CallProceeding (incoming, ooh323c_1) > 10:57:32:754 Sent Message - Alerting (incoming, ooh323c_1) > 10:57:40:475 Cmd connection accepted > 10:57:40:476 Processing Answer Call command for ooh323c_1 > 10:57:40:476 Creating H245 listener > 10:57:40:476 H245 listener creation - successful(port 12031) (incoming, > ooh323c_1) > 10:57:40:476 H.245 Listerner socket being monitored (incoming, > ooh323c_1) > 10:57:40:476 Sent Message - Connect (incoming, ooh323c_1) > 10:57:40:476 H.245 Listerner socket being monitored (incoming, > ooh323c_1) > 10:57:40:501 H.245 connection established (incoming, ooh323c_1) > 10:57:40:501 Sent Message - TerminalCapabilitySet (incoming, ooh323c_1) > 10:57:40:502 Sent Message - MasterSlaveDetermination (incoming, > ooh323c_1) > 10:57:40:538 Sent Message - TerminalCapabilitySetAck (incoming, > ooh323c_1) > 10:57:40:542 Master Slave Determination received (incoming, ooh323c_1) > 10:57:40:542 MasterSlaveDetermination done - Slave(incoming, ooh323c_1) > 10:57:40:542 Sent Message - MasterSlaveDeterminationAck (incoming, > ooh323c_1) > 10:57:40:556 Opening logical channels (incoming, ooh323c_1) > 10:57:40:556 ERROR:Local endpoint does not have any audio capabilities > (incoming, ooh323c_1) > 10:57:40:556 ERROR:Failed to open audio channels. Clearing > call.(incoming, ooh323c_1) > 10:57:40:556 Sent Message - EndSessionCommand (incoming, ooh323c_1) > 10:57:40:556 Sent Message - ReleaseComplete (incoming, ooh323c_1) > 10:57:40:562 Received EndSession command (incoming, ooh323c_1) > 10:57:40:562 Closing H.245 connection (incoming, ooh323c_1) > 10:57:40:562 H.245 Listerner socket being monitored (incoming, > ooh323c_1) > 10:57:40:577 H.225 Release Complete message received (incoming, > ooh323c_1) > 10:57:40:577 Release complete reason code 12. (incoming, ooh323c_1) > 10:57:40:577 Cleaning Call (incoming, ooh323c_1)- > reason:OO_REASON_LOCAL_CLEARED > 10:57:40:577 Closing H.245 Listener (incoming, ooh323c_1) > 10:57:40:577 Removed call (incoming, ooh323c_1) from list > > > > Below is my ooh323.conf file: > > > [general] > faststart=yes > h245tunneling=yes > gatekeeper = DISABLE > port=1720 > bindaddr=0.0.0.0 > context=from-internal > gateway=yes > > [gateway] > type=peer > context=from-internal > ip=201.218.10.59 > port=1720 > ;disallow=all > ;allow=ulaw > ;allow=all > canreinvite=no > dtmfmode=rfc2833 > > > To dial to h.323 I'm using Dial(OOH323/301@XXX.XXX.XXX.XXX:1720) > > > I think the trouble is with: > > Feb 23 10:57:32 DEBUG[6096] channel.c: Driver for channel > 'OOH323/Telconet Mantaer-c5f8' does not support indication 3, emulating > it > > Feb 23 10:57:40 WARNING[6096] src/chan_h323.c: Don't know how to > indicate condition -1 on ooh323c_1 > > Feb 23 10:57:40 DEBUG[6096] channel.c: Scheduling timer at 0 sample > intervals > > Feb 23 10:57:40 DEBUG[6096] channel.c: Didn't get a frame from channel: > OOH323/Telconet Mantaer-c5f8 > > Feb 23 10:57:40 DEBUG[6096] channel.c: Bridge stops bridging channels > OOH323/Telconet Mantaer-c5f8 and SIP/666-098cde60 > > Best regards, >-- Guillermo Salas M. Telconet S.A. Calle 15 y Avenida 24 Esq Edificio Barre #2 Primer Piso Telefono : +593 5 262 8071 Celular : +593 9 985 5138 e-mail : gsalas@manta.telconet.net www : http://www.manta.telconet.net http://www.telcocarrier.net Linux User: 255902 Beat me, whip me, make me use Windows! Please avoid sending me Word or PowerPoint attachments. See http://www.fsf.org/philosophy/no-word-attachments.html Please avoid the Top Posting, see http://es.wikipedia.org/wiki/Top-posting