ZTE zxss10 softswitch+Asterisk 1.4.25

Hi everyone!

Im having a problem with asterisk+ZTE softswitch using ISDN. Incoming calls from zte going to asterisk is fine but when i try to send calls from asterisk going to ZTE i don’t hear any audio at all. I hope anyone can help me.

Thanks!

Here’s the debug output from asterisk.

Outgoing from Asterisk to ZTE:

– Executing [82152536@outbound:1] NoOp(“SIP/marqtest-cc026690”, “”) in new stack
– Executing [82152536@outbound:2] Set(“SIP/marqtest-cc026690”, “CALLERID(all)=”“<022866402>”) in new stack
– Executing [82152536@outbound:3] SetTransferCapability(“SIP/marqtest-cc026690”, “3K1AUDIO”) in new stack
– Setting transfer capability to: 0x10 - 3K1AUDIO.
– Executing [82152536@outbound:4] Dial(“SIP/marqtest-cc026690”, “DAHDI/r13/2152536||”) in new stack
– Making new call for cr 32802
– Requested transfer capability: 0x10 - 3K1AUDIO

Protocol Discriminator: Q.931 (8) len=39
Call Ref: len= 2 (reference 34/0x22) (Originator)
Message type: SETUP (5)
[04 03 90 90 a3]
Bearer Capability (len= 5) [ Ext: 1 Q.931 Std: 0 Info transfer capability: 3.1kHz audio (16)
Ext: 1 Trans mode/rate: 64kbps, circuit-mode (16)
User information layer 1: A-Law (35)
[18 03 a9 83 83]
Channel ID (len= 5) [ Ext: 1 IntID: Implicit PRI Spare: 0 Exclusive Dchan: 0
ChanSel: As indicated in following octets
Ext: 1 Coding: 0 Number Specified Channel Type: 3
Ext: 1 Channel: 3 ]
[6c 0b 21 81 30 32 32 38 36 36 34 30 32]
Calling Number (len=13) [ 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) ‘022866402’ ]
[70 08 a1 32 31 35 32 35 33 36]
Called Number (len=10) [ Ext: 1 TON: National Number (2) NPI: ISDN/Telephony Numbering Plan (E.164/E.163) (1) ‘2152536’ ]
[a1]
Sending Complete (len= 1)
q931.c:3128 q931_setup: call 32802 on channel 3 enters state 1 (Call Initiated)
– Called r13/2152536
< Protocol Discriminator: Q.931 (8) len=10
< Call Ref: len= 2 (reference 34/0x22) (Terminator)
< Message type: SETUP ACKNOWLEDGE (13)
< [18 03 a9 83 83]
< Channel ID (len= 5) [ Ext: 1 IntID: Implicit PRI Spare: 0 Exclusive Dchan: 0
< ChanSel: As indicated in following octets
< Ext: 1 Coding: 0 Number Specified Channel Type: 3
< Ext: 1 Channel: 3 ]
– Processing IE 24 (cs0, Channel Identification)
q931.c:3885 q931_receive: call 32802 on channel 3 enters state 2 (Overlap sending)
< Protocol Discriminator: Q.931 (8) len=5
< Call Ref: len= 2 (reference 34/0x22) (Terminator)
< Message type: ALERTING (1)
q931.c:3590 q931_receive: call 32802 on channel 3 enters state 4 (Call Delivered)
– DAHDI/65-1 is ringing
< Protocol Discriminator: Q.931 (8) len=10
< Call Ref: len= 2 (reference 34/0x22) (Terminator)
< Message type: CONNECT (7)
< [18 03 a9 83 83]
< Channel ID (len= 5) [ Ext: 1 IntID: Implicit PRI Spare: 0 Exclusive Dchan: 0
< ChanSel: As indicated in following octets
< Ext: 1 Coding: 0 Number Specified Channel Type: 3
< Ext: 1 Channel: 3 ]
– Processing IE 24 (cs0, Channel Identification)
q931.c:3620 q931_receive: call 32802 on channel 3 enters state 10 (Active)
Protocol Discriminator: Q.931 (8) len=5
Call Ref: len= 2 (reference 34/0x22) (Originator)
Message type: CONNECT ACKNOWLEDGE (15)
– DAHDI/65-1 answered SIP/marqtest-cc026690
NEW_HANGUP DEBUG: Calling q931_hangup, ourstate Active, peerstate Connect Request
q931.c:3009 q931_disconnect: call 32802 on channel 3 enters state 11 (Disconnect Request)
Protocol Discriminator: Q.931 (8) len=9
Call Ref: len= 2 (reference 34/0x22) (Originator)
Message type: DISCONNECT (69)
[08 02 81 90]
Cause (len= 4) [ Ext: 1 Coding: CCITT (ITU) standard (0) Spare: 0 Location: Private network serving the local user (1)
Ext: 1 Cause: Normal Clearing (16), class = Normal Event (1) ]
– Hungup ‘DAHDI/65-1’
== Spawn extension (outbound, 82152536, 4) exited non-zero on ‘SIP/marqtest-cc026690’
< Protocol Discriminator: Q.931 (8) len=9
< Call Ref: len= 2 (reference 34/0x22) (Terminator)
< Message type: RELEASE (77)
< [08 02 81 90]
< Cause (len= 4) [ Ext: 1 Coding: CCITT (ITU) standard (0) Spare: 0 Location: Private network serving the local user (1)
< Ext: 1 Cause: Normal Clearing (16), class = Normal Event (1) ]
– Processing IE 8 (cs0, Cause)
q931.c:3795 q931_receive: call 32802 on channel 3 enters state 0 (Null)
NEW_HANGUP DEBUG: Calling q931_hangup, ourstate Null, peerstate Release Request
Protocol Discriminator: Q.931 (8) len=9
Call Ref: len= 2 (reference 34/0x22) (Originator)
Message type: RELEASE COMPLETE (90)
[08 02 81 90]
Cause (len= 4) [ Ext: 1 Coding: CCITT (ITU) standard (0) Spare: 0 Location: Private network serving the local user (1)
Ext: 1 Cause: Normal Clearing (16), class = Normal Event (1) ]
NEW_HANGUP DEBUG: Calling q931_hangup, ourstate Null, peerstate Null
NEW_HANGUP DEBUG: Destroying the call, ourstate Null, peerstate Null

