Please help Asterisk/Dahdi with Motorola Wildcard X100P

Dear all,
I am a new comer in this forum. I have installed a motorola X100P wildcard fxo with asterisk and dahdi. It is well configured as my knowledge and detected properly. In my asterisk CLI i got the dahdi channels also.

But any incoming call to my server is not detected by asterisk. There is no debug information at all. When i am calling to that particular number,it’s simply ringing.

please help me

thanks and regards

jini

hi guys,
anybody is there to help me…

In your context for the dahdi channel do you have the S extension? Show us your system.conf, chan_dadhi.conf and the extensions.conf for more help

Sorry if I’m reopnening the post but I have de same problem, I try to connect a external call (using PSTN)

here my

system.conf

# Autogenerated by /usr/sbin/dahdi_genconf on Wed Jun  1 16:30:08 2011
# If you edit this file and execute /usr/sbin/dahdi_genconf again,
# your manual changes will be LOST.
# Dahdi Configuration File
#
# This file is parsed by the Dahdi Configurator, dahdi_cfg
#
# Span 1: WCFXO/0 "Wildcard X100P Board 1" (MASTER)
fxsks=1
echocanceller=oslec,1

# Global data

loadzone        = us
defaultzone     = us

extensions.conf

;
; ############################################################################
; Inbound Contexts [from]
; ############################################################################

[from-sip-external]
; Yes. This is _really_ meant to be _. - I know asterisk whines about it, but
; I do know what I'm doing. This is correct.
exten => _.,1,NoOp(Received incoming SIP connection from unknown peer to ${EXTEN                                             })
exten => _.,n,Set(DID=${IF($["${EXTEN:1:2}"=""]?s:${EXTEN})})
exten => _.,n,Goto(s,1)
exten => s,1,GotoIf($["${ALLOW_SIP_ANON}"="yes"]?checklang:noanonymous)
exten => s,n(checklang),GotoIf($["${SIPLANG}"!=""]?setlanguage:from-trunk,${DID}                                             ,1)
exten => s,n(setlanguage),Set(CHANNEL(language)=${SIPLANG})
exten => s,n,Goto(from-trunk,${DID},1)
exten => s,n(noanonymous),Set(TIMEOUT(absolute)=15)
exten => s,n,Answer
exten => s,n,Wait(2)
exten => s,n,Playback(ss-noservice)
exten => s,n,Playtones(congestion)
exten => s,n,Congestion(5)
exten => h,1,Hangup
exten => i,1,Hangup
exten => t,1,Hangup

[from-internal-xfer]
; applications are now mostly all found in from-internal-additional in _custom.c                                             onf
include => from-internal-custom
include => parkedcalls

; MODIFIED (PL)
;
; Currently the include for findmefollow is being auto-generated before ext-loca                                             l which is the desired behavior.
; However, I haven't been able to do anything that I know of to force this. We n                                             eed to determine if it should
; be hardcoded into here to make sure it doesn't change with some configuration.                                              For now I will leave it out
; until we can discuss this.
;
include => ext-local-confirm
include => findmefollow-ringallv2
include => from-internal-additional
; This causes grief with '#' transfers, commenting out for the moment.
; include => bad-number
exten => s,1,Macro(hangupcall)
exten => h,1,Macro(hangupcall)

[from-internal]
include => from-internal-xfer
include => bad-number

;------------------------------------------------------------------------
; [macro-setmusic]
;------------------------------------------------------------------------
; CONTEXT:      macro-setmusic
; PURPOSE:      to turn off moh on routes where it is not desired
;
;------------------------------------------------------------------------
[macro-setmusic]
exten => s,1,NoOp(Setting Outbound Route MoH To: ${ARG1})
exten => s,2,SetMusicOnHold(${ARG1})
;------------------------------------------------------------------------

; ##########################################
; ## Ring Groups with Confirmation macros ##
; ##########################################
; Used by followme and ringgroups

;------------------------------------------------------------------------
; [macro-dial-confirm]
;------------------------------------------------------------------------
; This has now been incorporated into dialparties. It still only works with ring                                             all
; and ringall-prim strategies. Have not investigated why it doesn't work with
; hunt and memory hunt.
;
;------------------------------------------------------------------------
[macro-dial-confirm]
; This was written to make it easy to use macro-dial-confirm instead of macro-di                                             al in generated dialplans.
; This takes the same parameters, with an additional parameter of the ring group                                              Number
; ARG1 is the timeout
; ARG2 is the DIAL_OPTIONS
; ARG3 is a list of xtns to call - 203-222-240-123123123#-211
; ARG4 is the ring group number

; This sets a unique value to indicate that the channel is ringing. This is used                                              for warning slow
; users that the call has already been picked up.
;
exten => s,1,Set(DB(RG/${ARG4}/${CHANNEL})=RINGING)

; We need to keep that channel variable, because it'll change when we do this di                                             al, so set it to
; fallthrough to every sibling.
;
exten => s,n,Set(__UNIQCHAN=${CHANNEL})

; The calling ringgroup should have set RingGroupMethod appropriately. We need t                                             o set two
; additional parameters:
;
; USE_CONFIRMATION, RINGGROUP_INDEX
;
; These are passed to inform dialparties to place external calls through the [gr                                             ps] context
;
exten => s,n,Set(USE_CONFIRMATION=TRUE)
exten => s,n,Set(RINGGROUP_INDEX=${ARG4})
exten => s,n,Set(ARG4=) ; otherwise it gets passed to dialparties.agi which proc                                             esses it (prob bug)

exten => s,n,Macro(dial,${ARG1},${ARG2},${ARG3})

; delete the variable, if we are here, we are done trying to dial and it may hav                                             e been left around
;
exten => s,n,DBDel(RG/${RINGGROUP_INDEX}/${CHANNEL})
exten => s,n,Set(USE_CONFIRMATION=)
exten => s,n,Set(RINGGROUP_INDEX=)
;------------------------------------------------------------------------


;------------------------------------------------------------------------
; [ext-local-confirm]
;------------------------------------------------------------------------
; If call confirm is being used in a ringgroup, then calls that do not require c                                             onfirmation are sent
; to this extension instead of straight to the device.
;
; The sole purpose of sending them here is to make sure we run Macro(auto-confir                                             m) if this
; extension answers the line. This takes care of clearing the database key that                                              is used to inform
; other potential late comers that the extension has been answered by someone el                                             se.
;
; ALERT_INFO is deprecated in Asterisk 1.4 but still used throughout the FreePBX                                              dialplan and
; usually set by dialparties.agi. This allows inheritance. Since no dialparties.                                             agi here, set the
; header if it is set.
;
;------------------------------------------------------------------------
[ext-local-confirm]
exten => _LC-.,1,Noop(IN ext-local-confirm with - RT: ${RT}, RG_IDX: ${RG_IDX})
exten => _LC-.,n,GotoIf($["x${ALERT_INFO}"="x"]?godial)
exten => _LC-.,n,SIPAddHeader(Alert-Info: ${ALERT_INFO})
exten => _LC-.,n(godial),dial(${DB(DEVICE/${EXTEN:3}/dial)},${RT},M(auto-confirm                                             ^${RG_IDX})${DIAL_OPTIONS})

