No outgoing calls

bernd04

Joined
Jul 26, 2009
Messages
17
Likes
0
Points
0
#1
Hi again.

Got my Sagoma A200 working partially :)

Can receive calls on the fxo ports, but when making outbound calls ... "All circuits are busy"..

Any ideas for me please?
 

bernd04

Joined
Jul 26, 2009
Messages
17
Likes
0
Points
0
#2
This is what show when making the call... It does say answered, but it does not even dial...


-- Executing [0877452@from-internal:1] Macro("SIP/202-b7623148", "user-callerid|SKIPTTL|") in new stack
-- Executing [s@macro-user-callerid:1] Set("SIP/202-b7623148", "AMPUSER=202") in new stack
-- Executing [s@macro-user-callerid:2] GotoIf("SIP/202-b7623148", "0?report") in new stack
-- Executing [s@macro-user-callerid:3] ExecIf("SIP/202-b7623148", "1|Set|REALCALLERIDNUM=202") in new stack
-- Executing [s@macro-user-callerid:4] Set("SIP/202-b7623148", "AMPUSER=202") in new stack
-- Executing [s@macro-user-callerid:5] Set("SIP/202-b7623148", "AMPUSERCIDNAME=Bernd Hobohm") in new stack
-- Executing [s@macro-user-callerid:6] GotoIf("SIP/202-b7623148", "0?report") in new stack
-- Executing [s@macro-user-callerid:7] Set("SIP/202-b7623148", "AMPUSERCID=202") in new stack
-- Executing [s@macro-user-callerid:8] Set("SIP/202-b7623148", "CALLERID(all)="Bernd Hobohm" <202>") in new stack
-- Executing [s@macro-user-callerid:9] Set("SIP/202-b7623148", "REALCALLERIDNUM=202") in new stack
-- Executing [s@macro-user-callerid:10] ExecIf("SIP/202-b7623148", "0|Set|CHANNEL(language)=") in new stack
-- Executing [s@macro-user-callerid:11] GotoIf("SIP/202-b7623148", "1?continue") in new stack
-- Goto (macro-user-callerid,s,20)
-- Executing [s@macro-user-callerid:20] NoOp("SIP/202-b7623148", "Using CallerID "Bernd Hobohm" <202>") in new stack
-- Executing [0877452@from-internal:2] Set("SIP/202-b7623148", "_NODEST=") in new stack
-- Executing [0877452@from-internal:3] Macro("SIP/202-b7623148", "record-enable|202|OUT|") in new stack
-- Executing [s@macro-record-enable:1] GotoIf("SIP/202-b7623148", "1?check") in new stack
-- Goto (macro-record-enable,s,4)
-- Executing [s@macro-record-enable:4] AGI("SIP/202-b7623148", "recordingcheck|20090907-210237|1252350157.11") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/recordingcheck
recordingcheck|20090907-210237|1252350157.11: Outbound recording not enabled
-- AGI Script recordingcheck completed, returning 0
-- Executing [s@macro-record-enable:5] MacroExit("SIP/202-b7623148", "") in new stack
-- Executing [0877452@from-internal:4] Macro("SIP/202-b7623148", "dialout-trunk|1|0877452||") in new stack
-- Executing [s@macro-dialout-trunk:1] Set("SIP/202-b7623148", "DIAL_TRUNK=1") in new stack
-- Executing [s@macro-dialout-trunk:2] GosubIf("SIP/202-b7623148", "0?sub-pincheck|s|1") in new stack
-- Executing [s@macro-dialout-trunk:3] GotoIf("SIP/202-b7623148", "0?disabletrunk|1") in new stack
-- Executing [s@macro-dialout-trunk:4] Set("SIP/202-b7623148", "DIAL_NUMBER=0877452") in new stack
-- Executing [s@macro-dialout-trunk:5] Set("SIP/202-b7623148", "DIAL_TRUNK_OPTIONS=tr") in new stack
-- Executing [s@macro-dialout-trunk:6] Set("SIP/202-b7623148", "OUTBOUND_GROUP=OUT_1") in new stack
-- Executing [s@macro-dialout-trunk:7] GotoIf("SIP/202-b7623148", "1?nomax") in new stack
-- Goto (macro-dialout-trunk,s,9)
-- Executing [s@macro-dialout-trunk:9] GotoIf("SIP/202-b7623148", "0?skipoutcid") in new stack
-- Executing [s@macro-dialout-trunk:10] Set("SIP/202-b7623148", "DIAL_TRUNK_OPTIONS=") in new stack
-- Executing [s@macro-dialout-trunk:11] Macro("SIP/202-b7623148", "outbound-callerid|1") in new stack
-- Executing [s@macro-outbound-callerid:1] ExecIf("SIP/202-b7623148", "0|SetCallerPres|") in new stack
-- Executing [s@macro-outbound-callerid:2] ExecIf("SIP/202-b7623148", "0|Set|REALCALLERIDNUM=202") in new stack
-- Executing [s@macro-outbound-callerid:3] GotoIf("SIP/202-b7623148", "1?normcid") in new stack
-- Goto (macro-outbound-callerid,s,6)
-- Executing [s@macro-outbound-callerid:6] Set("SIP/202-b7623148", "USEROUTCID=") in new stack
-- Executing [s@macro-outbound-callerid:7] Set("SIP/202-b7623148", "EMERGENCYCID=") in new stack
-- Executing [s@macro-outbound-callerid:8] Set("SIP/202-b7623148", "TRUNKOUTCID=") in new stack
-- Executing [s@macro-outbound-callerid:9] GotoIf("SIP/202-b7623148", "1?trunkcid") in new stack
-- Goto (macro-outbound-callerid,s,12)
-- Executing [s@macro-outbound-callerid:12] ExecIf("SIP/202-b7623148", "0|Set|CALLERID(all)=") in new stack
-- Executing [s@macro-outbound-callerid:13] GotoIf("SIP/202-b7623148", "1?exit") in new stack
-- Goto (macro-outbound-callerid,s,11)
-- Executing [s@macro-outbound-callerid:11] MacroExit("SIP/202-b7623148", "") in new stack
-- Executing [s@macro-dialout-trunk:12] ExecIf("SIP/202-b7623148", "0|AGI|fixlocalprefix") in new stack
-- Executing [s@macro-dialout-trunk:13] Set("SIP/202-b7623148", "OUTNUM=0877452") in new stack
-- Executing [s@macro-dialout-trunk:14] Set("SIP/202-b7623148", "custom=DAHDI/1") in new stack
-- Executing [s@macro-dialout-trunk:15] ExecIf("SIP/202-b7623148", "0|Set|DIAL_TRUNK_OPTIONS=M(setmusic^)") in new stack
-- Executing [s@macro-dialout-trunk:16] Macro("SIP/202-b7623148", "dialout-trunk-predial-hook|") in new stack
-- Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit("SIP/202-b7623148", "") in new stack
-- Executing [s@macro-dialout-trunk:17] GotoIf("SIP/202-b7623148", "0?bypass|1") in new stack
-- Executing [s@macro-dialout-trunk:18] GotoIf("SIP/202-b7623148", "0?customtrunk") in new stack
-- Executing [s@macro-dialout-trunk:19] Dial("SIP/202-b7623148", "DAHDI/1/0877452|300|") in new stack
-- Called 1/0877452
-- DAHDI/1-1 answered SIP/202-b7623148
-- Executing [h@macro-dialout-trunk:1] Macro("SIP/202-b7623148", "hangupcall|") in new stack
-- Executing [s@macro-hangupcall:1] ResetCDR("SIP/202-b7623148", "w") in new stack
-- Executing [s@macro-hangupcall:2] NoCDR("SIP/202-b7623148", "") in new stack
-- Executing [s@macro-hangupcall:3] GotoIf("SIP/202-b7623148", "1?skiprg") in new stack
-- Goto (macro-hangupcall,s,6)
-- Executing [s@macro-hangupcall:6] GotoIf("SIP/202-b7623148", "1?skipblkvm") in new stack
-- Goto (macro-hangupcall,s,9)
-- Executing [s@macro-hangupcall:9] GotoIf("SIP/202-b7623148", "1?theend") in new stack
-- Goto (macro-hangupcall,s,11)
-- Executing [s@macro-hangupcall:11] Hangup("SIP/202-b7623148", "") in new stack
== Spawn extension (macro-hangupcall, s, 11) exited non-zero on 'SIP/202-b7623148' in macro 'hangupcall'
== Spawn h extension (macro-dialout-trunk, h, 1) exited non-zero on 'SIP/202-b7623148'
-- Hungup 'DAHDI/1-1'
== Spawn extension (macro-dialout-trunk, s, 19) exited non-zero on 'SIP/202-b7623148' in macro 'dialout-trunk'
== Spawn extension (from-internal, 0877452, 4) exited non-zero on 'SIP/202-b7623148'
-- Unregistered SIP '202'
 