Incoming from ZTE to Asterisk

< Protocol Discriminator: Q.931 (8) len=57
< Call Ref: len= 2 (reference 334/0x14E) (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)
< User information layer 1: A-Law (35)
< [18 03 a9 83 88]
< Channel ID (len= 5) [ Ext: 1 IntID: Implicit PRI Spare: 0 Exclusive Dchan: 0
< ChanSel: As indicated in following octets
< Ext: 1 Coding: 0 Number Specified Channel Type: 3
< Ext: 1 Channel: 8 ]
< [1c 11 91 a1 0e 02 01 01 02 01 01 30 06 81 01 00 82 01 00]
< Facility (len=19, codeset=0) [ 0x91, 0xA1, 0x0E, 0x02, 0x01, 0x01, 0x02, 0x01, 0x01, ‘0’, 0x06, 0x81, 0x01, 0x00, 0x82, 0x01, 0x00 ]
PROTOCOL 11
A1 000E (CONTEXT SPECIFIC [1])
02 0001 01 (INTEGER: 1)
02 0001 01 (INTEGER: 1)
30 0006 (SEQUENCE)
81 0001 00 (CONTEXT SPECIFIC [1])
82 0001 00 (CONTEXT SPECIFIC [2])
< [6c 0b 21 81 30 32 32 31 35 32 35 33 36]
< Calling Number (len=13) [ 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) ‘022152536’ ]
< [70 08 a1 32 38 36 36 34 30 32]
< Called Number (len=10) [ Ext: 1 TON: National Number (2) NPI: ISDN/Telephony Numbering Plan (E.164/E.163) (1) ‘2866402’ ]
– Making new call for cr 334
– Processing Q.931 Call Setup
– Processing IE 4 (cs0, Bearer Capability)
– Processing IE 24 (cs0, Channel Identification)
– Processing IE 28 (cs0, Facility)
Handle Q.932 ROSE Invoke component
[ Handling operation 1 ]
!! Unable to handle ROSE operation 1 [ 30 06 81 01 00 82 01 00 ] - [0…]
– Processing IE 108 (cs0, Calling Party Number)
– Processing IE 112 (cs0, Called Party Number)
q931.c:3545 q931_receive: call 334 on channel 8 enters state 6 (Call Present)
q931.c:2810 q931_call_proceeding: call 334 on channel 8 enters state 9 (Incoming Call Proceeding)

