Dialing fails with error

I’m getting all lines are busy message, log output below:

 -- Executing [735803@from-internal:1] Macro("SIP/201-0000001c", "user-callerid,LIMIT,EXTERNAL,") in new stack
    -- Executing [s@macro-user-callerid:1] Set("SIP/201-0000001c", "TOUCH_MONITOR=1556004689.28") in new stack
    -- Executing [s@macro-user-callerid:2] Set("SIP/201-0000001c", "AMPUSER=201") in new stack
    -- Executing [s@macro-user-callerid:3] GotoIf("SIP/201-0000001c", "0?report") in new stack
    -- Executing [s@macro-user-callerid:4] ExecIf("SIP/201-0000001c", "1?Set(REALCALLERIDNUM=201)") in new stack
    -- Executing [s@macro-user-callerid:5] Set("SIP/201-0000001c", "AMPUSER=201") in new stack
    -- Executing [s@macro-user-callerid:6] GotoIf("SIP/201-0000001c", "0?limit") in new stack
    -- Executing [s@macro-user-callerid:7] Set("SIP/201-0000001c", "AMPUSERCIDNAME=Transfers") in new stack
    -- Executing [s@macro-user-callerid:8] ExecIf("SIP/201-0000001c", "0?Set(__CIDMASQUERADING=TRUE)") in new stack
    -- Executing [s@macro-user-callerid:9] GotoIf("SIP/201-0000001c", "0?report") in new stack
    -- Executing [s@macro-user-callerid:10] Set("SIP/201-0000001c", "AMPUSERCID=201") in new stack
    -- Executing [s@macro-user-callerid:11] Set("SIP/201-0000001c", "__DIAL_OPTIONS=HhTtr") in new stack
    -- Executing [s@macro-user-callerid:12] Set("SIP/201-0000001c", "CALLERID(all)="Transfers" <201>") in new stack
**[2019-04-23 10:31:29] WARNING[1494][C-0000000b]: ast_expr2.fl:470 ast_yyerror: ast_yyerror():  syntax error: syntax error, unexpected '>', expecting '-' or '!' or '(' or '<token>'; Input:**
**"LIMIT"="LIMIT" & 3 & 0 & >0 & 0>=**
**                          ^**
**[2019-04-23 10:31:29] WARNING[1494][C-0000000b]: ast_expr2.fl:474 ast_yyerror: If you have questions, please refer to https://wiki.asterisk.org/wiki/display/AST/Channel+Variables**
    -- Executing [s@macro-user-callerid:13] GotoIf("SIP/201-0000001c", "0?limit") in new stack
    -- Executing [s@macro-user-callerid:14] ExecIf("SIP/201-0000001c", "1?Set(GROUP(concurrency_limit)=201)") in new stack
    -- Executing [s@macro-user-callerid:15] ExecIf("SIP/201-0000001c", "0?Set(CHANNEL(language)=)") in new stack
    -- Executing [s@macro-user-callerid:16] NoOp("SIP/201-0000001c", "Macro Depth is 1") in new stack
    -- Executing [s@macro-user-callerid:17] GotoIf("SIP/201-0000001c", "1?report2:macroerror") in new stack
    -- Goto (macro-user-callerid,s,18)
    -- Executing [s@macro-user-callerid:18] GotoIf("SIP/201-0000001c", "1?continue") in new stack
    -- Goto (macro-user-callerid,s,37)
    -- Executing [s@macro-user-callerid:37] Set("SIP/201-0000001c", "CALLERID(number)=201") in new stack
    -- Executing [s@macro-user-callerid:38] Set("SIP/201-0000001c", "CALLERID(name)=Transfers") in new stack
    -- Executing [s@macro-user-callerid:39] GotoIf("SIP/201-0000001c", "0?cnum") in new stack
    -- Executing [s@macro-user-callerid:40] Set("SIP/201-0000001c", "CDR(cnam)=Transfers") in new stack
    -- Executing [s@macro-user-callerid:41] Set("SIP/201-0000001c", "CDR(cnum)=201") in new stack
    -- Executing [s@macro-user-callerid:42] Set("SIP/201-0000001c", "CHANNEL(language)=gr") in new stack

Any ideas?

There is more to the call trace than what you’ve provided.

Check your quotes on this debug line. Make sure the CID is set correctly in the original config element.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.