[asterisk-users] PRI Setup problem

Paul Hales pdhales at optusnet.com.au
Mon Oct 1 20:08:00 CDT 2007


As soon as I saw channel '24 as D-channel' my guess is that the
card/config is set up as T1, when you need E1.

PaulH



On Mon, 2007-10-01 at 18:23 -0600, Alvin Austin wrote:
> Hi everyone,
> 
> I'm trying to get a Sangoma A101D-X card talking to a Sasktel PRI 
> (Megalink) circuit and having some trouble getting it to handshake.  
> Thanks for any help or suggestions to diagnose this problem.
> 
> 
> The problem is that Asterisk has trouble bringing up the link.  I see 
> the following lines every couple of minutes:
> 
>   == Primary D-Channel on span 1 up
>   == Primary D-Channel on span 1 up
>   == Primary D-Channel on span 1 up
>   == Primary D-Channel on span 1 up
>   == Primary D-Channel on span 1 up
>   == Primary D-Channel on span 1 up
>   == Primary D-Channel on span 1 up
> h87*CLI> pri show spans
> PRI span 1/0: Provisioned, Up, Active
> h87*CLI> pri show spans
> PRI span 1/0: Provisioned, Up, Active
>   == Primary D-Channel on span 1 down
> [Oct  1 17:52:49] WARNING[13164]: chan_zap.c:2393 pri_find_dchan: No 
> D-channels available!  Using Primary channel 24 as D-channel anyway!
> h87*CLI> pri show spans
> PRI span 1/0: Provisioned, Down, Active
>   == Primary D-Channel on span 1 up
>   == Primary D-Channel on span 1 up
>   == Primary D-Channel on span 1 up
>   == Primary D-Channel on span 1 up
> h87*CLI> pri show spans
> PRI span 1/0: Provisioned, Up, Active
>   == Primary D-Channel on span 1 up
>   == Primary D-Channel on span 1 up
>   == Primary D-Channel on span 1 up
>   == Primary D-Channel on span 1 up
>   == Primary D-Channel on span 1 down
> [Oct  1 17:55:20] WARNING[13164]: chan_zap.c:2393 pri_find_dchan: No 
> D-channels available!  Using Primary channel 24 as D-channel anyway!
> h87*CLI> pri show spans
> PRI span 1/0: Provisioned, Down, Active
> 
> Of course I cannot dial out:
> 
>     -- Executing [2446411 at default:1] NoOp("SIP/368-081f51d8", "Dial Time 
> of Day via PRI") in new stack
>     -- Executing [2446411 at default:2] Dial("SIP/368-081f51d8", 
> "ZAP/3|2446411|30|Tt") in new stack
> [Oct  1 18:01:27] WARNING[13623]: app_dial.c:1106 dial_exec_full: Unable 
> to create channel of type 'ZAP' (cause 0 - Unknown)
>   == Everyone is busy/congested at this time (1:0/0/1)
>     -- Executing [2446411 at default :3] Congestion("SIP/368-081f51d8", "") 
> in new stack
>   == Spawn extension (default, 2446411, 3) exited non-zero on 
> 'SIP/368-081f51d8'
> 
> If I turn on pri debugging, I see lots of:
> 
> h87*CLI> pri debug span 1
> Enabled debugging on span 1
> Sending Set Asynchronous Balanced Mode Extended
> Sending Set Asynchronous Balanced Mode Extended
> Sending Set Asynchronous Balanced Mode Extended
> 
> Periodically I see:
> 
> Sending Set Asynchronous Balanced Mode Extended
> Sending Set Asynchronous Balanced Mode Extended
> -- Got SABME from network peer.
> Sending Unnumbered Acknowledgement
> q921.c:709 q921_reset: q921_state now is Q921_LINK_CONNECTION_RELEASED
> q921.c:664 q921_dchannel_up: q921_state now is 
> Q921_LINK_CONNECTION_ESTABLISHED
>   == Primary D-Channel on span 1 up
> -- Got SABME from network peer.
> Sending Unnumbered Acknowledgement
> q921.c:709 q921_reset: q921_state now is Q921_LINK_CONNECTION_RELEASED
> q921.c:664 q921_dchannel_up: q921_state now is 
> Q921_LINK_CONNECTION_ESTABLISHED
>   == Primary D-Channel on span 1 up
> -- Got SABME from network peer.
> Sending Unnumbered Acknowledgement
> q921.c:709 q921_reset: q921_state now is Q921_LINK_CONNECTION_RELEASED
> q921.c:664 q921_dchannel_up: q921_state now is 
> Q921_LINK_CONNECTION_ESTABLISHED
>   == Primary D-Channel on span 1 up
> -- Got SABME from network peer.
> Sending Unnumbered Acknowledgement
> q921.c:709 q921_reset: q921_state now is Q921_LINK_CONNECTION_RELEASED
> q921.c:664 q921_dchannel_up: q921_state now is 
> Q921_LINK_CONNECTION_ESTABLISHED
>   == Primary D-Channel on span 1 up
>  > Protocol Discriminator: Q.931 (8)  len=13
>  > Call Ref: len= 2 (reference 0/0x0) (Originator)
>  > Message type: RESTART (70)
>  > [18 03 a9 83 88]
>  > Channel ID (len= 5) [ Ext: 1  IntID: Implicit  PRI  Spare: 0  
> Exclusive  Dchan: 0
>  >                        ChanSel: Reserved
>  >                       Ext: 1  Coding: 0  Number Specified  Channel 
> Type: 3
>  >                       Ext: 1  Channel: 8 ]
>  > [79 01 80]
>  > Restart Indentifier (len= 3) [ Ext: 1  Spare: 0  Resetting Indicated 
> Channel (0) ]
> -- Timeout occured, restarting PRI
> q921.c:356 t200_expire: q921_state now is Q921_LINK_CONNECTION_RELEASED
> Sending Set Asynchronous Balanced Mode Extended
> q921.c:150 q921_send_sabme: q921_state now is Q921_AWAITING_ESTABLISH
>   == Primary D-Channel on span 1 down
> [Oct  1 18:04:09] WARNING[13164]: chan_zap.c:2393 pri_find_dchan: No 
> D-channels available!  Using Primary channel 24 as D-channel anyway!
> Sending Set Asynchronous Balanced Mode Extended
> Sending Set Asynchronous Balanced Mode Extended
> 
> 
> Any help is greatly appreciated!
> 
> Thanks,
> Alvin
> 
> 
> 
> 
> _______________________________________________
> --Bandwidth and Colocation Provided by http://www.api-digital.com--
> 
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users




More information about the asterisk-users mailing list