diff options
author | Paul Belanger <paul.belanger@polybeacon.com> | 2012-02-16 22:00:31 +0000 |
---|---|---|
committer | Paul Belanger <paul.belanger@polybeacon.com> | 2012-02-16 22:00:31 +0000 |
commit | 73b5346e7935980ebb31201ba53485051a5fd4d0 (patch) | |
tree | 42f0b7cca4e39644e4270a08f27367a26d6fe227 /apps/app_rpt.c | |
parent | b80fcd77e5cb7b9a6532db3f03b36e9aec72be85 (diff) |
Fix channel opaquification for app_rpt
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@355667 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'apps/app_rpt.c')
-rw-r--r-- | apps/app_rpt.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/apps/app_rpt.c b/apps/app_rpt.c index 51fd0fc46..5556a8d7d 100644 --- a/apps/app_rpt.c +++ b/apps/app_rpt.c @@ -10843,10 +10843,10 @@ struct ast_format_cap *cap = NULL; #ifndef NEW_ASTERISK myrpt->rxchannel->whentohangup = 0; #endif - myrpt->rxchannel->appl = "Apprpt"; - myrpt->rxchannel->data = "(Repeater Rx)"; + ast_channel_appl_set(myrpt->rxchannel, "Apprpt"); + ast_channel_data_set(myrpt->rxchannel, "(Repeater Rx)"); ast_verb(3, "rpt (Rx) initiating call to %s/%s on %s\n", - tmpstr,tele,myrpt->rxchannel->name); + tmpstr, tele, ast_channel_name(myrpt->rxchannel)); ast_call(myrpt->rxchannel,tele,999); if (myrpt->rxchannel->_state != AST_STATE_UP) { @@ -10901,10 +10901,10 @@ struct ast_format_cap *cap = NULL; #ifndef NEW_ASTERISK myrpt->txchannel->whentohangup = 0; #endif - myrpt->txchannel->appl = "Apprpt"; - myrpt->txchannel->data = "(Repeater Tx)"; + ast_channel_appl_set(myrpt->txchannel, "Apprpt"); + ast_channel_data_set(myrpt->txchannel, "(Repeater Tx)"); ast_verb(3, "rpt (Tx) initiating call to %s/%s on %s\n", - tmpstr,tele,myrpt->txchannel->name); + tmpstr, tele, ast_channel_name(myrpt->txchannel)); ast_call(myrpt->txchannel,tele,999); if (myrpt->rxchannel->_state != AST_STATE_UP) { @@ -11032,7 +11032,7 @@ struct ast_format_cap *cap = NULL; myrpt->conf = ci.confno; /* make a conference for the pseudo */ ci.chan = 0; - if ((strstr(myrpt->txchannel->name,"pseudo") == NULL) && + if ((strstr(ast_channel_name(myrpt->txchannel), "pseudo") == NULL) && (myrpt->dahditxchannel == myrpt->txchannel)) { /* get tx channel's port number */ |