/I have gotten my astlinux to register two exensions and I can call one
from the other. Now I am tring to call out on a SIP provider. I have
been spending the last 8 days making a bizillion fixes and finally seem
to be trying to start to access the SIP provider out on the internet,
fianally! However I am still getting errors in CLI when I attempt to
dial a PSTN number via my SIP provider. The error in the subject shows
every time no matter how I format the type/indetifier in the dial() command.
There is something wrong with my dial() command. I have tried several
formats for type/identifyer in the dial() command. I keep getting
circuit is busy no matter what style of formatting I use.
I will show several numbered ones and the CLI error info.
Note: starjet , phone no, and ip changed becuse users do not want the
info recorded publicly.
[glaobal]
starjetnum=2678901234
//starjt=SIP/${starjetnum}:10012345:[EMAIL PROTECTED]//
;starjt=SIP/${starjetnum}:10012345:[EMAIL PROTECTED]/
/
1. ONE
-- Executing Dial("SIP/1021-1f5e",
"SIP/starjet-out/18005551212|110|Tr") in new stack
-- Called starjet-out/18005551212
-- SIP/starjet-out-08c7 is circuit-busy
====================
2. ---> TWO
-- Executing Dial("SIP/1021-f6ed",
"SIP/[EMAIL PROTECTED]|110|Tr") in new stack
-- Called [EMAIL PROTECTED]
-- SIP/starjet-out-97a6 is circuit-busy
== Everyone is busy/congested at this time (1:0/1/0)
================
Code used for TWO.
[starjet-forced]
;
; Dial out on VoicePulse Connect! and wait for 70 seconds for a connect.
; If no connection is made in 70 seconds, jump to the "fastbusy" macro.
; Note that ${EXTEN:1} will be passed as ARG1 of our macro, i.e.
; strip the leading "6" and pass the rest of the number. "70" will
; then be ARG2 of the macro, the dial timeout in #seconds.
;
exten => _61XXXXXXXXXX,1,Macro(dialstarjet,${EXTEN:1},110)
exten => _61XXXXXXXXXX,2,Playback(tt-weasels)
;
[macro-dialstarjet]
; sumptin ther to dial sun
;
exten => s,1,SetCallerID(${FWDUSERID1})
exten => s,2,SetCIDName(${FWDUSERNAME1})
;exten => s,3,Dial(${starjt},${ARG1},${ARG2},Tr)
exten => s,3,Dial(SIP/[EMAIL PROTECTED],${ARG2},Tr)
exten => s,4,Playback(tt-monkeys)
exten => s,5,Hangup
;
=================
The numbers are dialed-->618005551212 and imediately the error pops up
on CLI and monkeys starts playing. When monkeys finishes I get a fast
busy, then silence. I never hear weasels.
Here is sip show registry
---------------
pbx*CLI> sip show registry
Host Username Refresh State
fwd.pulver.com:5060 81503 105 Registered
fwd.pulver.com:5060 78401 105 Registered
starjet.com:5060 2678901234 75 Registered
-- parse_srv: SRV mapped to host fwd.pulver.com, port 5060
----------pbx*CLI> sip show peers
Name/username Host Dyn Nat ACL Port Status
3145630315 (Unspecified) D N 0 Unmonitored
2678901234 (Unspecified) D N 0 Unmonitored
starjet-in 67.68.69.70 N 5060 Unmonitored
starjet-out/1012345 67.68.69.70 N 5060 OK (65 ms)
1022/1022 192.168.101.237 D 5069 OK (11 ms)
1021/1021 192.168.101.237 D 5060 OK (11 ms)
fwd2/81503 69.90.155.70 N 5061 Unmonitored
fwd/78401 69.90.155.70 N 5060 Unmonitored
8 sip peers [8 online , 0 offline]
Rich Sias/
_______________________________________________
Astlinux-users mailing list
[email protected]
http://lists.kriscompanies.com/mailman/listinfo/astlinux-users
Donations to support AstLinux are graciously accepted via PayPal to [EMAIL
PROTECTED]