SearchSearch  Log in to check your private messagesLog in to check your private messages  recent posts Recent Posts
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
PollyDannOffline



Joined: Mar 03, 2009
Posts: 10

Status: Offline
Posted: Mar 19, 2009 - 11:04 AM Reply with quote Back to top
Hello again,

I still have not found why the Asterisk box is not receiving the digits from the Telrad but during my testing I have come across another issue in that when dialling out from the digital phones on the Telrad I don't get any sound, the analogue phone on the same system works. Can anyone offer any suggestions (other than give up).

Dan
View user's profile Send private message
PollyDannOffline



Joined: Mar 03, 2009
Posts: 10

Status: Offline
Posted: Mar 19, 2009 - 11:32 AM Reply with quote Back to top
Hello again,

I still have not found why the Asterisk box is not receiving the digits from the Telrad but during my testing I have come across another issue in that when dialling out from the digital phones on the Telrad I don't get any sound, the analogue phone on the same system works. Can anyone offer any suggestions (other than give up).

Dan
View user's profile Send private message
PollyDannOffline



Joined: Mar 03, 2009
Posts: 10

Status: Offline
Posted: Mar 20, 2009 - 04:44 PM Reply with quote Back to top
Hello again,

OK, I have now got the outbound calls working (well they dial out) but I still don't get any sound when phoning from the Telrad digital phones, I can call in to them and have audio and can also use the analogue phone on the same Telrad system. Can anyone offer any ideas or hint on where to look.

Thanks,

Dan
View user's profile Send private message
ianplainOffline
Site Admin


Joined: Jul 05, 2004
Posts: 3347
Location: Bath UK
Status: Offline
Posted: Mar 20, 2009 - 06:05 PM Reply with quote Back to top
Hi

This sounds like a messaging problem. basically you are not getting the answer supervision passed through.

We would need to see debug for a call and also your dial plan

Ian
View user's profile Send private message
PollyDannOffline



Joined: Mar 03, 2009
Posts: 10

Status: Offline
Posted: Mar 23, 2009 - 05:05 PM Reply with quote Back to top
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 (Cool 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 (Cool 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 (Cool 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 (Cool 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 (Cool 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 (Cool 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 (Cool 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
View user's profile Send private message
vikaskumarOffline



Joined: Jun 30, 2008
Posts: 9
Location: NOIDA
Status: Offline
Posted: Mar 24, 2009 - 07:52 AM Reply with quote Back to top
Hi,
I think you missed on thing in dial plan you have to replace
exten => s,n,Dial(ZAP/G1/{EXTEN})

to

exten => s,n,Dial(ZAP/G1/${EXTEN})
View user's profile Send private message MSN Messenger
PollyDannOffline



Joined: Mar 03, 2009
Posts: 10

Status: Offline
Posted: Mar 24, 2009 - 02:24 PM Reply with quote Back to top
Hi Vikaskumar,

I am using DISA for the out going call:

exten => s,1,Answer()
exten => s,2,Wait(1)
exten => s,3,DISA(no-password|from-pstn)

I have set it to this for testing (I know it is a security risk). I think that there is most likely a better way of doing this and if so then please let me know. The call log above was sent from a phone connected to the Telrad system to a SIP phone on the Asterisk box and there is no sound, if I press the Transfer button on the Telrad and then press it again to cancel the transfer I then get sound, if I ring from one of the analogue phones on the Telrad the sound works and if I ring from external and the calls transfer to Telrad the sound work as does the SIP to Telrad.

Thanks

Dan
View user's profile Send private message


View previous topic Printable version Log in to check your private messages View next topic
Goto page Previous  1, 2

Post new topic   Reply to topic
Forum Rules and Guidelines | About VoIP User | Privacy Policy


All logos and trademarks in this site are property of their respective owner.
Comments and posts are property of the poster, all the rest (c) 2003-2008 VoIP User Limited.

VoIP User Limited is incorporated in England and Wales under Company Number 6694577.

No part of this site may be reproduced without our prior consent.