[asterisk-users] TELUS British Columbia PRI Settings

Andres andres at telesip.net
Mon Aug 30 14:42:34 CDT 2010


On 8/30/2010 2:59 PM, Jeremy.Hellstrom at synovate.com wrote:
> The specific error message is as follows.
> _____________________________________________________________
> Changing signalling on channel 24 from Unused to Hardware assisted
> D-channel
> DAHDI_CHANCONFIG failed on channel 24: Invalid argument (22)
> Did you forget that FXS interfaces are configured with FXO signalling
> and that FXO interfaces use FXS signalling?
> _____________________________________________________
>
> I am using the simplified system.conf and chan_dahdi that you specified
> before.
>
> Thanks for continuing to help me and my gift for producing bizarre
> errors.
> Jeremy
>    
from system.conf:
-------------------
# dchan::
#   The DAHDI driver performs HDLC encoding and decoding on the
#   bundle and also performs incoming and outgoing FCS insertion
#   and verification.  'fcshdlc' is an alias for this.
# hardhdlc::
#   The hardware driver performs HDLC encoding and decoding on the
#   bundle and also performs incoming and outgoing FCS insertion
#   and verification.  Is subject to limitations and support of underlying
#   hardware.
--------------------

If you are getting that error then you probably have old hardware that 
does not support 'hardhdlc', use 'dchan' instead.

Andres
http://www.neuroredes.com


> -----Original Message-----
> From: asterisk-users-bounces at lists.digium.com
> [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Andres
> Sent: August 30, 2010 11:45 AM
> To: Asterisk Users Mailing List - Non-Commercial Discussion
> Subject: Re: [asterisk-users] TELUS British Columbia PRI Settings
>
> On 8/30/2010 11:42 AM, Jeremy.Hellstrom at synovate.com wrote:
>    
>> I tried those as you said, deleting my failed attempt.  I've found
>>      
> that
>    
>> using hardhdlc=24 generates an error and reminds me that FXO uses FXS
>> signalling and vice versa when running dadhi_restart, which seems to
>> indicate that it is the wrong variable name.
>>
>>      
> That makes no sense.  You are configuring a PRI, not an analog line.
> You should not be getting any messages regarding FXO or FXS.  Take a
> look at the file again and delete any reference to analog channels if
> you are not using them.
>
> Andres
> http://www.neuroredes.com
>    
>> I also notice that if I change that variable to dchan in system.conf,
>>      
> I
>    
>> receive no error but no matter what value I put in Asterisk looks at
>> channel 24 for the dchannel and as this is a half turned up PRI I have
>> suspicions that the dchan is not 24 though I still need TELUS to get
>> back to me to confirm that.
>>
>> Any other ideas as to what I am doing wrong or if I am making a bad
>> assumption?
>>
>> Thanks, Jeremy
>>
>> -----Original Message-----
>> From: asterisk-users-bounces at lists.digium.com
>> [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Andres
>> Sent: August 28, 2010 10:32 AM
>> To: Asterisk Users Mailing List - Non-Commercial Discussion
>> Subject: Re: [asterisk-users] TELUS British Columbia PRI Settings
>>
>> On 8/28/2010 12:59 PM, Jeremy.Hellstrom at synovate.com wrote:
>>
>>      
>>> I'm not surprised both the conf file and myself are confused.
>>>
>>> ______________________________________________
>>>
>>> I still end up with messages telling me that a dchannel cannot be
>>> found. Any other suggestions?
>>>
>>> Thanks, Jeremy
>>>
>>>
>>>
>>>        
>> I suggest you start over as I can see you are still confused about the
>> content of the 2 files and still trying to use spanmap.
>>
>> Start with /etc/dahdi/system.conf:
>> -------------
>> loadzone=us
>> defaultzone=us
>> span=1,1,0,esf,b8zs
>> bchan=1-23
>> hardhdlc=24
>> ----------------
>>
>> ...and /etc/asterisk/chan_dahdi.conf:
>> ----------------
>> language=en
>> context=from-pstn
>> switchtype=national
>> signalling = pri_cpe
>> group=1
>> channel =>   1-12
>> ---------------
>>
>> That is the most basic stuff you need to get the PRI up.
>>
>> Andres
>> http://www.neuroredes.com
>>
>>
>>      
>
>    




More information about the asterisk-users mailing list