;------------------------------------------------------------------------
; [findmefollow-ringallv2]
;------------------------------------------------------------------------
; This context, to be included in from-internal, implements the PreRing part of                                              findmefollow
; as well as the GroupRing part. It also communicates between the two so that if                                              DND is set
; on the primary extension, and mastermode is enabled, then the other extensions                                              will not ring
;
;------------------------------------------------------------------------
[findmefollow-ringallv2]
exten => _FMPR-.,1,Noop(In FMPR ${FMGRP} with ${EXTEN:5})
exten => _FMPR-.,n,Set(RingGroupMethod=)
exten => _FMPR-.,n,Set(USE_CONFIRMATION=)
exten => _FMPR-.,n,Set(RINGGROUP_INDEX=)
exten => _FMPR-.,n,Macro(simple-dial,${EXTEN:5},${FMREALPRERING})
exten => _FMPR-.,n,GotoIf($["${DIALSTATUS}" != "BUSY"]?nodnd)
exten => _FMPR-.,n,Set(DB(FM/DND/${FMGRP}/${FMUNIQUE})=DND)
exten => _FMPR-.,n(nodnd),Noop(Ending FMPR ${FMGRP} with ${EXTEN:5} and dialstat                                             us ${DIALSTATUS})
exten => _FMPR-.,n,Hangup()

exten => _FMGL-.,1,Noop(In FMGL ${FMGRP} with ${EXTEN:5})
exten => _FMGL-.,n,GotoIf($["${DB(FM/DND/${FMGRP}/${FMUNIQUE})}" = "DND"]?dodnd)
exten => _FMGL-.,n,Wait(1)
exten => _FMGL-.,n,GotoIf($["${DB(FM/DND/${FMGRP}/${FMUNIQUE})}" = "DND"]?dodnd)
exten => _FMGL-.,n,Wait(1)
exten => _FMGL-.,n,GotoIf($["${DB(FM/DND/${FMGRP}/${FMUNIQUE})}" = "DND"]?dodnd)
exten => _FMGL-.,n,Wait(${FMPRERING})
exten => _FMGL-.,n,GotoIf($["${DB(FM/DND/${FMGRP}/${FMUNIQUE})}" = "DND"]?dodnd)
exten => _FMGL-.,n,DBDel(FM/DND/${FMGRP}/${FMUNIQUE})
exten => _FMGL-.,n(dodial),Macro(dial,${FMGRPTIME},${DIAL_OPTIONS},${EXTEN:5})
exten => _FMGL-.,n,Noop(Ending FMGL ${FMGRP} with ${EXTEN:5} and dialstatus ${DI                                             ALSTATUS})
exten => _FMGL-.,n,Hangup()
exten => _FMGL-.,n+10(dodnd),DBDel(FM/DND/${FMGRP}/${FMUNIQUE})
exten => _FMGL-.,n,GotoIf($["${FMPRIME}" = "FALSE"]?dodial)
exten => _FMGL-.,n,Noop(Got DND in FMGL ${FMGRP} with ${EXTEN:5} in ${RingGroupM                                             ethod} mode, aborting)
exten => _FMGL-.,n,Hangup()

;------------------------------------------------------------------------
; [block-cf]
;------------------------------------------------------------------------
; This context is set as a target with FORWARD_CONTEXT when Call Forwarding is s                                             et to be
; ignored in a ringgroup or other features that may take advantage of this. Serv                                             er side
; CF is done in dialparties.agi but if a client device forwards a call, it will                                              be caught
; and blocked here.
;------------------------------------------------------------------------
[block-cf]
exten => _X.,1,Noop(Blocking callforward to ${EXTEN} because CF is blocked)
exten => _X.,n,Hangup()

;------------------------------------------------------------------------


;this is where parked calls go if they time-out.  Should probably re-ring
[default]
include => ext-local
exten => s,1,Playback(vm-goodbye)
exten => s,2,Macro(hangupcall)
exten => _9.,1,Dial(DAHDI/1/${EXT},45)
exten => s,1,Dial,Zap/1

chan_dahdi.conf

[trunkgroups]

[channels]
context=from-pstn
busydetect=yes
busycount=6
signalling=fxs_ks
rxwink=300		; Atlas seems to use long (250ms) winks
usecallerid=yes
hidecallerid=no
callwaiting=yes
usecallingpres=yes
callwaitingcallerid=yes
threewaycalling=yes
transfer=yes
canpark=yes
cancallforward=yes
callreturn=yes
echocancel=yes
echocancelwhenbridged=no
faxdetect=incoming
echotraining=800
rxgain=0.0
txgain=0.0
callgroup=1
pickupgroup=1

;Uncomment these lines if you have problems with the disconection of your analog lines


immediate=no

#include dahdi-channels.conf
#include chan_dahdi_additional.conf

DAHDI-CHANNELS.CONF

[code]; Autogenerated by /usr/sbin/dahdi_genconf on Wed Jun 1 16:30:08 2011
; If you edit this file and execute /usr/sbin/dahdi_genconf again,
; your manual changes will be LOST.
; Dahdi Channels Configurations (chan_dahdi.conf)
;
; This is not intended to be a complete chan_dahdi.conf. Rather, it is intended
; to be #include-d by /etc/chan_dahdi.conf that will include the global settings
;

; Span 1: WCFXO/0 “Wildcard X100P Board 1” (MASTER)
;;; line="1 WCFXO/0/0"
signalling=fxs_ks
callerid=asreceived
callerid=
group=
context=default
context=from-pstn
group=0
channel => 1[/code]

This system is running freepbx?
Because the extensions.conf look likes freepbx or trixbox or elastix, in this case in your WEBGUI, define a DAHDI trunk in the trunk section. Use in your case “g0” and define the context to "from-pstn

Then in the outbound routes section, create rules to dialout and use the previous trunk has you created (g0).

[quote=“navaismo”]This system is running freepbx?
Because the extensions.conf look likes freepbx or trixbox or elastix, in this case in your WEBGUI, define a DAHDI trunk in the trunk section. Use in your case “g0” and define the context to "from-pstn

Then in the outbound routes section, create rules to dialout and use the previous trunk has you created (g0).[/quote]

Yes i’m running elastix, the dahdi trunk and de outbound route are created by default with these parameters

