[asterisk-users] tdm outgoing

B.Masoud @ SH info at saudihome.com
Mon Oct 5 04:37:59 CDT 2009


When I call in , there is nothing, because I did not set any inbound routes,
I am using the box only to forward calls to PSTN, so when I use softphone to
call outside here is the log:


    -- Executing [966505103250 at from-internal:1] Macro("SIP/100-08fba098",
"user-callerid|SKIPTTL|") in new stack
    -- Executing [s at macro-user-callerid:1] Set("SIP/100-08fba098",
"AMPUSER=100") in new stack
    -- Executing [s at macro-user-callerid:2] GotoIf("SIP/100-08fba098",
"0?report") in new stack
    -- Executing [s at macro-user-callerid:3] ExecIf("SIP/100-08fba098",
"1|Set|REALCALLERIDNUM=100") in new stack
    -- Executing [s at macro-user-callerid:4] Set("SIP/100-08fba098",
"AMPUSER=100") in new stack
    -- Executing [s at macro-user-callerid:5] Set("SIP/100-08fba098",
"AMPUSERCIDNAME=100") in new stack
    -- Executing [s at macro-user-callerid:6] GotoIf("SIP/100-08fba098",
"0?report") in new stack
    -- Executing [s at macro-user-callerid:7] Set("SIP/100-08fba098",
"AMPUSERCID=100") in new stack
    -- Executing [s at macro-user-callerid:8] Set("SIP/100-08fba098",
"CALLERID(all)="100" <100>") in new stack
    -- Executing [s at macro-user-callerid:9] Set("SIP/100-08fba098",
"REALCALLERIDNUM=100") in new stack
    -- Executing [s at macro-user-callerid:10] ExecIf("SIP/100-08fba098",
"0|Set|CHANNEL(language)=") in new stack
    -- Executing [s at macro-user-callerid:11] GotoIf("SIP/100-08fba098",
"1?continue") in new stack
    -- Goto (macro-user-callerid,s,20)
    -- Executing [s at macro-user-callerid:20] NoOp("SIP/100-08fba098", "Using
CallerID "100" <100>") in new stack
    -- Executing [966505103250 at from-internal:2] Set("SIP/100-08fba098",
"_NODEST=") in new stack
    -- Executing [966505103250 at from-internal:3] Macro("SIP/100-08fba098",
"record-enable|100|OUT|") in new stack
    -- Executing [s at macro-record-enable:1] GotoIf("SIP/100-08fba098",
"1?check") in new stack
    -- Goto (macro-record-enable,s,4)
    -- Executing [s at macro-record-enable:4] AGI("SIP/100-08fba098",
"recordingcheck|20091005-123740|1254735460.0") in new stack
    -- Launched AGI Script /var/lib/asterisk/agi-bin/recordingcheck
  recordingcheck|20091005-123740|1254735460.0: Outbound recording not
enabled
    -- AGI Script recordingcheck completed, returning 0
    -- Executing [s at macro-record-enable:5] MacroExit("SIP/100-08fba098", "")
in new stack
    -- Executing [966505103250 at from-internal:4] Macro("SIP/100-08fba098",
"dialout-trunk|2|966505103250||") in new stack
    -- Executing [s at macro-dialout-trunk:1] Set("SIP/100-08fba098",
"DIAL_TRUNK=2") in new stack
    -- Executing [s at macro-dialout-trunk:2] GosubIf("SIP/100-08fba098",
"0?sub-pincheck|s|1") in new stack
    -- Executing [s at macro-dialout-trunk:3] GotoIf("SIP/100-08fba098",
"0?disabletrunk|1") in new stack
    -- Executing [s at macro-dialout-trunk:4] Set("SIP/100-08fba098",
"DIAL_NUMBER=966505103250") in new stack
    -- Executing [s at macro-dialout-trunk:5] Set("SIP/100-08fba098",
"DIAL_TRUNK_OPTIONS=tr") in new stack
    -- Executing [s at macro-dialout-trunk:6] Set("SIP/100-08fba098",
"OUTBOUND_GROUP=OUT_2") in new stack
    -- Executing [s at macro-dialout-trunk:7] GotoIf("SIP/100-08fba098",
"0?nomax") in new stack
    -- Executing [s at macro-dialout-trunk:8] GotoIf("SIP/100-08fba098",
"0?chanfull") in new stack
    -- Executing [s at macro-dialout-trunk:9] GotoIf("SIP/100-08fba098",
"0?skipoutcid") in new stack
    -- Executing [s at macro-dialout-trunk:10] Set("SIP/100-08fba098",
"DIAL_TRUNK_OPTIONS=") in new stack
    -- Executing [s at macro-dialout-trunk:11] Macro("SIP/100-08fba098",
"outbound-callerid|2") in new stack
    -- Executing [s at macro-outbound-callerid:1] ExecIf("SIP/100-08fba098",
"0|SetCallerPres|") in new stack
    -- Executing [s at macro-outbound-callerid:2] ExecIf("SIP/100-08fba098",
"0|Set|REALCALLERIDNUM=100") in new stack
    -- Executing [s at macro-outbound-callerid:3] GotoIf("SIP/100-08fba098",
"1?normcid") in new stack
    -- Goto (macro-outbound-callerid,s,6)
    -- Executing [s at macro-outbound-callerid:6] Set("SIP/100-08fba098",
"USEROUTCID=") in new stack
    -- Executing [s at macro-outbound-callerid:7] Set("SIP/100-08fba098",
"EMERGENCYCID=") in new stack
    -- Executing [s at macro-outbound-callerid:8] Set("SIP/100-08fba098",
"TRUNKOUTCID=") in new stack
    -- Executing [s at macro-outbound-callerid:9] GotoIf("SIP/100-08fba098",
"1?trunkcid") in new stack
    -- Goto (macro-outbound-callerid,s,12)
    -- Executing [s at macro-outbound-callerid:12] ExecIf("SIP/100-08fba098",
"0|Set|CALLERID(all)=") in new stack
    -- Executing [s at macro-outbound-callerid:13] GotoIf("SIP/100-08fba098",
"1?exit") in new stack
    -- Goto (macro-outbound-callerid,s,11)
    -- Executing [s at macro-outbound-callerid:11]
MacroExit("SIP/100-08fba098", "") in new stack
    -- Executing [s at macro-dialout-trunk:12] ExecIf("SIP/100-08fba098",
"0|AGI|fixlocalprefix") in new stack
    -- Executing [s at macro-dialout-trunk:13] Set("SIP/100-08fba098",
"OUTNUM=966505103250") in new stack
    -- Executing [s at macro-dialout-trunk:14] Set("SIP/100-08fba098",
"custom=DAHDI/DGTDM24") in new stack
    -- Executing [s at macro-dialout-trunk:15] ExecIf("SIP/100-08fba098",
"0|Set|DIAL_TRUNK_OPTIONS=M(setmusic^)") in new stack
    -- Executing [s at macro-dialout-trunk:16] Macro("SIP/100-08fba098",
"dialout-trunk-predial-hook|") in new stack
    -- Executing [s at macro-dialout-trunk-predial-hook:1]
MacroExit("SIP/100-08fba098", "") in new stack
    -- Executing [s at macro-dialout-trunk:17] GotoIf("SIP/100-08fba098",
"0?bypass|1") in new stack
    -- Executing [s at macro-dialout-trunk:18] GotoIf("SIP/100-08fba098",
"0?customtrunk") in new stack
    -- Executing [s at macro-dialout-trunk:19] Dial("SIP/100-08fba098",
"DAHDI/DGTDM24/966505103250|300|") in new stack
  == Everyone is busy/congested at this time (1:0/0/1)
    -- Executing [s at macro-dialout-trunk:20] Goto("SIP/100-08fba098",
"s-CHANUNAVAIL|1") in new stack
    -- Goto (macro-dialout-trunk,s-CHANUNAVAIL,1)
    -- Executing [s-CHANUNAVAIL at macro-dialout-trunk:1]
GotoIf("SIP/100-08fba098", "1?noreport") in new stack
    -- Goto (macro-dialout-trunk,s-CHANUNAVAIL,3)
    -- Executing [s-CHANUNAVAIL at macro-dialout-trunk:3]
NoOp("SIP/100-08fba098", "TRUNK Dial failed due to CHANUNAVAIL (hangupcause:
0) - failing through to other trunks") in new stack
    -- Executing [966505103250 at from-internal:5] Macro("SIP/100-08fba098",
"outisbusy|") in new stack
    -- Executing [s at macro-outisbusy:1] Playback("SIP/100-08fba098",
"all-circuits-busy-now|noanswer") in new stack
    -- <SIP/100-08fba098> Playing 'all-circuits-busy-now' (language 'en')
    -- Executing [s at macro-outisbusy:2] Playback("SIP/100-08fba098",
"pls-try-call-later|noanswer") in new stack
    -- <SIP/100-08fba098> Playing 'pls-try-call-later' (language 'en')
  == Spawn extension (macro-outisbusy, s, 2) exited non-zero on
'SIP/100-08fba098' in macro 'outisbusy'
  == Spawn extension (from-internal, 966505103250, 5) exited non-zero on
'SIP/100-08fba098'
    -- Executing [h at from-internal:1] Macro("SIP/100-08fba098", "hangupcall")
in new stack
    -- Executing [s at macro-hangupcall:1] ResetCDR("SIP/100-08fba098", "w") in
new stack
    -- Executing [s at macro-hangupcall:2] NoCDR("SIP/100-08fba098", "") in new
stack
    -- Executing [s at macro-hangupcall:3] GotoIf("SIP/100-08fba098",
"1?skiprg") in new stack
    -- Goto (macro-hangupcall,s,6)
    -- Executing [s at macro-hangupcall:6] GotoIf("SIP/100-08fba098",
"1?skipblkvm") in new stack
    -- Goto (macro-hangupcall,s,9)
    -- Executing [s at macro-hangupcall:9] GotoIf("SIP/100-08fba098",
"1?theend") in new stack
    -- Goto (macro-hangupcall,s,11)
    -- Executing [s at macro-hangupcall:11] Hangup("SIP/100-08fba098", "") in
new stack
  == Spawn extension (macro-hangupcall, s, 11) exited non-zero on
'SIP/100-08fba098' in macro 'hangupcall'
  == Spawn extension (from-internal, h, 1) exited non-zero on
'SIP/100-08fba098'
elastix*CLI>


please let me know what is wrong???

Thanks.

-----Original Message-----
From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Paul Hales
Sent: Monday, October 05, 2009 2:38 AM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] tdm outgoing


Is inbound working?

Can you see action on the CLI when you send a call to the lines attached
to the card?

PaulH


B.Masoud @ SH wrote:
> Hi
> I installed TDM24 card, made ZAP (DAHDI) trunk, and set outbound all calls
> to that trunk, I am getting all circuits are busy now, do I have to do
> something specific?? I am using elastix.
>
> Thanks.
>
>
>
> _______________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>
> AstriCon 2009 - October 13 - 15 Phoenix, Arizona
> Register Now: http://www.astricon.net
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users
>   

_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

AstriCon 2009 - October 13 - 15 Phoenix, Arizona
Register Now: http://www.astricon.net

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users





More information about the asterisk-users mailing list