Summary:ASTERISK-15027: [patch] ExternalIVR TCP client functionality does not work
Reporter:David Ruggles (thedavidfactor)Labels:
Date Opened:2009-10-23 13:34:53Date Closed:2009-12-07 13:48:15.000-0600
Versions:Frequency of
Environment:Attachments:( 0) app_externalivr.patch
Description:If you use the ivr:// form of the ExternalIVR argument it fails without error. I did some investigation discovered that where the ast_tcptls_session_args gets populated, starting on line 457, the code was using local_ instead of remote_

Changing this to remote_ causes ExternalIVR to attempt to connect and give appropriate messages.

I have attached a patch
Comments:By: David Ruggles (thedavidfactor) 2009-10-23 13:37:02

I'm sorry, I totally missed the checkbox after the [Upload File] button.

By: Digium Subversion (svnbot) 2009-12-07 13:48:15.000-0600

Repository: asterisk
Revision: 233545

U   trunk/apps/app_externalivr.c

r233545 | diruggles | 2009-12-07 13:48:14 -0600 (Mon, 07 Dec 2009) | 10 lines

Fix TCP Client interface

Fix a couple of very minor bugs that prevent the socket client from working. The wrong set of properties were used in one place and the size of the address variable isn't set if the host name is an ip address. Also includes a fix for a bug that was introduced previously.

(closes issue ASTERISK-15027)
Reported by: thedavidfactor
Tested by: thedavidfactor

Review: https://reviewboard.asterisk.org/r/439/