On 04/06/06 05:36 Avi Miller said the following:
If I dialled from a SIP phone on Asterisk 1 to the Phone on the Avaya, it worked fine. If I dialled from a phone on the Avaya, the SIP phone would ring, but the call would drop as soon as it was answered because of codec negotiation failure.

absolutely the same symptoms. my architecture is as follows:

OHPHONE <----> Asterisk <----> SIP Client

calls from the SIP client to OHPHONE work fine with audio et al passed both ways. calls from OH PHONE to the SIP client dont. just after the SIP client answers, the call dies.

i tried your suggestion of removing all "disallow" and "allow" lines in ooh323.conf, but with that, even calls from SIP to H323 (which were working) stop working. it does lend credence to the theory that it's a codec nego issue though. the debug and verbose output of a failed H323 to SIP call is below (6262 is the SIP exten and 6996 is the OHPHONE H.323):

Apr 6 13:59:37 VERBOSE[201] logger.c: -- Executing Dial("OOH323/192.168.1.169-0361", "SIP/6262|40|owWtT") in new stack
Apr  6 13:59:37 DEBUG[201] chan_sip.c: Setting NAT on RTP to 0
Apr  6 13:59:37 DEBUG[201] chan_sip.c: Setting NAT on VRTP to 0
Apr  6 13:59:37 DEBUG[201] acl.c: ##### Testing 192.168.1.164 with 192.168.1.0
Apr  6 13:59:37 DEBUG[201] chan_sip.c: Outgoing Call for 6262
Apr  6 13:59:37 VERBOSE[201] logger.c:     -- Called 6262
Apr 6 13:59:37 DEBUG[201] chan_sip.c: (Provisional) Stopping retransmission (but retaining packet) on '[EMAIL PROTECTED]' Request 102: Found
Apr  6 13:59:37 VERBOSE[201] logger.c:     -- SIP/6262-960b is ringing
Apr 6 13:59:37 DEBUG[201] channel.c: Driver for channel 'OOH323/192.168.1.169-0361' does not support indication 3, emulating it Apr 6 13:59:37 DEBUG[201] channel.c: Prodding channel 'OOH323/192.168.1.169-0361'
Apr  6 13:59:37 DEBUG[201] channel.c: Scheduling timer at 160 sample intervals
Apr 6 13:59:37 DEBUG[201] chan_sip.c: Auto destroying call '[EMAIL PROTECTED]'
Apr  6 13:59:37 DEBUG[201] acl.c: ##### Testing 192.168.1.151 with 192.168.1.0
Apr 6 13:59:37 DEBUG[201] chan_sip.c: SIP message could not be handled, bad request: [EMAIL PROTECTED]
Apr  6 13:59:38 DEBUG[201] chan_sip.c: Acked pending invite 102
Apr 6 13:59:38 DEBUG[201] chan_sip.c: Stopping retransmission on '[EMAIL PROTECTED]' of Request 102: Match Found Apr 6 13:59:38 DEBUG[201] chan_sip.c: build_route: Contact hop: <sip:[EMAIL PROTECTED]:5060> Apr 6 13:59:38 VERBOSE[201] logger.c: -- SIP/6262-960b answered OOH323/192.168.1.169-0361 Apr 6 13:59:38 WARNING[201] src/chan_h323.c: Don't know how to indicate condition -1 on ooh323c_7
Apr  6 13:59:38 DEBUG[201] channel.c: Scheduling timer at 0 sample intervals
Apr 6 13:59:38 VERBOSE[201] logger.c: -- Attempting native bridge of OOH323/192.168.1.169-0361 and SIP/6262-960b Apr 6 13:59:38 DEBUG[201] channel.c: Didn't get a frame from channel: OOH323/192.168.1.169-0361 Apr 6 13:59:38 DEBUG[201] channel.c: Bridge stops bridging channels OOH323/192.168.1.169-0361 and SIP/6262-960b Apr 6 13:59:38 DEBUG[201] chan_sip.c: update_call_counter(6262) - decrement call limit counter
Apr  6 13:59:38 DEBUG[201] app_dial.c: Exiting with DIALSTATUS=ANSWER.
Apr 6 13:59:38 VERBOSE[201] logger.c: == Spawn extension (macro-stdexten, s-DIAL, 1) exited non-zero on 'OOH323/192.168.1.169-0361' in macro 'stdexten' Apr 6 13:59:38 VERBOSE[201] logger.c: == Spawn extension (macro-stdexten, s-DIAL, 1) exited non-zero on 'OOH323/192.168.1.169-0361' Apr 6 13:59:39 DEBUG[201] chan_sip.c: Stopping retransmission on '[EMAIL PROTECTED]' of Request 103: Match Found Apr 6 13:59:40 DEBUG[201] chan_sip.c: Auto destroying call '[EMAIL PROTECTED]'

note that channel.c says it didnt get a frame from OHPHONE and that it subsequent stops bridging the channels. now to go figure out why this is so. any pointers would be appreciated.

--
Regards,                           /\_/\   "All dogs go to heaven."
[EMAIL PROTECTED]                (0 0)    http://www.alphaque.com/
+==========================----oOO--(_)--OOo----==========================+
| for a in past present future; do                                        |
|   for b in clients employers associates relatives neighbours pets; do   |
|   echo "The opinions here in no way reflect the opinions of my $a $b."  |
| done; done                                                              |
+=========================================================================+
_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

Asterisk-Users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to