---------------------------------------------

ZAP Trunk (DAHDI compatibility Mode)
---------------------------------------------
Trunk Description: ZAP Channel g0 
Outbound Caller ID: 9_outside
CID Options: Allow any CID
Maximum Channels: 1
Outgoing Dial Rules:
Dial Rules: 
Dial Rules Wizards: 
Outbound Dial Prefix: 
Outgoing Settings
Zap Identifier (trunk name): 1
OutBound Route
-------------------

Route Name: 9_outside 

Route CID:


Route Password:

PIN Set:

Emergency Dialing:

Intra Company Route:

Music On Hold?

Dial Patterns:  9|.


Dial patterns wizards:  

Trunk Sequence zap/g0

thank you very much for your help :]

Ok, now please show us the console output when you dialout.

Here the output


    -- Executing [9242424@from-internal:1] Macro("SIP/3001-00000002", "user-callerid,SKIPTTL,") in new stack
    -- Executing [s@macro-user-callerid:1] Set("SIP/3001-00000002", "AMPUSER=3001") in new stack
    -- Executing [s@macro-user-callerid:2] GotoIf("SIP/3001-00000002", "0?report") in new stack
    -- Executing [s@macro-user-callerid:3] ExecIf("SIP/3001-00000002", "1?Set(REALCALLERIDNUM=3001)") in new stack
    -- Executing [s@macro-user-callerid:4] Set("SIP/3001-00000002", "AMPUSER=3001") in new stack
    -- Executing [s@macro-user-callerid:5] Set("SIP/3001-00000002", "AMPUSERCIDNAME=central") in new stack
    -- Executing [s@macro-user-callerid:6] GotoIf("SIP/3001-00000002", "0?report") in new stack
    -- Executing [s@macro-user-callerid:7] Set("SIP/3001-00000002", "AMPUSERCID=3001") in new stack
    -- Executing [s@macro-user-callerid:8] Set("SIP/3001-00000002", "CALLERID(all)="central" <3001>") in new stack
    -- Executing [s@macro-user-callerid:9] ExecIf("SIP/3001-00000002", "0?Set(CHANNEL(language)=)") in new stack
    -- Executing [s@macro-user-callerid:10] GotoIf("SIP/3001-00000002", "1?continue") in new stack
    -- Goto (macro-user-callerid,s,19)
    -- Executing [s@macro-user-callerid:19] NoOp("SIP/3001-00000002", "Using CallerID "central" <3001>") in new stack
    -- Executing [9242424@from-internal:2] ExecIf("SIP/3001-00000002", "1?Set(TRUNKCIDOVERRIDE=427095)") in new stack
    -- Executing [9242424@from-internal:3] Set("SIP/3001-00000002", "_NODEST=") in new stack
    -- Executing [9242424@from-internal:4] Macro("SIP/3001-00000002", "record-enable,3001,OUT,") in new stack
    -- Executing [s@macro-record-enable:1] GotoIf("SIP/3001-00000002", "1?check") in new stack
    -- Goto (macro-record-enable,s,4)
    -- Executing [s@macro-record-enable:4] ExecIf("SIP/3001-00000002", "0?MacroExit()") in new stack
    -- Executing [s@macro-record-enable:5] GotoIf("SIP/3001-00000002", "0?Group:OUT") in new stack
    -- Goto (macro-record-enable,s,15)
    -- Executing [s@macro-record-enable:15] GotoIf("SIP/3001-00000002", "0?IN") in new stack
    -- Executing [s@macro-record-enable:16] ExecIf("SIP/3001-00000002", "1?MacroExit()") in new stack
    -- Executing [9242424@from-internal:5] Macro("SIP/3001-00000002", "dialout-trunk,2,242424,,") in new stack
    -- Executing [s@macro-dialout-trunk:1] Set("SIP/3001-00000002", "DIAL_TRUNK=2") in new stack
    -- Executing [s@macro-dialout-trunk:2] GosubIf("SIP/3001-00000002", "0?sub-pincheck,s,1") in new stack
    -- Executing [s@macro-dialout-trunk:3] GotoIf("SIP/3001-00000002", "0?disabletrunk,1") in new stack
    -- Executing [s@macro-dialout-trunk:4] Set("SIP/3001-00000002", "DIAL_NUMBER=242424") in new stack
    -- Executing [s@macro-dialout-trunk:5] Set("SIP/3001-00000002", "DIAL_TRUNK_OPTIONS=tr") in new stack
    -- Executing [s@macro-dialout-trunk:6] Set("SIP/3001-00000002", "OUTBOUND_GROUP=OUT_2") in new stack
    -- Executing [s@macro-dialout-trunk:7] GotoIf("SIP/3001-00000002", "0?nomax") in new stack
    -- Executing [s@macro-dialout-trunk:8] GotoIf("SIP/3001-00000002", "0?chanfull") in new stack
    -- Executing [s@macro-dialout-trunk:9] GotoIf("SIP/3001-00000002", "0?skipoutcid") in new stack
    -- Executing [s@macro-dialout-trunk:10] Set("SIP/3001-00000002", "DIAL_TRUNK_OPTIONS=") in new stack
    -- Executing [s@macro-dialout-trunk:11] Macro("SIP/3001-00000002", "outbound-callerid,2") in new stack
    -- Executing [s@macro-outbound-callerid:1] ExecIf("SIP/3001-00000002", "0?Set(CALLERPRES()=)") in new stack
    -- Executing [s@macro-outbound-callerid:2] ExecIf("SIP/3001-00000002", "0?Set(REALCALLERIDNUM=3001)") in new stack
    -- Executing [s@macro-outbound-callerid:3] GotoIf("SIP/3001-00000002", "1?normcid") in new stack
    -- Goto (macro-outbound-callerid,s,6)
    -- Executing [s@macro-outbound-callerid:6] Set("SIP/3001-00000002", "USEROUTCID=") in new stack
    -- Executing [s@macro-outbound-callerid:7] Set("SIP/3001-00000002", "EMERGENCYCID=") in new stack
    -- Executing [s@macro-outbound-callerid:8] Set("SIP/3001-00000002", "TRUNKOUTCID=9_outside") in new stack
    -- Executing [s@macro-outbound-callerid:9] GotoIf("SIP/3001-00000002", "1?trunkcid") in new stack
    -- Goto (macro-outbound-callerid,s,12)
    -- Executing [s@macro-outbound-callerid:12] ExecIf("SIP/3001-00000002", "1?Set(CALLERID(all)=9_outside)") in new stack
    -- Executing [s@macro-outbound-callerid:13] ExecIf("SIP/3001-00000002", "0?Set(CALLERID(all)=)") in new stack
    -- Executing [s@macro-outbound-callerid:14] ExecIf("SIP/3001-00000002", "1?Set(CALLERID(all)=427095)") in new stack
    -- Executing [s@macro-outbound-callerid:15] ExecIf("SIP/3001-00000002", "0?Set(CALLERPRES()=prohib_passed_screen)") in new stack
    -- Executing [s@macro-dialout-trunk:12] ExecIf("SIP/3001-00000002", "0?AGI(fixlocalprefix)") in new stack
    -- Executing [s@macro-dialout-trunk:13] Set("SIP/3001-00000002", "OUTNUM=242424") in new stack
    -- Executing [s@macro-dialout-trunk:14] Set("SIP/3001-00000002", "custom=DAHDI/g0") in new stack
    -- Executing [s@macro-dialout-trunk:15] ExecIf("SIP/3001-00000002", "0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^))") in new stack
    -- Executing [s@macro-dialout-trunk:16] Macro("SIP/3001-00000002", "dialout-trunk-predial-hook,") in new stack
    -- Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit("SIP/3001-00000002", "") in new stack
    -- Executing [s@macro-dialout-trunk:17] GotoIf("SIP/3001-00000002", "0?bypass,1") in new stack
    -- Executing [s@macro-dialout-trunk:18] GotoIf("SIP/3001-00000002", "0?customtrunk") in new stack
    -- Executing [s@macro-dialout-trunk:19] Dial("SIP/3001-00000002", "DAHDI/g0/242424,300,") in new stack
    -- Called g0/242424

