[asterisk-r2] cannot make outgoing call

Moises Silva moises.silva at gmail.com
Mon Dec 1 09:34:52 CST 2008


seize timeout means the other end is not responding to our request.

If you have a PBX in the other end check its settings. If you have the
telco in the other end call them.

On Mon, Dec 1, 2008 at 6:37 AM, Melcon Moraes <melcon at gmail.com> wrote:
> Hi Emerson,
>
> Would you please pastebin your logs. It's pretty hard to follow
> because of line wrapping.
>
> http://pastebin.ca for instance.
>
> -MM
>
> On Mon, Dec 1, 2008 at 7:37 AM, Emerson M. <pbxeqinfo at gmail.com> wrote:
>> Hi Everyone,
>>
>> Last week I have reported that I have successfully configured OpenR2
>> in Philippines with Trixbox but before I could backup my settings some
>> curious tech tried to run genzaptelconf and messed up everything
>> again. Anyway, incoming call is ok now, but outgoing calls are making
>> my head spin again. It's giving me "SEIZE TIMEOUT". Any ideas? Here's
>> the log:
>>
>> [Dec  1 15:59:58] DEBUG[31691]: app_macro.c:337 _macro_exec: Executed
>> application: GotoIf
>>    -- Executing [s at macro-outbound-callerid:17]
>> GotoIf("SIP/5861998-095bb0f0", "0?usercid") in new stack
>> [Dec  1 15:59:58] DEBUG[31691]: app_macro.c:337 _macro_exec: Executed
>> application: GotoIf
>>    -- Executing [s at macro-outbound-callerid:18]
>> Set("SIP/5861998-095bb0f0", "CALLERID(all)=hidden") in new stack
>> [Dec  1 15:59:58] DEBUG[31691]: app_macro.c:337 _macro_exec: Executed
>> application: Set
>>    -- Executing [s at macro-outbound-callerid:19]
>> GotoIf("SIP/5861998-095bb0f0", "0?report") in new stack
>> [Dec  1 15:59:58] DEBUG[31691]: app_macro.c:337 _macro_exec: Executed
>> application: GotoIf
>>    -- Executing [s at macro-outbound-callerid:20]
>> Set("SIP/5861998-095bb0f0", "CALLERID(all)=0425861998") in new stack
>> [Dec  1 15:59:58] DEBUG[31691]: app_macro.c:337 _macro_exec: Executed
>> application: Set
>>    -- Executing [s at macro-outbound-callerid:21]
>> GotoIf("SIP/5861998-095bb0f0", "1?report:hidecid") in new stack
>>    -- Goto (macro-outbound-callerid,s,23)
>> [Dec  1 15:59:58] DEBUG[31691]: app_macro.c:337 _macro_exec: Executed
>> application: GotoIf
>>    -- Executing [s at macro-outbound-callerid:23]
>> NoOp("SIP/5861998-095bb0f0", "CallerID set to "" <0425861998>") in new
>> stack
>> [Dec  1 15:59:58] DEBUG[31691]: app_macro.c:337 _macro_exec: Executed
>> application: Noop
>> [Dec  1 15:59:58] DEBUG[31691]: app_macro.c:337 _macro_exec: Executed
>> application: Macro
>>    -- Executing [s at macro-dialout-trunk:12]
>> AGI("SIP/5861998-095bb0f0", "fixlocalprefix") in new stack
>>    -- Launched AGI Script /var/lib/asterisk/agi-bin/fixlocalprefix
>>    -- AGI Script fixlocalprefix completed, returning 0
>> [Dec  1 15:59:58] DEBUG[31691]: app_macro.c:337 _macro_exec: Executed
>> application: AGI
>>    -- Executing [s at macro-dialout-trunk:13]
>> Set("SIP/5861998-095bb0f0", "OUTNUM=5855007") in new stack
>> [Dec  1 15:59:58] DEBUG[31691]: app_macro.c:337 _macro_exec: Executed
>> application: Set
>>    -- Executing [s at macro-dialout-trunk:14]
>> Set("SIP/5861998-095bb0f0", "custom=ZAP/g0") in new stack
>> [Dec  1 15:59:58] DEBUG[31691]: app_macro.c:337 _macro_exec: Executed
>> application: Set
>>    -- Executing [s at macro-dialout-trunk:15]
>> GotoIf("SIP/5861998-095bb0f0", "1?gocall") in new stack
>>    -- Goto (macro-dialout-trunk,s,17)
>> [Dec  1 15:59:58] DEBUG[31691]: app_macro.c:337 _macro_exec: Executed
>> application: GotoIf
>>    -- Executing [s at macro-dialout-trunk:17]
>> Macro("SIP/5861998-095bb0f0", "dialout-trunk-predial-hook|") in new
>> stack
>> [Dec  1 15:59:58] WARNING[31691]: app_macro.c:214 _macro_exec: Context
>> 'macro-dialout-trunk-predial-hook' for macro
>> 'dialout-trunk-predial-hook' lacks 's' extension, priority 1
>> [Dec  1 15:59:58] DEBUG[31691]: app_macro.c:337 _macro_exec: Executed
>> application: Macro
>>    -- Executing [s at macro-dialout-trunk:18]
>> GotoIf("SIP/5861998-095bb0f0", "0?bypass|1") in new stack
>> [Dec  1 15:59:58] DEBUG[31691]: app_macro.c:337 _macro_exec: Executed
>> application: GotoIf
>>    -- Executing [s at macro-dialout-trunk:19]
>> GotoIf("SIP/5861998-095bb0f0", "0?customtrunk") in new stack
>> [Dec  1 15:59:58] DEBUG[31691]: app_macro.c:337 _macro_exec: Executed
>> application: GotoIf
>>    -- Executing [s at macro-dialout-trunk:20]
>> Dial("SIP/5861998-095bb0f0", "ZAP/g0/5855007|300|") in new stack
>> [Dec  1 15:59:58] DEBUG[31691]: chan_dahdi.c:956
>> dahdi_r2_get_channel_category: no MFC/R2 category specified for chan
>> Zap/1-1, using default National Subscriber
>> [Dec  1 15:59:58] DEBUG[31691]: chan_dahdi.c:1225 dahdi_r2_write_log:
>> Chan 1 - Attempting to make call (ANI=0425861998, DNIS=5855007,
>> category=National Subscriber)
>> [Dec  1 15:59:58] DEBUG[31691]: chan_dahdi.c:1225 dahdi_r2_write_log:
>> Chan 1 - Call started at Mon Dec  1 15:59:58 2008 on chan 1
>> [Dec  1 15:59:58] DEBUG[31691]: chan_dahdi.c:1225 dahdi_r2_write_log:
>> Chan 1 - CAS Tx >> [SEIZE] 0x00
>> [Dec  1 15:59:58] DEBUG[31691]: chan_dahdi.c:1225 dahdi_r2_write_log:
>> Chan 1 - CAS Raw Tx >> 0x01
>>    -- Called g0/5855007
>> [Dec  1 16:00:06] DEBUG[31691]: chan_dahdi.c:1225 dahdi_r2_write_log:
>> Chan 1 - calling timer callback
>> [Dec  1 16:00:06] WARNING[31691]: chan_dahdi.c:1215
>> dahdi_r2_write_log: Chan 1 - Seize Timeout Expired!
>> [Dec  1 16:00:06] ERROR[31691]: chan_dahdi.c:1218 dahdi_r2_write_log:
>> Chan 1 - Protocol error. Reason = Seize Timeout, R2 State = Seize
>> Transmitted, MF state = MF Engine Off, MF Group = Forward MF init, CAS
>> = 0x08
>> DNIS = 5855007, ANI = 0425861998, MF = 0x20
>> [Dec  1 16:00:06] DEBUG[31691]: chan_dahdi.c:1225 dahdi_r2_write_log:
>> Chan 1 - CAS Tx >> [IDLE] 0x08
>> [Dec  1 16:00:06] DEBUG[31691]: chan_dahdi.c:1225 dahdi_r2_write_log:
>> Chan 1 - CAS Raw Tx >> 0x09
>> [Dec  1 16:00:06] ERROR[31691]: chan_dahdi.c:1028
>> dahdi_r2_on_protocol_error: MFC/R2 protocol error on chan 1: Seize
>> Timeout
>> [Dec  1 16:00:06] DEBUG[31691]: chan_dahdi.c:3186 dahdi_hangup:
>> disconnecting MFC/R2 call on chan 1
>>    -- Hungup 'Zap/1-1'
>>  == Everyone is busy/congested at this time (1:0/0/1)
>>
>> _______________________________________________
>> --Bandwidth and Colocation Provided by http://www.api-digital.com--
>>
>> asterisk-r2 mailing list
>> To UNSUBSCRIBE or update options visit:
>>   http://lists.digium.com/mailman/listinfo/asterisk-r2
>>
>
> _______________________________________________
> --Bandwidth and Colocation Provided by http://www.api-digital.com--
>
> asterisk-r2 mailing list
> To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-r2
>



-- 
"I do not agree with what you have to say, but I'll defend to the
death your right to say it." Voltaire



More information about the asterisk-r2 mailing list