[asterisk-bugs] [JIRA] (ASTERISK-22901) Originate command doesn't work through OOH323 channels

Matt Jordan (JIRA) noreply at issues.asterisk.org
Tue Nov 26 12:34:03 CST 2013


    [ https://issues.asterisk.org/jira/browse/ASTERISK-22901?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=212276#comment-212276 ] 

Matt Jordan commented on ASTERISK-22901:
----------------------------------------

It certainly looks like it's doing something. {{OOH323/Avaya-4216}} is originated via a message received from the text message handler channel Message, and it certainly exists for 30 seconds or so:

{noformat}
[Nov 25 15:14:29] DEBUG[19192] manager.c: Examining event:
Event: Newexten
Privilege: dialplan,all
Timestamp: 1385388869.842732
Channel: Message/ast_msg_queue
Context: IncomingMessages
Extension: s
Priority: 11
Application: Originate
AppData: OOH323/00625081954 at Avaya,exten,bridgetwoparty,s,1
Uniqueid: 1385371240.5017


[Nov 25 15:14:29] VERBOSE[19105][C-00000652] chan_ooh323.c: ---   ooh323_request - data 00625081954 at Avaya format (slin192)
[Nov 25 15:14:29] VERBOSE[19105][C-00000652] chan_ooh323.c: ---   ooh323_alloc
[Nov 25 15:14:29] DEBUG[14381][C-0000106b] audiohook.c: Read factory 0xa43c7cc was pretty quick last time, waiting for them.
[Nov 25 15:14:29] VERBOSE[19105][C-00000652] chan_ooh323.c: +++   ooh323_alloc
[Nov 25 15:14:29] VERBOSE[19105][C-00000652] chan_ooh323.c: ---   find_peer "Avaya"
[Nov 25 15:14:29] VERBOSE[19105][C-00000652] chan_ooh323.c: 		comparing with "10.147.9.64"
[Nov 25 15:14:29] VERBOSE[19105][C-00000652] chan_ooh323.c: 		comparing with "10.147.9.64"
[Nov 25 15:14:29] VERBOSE[19105][C-00000652] chan_ooh323.c: 		found matching peer
[Nov 25 15:14:29] VERBOSE[19105][C-00000652] chan_ooh323.c: +++   find_peer "Avaya"
[Nov 25 15:14:29] VERBOSE[19105][C-00000652] chan_ooh323.c: ---   ooh323_new - Avaya
[Nov 25 15:14:29] DEBUG[19192] manager.c: Examining event:
Event: Newchannel
Privilege: call,all
Timestamp: 1385388869.843312
Channel: OOH323/Avaya-4216
ChannelState: 0
ChannelStateDesc: Down
CallerIDNum: 
CallerIDName: 
AccountCode: ast_h323
Exten: 00625081954
Context: from-h323
Uniqueid: 1385388869.13016
{noformat}

...

{noformat}
[Nov 25 15:14:29] DEBUG[19105][C-00000652] channel.c: Set channel OOH323/Avaya-4216 to write format slin192
[Nov 25 15:14:29] DEBUG[19105][C-00000652] channel.c: Set channel OOH323/Avaya-4216 to read format slin192
[Nov 25 15:14:29] DEBUG[19105][C-00000652] dsp.c: Setup tone 1100 Hz, 500 ms, block_size=160, hits_required=21
[Nov 25 15:14:29] DEBUG[19105][C-00000652] dsp.c: Setup tone 2100 Hz, 2600 ms, block_size=160, hits_required=116
[Nov 25 15:14:29] DEBUG[19105][C-00000652] dsp.c: Setup tone 1100 Hz, 500 ms, block_size=160, hits_required=21
[Nov 25 15:14:29] DEBUG[19105][C-00000652] dsp.c: Setup tone 2100 Hz, 2600 ms, block_size=160, hits_required=116
[Nov 25 15:14:29] VERBOSE[19105][C-00000652] chan_ooh323.c: +++   h323_new
[Nov 25 15:14:29] DEBUG[19192] manager.c: Examining event:
Event: ChannelUpdate
Privilege: system,all
Timestamp: 1385388869.843593
Channel: OOH323/Avaya-4216
Channeltype: OOH323
CallRef: 0
{noformat}

...

{noformat}
[Nov 25 15:14:29] VERBOSE[19105][C-00000652] chan_ooh323.c: +++   ooh323_request
[Nov 25 15:14:29] VERBOSE[19105][C-00000652] chan_ooh323.c: ---   ooh323_call- 00625081954 at Avaya
[Nov 25 15:14:29] DEBUG[19192] manager.c: Examining event:
Event: NewCallerid
Privilege: call,all
Timestamp: 1385388869.844946
Channel: OOH323/Avaya-4216
CallerIDNum: 
CallerIDName: 
Uniqueid: 1385388869.13016
CID-CallingPres: 67 (Number Unavailable)
{noformat}

...

{noformat}
[Nov 25 15:14:59] DEBUG[19105][C-00000652] channel.c: Hanging up channel 'OOH323/Avaya-4216'
[Nov 25 15:14:59] VERBOSE[19105][C-00000652] chan_ooh323.c: ---   ooh323_hangup
[Nov 25 15:14:59] VERBOSE[19105][C-00000652] chan_ooh323.c:     hanging Avaya with cause: 16
{noformat}

I'll leave it up to Alexandr to take a look at it any further.
                
> Originate command doesn't work through OOH323 channels
> ------------------------------------------------------
>
>                 Key: ASTERISK-22901
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-22901
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>    Affects Versions: 11.6.0
>            Reporter: Cyril CONSTANTIN
>            Severity: Minor
>         Attachments: originateooh323.rar
>
>
> Hi Guys,
> When using CMD Originate into my dialplan to dial a number through OOH323 call couldn't be establish, when using tcpdump I can't see call trying to be establish with Avaya. 
> I don't have this problem with CMD Originate when doing it with SIP peer.
> Also I'm already using OOH323 with Dial command and it works great, when looking into console log with ooh323 debug activated it looks that it try to make a call through ooh323 channel but nothing happens behind, even on Avaya I can't see anything coming from Asterisk.
> See below what I'm using for CMD Originate with OOH323 (not working):
> {noformat}
> same => n,Originate(OOH323/00625081954 at Avaya,exten,bridgetwoparty,s,1)
> {noformat}
> Below when I'm dialing through OOH323 (working):
> {noformat}
> same => n,Dial(OOH323/00625081954 at Avaya)
> {noformat}
> Below when I'm using CMD Originate with SIP peer (working):
> {noformat}
> same => n,Originate(SIP/46000,exten,bridgetwoparty,s,1)
> {noformat}
> I'll attach tcpdump, debug, full, messages, console logs.
> Best Regards

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.asterisk.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the asterisk-bugs mailing list