[Asterisk-Users] PRI doesn't call cellphones

Robson Ribeiro robson at cariocanet.com
Sat May 21 04:56:33 MST 2005


Hi all,

 

I am using a Sangoma with two PRI's. As far as land phones, the calls are
fine but it refuses all cellphone calls:

 

My configuration in Zaptel is 

 

span=1,0,0,ccs,hdb3,crc4

bchan=1-15

dchan=16

bchan=17-31

span=2,0,0,ccs,hdb3,crc4

bchan=32-46

dchan=47

bchan=48-61

 

and on Zapata.conf:

 

[channels]

language=it

context=default

switchtype=national

signalling=pri_cpe

echocancel=yes

group=1

callgroup=1

pickupgroup=1

 

when I call a cellphone I get the following error from Pri Span Debug:

 

login as: root

Authenticating with public key "rsa-key-20050520"

Passphrase for key "rsa-key-20050520":

Wrong passphrase

Authenticating with public key "rsa-key-20050520"

Passphrase for key "rsa-key-20050520":

Wrong passphrase

Authenticating with public key "rsa-key-20050520"

Passphrase for key "rsa-key-20050520":

Last login: Sat May 21 13:16:10 2005 from 212.102.34.109

Linux 2.4.29.

root at aletvoip01:~# cd /etc/asterisk

root at aletvoip01:/etc/asterisk# joe zapata.conf

Processing '/etc/joe/joerc'...done

Processing '/etc/joe/joerc'...done

    I    zapata.conf (Modified)       Row 15   Col 1    1:56  Ctrl-K H for
help

language=it

context=default

switchtype=national

signalling=pri_cpe

echocancel=yes

group=1

callgroup=1

pickupgroup=1

 

group = 1

channel => 1-15

channel => 17-31

channel => 32-46

channel => 48-61

[channels]

language=it

context=default

switchtype=national

signalling=pri_cpe

echocancel=yes

group=1

callgroup=1

 

Verbosity is at least 7

    -- Remote UNIX connection

    -- Executing Dial("SIP/200-4f96", "Zap/g1/3337885836|100|T") in new
stack

-- Making new call for cr 32778

    -- Requested transfer capability: 0x00 - SPEECH

> Protocol Discriminator: Q.931 (8)  len=47

> Call Ref: len= 2 (reference 10/0xA) (Originator)

> Message type: SETUP (5)

> [04 03 80 90 a3]

> Bearer Capability (len= 5) [ Ext: 1  Q.931 Std: 0  Info transfer
capability: Speech (0)

>                              Ext: 1  Trans mode/rate: 64kbps, circuit-mode
(16)

>                              Ext: 1  User information layer 1: A-Law (35)

> [18 03 a9 83 81]

> 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: 1 ]

> [1e 02 80 83]

> Progress Indicator (len= 4) [ Ext: 1  Coding: CCITT (ITU) standard (0) 0:
0   Location: User (0)

>                               Ext: 1  Progress Description: Calling
equipment is non-ISDN. (3) ]

> [28 06 b1 55 73 65 72 31]

> Display (len= 6) Charset: 31 [ User1 ]

> [6c 05 21 81 32 30 30]

> Calling Number (len= 7) [ Ext: 0  TON: National Number (2)  NPI:
ISDN/Telephony Numbering Plan (E.164/E.163) (1)

>                           Presentation: Presentation permitted, user
number passed network screening (1) '200' ]

> [70 0b a1 33 33 33 37 38 38 35 38 33 36]

> Called Number (len=13) [ Ext: 1  TON: National Number (2)  NPI:
ISDN/Telephony Numbering Plan (E.164/E.163) (1) '3337885836' ]

    -- Called g1/3337885836

< Protocol Discriminator: Q.931 (8)  len=13

< Call Ref: len= 2 (reference 10/0xA) (Terminator)

< Message type: STATUS (125)

< [08 03 82 e3 28]

< Cause (len= 5) [ Ext: 1  Coding: CCITT (ITU) standard (0) 0: 0   Location:
Public network serving the local user (2)

<                  Ext: 1  Cause: Info. element nonexist or not implemented
(99), class = Protocol Error (6) ]

<              Cause data 1: 28 (40, Display IE)

< [14 01 01]

< Call State (len= 3) [ Ext: 0  Coding: CCITT (ITU) standard (0) Call state:
Call Initiated (1)

-- Processing IE 8 (cs0, Cause)

-- Processing IE 20 (cs0, Call State)

< Protocol Discriminator: Q.931 (8)  len=14

< Call Ref: len= 2 (reference 10/0xA) (Terminator)

< Message type: CALL PROCEEDING (2)

< [18 03 a9 83 81]

< 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: 1 ]

< [1e 02 82 88]

< Progress Indicator (len= 4) [ Ext: 1  Coding: CCITT (ITU) standard (0) 0:
0   Location: Public network serving the local user (2)

<                               Ext: 1  Progress Description: Inband
information or appropriate pattern now available. (8) ]

-- Processing IE 24 (cs0, Channel Identification)

-- Processing IE 30 (cs0, Progress Indicator)

< Protocol Discriminator: Q.931 (8)  len=13

< Call Ref: len= 2 (reference 10/0xA) (Terminator)

< Message type: DISCONNECT (69)

< [08 02 82 81]

< Cause (len= 4) [ Ext: 1  Coding: CCITT (ITU) standard (0) 0: 0   Location:
Public network serving the local user (2)

<                  Ext: 1  Cause: Unallocated (unassigned) number (1), class
= Normal Event (0) ]

< [1e 02 82 88]

< Progress Indicator (len= 4) [ Ext: 1  Coding: CCITT (ITU) standard (0) 0:
0   Location: Public network serving the local user (2)

<                               Ext: 1  Progress Description: Inband
information or appropriate pattern now available. (8) ]

-- Processing IE 8 (cs0, Cause)

-- Processing IE 30 (cs0, Progress Indicator)

    -- Channel 0/1, span 1 got hangup request

NEW_HANGUP DEBUG: Calling q931_hangup, ourstate Disconnect Indication,
peerstate Disconnect Request

> Protocol Discriminator: Q.931 (8)  len=9

> Call Ref: len= 2 (reference 10/0xA) (Originator)

> Message type: RELEASE (77)

> [08 02 81 81]

> Cause (len= 4) [ Ext: 1  Coding: CCITT (ITU) standard (0) 0: 0   Location:
Private network serving the local user (1)

>                  Ext: 1  Cause: Unallocated (unassigned) number (1), class
= Normal Event (0) ]

    -- Hungup 'Zap/1-1'

  == No one is available to answer at this time (1:0/0/0)

    -- Executing Hangup("SIP/200-4f96", "") in new stack

  == Spawn extension (default, 3337885836, 2) exited non-zero on
'SIP/200-4f96'

< Protocol Discriminator: Q.931 (8)  len=5

< Call Ref: len= 2 (reference 10/0xA) (Terminator)

< Message type: RELEASE COMPLETE (90)

NEW_HANGUP DEBUG: Calling q931_hangup, ourstate Null, peerstate Null

NEW_HANGUP DEBUG: Destroying the call, ourstate Null, peerstate Null

aletvoip01*CLI>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20050521/287a7480/attachment.htm


More information about the asterisk-users mailing list