Asterisk erro when dialing through a PRI


#1

I’m using asterisk 1.2.4 connected through a foneBRIDGE (www.red-fone.com) to a PRI. Incoming calls work as expected, but when I try to dial any external number asterisk throws the following error:

-- Executing Set("SIP/andres-b815", "CALLERID(Number)=971288612") in new stack
        -- Executing Set("SIP/andres-b815", "CALLERID(Name)=Gil Estarellas") in new stack
	    -- Executing Dial("SIP/andres-b815", "Zap/g1/605613188||rf") in new stack
	    -- Making new call for cr 32857
	        -- Requested transfer capability: 0x00 - SPEECH
		> Protocol Discriminator: Q.931 (8)  len=57
		> Call Ref: len= 2 (reference 89/0x59) (Originator)
		> Message type: SETUP (5)
		> [04 03 80 90 a2]
		> 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: u-Law (34)
		> [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 ]
		> [28 0e 47 69 6c 20 45 73 74 61 72 65 6c 6c 61 73]
		> Display (len=14) t[Iþ¶uÎY·H
		»Z·>[ Gil Estarellas ]
		> [6c 0b 00 81 39 37 31 32 38 38 36 31 32]
		> Calling Number (len=13) [ Ext: 0  TON: Unknown Number Type (0)  NPI: Unknown Number Plan (0)
		>                           Presentation: Presentation permitted, user number passed network screening (1) '971288612' ]
		> [70 0a 80 36 30 35 36 31 33 31 38 38]
		> Called Number (len=12) [ Ext: 1  TON: Unknown Number Type (0)  NPI: Unknown Number Plan (0) '605613188' ]
		> [a1]
		> Sending Complete (len= 1)
		    -- Called g1/605613188
		    < Protocol Discriminator: Q.931 (8)  len=44
		    < Call Ref: len= 2 (reference 89/0x59) (Terminator)
		    < Message type: RELEASE COMPLETE (90)
		    < [08 03 82 e4 04]
		    < Cause (len= 5) [ Ext: 1  Coding: CCITT (ITU) standard (0) 0: 0   Location: Public network serving the local user (2)
		    <                  Ext: 1  Cause: Unknown (100), class = Protocol Error (6) ]
		    <              Cause data 1: 04 (4)
		    < [28 20 49 4e 56 41 4c 49 44 4f 20 43 4f 4e 54 45 4e 49 44 4f 20 45 4e 20 45 4c 45 4d 2e 20 49 4e 46 4f]
		    < Display (len=32) t[·ÈÇV·[ INVALIDO CONTENIDO EN ELEM. INFO ]
		    -- Processing IE 8 (cs0, Cause)
		    -- Processing IE 40 (cs0, Display)
		        -- Channel 0/1, span 1 got hangup
			NEW_HANGUP DEBUG: Calling q931_hangup, ourstate Null, peerstate Null
			NEW_HANGUP DEBUG: Destroying the call, ourstate Null, peerstate Null
			    -- Hungup 'Zap/1-1'
			      == Everyone is busy/congested at this time (1:0/0/1)
			          -- Executing NoOp("SIP/andres-b815", "100") in new stack
				      -- Executing NoOp("SIP/andres-b815", "") in new stack

Asterisk 1.2.4
Zaptel 1.2.2
Linux kernel 2.6.12[/code]


#2

I had the same problem: Dial(Zap/G1/)
with PRI.

For me the fix turned out to be changing
the values of pridialplan and prilocaldialplan in zapata.conf
to be ‘unknown’. Try changing the values of these, and checking
whether you need a leading 0, etc.

Hope this helps.

Neil