In the last line you can see the system calling dahdi:

But no more code below that line please add all code. Note that your outbound route expect a 9 and then any digits, the nine will be removed cause the rule is “9|.” Asterisk will remove the digits behind the pipe in this case 9, and the period means any digits with any lenght.

So if your complete number is 9242424 you should dial 99242424. And try to define a better matching rule.

Now do the same for an incoming call! The original question wasn’t about outgoing calls!

O_o I missunderstood everithing, damn! My mistake spidfer.

O_o I missunderstood everithing, damn! My mistake spidfer.[/quote]

my question is about outgoing and incoming calls thanks for your answers, the number is 242424. I am using zoiper, to start the call is dialing state, after 1 minute the state is wainting for answer but no answer. Some idea?

For the outgoing call try with originate from CLI

originate dahdi/1/242424 extension yourextension@from-internal

Show us the cli output too. Your analog line work if you connect a normal PHONE? Work without dial prefix?

Also try with this changes in the chan_dahdi.conf:

[code][trunkgroups]

[channels]
context=from-pstn
busydetect=yes
busycount=6
signalling=fxs_ks
;rxwink=300 ; Atlas seems to use long (250ms) winks
usecallerid=yes
hidecallerid=no
callwaiting=yes
usecallingpres=yes
callwaitingcallerid=yes
threewaycalling=yes
transfer=yes
canpark=yes
cancallforward=yes
callreturn=yes
echocancel=yes
echocancelwhenbridged=no
faxdetect=incoming
echotraining=800
rxgain=0.0
txgain=0.0
callgroup=0
pickupgroup=1
dahdichan=1

;Uncomment these lines if you have problems with the disconection of your analog lines
immediate=no

;#include dahdi-channels.conf
;#include chan_dahdi_additional.conf[/code]

Note, the includes lines are commented and added the dahdichan parameter.
You need to restart with amportal stop or amportal kill, then amportal start.

[quote=“navaismo”]For the outgoing call try with originate from CLI

originate dahdi/1/242424 extension yourextension@from-internal

Show us the cli output too. Your analog line work if you connect a normal PHONE? Work without dial prefix?

Also try with this changes in the chan_dahdi.conf:

[code][trunkgroups]

[channels]
context=from-pstn
busydetect=yes
busycount=6
signalling=fxs_ks
;rxwink=300 ; Atlas seems to use long (250ms) winks
usecallerid=yes
hidecallerid=no
callwaiting=yes
usecallingpres=yes
callwaitingcallerid=yes
threewaycalling=yes
transfer=yes
canpark=yes
cancallforward=yes
callreturn=yes
echocancel=yes
echocancelwhenbridged=no
faxdetect=incoming
echotraining=800
rxgain=0.0
txgain=0.0
callgroup=0
pickupgroup=1
dahdichan=1

;Uncomment these lines if you have problems with the disconection of your analog lines
immediate=no

;#include dahdi-channels.conf
;#include chan_dahdi_additional.conf[/code]

Note, the includes lines are commented and added the dahdichan parameter.
You need to restart with amportal stop or amportal kill, then amportal start.[/quote]

After at least 10 second the output of originate is:

-- Hungup 'DAHDI/1-1' -- Remote UNIX connection -- Remote UNIX connection disconnected

I can not even make external calls -_-

Thanks!

HI,

Please show us the output for this: dahdi_hardware and then lsdahdi this in the linux command line.
Then please make another outbound call whn the call hangup search in the full log the number dialed,i.e: If you dialed 242424 search: cat /var/log/asterisk/full | grep 242424. You will see many lines at the beginning you will see the date and the hour then the word i.e: VERBOSE[8963] now search those numbers (cat /var/log/asterisk/full | grep 8963 )and attach the complete output.

And show us the cli when you make an incoming call.

[quote=“navaismo”]HI,

Please show us the output for this: dahdi_hardware and then lsdahdi this in the linux command line.
Then please make another outbound call whn the call hangup search in the full log the number dialed,i.e: If you dialed 242424 search: cat /var/log/asterisk/full | grep 242424. You will see many lines at the beginning you will see the date and the hour then the word i.e: VERBOSE[8963] now search those numbers (cat /var/log/asterisk/full | grep 8963 )and attach the complete output.

And show us the cli when you make an incoming call.[/quote]

Hi
Sorry for the delay and thanks you for your support navaismo :smiley:

Here

dahdi_hardware

pci:0000:07:02.0     wcfxo+       1057:5608 Wildcard X100P

lsdahdi

### Span 1: WCFXO/0 "Wildcard X100P Board 1" (MASTER) 1 FXO FXSKS (In use) (SWEC: OSLEC) (battery)

cat /var/log/asterisk/full | grep 3680

