Page 1 of 1

Cant make outgoing calls

PostPosted: Sat Sep 29, 2012 10:09 am
by newleaner
Hi Experts ,
Am not able to do outgoing calls its not passsing

[Sep 29 10:52:09] -- Executing [99327926988@default:1] AGI("SIP/101- 00000004", "agi://127.0.0.1:4577/call_log") in new stack
[Sep 29 10:52:09] -- AGI Script agi://127.0.0.1:4577/call_log completed, returning 0
[Sep 29 10:52:09] -- Executing [9894031561@default:2] Dial("SIP/101-00000004", "DAHDI/g0/894031561||tToR") in new stack
[Sep 29 10:52:09] -- Requested transfer capability: 0x00 - SPEECH
[Sep 29 10:52:09] -- Called g0/894031561
[Sep 29 10:52:10] -- DAHDI/1-1 answered SIP/101-00000004
go*CLI>


After that Some Voice playing Am not getting Ring or calls


My Config Dahdi_channel
; Span 1: TE2/0/1 "T2XXP (PCI) Card 0 Span 1" (MASTER) HDB3/CCS/CRC4
group=0,11
context =trunkinbound
switchtype = euroisdn
signalling = pri_net
channel => 1-15,17-31
context = default
group = 63

; Span 2: TE2/0/2 "T2XXP (PCI) Card 0 Span 2"
group=0,12
context=trunkinbound
switchtype = euroisdn
signalling = pri_cpe
channel => 32-46,48-62
context = default
group = 63

System.conf


# Span 1: TE2/0/1 "T2XXP (PCI) Card 0 Span 1" (MASTER) HDB3/CCS/CRC4
span=1,1,0,ccs,hdb3,crc4
# termtype: te
bchan=1-15,17-31
dchan=16
echocanceller=mg2,1-15,17-31

# Span 2: TE2/0/2 "T2XXP (PCI) Card 0 Span 2"
span=2,2,0,ccs,hdb3,crc4
# termtype: te
bchan=32-46,48-62
dchan=47
echocanceller=mg2,32-46,48-62

# Global data

loadzone = us
defaultzone = us
--------------------------------------------------------


If am changing
; Span 1: TE2/0/1 "T2XXP (PCI) Card 0 Span 1" (MASTER) HDB3/CCS/CRC4
group=0,11
context =trunkinbound
switchtype = euroisdn
signalling = pri_net --------------------pri_net to pri_cpe am getting errors
channel => 1-15,17-31
context = default
group = 63

ERROR[25030]: chan_dahdi.c:10218 dahdi_pri_error: !! Frame got rejected!
[Sep 29 10:59:04] WARNING[25030]: chan_dahdi.c:11378 pri_dchannel: PRI Error on span 1: We think we're the CPE, but they think they're the CPE too.

[Sep 29 11:25:51] ERROR[25030]: chan_dahdi.c:10218 dahdi_pri_error: !! Frame got rejected!
[Sep 29 11:25:52] ERROR[25030]: chan_dahdi.c:10218 dahdi_pri_error: !! Frame got rejected!
[Sep 29 11:25:53] ERROR[25030]: chan_dahdi.c:10218 dahdi_pri_error: !! Frame got rejected!
[Sep 29 11:25:54] ERROR[25030]: chan_dahdi.c:10218 dahdi_pri_error: !! Frame got rejected!
[Sep 29 11:25:55] ERROR[25030]: chan_dahdi.c:10218 dahdi_pri_error: !! Frame got rejected!
[Sep 29 11:25:56] ERROR[25030]: chan_dahdi.c:10218 dahdi_pri_error: !! Frame got rejected!
[Sep 29 11:25:56] WARNING[25030]: chan_dahdi.c:11378 pri_dchannel: PRI Error on span 1: We think we're the CPE, but they think they're the CPE too.

Dahdi
Description Alarms IRQ bpviol CRC4
T2XXP (PCI) Card 0 Span 1 OK 0 0 0

Pri span

PRI span 1/0: Provisioned, Up, Active



My dialplan
Menton=DAHDI/g0

