Hi,
I used DISA to get the Telrad to connect to Asterisk (not sure if this is the best way). I have now found that on my digital Telrad phone if I press to transfer a call across the Telrad system and then cancel the feature (returning me to Asterisk) I then get the sound. I have done a 'PRI DEBUG SPAN 2' and the output is below.
trixbox1*CLI> pri debug span 2
Enabled debugging on span 2
< Protocol Discriminator: Q.931 (

len=30
< Call Ref: len= 2 (reference 24/0x18) (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 a1 83 81]
< Channel ID (len= 5) [ Ext: 1 IntID: Implicit PRI Spare: 0 Preferred Dchan: 0
< ChanSel: As indicated in following octets
< Ext: 1 Coding: 0 Number Specified Channel Type: 3
< Ext: 1 Channel: 1 ]
< [6c 0d 41 a0 30 31 39 32 36 38 33 32 38 33 32]
< Calling Number (len=15) [ Ext: 0 TON: Subscriber Number (4) NPI: ISDN/Telephony Numbering Plan (E.164/E.163) (1)
< Presentation: Presentation prohibited, user number not screened (32) '01926111111' ]
-- Making new call for cr 24
-- Processing Q.931 Call Setup
-- Processing IE 4 (cs0, Bearer Capability)
-- Processing IE 24 (cs0, Channel Identification)
-- Processing IE 108 (cs0, Calling Party Number)
q931.c:3509 q931_receive: call 24 on channel 1 enters state 6 (Call Present)
q931.c:2774 q931_call_proceeding: call 24 on channel 1 enters state 9 (IncomingCall Proceeding)
> Protocol Discriminator: Q.931 (

len=10
> Call Ref: len= 2 (reference 24/0x18) (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: As indicated in following octets
> Ext: 1 Coding: 0 Number Specified Channel Type: 3
> Ext: 1 Channel: 1 ]
-- Accepting call from '01926111111' to 's' on channel 0/1, span 2
-- Executing [s@from-pstn:1] Answer("Zap/32-1", "") in new stack
q931.c:2907 q931_connect: call 24 on channel 1 enters state 10 (Active)
> Protocol Discriminator: Q.931 (

len=14
> Call Ref: len= 2 (reference 24/0x18) (Terminator)
> Message type: CONNECT (7)
> [18 03 a9 83 81]
> 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: 1 ]
> [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) ]
-- Executing [s@from-pstn:2] Wait("Zap/32-1", "1") in new stack
< Protocol Discriminator: Q.931 (

len=5
< Call Ref: len= 2 (reference 24/0x18) (Originator)
< Message type: CONNECT ACKNOWLEDGE (15)
-- Executing [s@from-pstn:3] DISA("Zap/32-1", "no-password|from-telrad")in new stack
-- Executing [8899@from-telrad:1] Macro("Zap/32-1", "exten-vm|8899|8899") in new stack
-- Executing [s@macro-exten-vm:1] Macro("Zap/32-1", "user-callerid") in new stack
-- Executing [s@macro-user-callerid:1] Set("Zap/32-1", "AMPUSER=01926111111") in new stack
-- Executing [s@macro-user-callerid:2] Go toIf("Zap/32-1", "0?report") in new stack
-- Executing [s@macro-user-callerid:3] ExecIf("Zap/32-1", "1|Set|REALCALLERIDNUM=01926111111") in new stack
-- Executing [s@macro-user-callerid:4] Set("Zap/32-1", "AMPUSER=") in new stack
-- Executing [s@macro-user-callerid:5] Set("Zap/32-1", " AMPUSERCIDNAME=") in new stack
-- Executing [s@macro-user-callerid:6] GotoIf("Zap/32-1", "1?report") in new stack
-- Goto (macro-user-callerid,s,11)
-- Executing [s@macro-user-callerid:11] GotoIf("Zap/32-1", "0?continue") in new stack
-- Executing [s@macro-user-callerid:12] Set("Zap/32-1", "__TTL=64 [0;37;40m") in new stack
-- Executing [s@macro-user-callerid:13] GotoIf("Zap/32-1", "1?continue") in new stack
-- Goto (macro-user-callerid,s,20)
-- Executing [s@macro-user-callerid:20] NoOp("Zap/32-1", "Using CallerID "" <01926111111>") in new stack
-- Executing [s@macro-exten-vm:2] Set("Zap/32-1", "RingGroupMethod=none") in new stack
-- Executing [s@macro-exten-vm:3] Set("Zap/32-1", "VMBOX=8899") in new stack
-- Executing [s@macro-exten-vm:4] 0mSet("Zap/32-1", "EXTTOCALL=8899") in new stack
-- Executing [s@macro-exten-vm:5] Set("Zap/32-1", "CFUEXT=") in new stack
-- Executing [s@macro-exten-vm:6] Set("Zap/32-1", "CFBEXT=") in new stack
-- Executing [s@macro-exten-vm:7] Set("Zap/32-1", "RT=15") in new sta ck
-- Executing [s@macro-exten-vm:8] Macro("Zap/32-1", "record-enable|8899|IN")
in new stack
-- Executing [s@macro-record-enable:1] GotoIf("Zap/32-1", "1?check") in new
stack
-- Goto (macro-record-enable,s,4)
-- Executing [s@macro-record-enable:4] AGI("Zap/32-1", "recordingcheck|20090
323-165356|1237827223.21") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/recordingcheck
recordingcheck|20090323-165356|1237827223.21: Inbound recording not enabled
-- AGI Script recordingcheck completed, returning 0
-- Executing [s@macro-record-enable:5] MacroExit("Zap/32-1", "") in new stac
k
-- Executing [s@macro-exten-vm:9] Macro("Zap/32-1", "dial|15|tr|8899") in ne
w stack
-- Executing [s@macro-dial:1] GotoIf("Zap/32-1", "1?dial") in new stack
-- Goto (macro-dial,s,3)
-- Executing [s@macro-dial:3] AGI 37;40m("Zap/32-1", "dialparties.agi") i
n new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/dialparties.agi
dialparties.agi: Starting New Dialparties.agi
== Parsing '/etc/asterisk/manager.conf': Found
== Parsing '/etc/asterisk/manager_additional.conf': Found
== Parsing '/etc/asterisk/manager_custom.conf': Found
== Manager 'admin' logged on from 127.0.0.1
dialparties.agi: Caller ID name is 'unknown' number is '01926111111'
dialparties.agi: USE_CONFIRMATION: 'FALSE'
dialparties.agi: RINGGROUP_INDEX: ''
dialparties.agi: Methodology of ring is 'none'
-- dialparties.agi: Added extension 8899 to extension map
-- dialparties.agi: Extension 8899 cf is disabled
-- dialparties.agi: Extension 8899 do not disturb is disabled
> dialparties.agi: extnum 8899 has: cw: 1; hascfb: 0 [] hascfu: 0 []
> dialparties.agi: ExtensionState: 0
-- dialparties.agi: dbset CALLTRACE/8899 to 01926111111
-- dialparties.agi: Filtered ARG3: 8899
== Manager 'admin' logged off from 127.0.0.1
-- AGI Script dialparties.agi completed, returning 0
-- Executing [s@macro-dial:7] Dial("Zap/32-1", "SIP/8899|15|tr") in new stac
k
-- Called 8899
-- SIP/8899-0a150260 is ringing
-- SIP/8899-0a150260 answered Zap/32-1
== Spawn extension (macro-dial, s, 7) exited non-zero on 'Zap/32-1' in macro '
dial'
== Spawn extension (macro-dial, s, 7) exited non-zero on 'Zap/32-1' in macro '
exten-vm'
== Spawn extension (macro-dial, s, 7) exited non-zero on 'Zap/32-1'
-- Executing [h@macro-dial:1] Macro("Zap/32-1", "hangupcall") in new stack
-- Executing [s@macro-hangupcall:1] ResetCDR("Zap/32-1", "w") in new stack
-- Executing [s@macro-hangupcall:2] NoCDR("Zap/32-1", "") in new stack
-- Executing [s@macro-hangupcall:3] GotoIf("Zap/32-1", "1?skiprg") in new st
ack
-- Goto (macro-hangupcall,s,6)
-- Executing [s@macro-hangupcall:6] GotoIf("Zap/32-1", "1?skipblkvm") in new
stack
-- Goto (macro-hangupcall,s,9)
-- Ex ecuting [s@macro-hangupcall:9] GotoIf("Zap/32-1", "1?theend") in
new stack
-- Goto (macro-hangupcall,s,11)
-- Executing [s@macro-hangupcall:11] Hangup("Zap/32-1", "") in new stack
== Spawn extension (macro-hangupcall, s, 11) exited non-zero on 'Zap/32-1' in
macro 'hangupcall'
== Spawn extension (macro-hangupcall, s, 11) exited non-zero on 'Zap/32-1'
NEW_HANGUP DEBUG: Call ing q931_hangup, ourstate Active, peerstate Active
q931.c:2973 q931_disconnect: call 24 on channel 1 enters state 11 (Disconnect Re
quest)
> Protocol Discriminator: Q.931 (

len=9
> Call Ref: len= 2 (reference 24/0x18) (Terminator)
> 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 ' Zap/32-1'
< Protocol Discriminator: Q.931 (

len=5
< Call Ref: len= 2 (reference 24/0x18) (Originator)
< Message type: RELEASE (77)
q931.c:3759 q931_receive: call 24 on channel 1 enters state 0 (Null)
NEW_HANGUP DEBUG: Calling q931_hangup, ourstate Null, peerstate Release Request
> Protocol Discriminator: Q.931 (

len=9
> Call Ref: len= 2 (reference 24/0x18) (Terminator)
> 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
The call is from Telrad to a sip phone on the Asterisk system.
Any pointers would be a great help.
Dan