[Jun 2 16:02:56] VERBOSE[3009] pbx.c: -- Registered extension context 'app-fmf-toggle' (0xa423680) in local table 0xa392d10; registrar: pbx_config [Jun 2 16:02:56] VERBOSE[3009] pbx.c: -- Added extension 'sstate' priority 8 to app-fmf-toggle (0xa423680) [Jun 2 16:02:56] VERBOSE[3009] pbx.c: -- Added extension 'sstate' priority 7 to app-fmf-toggle (0xa423680) [Jun 2 16:02:56] VERBOSE[3009] pbx.c: -- Added extension 'sstate' priority 6 to app-fmf-toggle (0xa423680) [Jun 2 16:02:56] VERBOSE[3009] pbx.c: -- Added extension 'sstate' priority 5 to app-fmf-toggle (0xa423680) [Jun 2 16:02:56] VERBOSE[3009] pbx.c: -- Added extension 'sstate' priority 4 to app-fmf-toggle (0xa423680) [Jun 2 16:02:56] VERBOSE[3009] pbx.c: -- Added extension 'sstate' priority 3 to app-fmf-toggle (0xa423680) [Jun 2 16:02:56] VERBOSE[3009] pbx.c: -- Added extension 'sstate' priority 2 to app-fmf-toggle (0xa423680) [Jun 2 16:02:56] VERBOSE[3009] pbx.c: -- Added extension 'sstate' priority 1 to app-fmf-toggle (0xa423680) [Jun 2 16:02:56] VERBOSE[3009] pbx.c: -- Added extension 's' priority 15 to app-fmf-toggle (0xa423680) [Jun 2 16:02:56] VERBOSE[3009] pbx.c: -- Added extension 's' priority 14 to app-fmf-toggle (0xa423680) [Jun 2 16:02:56] VERBOSE[3009] pbx.c: -- Added extension 's' priority 13 to app-fmf-toggle (0xa423680) [Jun 2 16:02:56] VERBOSE[3009] pbx.c: -- Added extension 's' priority 12 to app-fmf-toggle (0xa423680) [Jun 2 16:02:56] VERBOSE[3009] pbx.c: -- Added extension 's' priority 11 to app-fmf-toggle (0xa423680) [Jun 2 16:02:56] VERBOSE[3009] pbx.c: -- Added extension 's' priority 10 to app-fmf-toggle (0xa423680) [Jun 2 16:02:56] VERBOSE[3009] pbx.c: -- Added extension 's' priority 9 to app-fmf-toggle (0xa423680) [Jun 2 16:02:56] VERBOSE[3009] pbx.c: -- Added extension 's' priority 8 to app-fmf-toggle (0xa423680) [Jun 2 16:02:56] VERBOSE[3009] pbx.c: -- Added extension 's' priority 7 to app-fmf-toggle (0xa423680) [Jun 2 16:02:56] VERBOSE[3009] pbx.c: -- Added extension 's' priority 6 to app-fmf-toggle (0xa423680) [Jun 2 16:02:56] VERBOSE[3009] pbx.c: -- Added extension 's' priority 5 to app-fmf-toggle (0xa423680) [Jun 2 16:02:56] VERBOSE[3009] pbx.c: -- Added extension 's' priority 4 to app-fmf-toggle (0xa423680) [Jun 2 16:02:56] VERBOSE[3009] pbx.c: -- Added extension 's' priority 3 to app-fmf-toggle (0xa423680) [Jun 2 16:02:56] VERBOSE[3009] pbx.c: -- Added extension 's' priority 2 to app-fmf-toggle (0xa423680) [Jun 2 16:02:56] VERBOSE[3009] pbx.c: -- Added extension 's' priority 1 to app-fmf-toggle (0xa423680) [Jun 2 16:02:56] VERBOSE[3009] pbx.c: -- Added extension '*21' priority 1 to app-fmf-toggle (0xa423680) [Jun 2 22:50:01] VERBOSE[3680] asterisk.c: -- Remote UNIX connection disconnected [Jun 3 11:01:01] VERBOSE[3675] pbx.c: -- Registered extension context 'from-did-direct' (0x8f23680) in local table 0xb7d6d230; registrar: pbx_config [Jun 8 12:49:11] VERBOSE[3435] pbx.c: -- Registered extension context 'from-pstn' (0xb7bc3680) in local table 0xb7be2a60; registrar: pbx_config [Jun 8 13:11:44] VERBOSE[3362] pbx.c: -- Registered extension context 'gabcast' (0xb7073680) in local table 0x9a51a60; registrar: pbx_config [Jun 8 13:11:44] VERBOSE[3362] pbx.c: -- Added extension 's' priority 1 to gabcast (0xb7073680) [Jun 8 13:11:44] VERBOSE[3362] pbx.c: -- Added extension '_X.' priority 1 to gabcast (0xb7073680) [Jun 22 14:14:28] VERBOSE[3680] pbx.c: -- Executing [9242424@from-internal:1] Macro("SIP/3001-00000001", "user-callerid,SKIPTTL,") in new stack [Jun 22 14:14:28] VERBOSE[3680] pbx.c: -- Executing [s@macro-user-callerid:1] Set("SIP/3001-00000001", "AMPUSER=3001") in new stack [Jun 22 14:14:28] VERBOSE[3680] pbx.c: -- Executing [s@macro-user-callerid:2] GotoIf("SIP/3001-00000001", "0?report") in new stack [Jun 22 14:14:28] VERBOSE[3680] pbx.c: -- Executing [s@macro-user-callerid:3] ExecIf("SIP/3001-00000001", "1?Set(REALCALLERIDNUM=3001)") in new stack [Jun 22 14:14:28] VERBOSE[3680] pbx.c: -- Executing [s@macro-user-callerid:4] Set("SIP/3001-00000001", "AMPUSER=3001") in new stack [Jun 22 14:14:28] VERBOSE[3680] pbx.c: -- Executing [s@macro-user-callerid:5] Set("SIP/3001-00000001", "AMPUSERCIDNAME=central") in new stack [Jun 22 14:14:28] VERBOSE[3680] pbx.c: -- Executing [s@macro-user-callerid:6] GotoIf("SIP/3001-00000001", "0?report") in new stack [Jun 22 14:14:28] VERBOSE[3680] pbx.c: -- Executing [s@macro-user-callerid:7] Set("SIP/3001-00000001", "AMPUSERCID=3001") in new stack [Jun 22 14:14:28] VERBOSE[3680] pbx.c: -- Executing [s@macro-user-callerid:8] Set("SIP/3001-00000001", "CALLERID(all)="central" <3001>") in new stack [Jun 22 14:14:28] VERBOSE[3680] pbx.c: -- Executing [s@macro-user-callerid:9] ExecIf("SIP/3001-00000001", "0?Set(CHANNEL(language)=)") in new stack [Jun 22 14:14:28] VERBOSE[3680] pbx.c: -- Executing [s@macro-user-callerid:10] GotoIf("SIP/3001-00000001", "1?continue") in new stack [Jun 22 14:14:28] VERBOSE[3680] pbx.c: -- Goto (macro-user-callerid,s,19) [Jun 22 14:14:28] VERBOSE[3680] pbx.c: -- Executing [s@macro-user-callerid:19] NoOp("SIP/3001-00000001", "Using CallerID "central" <3001>") in new stack [Jun 22 14:14:28] WARNING[3680] pbx.c: Can't find trailing parenthesis for function 'LEN('? [Jun 22 14:14:28] WARNING[3680] pbx.c: Can't find trailing parenthesis for function 'LEN('? [Jun 22 14:14:28] VERBOSE[3680] pbx.c: -- Executing [9242424@from-internal:2] ExecIf("SIP/3001-00000001", "1?Set(TRUNKCIDOVERRIDE=427095)") in new stack [Jun 22 14:14:28] VERBOSE[3680] pbx.c: -- Executing [9242424@from-internal:3] Set("SIP/3001-00000001", "_NODEST=") in new stack [Jun 22 14:14:28] VERBOSE[3680] pbx.c: -- Executing [9242424@from-internal:4] Macro("SIP/3001-00000001", "record-enable,3001,OUT,") in new stack [Jun 22 14:14:28] VERBOSE[3680] pbx.c: -- Executing [s@macro-record-enable:1] GotoIf("SIP/3001-00000001", "1?check") in new stack [Jun 22 14:14:28] VERBOSE[3680] pbx.c: -- Goto (macro-record-enable,s,4) [Jun 22 14:14:28] VERBOSE[3680] pbx.c: -- Executing [s@macro-record-enable:4] ExecIf("SIP/3001-00000001", "0?MacroExit()") in new stack [Jun 22 14:14:28] VERBOSE[3680] pbx.c: -- Executing [s@macro-record-enable:5] GotoIf("SIP/3001-00000001", "0?Group:OUT") in new stack [Jun 22 14:14:28] VERBOSE[3680] pbx.c: -- Goto (macro-record-enable,s,15) [Jun 22 14:14:28] VERBOSE[3680] pbx.c: -- Executing [s@macro-record-enable:15] GotoIf("SIP/3001-00000001", "0?IN") in new stack [Jun 22 14:14:28] VERBOSE[3680] pbx.c: -- Executing [s@macro-record-enable:16] ExecIf("SIP/3001-00000001", "1?MacroExit()") in new stack [Jun 22 14:14:28] VERBOSE[3680] pbx.c: -- Executing [9242424@from-internal:5] Macro("SIP/3001-00000001", "dialout-trunk,2,242424,,") in new stack [Jun 22 14:14:28] VERBOSE[3680] pbx.c: -- Executing [s@macro-dialout-trunk:1] Set("SIP/3001-00000001", "DIAL_TRUNK=2") in new stack [Jun 22 14:14:28] VERBOSE[3680] pbx.c: -- Executing [s@macro-dialout-trunk:2] GosubIf("SIP/3001-00000001", "0?sub-pincheck,s,1") in new stack [Jun 22 14:14:28] VERBOSE[3680] pbx.c: -- Executing [s@macro-dialout-trunk:3] GotoIf("SIP/3001-00000001", "0?disabletrunk,1") in new stack [Jun 22 14:14:28] VERBOSE[3680] pbx.c: -- Executing [s@macro-dialout-trunk:4] Set("SIP/3001-00000001", "DIAL_NUMBER=242424") in new stack [Jun 22 14:14:28] VERBOSE[3680] pbx.c: -- Executing [s@macro-dialout-trunk:5] Set("SIP/3001-00000001", "DIAL_TRUNK_OPTIONS=tr") in new stack [Jun 22 14:14:28] VERBOSE[3680] pbx.c: -- Executing [s@macro-dialout-trunk:6] Set("SIP/3001-00000001", "OUTBOUND_GROUP=OUT_2") in new stack [Jun 22 14:14:28] VERBOSE[3680] pbx.c: -- Executing [s@macro-dialout-trunk:7] GotoIf("SIP/3001-00000001", "0?nomax") in new stack [Jun 22 14:14:28] VERBOSE[3680] pbx.c: -- Executing [s@macro-dialout-trunk:8] GotoIf("SIP/3001-00000001", "0?chanfull") in new stack [Jun 22 14:14:28] VERBOSE[3680] pbx.c: -- Executing [s@macro-dialout-trunk:9] GotoIf("SIP/3001-00000001", "0?skipoutcid") in new stack [Jun 22 14:14:28] VERBOSE[3680] pbx.c: -- Executing [s@macro-dialout-trunk:10] Set("SIP/3001-00000001", "DIAL_TRUNK_OPTIONS=") in new stack [Jun 22 14:14:28] VERBOSE[3680] pbx.c: -- Executing [s@macro-dialout-trunk:11] Macro("SIP/3001-00000001", "outbound-callerid,2") in new stack [Jun 22 14:14:28] VERBOSE[3680] pbx.c: -- Executing [s@macro-outbound-callerid:1] ExecIf("SIP/3001-00000001", "0?Set(CALLERPRES()=)") in new stack [Jun 22 14:14:28] VERBOSE[3680] pbx.c: -- Executing [s@macro-outbound-callerid:2] ExecIf("SIP/3001-00000001", "0?Set(REALCALLERIDNUM=3001)") in new stack [Jun 22 14:14:28] VERBOSE[3680] pbx.c: -- Executing [s@macro-outbound-callerid:3] GotoIf("SIP/3001-00000001", "1?normcid") in new stack [Jun 22 14:14:28] VERBOSE[3680] pbx.c: -- Goto (macro-outbound-callerid,s,6) [Jun 22 14:14:28] VERBOSE[3680] pbx.c: -- Executing [s@macro-outbound-callerid:6] Set("SIP/3001-00000001", "USEROUTCID=") in new stack [Jun 22 14:14:28] VERBOSE[3680] pbx.c: -- Executing [s@macro-outbound-callerid:7] Set("SIP/3001-00000001", "EMERGENCYCID=") in new stack [Jun 22 14:14:28] VERBOSE[3680] pbx.c: -- Executing [s@macro-outbound-callerid:8] Set("SIP/3001-00000001", "TRUNKOUTCID=9_outside") in new stack [Jun 22 14:14:28] VERBOSE[3680] pbx.c: -- Executing [s@macro-outbound-callerid:9] GotoIf("SIP/3001-00000001", "1?trunkcid") in new stack [Jun 22 14:14:28] VERBOSE[3680] pbx.c: -- Goto (macro-outbound-callerid,s,12) [Jun 22 14:14:28] VERBOSE[3680] pbx.c: -- Executing [s@macro-outbound-callerid:12] ExecIf("SIP/3001-00000001", "1?Set(CALLERID(all)=9_outside)") in new stack [Jun 22 14:14:28] VERBOSE[3680] pbx.c: -- Executing [s@macro-outbound-callerid:13] ExecIf("SIP/3001-00000001", "0?Set(CALLERID(all)=)") in new stack [Jun 22 14:14:28] VERBOSE[3680] pbx.c: -- Executing [s@macro-outbound-callerid:14] ExecIf("SIP/3001-00000001", "1?Set(CALLERID(all)=427095)") in new stack [Jun 22 14:14:28] VERBOSE[3680] pbx.c: -- Executing [s@macro-outbound-callerid:15] ExecIf("SIP/3001-00000001", "0?Set(CALLERPRES()=prohib_passed_screen)") in new stack [Jun 22 14:14:28] VERBOSE[3680] pbx.c: -- Executing [s@macro-dialout-trunk:12] ExecIf("SIP/3001-00000001", "0?AGI(fixlocalprefix)") in new stack [Jun 22 14:14:28] VERBOSE[3680] pbx.c: -- Executing [s@macro-dialout-trunk:13] Set("SIP/3001-00000001", "OUTNUM=242424") in new stack [Jun 22 14:14:28] VERBOSE[3680] pbx.c: -- Executing [s@macro-dialout-trunk:14] Set("SIP/3001-00000001", "custom=DAHDI/g0") in new stack [Jun 22 14:14:28] VERBOSE[3680] pbx.c: -- Executing [s@macro-dialout-trunk:15] ExecIf("SIP/3001-00000001", "0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^))") in new stack [Jun 22 14:14:28] VERBOSE[3680] pbx.c: -- Executing [s@macro-dialout-trunk:16] Macro("SIP/3001-00000001", "dialout-trunk-predial-hook,") in new stack [Jun 22 14:14:28] VERBOSE[3680] pbx.c: -- Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit("SIP/3001-00000001", "") in new stack [Jun 22 14:14:28] VERBOSE[3680] pbx.c: -- Executing [s@macro-dialout-trunk:17] GotoIf("SIP/3001-00000001", "0?bypass,1") in new stack [Jun 22 14:14:28] VERBOSE[3680] pbx.c: -- Executing [s@macro-dialout-trunk:18] GotoIf("SIP/3001-00000001", "0?customtrunk") in new stack [Jun 22 14:14:28] VERBOSE[3680] pbx.c: -- Executing [s@macro-dialout-trunk:19] Dial("SIP/3001-00000001", "DAHDI/g0/242424,300,") in new stack [Jun 22 14:14:28] WARNING[3680] app_dial.c: Unable to create channel of type 'DAHDI' (cause 0 - Unknown) [Jun 22 14:14:28] VERBOSE[3680] app_dial.c: == Everyone is busy/congested at this time (1:0/0/1) [Jun 22 14:14:28] VERBOSE[3680] pbx.c: -- Executing [s@macro-dialout-trunk:20] NoOp("SIP/3001-00000001", "Dial failed for some reason with DIALSTATUS = CHANUNAVAIL and HANGUPCAUSE = 0") in new stack [Jun 22 14:14:28] VERBOSE[3680] pbx.c: -- Executing [s@macro-dialout-trunk:21] Goto("SIP/3001-00000001", "s-CHANUNAVAIL,1") in new stack [Jun 22 14:14:28] VERBOSE[3680] pbx.c: -- Goto (macro-dialout-trunk,s-CHANUNAVAIL,1) [Jun 22 14:14:28] VERBOSE[3680] pbx.c: -- Executing [s-CHANUNAVAIL@macro-dialout-trunk:1] Set("SIP/3001-00000001", "RC=0") in new stack [Jun 22 14:14:28] VERBOSE[3680] pbx.c: -- Executing [s-CHANUNAVAIL@macro-dialout-trunk:2] Goto("SIP/3001-00000001", "0,1") in new stack [Jun 22 14:14:28] VERBOSE[3680] pbx.c: -- Goto (macro-dialout-trunk,0,1) [Jun 22 14:14:28] VERBOSE[3680] pbx.c: -- Executing [0@macro-dialout-trunk:1] Goto("SIP/3001-00000001", "continue,1") in new stack [Jun 22 14:14:28] VERBOSE[3680] pbx.c: -- Goto (macro-dialout-trunk,continue,1) [Jun 22 14:14:28] VERBOSE[3680] pbx.c: -- Executing [continue@macro-dialout-trunk:1] GotoIf("SIP/3001-00000001", "1?noreport") in new stack [Jun 22 14:14:28] VERBOSE[3680] pbx.c: -- Goto (macro-dialout-trunk,continue,3) [Jun 22 14:14:28] VERBOSE[3680] pbx.c: -- Executing [continue@macro-dialout-trunk:3] NoOp("SIP/3001-00000001", "TRUNK Dial failed due to CHANUNAVAIL HANGUPCAUSE: 0 - failing through to other trunks") in new stack [Jun 22 14:14:28] VERBOSE[3680] pbx.c: -- Executing [continue@macro-dialout-trunk:4] Set("SIP/3001-00000001", "CALLERID(number)=3001") in new stack [Jun 22 14:14:28] VERBOSE[3680] pbx.c: -- Executing [9242424@from-internal:6] Macro("SIP/3001-00000001", "dialout-trunk,1,242424,,") in new stack [Jun 22 14:14:28] VERBOSE[3680] pbx.c: -- Executing [s@macro-dialout-trunk:1] Set("SIP/3001-00000001", "DIAL_TRUNK=1") in new stack [Jun 22 14:14:28] VERBOSE[3680] pbx.c: -- Executing [s@macro-dialout-trunk:2] GosubIf("SIP/3001-00000001", "0?sub-pincheck,s,1") in new stack [Jun 22 14:14:28] VERBOSE[3680] pbx.c: -- Executing [s@macro-dialout-trunk:3] GotoIf("SIP/3001-00000001", "0?disabletrunk,1") in new stack [Jun 22 14:14:28] VERBOSE[3680] pbx.c: -- Executing [s@macro-dialout-trunk:4] Set("SIP/3001-00000001", "DIAL_NUMBER=242424") in new stack [Jun 22 14:14:28] VERBOSE[3680] pbx.c: -- Executing [s@macro-dialout-trunk:5] Set("SIP/3001-00000001", "DIAL_TRUNK_OPTIONS=tr") in new stack [Jun 22 14:14:28] VERBOSE[3680] pbx.c: -- Executing [s@macro-dialout-trunk:6] Set("SIP/3001-00000001", "OUTBOUND_GROUP=OUT_1") in new stack [Jun 22 14:14:28] VERBOSE[3680] pbx.c: -- Executing [s@macro-dialout-trunk:7] GotoIf("SIP/3001-00000001", "0?nomax") in new stack [Jun 22 14:14:28] VERBOSE[3680] pbx.c: -- Executing [s@macro-dialout-trunk:8] GotoIf("SIP/3001-00000001", "0?chanfull") in new stack [Jun 22 14:14:28] VERBOSE[3680] pbx.c: -- Executing [s@macro-dialout-trunk:9] GotoIf("SIP/3001-00000001", "0?skipoutcid") in new stack [Jun 22 14:14:28] VERBOSE[3680] pbx.c: -- Executing [s@macro-dialout-trunk:10] Set("SIP/3001-00000001", "DIAL_TRUNK_OPTIONS=") in new stack [Jun 22 14:14:28] VERBOSE[3680] pbx.c: -- Executing [s@macro-dialout-trunk:11] Macro("SIP/3001-00000001", "outbound-callerid,1") in new stack [Jun 22 14:14:28] VERBOSE[3680] pbx.c: -- Executing [s@macro-outbound-callerid:1] ExecIf("SIP/3001-00000001", "0?Set(CALLERPRES()=)") in new stack [Jun 22 14:14:28] VERBOSE[3680] pbx.c: -- Executing [s@macro-outbound-callerid:2] ExecIf("SIP/3001-00000001", "0?Set(REALCALLERIDNUM=3001)") in new stack [Jun 22 14:14:28] VERBOSE[3680] pbx.c: -- Executing [s@macro-outbound-callerid:3] GotoIf("SIP/3001-00000001", "1?normcid") in new stack [Jun 22 14:14:28] VERBOSE[3680] pbx.c: -- Goto (macro-outbound-callerid,s,6) [Jun 22 14:14:28] VERBOSE[3680] pbx.c: -- Executing [s@macro-outbound-callerid:6] Set("SIP/3001-00000001", "USEROUTCID=") in new stack [Jun 22 14:14:28] VERBOSE[3680] pbx.c: -- Executing [s@macro-outbound-callerid:7] Set("SIP/3001-00000001", "EMERGENCYCID=") in new stack [Jun 22 14:14:28] VERBOSE[3680] pbx.c: -- Executing [s@macro-outbound-callerid:8] Set("SIP/3001-00000001", "TRUNKOUTCID=9_outside") in new stack [Jun 22 14:14:28] VERBOSE[3680] pbx.c: -- Executing [s@macro-outbound-callerid:9] GotoIf("SIP/3001-00000001", "1?trunkcid") in new stack [Jun 22 14:14:28] VERBOSE[3680] pbx.c: -- Goto (macro-outbound-callerid,s,12) [Jun 22 14:14:28] VERBOSE[3680] pbx.c: -- Executing [s@macro-outbound-callerid:12] ExecIf("SIP/3001-00000001", "1?Set(CALLERID(all)=9_outside)") in new stack [Jun 22 14:14:28] VERBOSE[3680] pbx.c: -- Executing [s@macro-outbound-callerid:13] ExecIf("SIP/3001-00000001", "0?Set(CALLERID(all)=)") in new stack [Jun 22 14:14:28] VERBOSE[3680] pbx.c: -- Executing [s@macro-outbound-callerid:14] ExecIf("SIP/3001-00000001", "1?Set(CALLERID(all)=427095)") in new stack [Jun 22 14:14:28] VERBOSE[3680] pbx.c: -- Executing [s@macro-outbound-callerid:15] ExecIf("SIP/3001-00000001", "0?Set(CALLERPRES()=prohib_passed_screen)") in new stack [Jun 22 14:14:28] VERBOSE[3680] pbx.c: -- Executing [s@macro-dialout-trunk:12] ExecIf("SIP/3001-00000001", "0?AGI(fixlocalprefix)") in new stack [Jun 22 14:14:28] VERBOSE[3680] pbx.c: -- Executing [s@macro-dialout-trunk:13] Set("SIP/3001-00000001", "OUTNUM=242424") in new stack [Jun 22 14:14:28] VERBOSE[3680] pbx.c: -- Executing [s@macro-dialout-trunk:14] Set("SIP/3001-00000001", "custom=DAHDI/1") in new stack [Jun 22 14:14:28] VERBOSE[3680] pbx.c: -- Executing [s@macro-dialout-trunk:15] ExecIf("SIP/3001-00000001", "0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^))") in new stack [Jun 22 14:14:28] VERBOSE[3680] pbx.c: -- Executing [s@macro-dialout-trunk:16] Macro("SIP/3001-00000001", "dialout-trunk-predial-hook,") in new stack [Jun 22 14:14:28] VERBOSE[3680] pbx.c: -- Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit("SIP/3001-00000001", "") in new stack [Jun 22 14:14:28] VERBOSE[3680] pbx.c: -- Executing [s@macro-dialout-trunk:17] GotoIf("SIP/3001-00000001", "0?bypass,1") in new stack [Jun 22 14:14:28] VERBOSE[3680] pbx.c: -- Executing [s@macro-dialout-trunk:18] GotoIf("SIP/3001-00000001", "0?customtrunk") in new stack [Jun 22 14:14:28] VERBOSE[3680] pbx.c: -- Executing [s@macro-dialout-trunk:19] Dial("SIP/3001-00000001", "DAHDI/1/242424,300,") in new stack [Jun 22 14:14:28] VERBOSE[3680] app_dial.c: -- Called 1/242424

Thanks! :smile:

Hi in your log I can see this. The first trunk failed to reach the dahdi channel:

Executing [s@macro-dialout-trunk:19] Dial("SIP/3001-00000001", "DAHDI/g0/242424,300,") in new stack [Jun 22 14:14:28] WARNING[3680] app_dial.c: Unable to create channel of type 'DAHDI' (cause 0 - Unknown) [Jun 22 14:14:28] VERBOSE[3680] app_dial.c: == Everyone is busy/congested at this time (1:0/0/1) [Jun 22 14:14:28] VERBOSE[3680] pbx.c: -- Executing [s@macro-dialout-trunk:20] NoOp("SIP/3001-00000001", "Dial failed for some reason with DIALSTATUS = CHANUNAVAIL and HANGUPCAUSE = 0") in new stack

Then the system try to reach the channel with the other defined trunk, but once the system call the dahdi channel, the channel never answer or the output is truncated:

[Jun 22 14:14:28] VERBOSE[3680] pbx.c: -- Executing [s@macro-dialout-trunk:19] Dial("SIP/3001-00000001", "DAHDI/1/242424,300,") in new stack [Jun 22 14:14:28] VERBOSE[3680] app_dial.c: -- Called 1/242424

Generally the output is like this:

[Jun 22 15:00:22] VERBOSE[12588] app_dial.c: -- Called G1/53736619 [Jun 22 15:00:25] VERBOSE[12588] app_dial.c: -- DAHDI/31-1 is ringing [Jun 22 15:00:33] VERBOSE[12588] app_dial.c: -- DAHDI/31-1 answered SIP/1814-0000c719

If you paste all the log the system never send you a ringing state and never answer. Is the latest version of elastix? Can you update the dahdi drivers?