FollowMe, RingGroups external Numbers not working

Discussion in 'General' started by biker, Jul 23, 2009.

  1. biker

    Joined:
    Jul 23, 2009
    Messages:
    2
    Likes Received:
    0
    Hi,

    when I add an external number to a FollowMe or RingGroup, asterisk does not dial this number, ...

    I only have one outbound route (Dial pattern 0.) via sip trunk.
    call forwarding from extensions is working, ...

    Below is the part of the log file, ...

    any hint would be great, ...


    [Jul 23 10:57:42] VERBOSE[29733] logger.c: -- Executing [431555555513@from-trunk:1] Set("SIP/sip.account-c8014640", "__FROM_DID=431555555513") in new stack
    [Jul 23 10:57:42] VERBOSE[29733] logger.c: -- Executing [431555555513@from-trunk:2] Gosub("SIP/sip.account-c8014640", "app-blacklist-check|s|1") in new stack
    [Jul 23 10:57:42] VERBOSE[29733] logger.c: -- Executing [s@app-blacklist-check:1] LookupBlacklist("SIP/sip.account-c8014640", "") in new stack
    [Jul 23 10:57:42] VERBOSE[29733] logger.c: -- Executing [s@app-blacklist-check:2] GotoIf("SIP/sip.account-c8014640", "0?blacklisted") in new stack
    [Jul 23 10:57:42] VERBOSE[29733] logger.c: -- Executing [s@app-blacklist-check:3] Return("SIP/sip.account-c8014640", "") in new stack
    [Jul 23 10:57:42] VERBOSE[29733] logger.c: -- Executing [431555555513@from-trunk:3] ExecIf("SIP/sip.account-c8014640", "0 |Set|CALLERID(name)=06767777777") in new stack
    [Jul 23 10:57:42] VERBOSE[29733] logger.c: -- Executing [431555555513@from-trunk:4] Set("SIP/sip.account-c8014640", "__CALLINGPRES_SV=allowed_not_screened") in new stack
    [Jul 23 10:57:42] VERBOSE[29733] logger.c: -- Executing [431555555513@from-trunk:5] SetCallerPres("SIP/sip.account-c8014640", "allowed_not_screened") in new stack
    [Jul 23 10:57:42] VERBOSE[29733] logger.c: -- Executing [431555555513@from-trunk:6] Goto("SIP/sip.account-c8014640", "ext-group|13|1") in new stack
    [Jul 23 10:57:42] VERBOSE[29733] logger.c: -- Goto (ext-group,13,1)
    [Jul 23 10:57:42] VERBOSE[29733] logger.c: -- Executing [13@ext-group:1] Macro("SIP/sip.account-c8014640", "user-callerid|") in new stack
    [Jul 23 10:57:42] VERBOSE[29733] logger.c: -- Executing [s@macro-user-callerid:1] Set("SIP/sip.account-c8014640", "AMPUSER=06767777777") in new stack
    [Jul 23 10:57:42] DEBUG[29733] app_macro.c: Executed application: Set
    [Jul 23 10:57:42] VERBOSE[29733] logger.c: -- Executing [s@macro-user-callerid:2] GotoIf("SIP/sip.account-c8014640", "0?report") in new stack
    [Jul 23 10:57:42] DEBUG[29733] app_macro.c: Executed application: GotoIf
    [Jul 23 10:57:42] VERBOSE[29733] logger.c: -- Executing [s@macro-user-callerid:3] ExecIf("SIP/sip.account-c8014640", "1|Set|REALCALLERIDNUM=06767777777") in new stack
    [Jul 23 10:57:42] DEBUG[29733] app_macro.c: Executed application: ExecIf
    [Jul 23 10:57:42] DEBUG[29733] func_db.c: DB: DEVICE/06767777777/user not found in database.
    [Jul 23 10:57:42] VERBOSE[29733] logger.c: -- Executing [s@macro-user-callerid:4] Set("SIP/sip.account-c8014640", "AMPUSER=") in new stack
    [Jul 23 10:57:42] DEBUG[29733] app_macro.c: Executed application: Set
    [Jul 23 10:57:42] DEBUG[29733] func_db.c: DB: AMPUSER//cidname not found in database.
    [Jul 23 10:57:42] VERBOSE[29733] logger.c: -- Executing [s@macro-user-callerid:5] Set("SIP/sip.account-c8014640", "AMPUSERCIDNAME=") in new stack
    [Jul 23 10:57:42] DEBUG[29733] app_macro.c: Executed application: Set
    [Jul 23 10:57:42] VERBOSE[29733] logger.c: -- Executing [s@macro-user-callerid:6] GotoIf("SIP/sip.account-c8014640", "1?report") in new stack
    [Jul 23 10:57:42] VERBOSE[29733] logger.c: -- Goto (macro-user-callerid,s,11)
    [Jul 23 10:57:42] DEBUG[29733] app_macro.c: Executed application: GotoIf
    [Jul 23 10:57:42] VERBOSE[29733] logger.c: -- Executing [s@macro-user-callerid:11] GotoIf("SIP/sip.account-c8014640", "0?continue") in new stack
    [Jul 23 10:57:42] DEBUG[29733] app_macro.c: Executed application: GotoIf
    [Jul 23 10:57:42] VERBOSE[29733] logger.c: -- Executing [s@macro-user-callerid:12] Set("SIP/sip.account-c8014640", "__TTL=64") in new stack
    [Jul 23 10:57:42] DEBUG[29733] app_macro.c: Executed application: Set
    [Jul 23 10:57:42] VERBOSE[29733] logger.c: -- Executing [s@macro-user-callerid:13] GotoIf("SIP/sip.account-c8014640", "1?continue") in new stack
    [Jul 23 10:57:42] VERBOSE[29733] logger.c: -- Goto (macro-user-callerid,s,20)
    [Jul 23 10:57:42] DEBUG[29733] app_macro.c: Executed application: GotoIf
    [Jul 23 10:57:42] VERBOSE[29733] logger.c: -- Executing [s@macro-user-callerid:20] NoOp("SIP/sip.account-c8014640", "Using CallerID "06767777777" <06767777777>") in new stack
    [Jul 23 10:57:42] DEBUG[29733] app_macro.c: Executed application: Noop
    [Jul 23 10:57:42] VERBOSE[29733] logger.c: -- Executing [13@ext-group:2] GotoIf("SIP/sip.account-c8014640", "1?skipdb") in new stack
    [Jul 23 10:57:42] VERBOSE[29733] logger.c: -- Goto (ext-group,13,4)
    [Jul 23 10:57:42] VERBOSE[29733] logger.c: -- Executing [13@ext-group:4] Set("SIP/sip.account-c8014640", "__NODEST=") in new stack
    [Jul 23 10:57:42] VERBOSE[29733] logger.c: -- Executing [13@ext-group:5] Set("SIP/sip.account-c8014640", "__BLKVM_OVERRIDE=BLKVM/13/SIP/sip.account-c8014640") in new stack
    [Jul 23 10:57:42] VERBOSE[29733] logger.c: -- Executing [13@ext-group:6] Set("SIP/sip.account-c8014640", "__BLKVM_BASE=13") in new stack
    [Jul 23 10:57:42] VERBOSE[29733] logger.c: -- Executing [13@ext-group:7] Set("SIP/sip.account-c8014640", "DB(BLKVM/13/SIP/sip.account-c8014640)=TRUE") in new stack
    [Jul 23 10:57:42] VERBOSE[29733] logger.c: -- Executing [13@ext-group:8] Set("SIP/sip.account-c8014640", "RRNODEST=") in new stack
    [Jul 23 10:57:42] VERBOSE[29733] logger.c: -- Executing [13@ext-group:9] Set("SIP/sip.account-c8014640", "__NODEST=13") in new stack
    [Jul 23 10:57:42] VERBOSE[29733] logger.c: -- Executing [13@ext-group:10] Set("SIP/sip.account-c8014640", "RecordMethod=Group") in new stack
    [Jul 23 10:57:42] VERBOSE[29733] logger.c: -- Executing [13@ext-group:11] Macro("SIP/sip.account-c8014640", "record-enable|06641111111|Group") in new stack
    [Jul 23 10:57:42] VERBOSE[29733] logger.c: -- Executing [s@macro-record-enable:1] GotoIf("SIP/sip.account-c8014640", "1?check") in new stack
    [Jul 23 10:57:42] VERBOSE[29733] logger.c: -- Goto (macro-record-enable,s,4)
    [Jul 23 10:57:42] DEBUG[29733] app_macro.c: Executed application: GotoIf
    [Jul 23 10:57:42] VERBOSE[29733] logger.c: -- Executing [s@macro-record-enable:4] AGI("SIP/sip.account-c8014640", "recordingcheck|20090723-105742|1248339462.12153") in new stack
    [Jul 23 10:57:42] VERBOSE[29733] logger.c: -- Launched AGI Script /var/lib/asterisk/agi-bin/recordingcheck
    [Jul 23 10:57:42] VERBOSE[29733] logger.c: recordingcheck|20090723-105742|1248339462.12153: No DB Entry AMPUSER/06641111111/recording - Not Recording for 06641111111, checking for others
    [Jul 23 10:57:42] VERBOSE[29733] logger.c: -- AGI Script recordingcheck completed, returning 0
    [Jul 23 10:57:42] DEBUG[29733] app_macro.c: Executed application: AGI
    [Jul 23 10:57:42] VERBOSE[29733] logger.c: -- Executing [s@macro-record-enable:5] MacroExit("SIP/sip.account-c8014640", "") in new stack
    [Jul 23 10:57:42] VERBOSE[29733] logger.c: -- Executing [13@ext-group:12] Set("SIP/sip.account-c8014640", "RingGroupMethod=ringall") in new stack
    [Jul 23 10:57:42] VERBOSE[29733] logger.c: -- Executing [13@ext-group:13] Macro("SIP/sip.account-c8014640", "dial|20|tr|06641111111") in new stack
    [Jul 23 10:57:42] VERBOSE[29733] logger.c: -- Executing [s@macro-dial:1] GotoIf("SIP/sip.account-c8014640", "1?dial") in new stack
    [Jul 23 10:57:42] VERBOSE[29733] logger.c: -- Goto (macro-dial,s,3)
    [Jul 23 10:57:42] DEBUG[29733] app_macro.c: Executed application: GotoIf
    [Jul 23 10:57:42] VERBOSE[29733] logger.c: -- Executing [s@macro-dial:3] AGI("SIP/sip.account-c8014640", "dialparties.agi") in new stack
    [Jul 23 10:57:42] VERBOSE[29733] logger.c: -- Launched AGI Script /var/lib/asterisk/agi-bin/dialparties.agi
    [Jul 23 10:57:42] VERBOSE[29733] logger.c: dialparties.agi: Starting New Dialparties.agi
    [Jul 23 10:57:42] VERBOSE[29736] logger.c: == Parsing '/etc/asterisk/manager.conf': [Jul 23 10:57:42] VERBOSE[29736] logger.c: Found
    [Jul 23 10:57:42] VERBOSE[29736] logger.c: == Parsing '/etc/asterisk/manager_additional.conf': [Jul 23 10:57:42] VERBOSE[29736] logger.c: Found
    [Jul 23 10:57:42] VERBOSE[29736] logger.c: == Parsing '/etc/asterisk/manager_custom.conf': [Jul 23 10:57:42] VERBOSE[29736] logger.c: Found
    [Jul 23 10:57:42] VERBOSE[29736] logger.c: == Manager 'admin' logged on from 127.0.0.1
    [Jul 23 10:57:42] VERBOSE[29733] logger.c: dialparties.agi: Caller ID name is '06767777777' number is '06767777777'
    [Jul 23 10:57:42] VERBOSE[29733] logger.c: dialparties.agi: Methodology of ring is 'ringall'
    [Jul 23 10:57:42] VERBOSE[29733] logger.c: -- dialparties.agi: Added extension 06641111111 to extension map
    [Jul 23 10:57:42] VERBOSE[29733] logger.c: -- dialparties.agi: Extension 06641111111 cf is disabled
    [Jul 23 10:57:42] VERBOSE[29733] logger.c: -- dialparties.agi: Extension 06641111111 do not disturb is disabled
    [Jul 23 10:57:42] VERBOSE[29733] logger.c: dialparties.agi: Extension 06641111111 has ExtensionState: -1
    [Jul 23 10:57:42] VERBOSE[29733] logger.c: -- dialparties.agi: Checking CW and CFB status for extension 06641111111
    [Jul 23 10:57:42] VERBOSE[29733] logger.c: -- dialparties.agi: dbset CALLTRACE/06641111111 to 06767777777
    [Jul 23 10:57:42] VERBOSE[29733] logger.c: -- dialparties.agi: Filtered ARG3: 06641111111
    [Jul 23 10:57:42] VERBOSE[29733] logger.c: dialparties.agi: Setting default NOANSWER DIALSTATUS since no extensions available
    [Jul 23 10:57:42] VERBOSE[29736] logger.c: == Manager 'admin' logged off from 127.0.0.1
    [Jul 23 10:57:42] VERBOSE[29733] logger.c: -- AGI Script dialparties.agi completed, returning 0
    [Jul 23 10:57:42] DEBUG[29733] app_macro.c: Executed application: AGI
    [Jul 23 10:57:42] VERBOSE[29733] logger.c: -- Executing [s@macro-dial:4] NoOp("SIP/sip.account-c8014640", "Returned from dialparties with no extensions to call and DIALSTATUS: NOANSWER") in new stack
    [Jul 23 10:57:42] DEBUG[29733] app_macro.c: Executed application: NoOp
    [Jul 23 10:57:42] VERBOSE[29733] logger.c: -- Executing [13@ext-group:14] Set("SIP/sip.account-c8014640", "RingGroupMethod=") in new stack
    [Jul 23 10:57:42] VERBOSE[29733] logger.c: -- Executing [13@ext-group:15] GotoIf("SIP/sip.account-c8014640", "0?nodest") in new stack
    [Jul 23 10:57:42] VERBOSE[29733] logger.c: -- Executing [13@ext-group:16] Set("SIP/sip.account-c8014640", "__NODEST=") in new stack
    [Jul 23 10:57:42] VERBOSE[29733] logger.c: -- Executing [13@ext-group:17] DBdel("SIP/sip.account-c8014640", "BLKVM/13/SIP/sip.account-c8014640") in new stack
    [Jul 23 10:57:42] VERBOSE[29733] logger.c: -- DBdel: family=BLKVM, key=13/SIP/sip.account-c8014640
    [Jul 23 10:57:42] VERBOSE[29733] logger.c: -- Executing [13@ext-group:18] Hangup("SIP/sip.account-c8014640", "") in new stack
    [Jul 23 10:57:42] VERBOSE[29733] logger.c: == Spawn extension (ext-group, 13, 18) exited non-zero on 'SIP/sip.account-c8014640'
     
  2. rejil.rajan

    Joined:
    Apr 8, 2007
    Messages:
    154
    Likes Received:
    0
    Please can you show how are you adding the extenrnal number

    It should be 0 < Number>#
     
  3. biker

    Joined:
    Jul 23, 2009
    Messages:
    2
    Likes Received:
    0
    many thx, ...

    the # at the end of the number is the solution
     

Share This Page