Could somebody help me on this issue?
Everything is working, I can do dial out through Dahdi for my E1 Trunks, but have not success for my FXO Trunk.
Here some debug to show up, so maybe someone has a clue on what could be happening.
I have done full recompile for libpri, dahdi, openr2, asterisk.
- Code: Select all
[Jan 11 11:31:39] DEBUG[3259] pbx.c: Launching 'Dial'
[Jan 11 11:31:39] VERBOSE[3259] logger.c: [Jan 11 11:31:39] -- Executing [1532074123@default:1] Dial("SIP/cc100-00000001", "DAHDI/8/1532074123||To") in new stack
[Jan 11 11:31:39] DEBUG[3259] chan_dahdi.c: Using channel 8
[Jan 11 11:31:39] DEBUG[3259] rtp.c: Channel 'DAHDI/8-1' has no RTP, not doing anything
[Jan 11 11:31:39] DEBUG[3259] channel.c: Not copying variable DIALEDTIME.
[Jan 11 11:31:39] DEBUG[3259] channel.c: Not copying variable ANSWEREDTIME.
[Jan 11 11:31:39] DEBUG[3259] channel.c: Not copying variable DIALEDPEERNAME.
[Jan 11 11:31:39] DEBUG[3259] channel.c: Not copying variable DIALEDPEERNUMBER.
[Jan 11 11:31:39] DEBUG[3259] channel.c: Not copying variable DIALSTATUS.
[Jan 11 11:31:39] DEBUG[3259] channel.c: Not copying variable SIPCALLID.
[Jan 11 11:31:39] DEBUG[3259] channel.c: Not copying variable SIPDOMAIN.
[Jan 11 11:31:39] DEBUG[3259] channel.c: Not copying variable SIPURI.
[Jan 11 11:31:39] DEBUG[3259] chan_dahdi.c: Dialing '1532074123'
[Jan 11 11:31:39] DEBUG[3259] chan_dahdi.c: Deferring dialing... (res -1)
[Jan 11 11:31:39] DEBUG[3259] devicestate.c: Notification of state change to be queued on device/channel DAHDI/8
[Jan 11 11:31:39] VERBOSE[3259] logger.c: [Jan 11 11:31:39] -- Called 8/1532074123
[Jan 11 11:31:39] DEBUG[3259] chan_dahdi.c: Exception on 55, channel 8
[Jan 11 11:31:39] DEBUG[3259] chan_dahdi.c: Got event Hook Transition Complete(12) on channel 8 (index 0)
[Jan 11 11:31:39] DEBUG[3259] chan_dahdi.c: Sent deferred digit string: T153207412
[Jan 11 11:31:41] DEBUG[3259] chan_dahdi.c: Exception on 55, channel 8
[Jan 11 11:31:41] DEBUG[3259] chan_dahdi.c: Got event Dial Complete(9) on channel 8 (index 0)
[Jan 11 11:31:41] DEBUG[3259] chan_dahdi.c: Enabled echo cancellation on channel 8
[Jan 11 11:31:41] DEBUG[3259] chan_dahdi.c: Engaged echo training on channel 8
[Jan 11 11:31:43] DEBUG[3259] chan_dahdi.c: Exception on 55, channel 8
[Jan 11 11:31:43] DEBUG[3259] chan_dahdi.c: Got event Dial Complete(9) on channel 8 (index 0)
[Jan 11 11:31:43] DEBUG[3259] chan_dahdi.c: Echo cancellation already on
[Jan 11 11:31:43] DEBUG[3259] chan_sip.c: Setting framing from config on incoming call
[Jan 11 11:31:43] DEBUG[3259] chan_sip.c: ** Our capability: 0x6 (gsm|ulaw) Video flag: True
[Jan 11 11:31:43] DEBUG[3259] chan_sip.c: ** Our prefcodec: 0x0 (nothing)
[Jan 11 11:31:43] DEBUG[3259] chan_sip.c: -- Done with adding codecs to SDP
[Jan 11 11:31:43] DEBUG[3259] channel.c: Internal timing is disabled (option_internal_timing=0 chan->timingfd=67)
[Jan 11 11:31:43] DEBUG[3259] chan_sip.c: Done building SDP. Settling with this capability: 0x6 (gsm|ulaw)
[Jan 11 11:31:43] DEBUG[3259] rtp.c: Got RTCP report of 52 bytes
[Jan 11 11:31:43] DEBUG[3259] rtp.c: Ooh, format changed from unknown to ulaw
[Jan 11 11:31:43] DEBUG[3259] rtp.c: Created smoother: format: 4 ms: 20 len: 160
[Jan 11 11:31:50] DEBUG[3259] rtp.c: Got RTCP report of 96 bytes
[Jan 11 11:31:57] DEBUG[3259] rtp.c: Got RTCP report of 96 bytes
[Jan 11 11:31:58] DEBUG[3259] rtp.c: Channel '<unspecified>' has no RTP, not doing anything
[Jan 11 11:31:58] DEBUG[3259] channel.c: Hanging up channel 'DAHDI/8-1'
[Jan 11 11:31:58] DEBUG[3259] chan_dahdi.c: dahdi_hangup(DAHDI/8-1)
[Jan 11 11:31:58] DEBUG[3259] chan_dahdi.c: Hangup: channel: 8 index = 0, normal = 55, callwait = -1, thirdcall = -1
[Jan 11 11:31:58] DEBUG[3259] chan_dahdi.c: disabled echo cancellation on channel 8
[Jan 11 11:31:58] DEBUG[3259] chan_dahdi.c: Set option TDD MODE, value: OFF(0) on DAHDI/8-1
[Jan 11 11:31:58] DEBUG[3259] chan_dahdi.c: Updated conferencing on 8, with 0 conference users
[Jan 11 11:31:58] VERBOSE[3259] logger.c: [Jan 11 11:31:58] -- Hungup 'DAHDI/8-1'
[Jan 11 11:31:58] DEBUG[3259] devicestate.c: Notification of state change to be queued on device/channel DAHDI/8
[Jan 11 11:31:58] DEBUG[3259] app_dial.c: Exiting with DIALSTATUS=CANCEL.
[Jan 11 11:31:58] DEBUG[3259] pbx.c: Spawn extension (default,1532074123,1) exited non-zero on 'SIP/cc100-00000001'
[Jan 11 11:31:58] VERBOSE[3259] logger.c: [Jan 11 11:31:58] == Spawn extension (default, 1532074123, 1) exited non-zero on 'SIP/cc100-00000001'
[Jan 11 11:31:58] DEBUG[3259] channel.c: Soft-Hanging up channel 'SIP/cc100-00000001'
[Jan 11 11:31:58] DEBUG[3259] pbx.c: Launching 'DeadAGI'
[Jan 11 11:31:58] VERBOSE[3259] logger.c: [Jan 11 11:31:58] -- Executing [h@default:1] DeadAGI("SIP/cc100-00000001", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----0-----CANCEL----------") in new stack
[Jan 11 11:31:58] DEBUG[3259] res_agi.c: Wow, connected!
[Jan 11 11:31:58] VERBOSE[3259] logger.c: [Jan 11 11:31:58] -- AGI Script agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----0-----CANCEL---------- completed, returning 0
[Jan 11 11:31:58] DEBUG[3259] channel.c: Hanging up channel 'SIP/cc100-00000001'
[Jan 11 11:31:58] DEBUG[3259] chan_sip.c: Hangup call SIP/cc100-00000001, SIP callid d8d8444c-08ff-4cbd-80cc-b7c044d03027)
[Jan 11 11:31:58] DEBUG[3259] chan_sip.c: Hanging up channel in state Ring (not UP)
[Jan 11 11:31:58] DEBUG[3259] devicestate.c: Notification of state change to be queued on device/channel SIP/cc100
I wonder if the "Sent deferred digit string: T153207412" with the last phone digit missing could be a reason for call not dialing out. I'm not sure.
Thanks guys.