issues with outgoing call

Status
Not open for further replies.

oscquin

Joined
Feb 9, 2010
Messages
34
Reaction score
0
everything was working fine with this elastix 1.6.2-33 (except for faxes, but that's another topic). it uses an HP Server 300 Gb iSCSI, Atcom 1 E1 Card (mISDN)

now when I try to place an outbound call, I get this:

-- Executing [55240001@from-internal:1] Macro("SIP/9026-00000001", "user-callerid|SKIPTTL|") in new stack
-- Executing [s@macro-user-callerid:1] Set("SIP/9026-00000001", "AMPUSER=9026") in new stack
-- Executing [s@macro-user-callerid:2] GotoIf("SIP/9026-00000001", "0?report") in new stack
-- Executing [s@macro-user-callerid:3] ExecIf("SIP/9026-00000001", "1|Set|REALCALLERIDNUM=9026") in new stack
-- Executing [s@macro-user-callerid:4] Set("SIP/9026-00000001", "AMPUSER=9026") in new stack
-- Executing [s@macro-user-callerid:5] Set("SIP/9026-00000001", "AMPUSERCIDNAME=9026") in new stack
-- Executing [s@macro-user-callerid:6] GotoIf("SIP/9026-00000001", "0?report") in new stack
-- Executing [s@macro-user-callerid:7] Set("SIP/9026-00000001", "AMPUSERCID=9026") in new stack
-- Executing [s@macro-user-callerid:8] Set("SIP/9026-00000001", "CALLERID(all)="9026" <9026>") in new stack
-- Executing [s@macro-user-callerid:9] ExecIf("SIP/9026-00000001", "0|Set|CHANNEL(language)=") in new stack
-- Executing [s@macro-user-callerid:10] GotoIf("SIP/9026-00000001", "1?continue") in new stack
-- Goto (macro-user-callerid,s,19)
-- Executing [s@macro-user-callerid:19] NoOp("SIP/9026-00000001", "Using CallerID "9026" <9026>") in new stack
-- Executing [55240001@from-internal:2] Set("SIP/9026-00000001", "_NODEST=") in new stack
-- Executing [55240001@from-internal:3] Macro("SIP/9026-00000001", "record-enable|9026|OUT|") in new stack
-- Executing [s@macro-record-enable:1] GotoIf("SIP/9026-00000001", "1?check") in new stack
-- Goto (macro-record-enable,s,4)
-- Executing [s@macro-record-enable:4] AGI("SIP/9026-00000001", "recordingcheck|20120608-111354|1339175634.3") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/recordingcheck
recordingcheck|20120608-111354|1339175634.3: Outbound recording enabled.
recordingcheck|20120608-111354|1339175634.3: CALLFILENAME=OUT9026-20120608-111354-1339175634.3
-- AGI Script recordingcheck completed, returning 0
-- Executing [s@macro-record-enable:999] MixMonitor("SIP/9026-00000001", "OUT9026-20120608-111354-1339175634.3.wav||") in new stack
-- Executing [s@macro-record-enable:1000] Set("SIP/9026-00000001", "CDR(userfield)=audio:OUT9026-20120608-111354-1339175634.3.wav") in new stack
== Begin MixMonitor Recording SIP/9026-00000001
-- Executing [55240001@from-internal:4] Macro("SIP/9026-00000001", "dialout-trunk|2|55240001||") in new stack
-- Executing [s@macro-dialout-trunk:1] Set("SIP/9026-00000001", "DIAL_TRUNK=2") in new stack
-- Executing [s@macro-dialout-trunk:2] GosubIf("SIP/9026-00000001", "0?sub-pincheck|s|1") in new stack
-- Executing [s@macro-dialout-trunk:3] GotoIf("SIP/9026-00000001", "0?disabletrunk|1") in new stack
-- Executing [s@macro-dialout-trunk:4] Set("SIP/9026-00000001", "DIAL_NUMBER=55240001") in new stack
-- Executing [s@macro-dialout-trunk:5] Set("SIP/9026-00000001", "DIAL_TRUNK_OPTIONS=tr") in new stack
-- Executing [s@macro-dialout-trunk:6] Set("SIP/9026-00000001", "OUTBOUND_GROUP=OUT_2") in new stack
-- Executing [s@macro-dialout-trunk:7] GotoIf("SIP/9026-00000001", "0?nomax") in new stack
-- Executing [s@macro-dialout-trunk:8] GotoIf("SIP/9026-00000001", "0?chanfull") in new stack
-- Executing [s@macro-dialout-trunk:9] GotoIf("SIP/9026-00000001", "0?skipoutcid") in new stack
-- Executing [s@macro-dialout-trunk:10] Set("SIP/9026-00000001", "DIAL_TRUNK_OPTIONS=") in new stack
-- Executing [s@macro-dialout-trunk:11] Macro("SIP/9026-00000001", "outbound-callerid|2") in new stack
-- Executing [s@macro-outbound-callerid:1] ExecIf("SIP/9026-00000001", "0|SetCallerPres|") in new stack
-- Executing [s@macro-outbound-callerid:2] ExecIf("SIP/9026-00000001", "0|Set|REALCALLERIDNUM=9026") in new stack
-- Executing [s@macro-outbound-callerid:3] GotoIf("SIP/9026-00000001", "1?normcid") in new stack
-- Goto (macro-outbound-callerid,s,6)
-- Executing [s@macro-outbound-callerid:6] Set("SIP/9026-00000001", "USEROUTCID=") in new stack
-- Executing [s@macro-outbound-callerid:7] Set("SIP/9026-00000001", "EMERGENCYCID=") in new stack
-- Executing [s@macro-outbound-callerid:8] Set("SIP/9026-00000001", "TRUNKOUTCID=23299000") in new stack
-- Executing [s@macro-outbound-callerid:9] GotoIf("SIP/9026-00000001", "1?trunkcid") in new stack
-- Goto (macro-outbound-callerid,s,12)
-- Executing [s@macro-outbound-callerid:12] ExecIf("SIP/9026-00000001", "1|Set|CALLERID(all)=23299000") in new stack
-- Executing [s@macro-outbound-callerid:13] ExecIf("SIP/9026-00000001", "0|Set|CALLERID(all)=") in new stack
-- Executing [s@macro-outbound-callerid:14] ExecIf("SIP/9026-00000001", "0|SetCallerPres|prohib_passed_screen") in new stack
-- Executing [s@macro-dialout-trunk:12] ExecIf("SIP/9026-00000001", "0|AGI|fixlocalprefix") in new stack
-- Executing [s@macro-dialout-trunk:13] Set("SIP/9026-00000001", "OUTNUM=55240001") in new stack
-- Executing [s@macro-dialout-trunk:14] Set("SIP/9026-00000001", "custom=AMP") in new stack
-- Executing [s@macro-dialout-trunk:15] ExecIf("SIP/9026-00000001", "0|Set|DIAL_TRUNK_OPTIONS=M(setmusic^)") in new stack
-- Executing [s@macro-dialout-trunk:16] Macro("SIP/9026-00000001", "dialout-trunk-predial-hook|") in new stack
-- Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit("SIP/9026-00000001", "") in new stack
-- Executing [s@macro-dialout-trunk:17] GotoIf("SIP/9026-00000001", "0?bypass|1") in new stack
-- Executing [s@macro-dialout-trunk:18] GotoIf("SIP/9026-00000001", "1?customtrunk") in new stack
-- Goto (macro-dialout-trunk,s,21)
-- Executing [s@macro-dialout-trunk:21] Set("SIP/9026-00000001", "pre_num=AMP:mISDN/1/") in new stack
-- Executing [s@macro-dialout-trunk:22] Set("SIP/9026-00000001", "the_num=OUTNUM") in new stack
-- Executing [s@macro-dialout-trunk:23] Set("SIP/9026-00000001", "post_num=") in new stack
-- Executing [s@macro-dialout-trunk:24] GotoIf("SIP/9026-00000001", "1?outnum:skipoutnum") in new stack
-- Goto (macro-dialout-trunk,s,25)
-- Executing [s@macro-dialout-trunk:25] Set("SIP/9026-00000001", "the_num=55240001") in new stack
-- Executing [s@macro-dialout-trunk:26] Dial("SIP/9026-00000001", "mISDN/1/55240001|300|") in new stack
-- Called 1/55240001
P[ 1] **** Received CAUSE:44, restarting channel 1
P[ 1] Sending Restarts on this port.
P[ 1] Restarting and cleaning channel 1
P[ 1] Restarting channel 1
== Everyone is busy/congested at this time (1:0/0/1)
-- Executing [s@macro-dialout-trunk:27] Goto("SIP/9026-00000001", "s-CHANUNAVAIL|1") in new stack
-- Goto (macro-dialout-trunk,s-CHANUNAVAIL,1)
-- Executing [s-CHANUNAVAIL@macro-dialout-trunk:1] GotoIf("SIP/9026-00000001", "1?noreport") in new stack
-- Goto (macro-dialout-trunk,s-CHANUNAVAIL,3)
-- Executing [s-CHANUNAVAIL@macro-dialout-trunk:3] NoOp("SIP/9026-00000001", "TRUNK Dial failed due to CHANUNAVAIL (hangupcause: 44) - failing through to other trunks") in new stack
-- Executing [55240001@from-internal:5] Macro("SIP/9026-00000001", "outisbusy|") in new stack
-- Executing [s@macro-outisbusy:1] Playback("SIP/9026-00000001", "all-circuits-busy-now|noanswer") in new stack
-- <SIP/9026-00000001> Playing 'all-circuits-busy-now' (language 'en')
-- Executing [s@macro-outisbusy:2] Playback("SIP/9026-00000001", "pls-try-call-later|noanswer") in new stack
-- <SIP/9026-00000001> Playing 'pls-try-call-later' (language 'en')



but I did not change anything from the original working configuration. If someone has some experiencie with this. I will appreciate. Regards,
 
On newwer versions, same as yours (if using elastix 2.3) misdn support is now provided by dahdi, just go into hardware detection module, check the option for writing on chan_dahdi.conf and on your outbound route, choose g0
 
jgutierrez, mine is 1.6.2-33, any ideas?
 
this is my misdn-init.conf file:

#
# Configuration file for your misdn hardware
#
# Usage: /usr/sbin/misdn-init start|stop|restart|config|scan|help
#

#
# Card Settings
#
# Syntax: card=<number>,<type>[,<option>...]
#
# <number> count your cards beginning with 1
# <type> either 0x1,0x4 or 0x8 for your hfcmulti hardware,
# or the name of your card driver module.
# <option> ulaw - uLaw (instead of aLaw)
# dtmf - enable DTMF detection on all B-channels
#
# pcm_slave - set PCM bus into slave mode
# If you have a set of cards, all wired via PCM. Set
# all cards into pcm_slave mode and leave one out.
# The left card will automatically be Master.
#
# ignore_pcm_frameclock - this can be set in conjunction with
# pcm_slave. If this card has a
# PCI Bus Position before the Position
# of the Master, then this port cannot
# yet receive a frameclock, so it must
# ignore the pcm frameclock.
#
# rxclock - use clocking for pcm from ST Port
# crystalclock - use clocking for pcm from PLL (genrated on board)
# watchdog - This dual E1 Board has a Watchdog for
# transparent mode
#
#
card=1,0x1

#
# Port settings
#
# Syntax: <port_type>=<port_number>[,<port_number>...]
#
# <port_type> te_ptp - TE-Mode, PTP
# te_ptmp - TE-Mode, PTMP
# te_capi_ptp - TE-Mode (capi), PTP
# te_capi_ptmp - TE-Mode (capi), PTMP
# nt_ptp - NT-Mode, PTP
# nt_ptmp - NT-Mode, PTMP
# <port_number> port that should be considered
#
te_ptmp=1

#
# Port Options
#
# Syntax: option=<port_number>,<option>[,<option>...]
#
# <option> master_clock - use master clock for this S/T interface
# (only once per chip, only for HFC 8/4)
# optical - optical (only HFC-E1)
# los - report LOS (only HFC-E1)
# ais - report AIS (only HFC-E1)
# slip - report SLIP (only HFC-E1)
# nocrc4 - turn off crc4 mode use double frame instead
# (only HFC-E1)
#
# The master_clock option is essential for retrieving and transmitting
# faxes to avoid failures during transmission. It tells the driver to
# synchronize the Card with the given Port which should be a TE Port and
# connected to the PSTN in general.
#
#option=1,master_clock
#option=2,ais,nocrc4
#option=3,optical,los,ais,slip


#
# General Options for your hfcmulti hardware
#
# poll=<number>
#
# Only one poll value must be given for all cards.
# Give the number of samples for each fifo process.
# By default 128 is used. Decrease to reduce delay, increase to
# reduce cpu load. If unsure, don't mess with it!!!
# Valid is 32, 64, 128, 256.
#
# dsp_poll=<number>
# This is the poll option which is used by mISDN_dsp, this might
# differ from the one given by poll= for the hfc based cards, since
# they can only use multiples of 32, the dsp_poll is dependant on
# the kernel timer setting which can be found in the CPU section
# in the kernel config. Defaults are there either 100Hz, 250Hz
# or 1000Hz. If your setting is either 1000 or 250 it is compatible
# with the poll option for the hfc chips, if you have 100 it is
# different and you need here a multiple of 80.
# The default is to have no dsp_poll option, then the dsp itself
# finds out which option is the best to use by itself
#
# pcm=<number>
#
# Give the id of the PCM bus. All PCM busses with the same ID
# are expected to be connected and have equal slots.
# Only one chip of the PCM bus must be master, the others slave.
#
# debug=<number>
#
# Enable debugging (see hfc_multi.h for debug options).
#
# dsp_options=<number>
#
# set this to 2 and you'll have software bridging instead of
# hardware bridging.
#
#
# dtmfthreshold=<milliseconds>
#
# Here you can tune the sensitivity of the dtmf tone recognizer.
#
# timer=<1|0>
#
# set this to 1 if you want hfcmulti to register at ztdummy (zaptel)
# and provide a 1khz timing source for it. This makes it possible
# to have an accurate timing source for asterisk through zaptel from
# hfcmulti to make applications like Meetme and faxing between wctdm
# and hfcmulti work properly.
#
poll=128
dsp_poll=128
dsp_options=0
dtmfthreshold=100
debug=0


misdn show stacks output:
* Port 1 Type TE Prot. PTP L2Link UP L1Link:UP Blocked:0 Debug:0

this is the outbound route config:

[outrt-004-todoPermitido]
include => outrt-004-todoPermitido-custom
exten => _.,1,Macro(user-callerid,SKIPTTL,)
exten => _.,n,Set(_NODEST=)
exten => _.,n,Macro(record-enable,${AMPUSER},OUT,)
exten => _.,n,Macro(dialout-trunk,2,${EXTEN},,)
exten => _.,n,Macro(outisbusy,)
 
Status
Not open for further replies.

Latest Posts

Members Online Now

Forum statistics

Threads
111,861
Messages
589,441
Members
164,701
Latest member
yarusemiKK