dicko

Joined
Oct 24, 2008
Messages
4,099
Likes
0
Points
0
#3
You ended up dialing

0877452

this seems a little short for a "national" number check your dial strings in outbound routes and trunks, make sure your required dial string is matched by a pattern

add

.

if in doubt.
 

bernd04

Joined
Jul 26, 2009
Messages
17
Likes
0
Points
0
#4
Hi,

Thanks for the quick reply..

nope, just dialed this to get an output.... same for the 10 digit numbers.
 

dicko

Joined
Oct 24, 2008
Messages
4,099
Likes
0
Points
0
#5
A dadhdi trunk will answer on going off hook, you need to dial a valid number on the trunk, attach a regular analog phone (split/y adapter) to the trunk and listen to what happens.
 

bernd04

Joined
Jul 26, 2009
Messages
17
Likes
0
Points
0
#6
Hi again,

did that.... Zip.... nada... does not pick up the line.
 

dicko

Joined
Oct 24, 2008
Messages
4,099
Likes
0
Points
0
#7
You say that incoming calls work but you hear no physical activity on your dahdi/1 trunk for outbound, all I can suggest is are you sure dahdi/1 is the same trunk that the incoming call is on and you are monitoring that very same trunk?
 

bernd04

Joined
Jul 26, 2009
Messages
17
Likes
0
Points
0
#8
Yup... incoming is working fine, that is the odd thing.

