Problem with sipura3000 dial outbound


#1

I finally could configure the sipura3000 but I just can recieve calls from my panasonic PBX , but I can’t get configured in order to make local phone call, I have a complete week , and I am terrible desperated.

-- Executing Macro("SIP/2402-995a", "dialout-trunk|2|83002087|") in new stack
-- Executing GotoIf("SIP/2402-995a", "1?3:2)") in new stack
-- Goto (macro-dialout-trunk,s,3)
-- Executing Macro("SIP/2402-995a", "record-enable|2402|OUT") in new stack
-- Executing GotoIf("SIP/2402-995a", "0 > 0?2:4") in new stack
-- Goto (macro-record-enable,s,4)
-- Executing GotoIf("SIP/2402-995a", "1?5:8") in new stack
-- Goto (macro-record-enable,s,5)
-- Executing DBget("SIP/2402-995a", "RecEnable=RECORD-OUT/2402") in new stack
-- DBget: varname=RecEnable, family=RECORD-OUT, key=2402
-- DBget: set variable RecEnable to ENABLED
-- Executing SetVar("SIP/2402-995a", "CALLFILENAME=OUT2402-20051128-092635-1133187995.0") in new stack
-- Executing Goto("SIP/2402-995a", "s|14") in new stack
-- Goto (macro-record-enable,s,14)
-- Executing GotoIf("SIP/2402-995a", "1?15:99") in new stack
-- Goto (macro-record-enable,s,15)
-- Executing Monitor("SIP/2402-995a", "wav49|OUT2402-20051128-092635-1133187995.0| mb") in new stack
-- Executing GotoIf("SIP/2402-995a", "1?7") in new stack
-- Goto (macro-dialout-trunk,s,7)
-- Executing GotoIf("SIP/2402-995a", "0?9") in new stack
-- Executing SetCallerID("SIP/2402-995a", "8183000580") in new stack
-- Executing SetGroup("SIP/2402-995a", "OUT_2") in new stack
-- Executing CheckGroup("SIP/2402-995a", "1") in new stack
-- Executing SetVar("SIP/2402-995a", "DIAL_NUMBER=83002087") in new stack
-- Executing SetVar("SIP/2402-995a", "DIAL_TRUNK=2") in new stack
-- Executing AGI("SIP/2402-995a", "fixlocalprefix") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/fixlocalprefix
-- AGI Script fixlocalprefix completed, returning 0
-- Executing SetVar("SIP/2402-995a", "OUTNUM=983002087") in new stack
-- Executing Cut("SIP/2402-995a", "custom=OUT_2|:|1") in new stack
-- Executing GotoIf("SIP/2402-995a", "0?19") in new stack
-- Executing Dial("SIP/2402-995a", "SIP/pstn_1/983002087") in new stack
-- Called pstn_1/983002087
-- Got SIP response 503 "Service Unavailable" back from 10.148.170.11
-- SIP/pstn_1-aeaa is circuit-busy

== Everyone is busy/congested at this time
– Executing Goto(“SIP/2402-995a”, “s-CONGESTION|1”) in new stack
– Goto (macro-dialout-trunk,s-CONGESTION,1)
– Executing NoOp(“SIP/2402-995a”, “Dial failed due to CONGESTION”) in new stack
– Executing Macro(“SIP/2402-995a”, “outisbusy”) in new stack
– Executing Playback(“SIP/2402-995a”, “allison7/all-circuits-busy-now”) in new stack
– Playing ‘allison7/all-circuits-busy-now’ (language ‘en’)
– Executing Playback(“SIP/2402-995a”, “allison7/pls-try-call-later”) in new stack
– Playing ‘allison7/pls-try-call-later’ (language ‘en’)
– Executing Macro(“SIP/2402-995a”, “hangupcall”) in new stack
– Executing ResetCDR(“SIP/2402-995a”, “w”) in new stack
– Executing NoCDR(“SIP/2402-995a”, “”) in new stack
– Executing Wait(“SIP/2402-995a”, “5”) in new stack
– Executing Hangup(“SIP/2402-995a”, “”) in new stack
== Spawn extension (macro-hangupcall, s, 4) exited non-zero on ‘SIP/2402-995a’ in macro ‘hangupcall’
== Spawn extension (macro-outisbusy, s, 3) exited non-zero on ‘SIP/2402-995a’ in macro ‘outisbusy’
== Spawn extension (from-internal, 983002087, 2) exited non-zero on ‘SIP/2402-995a’
– Executing Macro(“SIP/2402-995a”, “hangupcall”) in new stack
– Executing ResetCDR(“SIP/2402-995a”, “w”) in new stack
– Executing NoCDR(“SIP/2402-995a”, “”) in new stack
– Executing Wait(“SIP/2402-995a”, “5”) in new stack
– Executing Hangup(“SIP/2402-995a”, “”) in new stack
== Spawn extension (macro-hangupcall, s, 4) exited non-zero on ‘SIP/2402-995a’ in macro ‘hangupcall’
== Spawn extension (from-internal, h, 1) exited non-zero on ‘SIP/2402-995a’
– Registered SIP ‘2601’ at 10.148.160.120 port 1029 expires 3600
– Saved useragent “X-Lite release 1103m” for peer 2601
asterisk1*CLI>

