diff options
author | Tzafrir Cohen <tzafrir.cohen@xorcom.com> | 2011-02-08 14:42:23 +0000 |
---|---|---|
committer | Tzafrir Cohen <tzafrir.cohen@xorcom.com> | 2011-02-08 14:42:23 +0000 |
commit | a37d8755a05cbac3b78878c18323435da1d22801 (patch) | |
tree | 2380b289ad9a2a3d3d5a183b4f65e7295d426296 | |
parent | 92aaff92a63ea914d7efa0a2d7a262e4d08d2389 (diff) |
dahdi-perl: more left-over $span->xpd
Replace the remaining $span->xpd with xpd_of_span().
Following up on r9648.
Merged revisions 9731 via svnmerge from
http://svn.digium.com/svn/dahdi/tools/trunk
git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/branches/2.4@9744 a0bf4364-ded3-4de4-8d8a-66a801d63aff
-rw-r--r-- | xpp/perl_modules/Dahdi/Chans.pm | 4 | ||||
-rw-r--r-- | xpp/perl_modules/Dahdi/Config/Gen/System.pm | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/xpp/perl_modules/Dahdi/Chans.pm b/xpp/perl_modules/Dahdi/Chans.pm index a869ae4..e045c7d 100644 --- a/xpp/perl_modules/Dahdi/Chans.pm +++ b/xpp/perl_modules/Dahdi/Chans.pm @@ -229,7 +229,7 @@ sub battery($) { return undef unless defined $self->type && $self->type eq 'FXO'; return $self->{BATTERY} if defined $self->{BATTERY}; - my $xpd = $span->xpd; + my $xpd = Dahdi::Xpp::xpd_of_span($span); my $index = $self->index; return undef if !$xpd; @@ -251,7 +251,7 @@ sub blink($$) { my $on = shift; my $span = $self->span or die; - my $xpd = $span->xpd; + my $xpd = Dahdi::Xpp::xpd_of_span($span); my $index = $self->index; return undef if !$xpd; diff --git a/xpp/perl_modules/Dahdi/Config/Gen/System.pm b/xpp/perl_modules/Dahdi/Config/Gen/System.pm index 94fbf2b..cb7b14b 100644 --- a/xpp/perl_modules/Dahdi/Config/Gen/System.pm +++ b/xpp/perl_modules/Dahdi/Config/Gen/System.pm @@ -137,7 +137,7 @@ sub gen_digital($$$) { if ($span->is_bri()) { my $use_bristuff = 0; my $cfg_hardhdlc = $gconfig->{'bri_hardhdlc'}; - my $xpd = $span->xpd(); + my $xpd = Dahdi::Xpp::xpd_of_span($span); if(!defined($cfg_hardhdlc) || $cfg_hardhdlc =~ /AUTO/i) { # Autodetect if(defined($xpd)) { |