Where do i start looking at the trunk ?? newbie this side :)
 

dicko

Joined
Oct 24, 2008
Messages
4,099
Likes
0
Points
0
#9
from bash:

dahdi_scan

and

dahdi_tool
 

bernd04

Joined
Jul 26, 2009
Messages
17
Likes
0
Points
0
#10
This is the output of scan

[root@elastix ~]# dahdi_scan
[1]
active=yes
alarms=OK
description=wrtdm Board 1
name=WRTDM/0
manufacturer=
devicetype=
location=
basechan=1
totchans=24
irq=0
type=analog
port=1,FXO
port=2,FXO
port=3,FXO
port=4,FXO
port=5,FXO
port=6,FXO
port=7,FXO
port=8,FXO
port=9,none
port=10,none
port=11,none
port=12,none
port=13,none
port=14,none
port=15,none
port=16,none
port=17,none
port=18,none
port=19,none
port=20,none
port=21,none
port=22,none
port=23,none
port=24,none


Will do the other later when back at the box. Thanks so far.
 

cascas

Joined
Apr 19, 2012
Messages
3
Likes
0
Points
0
#11
Hi, it's 2 years later, but i have the same identical issue....
did you find a solution? how did you solve it?

thanks in advance
 

jgutierrez

Joined
Feb 28, 2008
Messages
5,737
Likes
0
Points
0
#12
What is your issue?
 

Members online

No members online now.

Latest posts

Forum statistics

Threads
30,981
Messages
131,060
Members
17,704
Latest member
Pahntom
Top