Protocol Discriminator: Q.931 (8) len=10
Call Ref: len= 2 (reference 334/0x14E) (Terminator)
Message type: CALL PROCEEDING (2)
[18 03 a9 83 88]
Channel ID (len= 5) [ Ext: 1 IntID: Implicit PRI Spare: 0 Exclusive Dchan: 0
ChanSel: As indicated in following octets
Ext: 1 Coding: 0 Number Specified Channel Type: 3
Ext: 1 Channel: 8 ]
– Accepting call from ‘022152536’ to ‘2866402’ on channel 0/8, span 3
– Executing [2866402@digitel:1] NoOp(“DAHDI/70-1”, “”) in new stack
– Executing [2866402@digitel:2] Dial(“DAHDI/70-1”, “SIP/marqtest”) in new stack
– Called marqtest
– SIP/marqtest-00a7c7a0 is ringing
q931.c:2838 q931_alerting: call 334 on channel 8 enters state 7 (Call Received)
Protocol Discriminator: Q.931 (8) len=9
Call Ref: len= 2 (reference 334/0x14E) (Terminator)
Message type: ALERTING (1)
[1e 02 81 88]
Progress Indicator (len= 4) [ Ext: 1 Coding: CCITT (ITU) standard (0) 0: 0 Location: Private network serving the local user (1)
Ext: 1 Progress Description: Inband information or appropriate pattern now available. (8) ]
– SIP/marqtest-00a7c7a0 answered DAHDI/70-1
q931.c:2945 q931_connect: call 334 on channel 8 enters state 8 (Connect Request)
Protocol Discriminator: Q.931 (8) len=14
Call Ref: len= 2 (reference 334/0x14E) (Terminator)
Message type: CONNECT (7)
[18 03 a9 83 88]
Channel ID (len= 5) [ Ext: 1 IntID: Implicit PRI Spare: 0 Exclusive Dchan: 0
ChanSel: As indicated in following octets
Ext: 1 Coding: 0 Number Specified Channel Type: 3
Ext: 1 Channel: 8 ]
[1e 02 81 82]
Progress Indicator (len= 4) [ Ext: 1 Coding: CCITT (ITU) standard (0) 0: 0 Location: Private network serving the local user (1)
Ext: 1 Progress Description: Called equipment is non-ISDN. (2) ]
< Protocol Discriminator: Q.931 (8) len=5
< Call Ref: len= 2 (reference 334/0x14E) (Originator)
< Message type: CONNECT ACKNOWLEDGE (15)
q931.c:3705 q931_receive: call 334 on channel 8 enters state 10 (Active)
< Protocol Discriminator: Q.931 (8) len=9
< Call Ref: len= 2 (reference 334/0x14E) (Originator)
< Message type: DISCONNECT (69)
< [08 02 82 90]
< Cause (len= 4) [ Ext: 1 Coding: CCITT (ITU) standard (0) Spare: 0 Location: Public network serving the local user (2)
< Ext: 1 Cause: Normal Clearing (16), class = Normal Event (1) ]
– Processing IE 8 (cs0, Cause)
q931.c:3820 q931_receive: call 334 on channel 8 enters state 12 (Disconnect Indication)
– Channel 0/8, span 3 got hangup request, cause 16
== Spawn extension (digitel, 2866402, 2) exited non-zero on ‘DAHDI/70-1’
NEW_HANGUP DEBUG: Calling q931_hangup, ourstate Disconnect Indication, peerstate Disconnect Request
q931.c:2961 q931_release: call 334 on channel 8 enters state 19 (Release Request)
Protocol Discriminator: Q.931 (8) len=9
Call Ref: len= 2 (reference 334/0x14E) (Terminator)
Message type: RELEASE (77)
[08 02 81 90]
Cause (len= 4) [ Ext: 1 Coding: CCITT (ITU) standard (0) Spare: 0 Location: Private network serving the local user (1)
Ext: 1 Cause: Normal Clearing (16), class = Normal Event (1) ]
– Hungup ‘DAHDI/70-1’
< Protocol Discriminator: Q.931 (8) len=9
< Call Ref: len= 2 (reference 334/0x14E) (Originator)
< Message type: RELEASE COMPLETE (90)
< [08 02 81 90]
< Cause (len= 4) [ Ext: 1 Coding: CCITT (ITU) standard (0) Spare: 0 Location: Private network serving the local user (1)
< Ext: 1 Cause: Normal Clearing (16), class = Normal Event (1) ]
– Processing IE 8 (cs0, Cause)
q931.c:3760 q931_receive: call 334 on channel 8 enters state 0 (Null)
NEW_HANGUP DEBUG: Calling q931_hangup, ourstate Null, peerstate Null
NEW_HANGUP DEBUG: Destroying the call, ourstate Null, peerstate Null