sip_addittional.conf
[199]
username=199
type=friend
secret=3545
record_out=On-Demand
record_in=On-Demand
qualify=no
port=5061
nat=never
host=dynamic
dtmfmode=rfc2833
context=from-internal
canreinvite=no
callerid=“PSTN” <199>
[204]
username=204
type=friend
secret=3545
record_out=On-Demand
record_in=On-Demand
qualify=no
port=5060
nat=never
mailbox=204@default
host=dynamic
dtmfmode=rfc2833
context=from-internal
canreinvite=no
callerid=“extension analoga” <204>
[99]
username=99
type=friend
secret=3545
record_out=Always
record_in=Always
qualify=no
port=5062
nat=never
host=dynamic
dtmfmode=rfc2833
context=from-internal
canreinvite=no
callerid=“pstn incoming” <99>

[pstn_1]
username=spa3000
type=peer
secret=j1u2n3g4l5e
qualify=yes
port=5061
nat=no
insecure=very
host=10.148.170.11
context=from-pstn
canreinvite=no
extensions_additional.conf
[globals]
VM_PREFIX = *
RINGTIMER = 15
REGTIME = 7:55-17:05
REGDAYS = mon-fri
RECORDEXTEN = ""
PARKNOTIFY = SIP/200
OUT_2 = SIP/pstn_1
OUTPREFIX_2 = 9
OUTMAXCHANS_2 = 1
OUTCID_2 = 8183000580
OPERATOR =
NULL = ""
IN_OVERRIDE = forcereghours
INCOMING = group-all
FAX_RX_EMAIL = fax@mydomain.com
FAX_RX = system
FAX =
ECID199 = PSTN
E99 = SIP
E2601 = SIP
E2502 = SIP
E2501 = SIP
E2402 = SIP
E2401 = SIP
E2202 = SIP
E2201 = SIP
E204 = SIP
E199 = SIP
DIRECTORY_OPTS =
DIRECTORY = last
DIAL_OUT = 9
DIAL_OPTIONS = tr
DIALOUTIDS = 2/
CALLFILENAME = ""
AFTER_INCOMING =

[ext-group]
include => ext-group-custom
exten => 2400,1,Macro(rg-group,12,2401-2402) ;
exten => 2400,2,Goto(ext-local,2501,1) ;
exten => 2500,1,Macro(rg-group,16,2501-2502) ;
exten => 2500,2,Goto(ext-local,2401,1) ;

[ext-local]
include => ext-local-custom
exten => 199,1,Macro(exten-vm,novm,199)
exten => 204,1,Macro(exten-vm,204@default,204)
exten => ${VM_PREFIX}204,1,Macro(vm,204)
exten => 2201,1,Macro(exten-vm,2201@default,2201)
exten => ${VM_PREFIX}2201,1,Macro(vm,2201)
exten => 2202,1,Macro(exten-vm,2202@default,2202)
exten => ${VM_PREFIX}2202,1,Macro(vm,2202)
exten => 2401,1,Macro(exten-vm,2401@default,2401)
exten => ${VM_PREFIX}2401,1,Macro(vm,2401)
exten => 2402,1,Macro(exten-vm,2402@default,2402)
exten => ${VM_PREFIX}2402,1,Macro(vm,2402)
exten => 2501,1,Macro(exten-vm,2501@default,2501)
exten => ${VM_PREFIX}2501,1,Macro(vm,2501)
exten => 2502,1,Macro(exten-vm,2502@default,2502)
exten => ${VM_PREFIX}2502,1,Macro(vm,2502)
exten => 2601,1,Macro(exten-vm,2601@default,2601)
exten => ${VM_PREFIX}2601,1,Macro(vm,2601)
exten => 99,1,Macro(exten-vm,novm,99)

[outbound-allroutes]
include => outbound-allroutes-custom
include => outrt-002-SBC1

[outrt-002-SBC1]
include => outrt-002-SBC1-custom
exten => _1800NXXXXXX,1,Macro(dialout-trunk,2,${EXTEN},)
exten => _1800NXXXXXX,2,Macro(outisbusy) ; No available circuits
exten => _1866NXXXXXX,1,Macro(dialout-trunk,2,${EXTEN},)
exten => _1866NXXXXXX,2,Macro(outisbusy) ; No available circuits
exten => _1877NXXXXXX,1,Macro(dialout-trunk,2,${EXTEN},)
exten => _1877NXXXXXX,2,Macro(outisbusy) ; No available circuits
exten => _1888NXXXXXX,1,Macro(dialout-trunk,2,${EXTEN},)
exten => _1888NXXXXXX,2,Macro(outisbusy) ; No available circuits
exten => _1NXXNXXXXXX,1,Macro(dialout-trunk,2,${EXTEN},)
exten => _1NXXNXXXXXX,2,Macro(outisbusy) ; No available circuits
exten => _9.,1,Macro(dialout-trunk,2,${EXTEN:1},)
exten => _9.,2,Macro(outisbusy) ; No available circuits
exten => _9XXXXXXXX,1,Macro(dialout-trunk,2,${EXTEN},)
exten => _9XXXXXXXX,2,Macro(outisbusy) ; No available circuits
exten => _NXXNXXXXXX,1,Macro(dialout-trunk,2,${EXTEN},)
exten => _NXXNXXXXXX,2,Macro(outisbusy) ; No available circuits
exten => _NXXXXXX,1,Macro(dialout-trunk,2,${EXTEN},)
exten => _NXXXXXX,2,Macro(outisbusy) ; No available circuits
exten => _NXXXXXXX,1,Macro(dialout-trunk,2,${EXTEN},)
exten => _NXXXXXXX,2,Macro(outisbusy) ; No available circuits
exten => _NXXXXXXXX,1,Macro(dialout-trunk,2,${EXTEN},)
exten => _NXXXXXXXX,2,Macro(outisbusy) ; No available circuits