exten => _929X.,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _929X.,2,Dial(${MENTON}/${EXTEN:3},,tTor)
exten => _929X.,3,Hangup()

Any one help me for this Thank x

Goautodial
VERSION: 2.4-309a Digium 2Span Pricard No other softwares
BUILD: 110430-1642
© 2011 ViciDial Group

Re: Cant make outgoing calls

PostPosted: Mon Oct 01, 2012 11:14 am
by striker
The number which you dialled is not using the dialplan which you have wrriten.
typ the following command in the asterisk cli and see which dialplan is coinciding

asterisk>dialplan show 9894031561@default

Re: Cant make outgoing calls

PostPosted: Tue Oct 02, 2012 10:50 am
by newleaner
Thank you for your reply striker I have tried many valid numbers also here i mensioned 9 digits buts i have tried many active numbers calls are not passing out

Re: Cant make outgoing calls

PostPosted: Tue Oct 02, 2012 10:58 am
by striker
Hi newleaner

I think you didnt red my post properly !!!!!!!

can you type the below command in your asterisk cli and paste the out put here
dialplan show 9894031561@default

Re: Cant make outgoing calls

PostPosted: Thu Oct 04, 2012 1:36 pm
by newleaner
Hi striker here is my cli result

dialplan show 9894031561@default
[ Context 'default' created by 'pbx_config' ]
'_9X.' => 1. AGI(agi://127.0.0.1:4577/call_log) [pbx_config]
2. Dial(${MENTON}/${EXTEN:1}||tTor) [pbx_config]
3. Hangup() [pbx_config]

[Oct 4 14:33:39] -- B-channel 0/20 successfully restarted on span 1
[Oct 4 14:33:39] NOTICE[12088]: chan_dahdi.c:10518 pri_dchannel: PRI got event: HDLC Abort (6) on Primary D-channel of span 1
[Oct 4 14:33:39] -- B-channel 0/21 successfully restarted on span 1
[Oct 4 14:33:39] NOTICE[12088]: chan_dahdi.c:10518 pri_dchannel: PRI got event: HDLC Abort (6) on Primary D-channel of span 1
[Oct 4 14:33:49] NOTICE[12088]: chan_dahdi.c:10518 pri_dchannel: PRI got event: HDLC Abort (6) on Primary D-channel of span 1
[Oct 4 14:33:50] -- B-channel 0/22 successfully restarted on span 1
[Oct 4 14:33:51] ERROR[12088]: chan_dahdi.c:10218 dahdi_pri_error: !! Got reject for frame 27, but we have nothing -- resetting!

and here

console dial 9894031561@default
[Oct 4 14:38:05] WARNING[12484]: chan_oss.c:687 setformat: Unable to re-open DSP device /dev/dsp: No such file or directory
[Oct 4 14:38:05] -- Executing [9894031561@default:1] AGI("Console/dsp", "agi://127.0.0.1:4577/call_log") in new stack
[Oct 4 14:38:05] -- AGI Script agi://127.0.0.1:4577/call_log completed, returning 0
[Oct 4 14:38:05] -- Executing [9894031561@default:2] Dial("Console/dsp", "DAHDI/g0/9894031561||tTor") in new stack
[Oct 4 14:38:05] -- Requested transfer capability: 0x00 - SPEECH
[Oct 4 14:38:05] -- Called g0/9894031561
[Oct 4 14:38:06] == Parsing '/etc/asterisk/manager.conf': [Oct 4 14:38:06] Found
[Oct 4 14:38:06] == Manager 'sendcron' logged on from 127.0.0.1
[Oct 4 14:38:06] NOTICE[12088]: chan_dahdi.c:10518 pri_dchannel: PRI got event: HDLC Abort (6) on Primary D-channel of span 1

Re: Cant make outgoing calls

PostPosted: Thu Oct 04, 2012 1:50 pm
by striker
hi
as per the dialplan "Dial(${MENTON}/${EXTEN:1}||tTor)" it should remove the 9 , but in ur case its dialling without removing the 9

Re: Cant make outgoing calls

PostPosted: Sat Oct 20, 2012 1:40 am
by newleaner
Hi
Thank x for supporting me i wil check and update here ..:)