Inbound CID Lost In IVR

Discussion in 'General' started by mstopkey, Jul 21, 2009.

  1. mstopkey

    Joined:
    Mar 4, 2009
    Messages:
    26
    Likes Received:
    0
    Greetings all. My team is implementing 1.5.2 64 Bit as an answering service solution. The problem. We have a client with 186 locations, we must answer the phone (Thank you for calling XYZ or ABC location management). I have a DID per location with CID name prefix assigned per DID. This works fine when sending the route straight to the answering queue. But, when we send the route through the IVR, then the queue, the CID name prefix is lost.

    Any suggestions? Or should I be doing this a different way?


    Mark Stopkey
     
  2. jgutierrez

    Joined:
    Feb 28, 2008
    Messages:
    5,737
    Likes Received:
    0
    Post a CLI output with the issue, and a CLI issue that works fine. Indicate the basic difference between them. As well, include the inbound routes.
     
  3. mstopkey

    Joined:
    Mar 4, 2009
    Messages:
    26
    Likes Received:
    0
    Ok, Will supply ASAP
     
  4. mstopkey

    Joined:
    Mar 4, 2009
    Messages:
    26
    Likes Received:
    0
    Will supply tomorrow. Have ANOTHER issue with my crappy Noble dialer.
     
  5. mstopkey

    Joined:
    Mar 4, 2009
    Messages:
    26
    Likes Received:
    0
    Here is example with inbound route pointed to Queue. CID is set with prefix and displays properly. (We don't mind having the inbound calling number at the end of the CID) This lets our agents know to answer the call (Thank you for calling Chapel Ridge at Little Rock, how can I help you).

    I will set the route through the IVR where CID is lost and post that CLI.

    Thank you for the help!




    Code:
     -- Accepting call from '2107222479' to '2108581644' on channel 0/1, span 1
        -- Executing [2108581644@from-pstn:1] Set("DAHDI/1-1", "__FROM_DID=2108581644") in new stack
        -- Executing [2108581644@from-pstn:2] Gosub("DAHDI/1-1", "app-blacklist-check|s|1") in new stack
        -- Executing [s@app-blacklist-check:1] LookupBlacklist("DAHDI/1-1", "") in new stack
        -- Executing [s@app-blacklist-check:2] GotoIf("DAHDI/1-1", "0?blacklisted") in new stack
        -- Executing [s@app-blacklist-check:3] Return("DAHDI/1-1", "") in new stack
        -- Executing [2108581644@from-pstn:3] Gosub("DAHDI/1-1", "cidlookup|cidlookup_1|1") in new stack
        -- Executing [cidlookup_1@cidlookup:1] MYSQL("DAHDI/1-1", "Connect connid localhost lynd ajatnk lynd") in new stack
        -- Executing [cidlookup_1@cidlookup:2] MYSQL("DAHDI/1-1", "Query resultid  SELECT cid FROM dnis_cid WHERE did LIKE '%2107222479%' ") in new stack
        -- Executing [cidlookup_1@cidlookup:3] MYSQL("DAHDI/1-1", "Fetch fetchid  CALLERID(name)") in new stack
        -- Executing [cidlookup_1@cidlookup:4] MYSQL("DAHDI/1-1", "Clear ") in new stack
        -- Executing [cidlookup_1@cidlookup:5] MYSQL("DAHDI/1-1", "Disconnect ") in new stack
        -- Executing [cidlookup_1@cidlookup:6] Return("DAHDI/1-1", "") in new stack
        -- Executing [2108581644@from-pstn:4] ExecIf("DAHDI/1-1", "1 |Set|CALLERID(name)=2107222479") in new stack
        -- Executing [2108581644@from-pstn:5] Set("DAHDI/1-1", "__CALLINGPRES_SV=allowed") in new stack
        -- Executing [2108581644@from-pstn:6] SetCallerPres("DAHDI/1-1", "allowed_not_screened") in new stack
        -- Executing [2108581644@from-pstn:7] Set("DAHDI/1-1", "_RGPREFIX=CHAPEL RIDGE LITTLE ROCK") in new stack
        -- Executing [2108581644@from-pstn:8] Set("DAHDI/1-1", "CALLERID(name)=CHAPEL RIDGE LITTLE ROCK2107222479") in new stack
        -- Executing [2108581644@from-pstn:9] Goto("DAHDI/1-1", "ext-queues|1000|1") in new stack
        -- Goto (ext-queues,1000,1)
        -- Executing [1000@ext-queues:1] Macro("DAHDI/1-1", "user-callerid|") in new stack
        -- Executing [s@macro-user-callerid:1] Set("DAHDI/1-1", "AMPUSER=2107222479") in new stack
        -- Executing [s@macro-user-callerid:2] GotoIf("DAHDI/1-1", "0?report") in new stack
        -- Executing [s@macro-user-callerid:3] ExecIf("DAHDI/1-1", "1|Set|REALCALLERIDNUM=2107222479") in new stack
        -- Executing [s@macro-user-callerid:4] Set("DAHDI/1-1", "AMPUSER=") in new stack
        -- Executing [s@macro-user-callerid:5] Set("DAHDI/1-1", "AMPUSERCIDNAME=") in new stack
        -- Executing [s@macro-user-callerid:6] GotoIf("DAHDI/1-1", "1?report") in new stack
        -- Goto (macro-user-callerid,s,11)
        -- Executing [s@macro-user-callerid:11] GotoIf("DAHDI/1-1", "0?continue") in new stack
        -- Executing [s@macro-user-callerid:12] Set("DAHDI/1-1", "__TTL=64") in new stack
        -- Executing [s@macro-user-callerid:13] GotoIf("DAHDI/1-1", "1?continue") in new stack
        -- Goto (macro-user-callerid,s,20)
        -- Executing [s@macro-user-callerid:20] NoOp("DAHDI/1-1", "Using CallerID "CHAPEL RIDGE LITTLE ROCK2107222479" <2107222479>") in new stack
        -- Executing [1000@ext-queues:2] Answer("DAHDI/1-1", "") in new stack
        -- Executing [1000@ext-queues:3] ExecIf("DAHDI/1-1", "1|Set|__QUEUEWAIT=1248363104") in new stack
        -- Executing [1000@ext-queues:4] Set("DAHDI/1-1", "__BLKVM_OVERRIDE=BLKVM/1000/DAHDI/1-1") in new stack
        -- Executing [1000@ext-queues:5] Set("DAHDI/1-1", "__BLKVM_BASE=1000") in new stack
        -- Executing [1000@ext-queues:6] Set("DAHDI/1-1", "DB(BLKVM/1000/DAHDI/1-1)=TRUE") in new stack
        -- Executing [1000@ext-queues:7] ExecIf("DAHDI/1-1", "1|Set|_DIAL_OPTIONS=TtrwWM(auto-blkvm)") in new stack
        -- Executing [1000@ext-queues:8] Set("DAHDI/1-1", "__NODEST=1000") in new stack
        -- Executing [1000@ext-queues:9] Set("DAHDI/1-1", "MONITOR_FILENAME=/var/spool/asterisk/monitor/q1000-20090723-103144-1248363104.210") in new stack
        -- Executing [1000@ext-queues:10] Set("DAHDI/1-1", "__CWIGNORE=TRUE") in new stack
        -- Executing [1000@ext-queues:11] Queue("DAHDI/1-1", "1000|t|||480") in new stack
        -- Started music on hold, class 'default', on DAHDI/1-1
        -- Called Local/521@from-internal/n
        -- Executing [521@from-internal:1] Set("Local/521@from-internal-d4a8,2", "__RINGTIMER=20") in new stack
        -- Executing [521@from-internal:2] Macro("Local/521@from-internal-d4a8,2", "exten-vm|521|521") in new stack
        -- Executing [s@macro-exten-vm:1] Macro("Local/521@from-internal-d4a8,2", "user-callerid") in new stack
        -- Executing [s@macro-user-callerid:1] Set("Local/521@from-internal-d4a8,2", "AMPUSER=2107222479") in new stack
        -- Executing [s@macro-user-callerid:2] GotoIf("Local/521@from-internal-d4a8,2", "1?report") in new stack
        -- Goto (macro-user-callerid,s,11)
        -- Executing [s@macro-user-callerid:11] GotoIf("Local/521@from-internal-d4a8,2", "0?continue") in new stack
        -- Executing [s@macro-user-callerid:12] Set("Local/521@from-internal-d4a8,2", "__TTL=63") in new stack
        -- Executing [s@macro-user-callerid:13] GotoIf("Local/521@from-internal-d4a8,2", "1?continue") in new stack
        -- Goto (macro-user-callerid,s,20)
        -- Executing [s@macro-user-callerid:20] NoOp("Local/521@from-internal-d4a8,2", "Using CallerID "CHAPEL RIDGE LITTLE ROCK2107222479" <2107222479>") in new stack
        -- Executing [s@macro-exten-vm:2] Set("Local/521@from-internal-d4a8,2", "RingGroupMethod=none") in new stack
        -- Executing [s@macro-exten-vm:3] Set("Local/521@from-internal-d4a8,2", "VMBOX=521") in new stack
        -- Executing [s@macro-exten-vm:4] Set("Local/521@from-internal-d4a8,2", "EXTTOCALL=521") in new stack
        -- Executing [s@macro-exten-vm:5] Set("Local/521@from-internal-d4a8,2", "CFUEXT=") in new stack
        -- Executing [s@macro-exten-vm:6] Set("Local/521@from-internal-d4a8,2", "CFBEXT=") in new stack
        -- Executing [s@macro-exten-vm:7] Set("Local/521@from-internal-d4a8,2", "RT=20") in new stack
        -- Executing [s@macro-exten-vm:8] Macro("Local/521@from-internal-d4a8,2", "record-enable|521|IN") in new stack
        -- Executing [s@macro-record-enable:1] GotoIf("Local/521@from-internal-d4a8,2", "1?check") in new stack
        -- Goto (macro-record-enable,s,4)
        -- Executing [s@macro-record-enable:4] AGI("Local/521@from-internal-d4a8,2", "recordingcheck|20090723-103144|1248363104.212") in new stack
        -- Launched AGI Script /var/lib/asterisk/agi-bin/recordingcheck
      recordingcheck|20090723-103144|1248363104.212: Inbound recording enabled.
      recordingcheck|20090723-103144|1248363104.212: CALLFILENAME=20090723-103144-1248363104.212
        -- AGI Script recordingcheck completed, returning 0
        -- Executing [s@macro-record-enable:999] MixMonitor("Local/521@from-internal-d4a8,2", "20090723-103144-1248363104.212.wav||") in new stack
        -- Executing [s@macro-exten-vm:9] Macro("Local/521@from-internal-d4a8,2", "dial|20|TtrwWM(auto-blkvm)|521") in new stack
        -- Executing [s@macro-dial:1] GotoIf("Local/521@from-internal-d4a8,2", "1?dial") in new stack
        -- Goto (macro-dial,s,3)
        -- Executing [s@macro-dial:3] AGI("Local/521@from-internal-d4a8,2", "dialparties.agi") in new stack
      == Begin MixMonitor Recording Local/521@from-internal-d4a8,2
        -- Launched AGI Script /var/lib/asterisk/agi-bin/dialparties.agi
      dialparties.agi: Starting New Dialparties.agi
      == Parsing '/etc/asterisk/manager.conf': Found
      == Parsing '/etc/asterisk/manager_additional.conf': Found
      == Parsing '/etc/asterisk/manager_custom.conf': Found
      == Manager 'admin' logged on from 127.0.0.1
      dialparties.agi: Caller ID name is 'CHAPEL RIDGE LITTLE ROCK2107222479' number is '2107222479'
      dialparties.agi: Methodology of ring is  'none'
        --  dialparties.agi: Added extension 521 to extension map
           >  dialparties.agi: Extension 521 has call screening off
        --  dialparties.agi: Extension 521 cf is disabled
        --  dialparties.agi: Extension 521 do not disturb is disabled
           >  dialparties.agi: extnum 521 has:  cw: 0; hascfb: 0 [] hascfu: 0 []
           >  dialparties.agi: ExtensionState: 0
      dialparties.agi: Extension 521 has ExtensionState: 0
        --  dialparties.agi: Checking CW and CFB status for extension 521
        --  dialparties.agi: dbset CALLTRACE/521 to 2107222479
        --  dialparties.agi: Filtered ARG3: 521
           >  dialparties.agi: NODEST: 1000 blkvm enabled macro already in dialopts: TtrwWM(auto-blkvm)
           >  dialparties.agi: NODEST: 1000 blkvm enabled macro already in dialopts: TtrwWM(auto-blkvm)
      == Manager 'admin' logged off from 127.0.0.1
        -- AGI Script dialparties.agi completed, returning 0
        -- Executing [s@macro-dial:7] Dial("Local/521@from-internal-d4a8,2", "SIP/521|20|TtrwWM(auto-blkvm)") in new stack
        -- Called 521
        -- Local/521@from-internal-d4a8,1 is ringing
        -- SIP/521-c4053830 is ringing
        -- SIP/521-c4053830 is ringing
        -- SIP/521-c4053830 is ringing
        -- Channel 0/1, span 1 got hangup request, cause 16
        -- Stopped music on hold on DAHDI/1-1
      == Spawn extension (ext-queues, 1000, 11) exited non-zero on 'DAHDI/1-1'
      == Spawn extension (macro-dial, s, 7) exited non-zero on 'Local/521@from-internal-d4a8,2' in macro 'dial'
      == Spawn extension (macro-exten-vm, s, 9) exited non-zero on 'Local/521@from-internal-d4a8,2' in macro 'exten-vm'
      == Spawn extension (from-internal, 521, 2) exited non-zero on 'Local/521@from-internal-d4a8,2'
        -- Executing [h@macro-dial:1] Macro("Local/521@from-internal-d4a8,2", "hangupcall") in new stack
        -- Executing [s@macro-hangupcall:1] ResetCDR("Local/521@from-internal-d4a8,2", "vw") in new stack
        -- Hungup 'DAHDI/1-1'
        -- Executing [s@macro-hangupcall:2] NoCDR("Local/521@from-internal-d4a8,2", "") in new stack
        -- Executing [s@macro-hangupcall:3] GotoIf("Local/521@from-internal-d4a8,2", "1?skiprg") in new stack
        -- Goto (macro-hangupcall,s,6)
        -- Executing [s@macro-hangupcall:6] GotoIf("Local/521@from-internal-d4a8,2", "1?skipblkvm") in new stack
        -- Goto (macro-hangupcall,s,9)
        -- Executing [s@macro-hangupcall:9] GotoIf("Local/521@from-internal-d4a8,2", "1?theend") in new stack
        -- Goto (macro-hangupcall,s,11)
        -- Executing [s@macro-hangupcall:11] Hangup("Local/521@from-internal-d4a8,2", "") in new stack
      == Spawn extension (macro-hangupcall, s, 11) exited non-zero on 'Local/521@from-internal-d4a8,2' in macro 'hangupcall'
      == Spawn extension (macro-dial, h, 1) exited non-zero on 'Local/521@from-internal-d4a8,2'
      == End MixMonitor Recording Local/521@from-internal-d4a8,2
     
  6. mstopkey

    Joined:
    Mar 4, 2009
    Messages:
    26
    Likes Received:
    0
    PS, how did the smiley faces get in there?
     
  7. gamba47

    Joined:
    May 28, 2009
    Messages:
    595
    Likes Received:
    0
    You need to disable BBCode or use a tag for the text you want to show.

    example:

    Code:
    put here your lines
    whitout the "."


    Regards. gamba47
     
  8. mstopkey

    Joined:
    Mar 4, 2009
    Messages:
    26
    Likes Received:
    0
    Here is the call going through IVR and losing assigned CID for the DID. When the agent phone rings, it displays the calling number CID.

    Code:
     -- Accepting call from '2107222479' to '2108581644' on channel 0/1, span 1
        -- Executing [2108581644@from-pstn:1] Set("DAHDI/1-1", "__FROM_DID=2108581644") in new stack
        -- Executing [2108581644@from-pstn:2] Gosub("DAHDI/1-1", "app-blacklist-check|s|1") in new stack
        -- Executing [s@app-blacklist-check:1] LookupBlacklist("DAHDI/1-1", "") in new stack
        -- Executing [s@app-blacklist-check:2] GotoIf("DAHDI/1-1", "0?blacklisted") in new stack
        -- Executing [s@app-blacklist-check:3] Return("DAHDI/1-1", "") in new stack
        -- Executing [2108581644@from-pstn:3] Gosub("DAHDI/1-1", "cidlookup|cidlookup_1|1") in new stack
        -- Executing [cidlookup_1@cidlookup:1] MYSQL("DAHDI/1-1", "Connect connid localhost lynd ajatnk lynd") in new stack
        -- Executing [cidlookup_1@cidlookup:2] MYSQL("DAHDI/1-1", "Query resultid  SELECT cid FROM dnis_cid WHERE did LIKE '%2107222479%' ") in new stack
        -- Executing [cidlookup_1@cidlookup:3] MYSQL("DAHDI/1-1", "Fetch fetchid  CALLERID(name)") in new stack
        -- Executing [cidlookup_1@cidlookup:4] MYSQL("DAHDI/1-1", "Clear ") in new stack
        -- Executing [cidlookup_1@cidlookup:5] MYSQL("DAHDI/1-1", "Disconnect ") in new stack
        -- Executing [cidlookup_1@cidlookup:6] Return("DAHDI/1-1", "") in new stack
        -- Executing [2108581644@from-pstn:4] ExecIf("DAHDI/1-1", "1 |Set|CALLERID(name)=2107222479") in new stack
        -- Executing [2108581644@from-pstn:5] Set("DAHDI/1-1", "__CALLINGPRES_SV=allowed") in new stack
        -- Executing [2108581644@from-pstn:6] SetCallerPres("DAHDI/1-1", "allowed_not_screened") in new stack
        -- Executing [2108581644@from-pstn:7] Set("DAHDI/1-1", "_RGPREFIX=CHAPEL RIDGE LITTLE ROCK") in new stack
        -- Executing [2108581644@from-pstn:8] Set("DAHDI/1-1", "CALLERID(name)=CHAPEL RIDGE LITTLE ROCK2107222479") in new stack
        -- Executing [2108581644@from-pstn:9] Goto("DAHDI/1-1", "ivr-4|s|1") in new stack
        -- Goto (ivr-4,s,1)
        -- Executing [s@ivr-4:1] Set("DAHDI/1-1", "MSG=custom/gr21") in new stack
        -- Executing [s@ivr-4:2] Set("DAHDI/1-1", "LOOPCOUNT=0") in new stack
        -- Executing [s@ivr-4:3] Set("DAHDI/1-1", "__DIR-CONTEXT=default") in new stack
        -- Executing [s@ivr-4:4] Set("DAHDI/1-1", "_IVR_CONTEXT_ivr-4=") in new stack
        -- Executing [s@ivr-4:5] Set("DAHDI/1-1", "_IVR_CONTEXT=ivr-4") in new stack
        -- Executing [s@ivr-4:6] GotoIf("DAHDI/1-1", "0?begin") in new stack
        -- Executing [s@ivr-4:7] Answer("DAHDI/1-1", "") in new stack
        -- Executing [s@ivr-4:8] Wait("DAHDI/1-1", "1") in new stack
        -- Executing [s@ivr-4:9] Set("DAHDI/1-1", "TIMEOUT(digit)=3") in new stack
        -- Digit timeout set to 3
        -- Executing [s@ivr-4:10] Set("DAHDI/1-1", "TIMEOUT(response)=2") in new stack
        -- Response timeout set to 2
        -- Executing [s@ivr-4:11] Set("DAHDI/1-1", "__IVR_RETVM=") in new stack
        -- Executing [s@ivr-4:12] ExecIf("DAHDI/1-1", "1|Background|custom/gr21") in new stack
        -- <DAHDI/1-1> Playing 'custom/gr21' (language 'en')
        -- Executing [s@ivr-4:13] WaitExten("DAHDI/1-1", "|") in new stack
        -- Timeout on DAHDI/1-1, going to 't'
        -- Executing [t@ivr-4:1] Set("DAHDI/1-1", "LOOPCOUNT=1") in new stack
        -- Executing [t@ivr-4:2] GotoIf("DAHDI/1-1", "0?s|begin") in new stack
        -- Executing [t@ivr-4:3] DBdel("DAHDI/1-1", "") in new stack
        -- Executing [t@ivr-4:4] Set("DAHDI/1-1", "__NODEST=") in new stack
        -- Executing [t@ivr-4:5] Goto("DAHDI/1-1", "ivr-10|s|1") in new stack
        -- Goto (ivr-10,s,1)
        -- Executing [s@ivr-10:1] Set("DAHDI/1-1", "MSG=custom/lypressone") in new stack
        -- Executing [s@ivr-10:2] Set("DAHDI/1-1", "LOOPCOUNT=0") in new stack
        -- Executing [s@ivr-10:3] Set("DAHDI/1-1", "__DIR-CONTEXT=default") in new stack
        -- Executing [s@ivr-10:4] Set("DAHDI/1-1", "_IVR_CONTEXT_ivr-10=ivr-4") in new stack
        -- Executing [s@ivr-10:5] Set("DAHDI/1-1", "_IVR_CONTEXT=ivr-10") in new stack
        -- Executing [s@ivr-10:6] GotoIf("DAHDI/1-1", "1?begin") in new stack
        -- Goto (ivr-10,s,9)
        -- Executing [s@ivr-10:9] Set("DAHDI/1-1", "TIMEOUT(digit)=3") in new stack
        -- Digit timeout set to 3
        -- Executing [s@ivr-10:10] Set("DAHDI/1-1", "TIMEOUT(response)=10") in new stack
        -- Response timeout set to 10
        -- Executing [s@ivr-10:11] Set("DAHDI/1-1", "__IVR_RETVM=") in new stack
        -- Executing [s@ivr-10:12] ExecIf("DAHDI/1-1", "1|Background|custom/lypressone") in new stack
        -- <DAHDI/1-1> Playing 'custom/lypressone' (language 'en')
        -- Executing [1@ivr-10:1] DBdel("DAHDI/1-1", "") in new stack
        -- Executing [1@ivr-10:2] Set("DAHDI/1-1", "__NODEST=") in new stack
        -- Executing [1@ivr-10:3] Goto("DAHDI/1-1", "ext-queues|1000|1") in new stack
        -- Goto (ext-queues,1000,1)
        -- Executing [1000@ext-queues:1] Macro("DAHDI/1-1", "user-callerid|") in new stack
        -- Executing [s@macro-user-callerid:1] Set("DAHDI/1-1", "AMPUSER=2107222479") in new stack
        -- Executing [s@macro-user-callerid:2] GotoIf("DAHDI/1-1", "0?report") in new stack
        -- Executing [s@macro-user-callerid:3] ExecIf("DAHDI/1-1", "1|Set|REALCALLERIDNUM=2107222479") in new stack
        -- Executing [s@macro-user-callerid:4] Set("DAHDI/1-1", "AMPUSER=") in new stack
        -- Executing [s@macro-user-callerid:5] Set("DAHDI/1-1", "AMPUSERCIDNAME=") in new stack
        -- Executing [s@macro-user-callerid:6] GotoIf("DAHDI/1-1", "1?report") in new stack
        -- Goto (macro-user-callerid,s,11)
        -- Executing [s@macro-user-callerid:11] GotoIf("DAHDI/1-1", "0?continue") in new stack
        -- Executing [s@macro-user-callerid:12] Set("DAHDI/1-1", "__TTL=64") in new stack
        -- Executing [s@macro-user-callerid:13] GotoIf("DAHDI/1-1", "1?continue") in new stack
        -- Goto (macro-user-callerid,s,20)
        -- Executing [s@macro-user-callerid:20] NoOp("DAHDI/1-1", "Using CallerID "JOE CALLER" <2107222479>") in new stack
        -- Executing [1000@ext-queues:2] Answer("DAHDI/1-1", "") in new stack
        -- Executing [1000@ext-queues:3] ExecIf("DAHDI/1-1", "1|Set|__QUEUEWAIT=1248367430") in new stack
        -- Executing [1000@ext-queues:4] Set("DAHDI/1-1", "__BLKVM_OVERRIDE=BLKVM/1000/DAHDI/1-1") in new stack
        -- Executing [1000@ext-queues:5] Set("DAHDI/1-1", "__BLKVM_BASE=1000") in new stack
        -- Executing [1000@ext-queues:6] Set("DAHDI/1-1", "DB(BLKVM/1000/DAHDI/1-1)=TRUE") in new stack
        -- Executing [1000@ext-queues:7] ExecIf("DAHDI/1-1", "1|Set|_DIAL_OPTIONS=TtrwWM(auto-blkvm)") in new stack
        -- Executing [1000@ext-queues:8] Set("DAHDI/1-1", "__NODEST=1000") in new stack
        -- Executing [1000@ext-queues:9] Set("DAHDI/1-1", "MONITOR_FILENAME=/var/spool/asterisk/monitor/q1000-20090723-114350-1248367416.229") in new stack
        -- Executing [1000@ext-queues:10] Set("DAHDI/1-1", "__CWIGNORE=TRUE") in new stack
        -- Executing [1000@ext-queues:11] Queue("DAHDI/1-1", "1000|t|||480") in new stack
        -- Started music on hold, class 'default', on DAHDI/1-1
        -- Called Local/521@from-internal/n
        -- Executing [521@from-internal:1] Set("Local/521@from-internal-a924,2", "__RINGTIMER=20") in new stack
        -- Executing [521@from-internal:2] Macro("Local/521@from-internal-a924,2", "exten-vm|521|521") in new stack
        -- Executing [s@macro-exten-vm:1] Macro("Local/521@from-internal-a924,2", "user-callerid") in new stack
        -- Executing [s@macro-user-callerid:1] Set("Local/521@from-internal-a924,2", "AMPUSER=2107222479") in new stack
        -- Executing [s@macro-user-callerid:2] GotoIf("Local/521@from-internal-a924,2", "1?report") in new stack
        -- Goto (macro-user-callerid,s,11)
        -- Executing [s@macro-user-callerid:11] GotoIf("Local/521@from-internal-a924,2", "0?continue") in new stack
        -- Executing [s@macro-user-callerid:12] Set("Local/521@from-internal-a924,2", "__TTL=63") in new stack
        -- Executing [s@macro-user-callerid:13] GotoIf("Local/521@from-internal-a924,2", "1?continue") in new stack
        -- Goto (macro-user-callerid,s,20)
        -- Executing [s@macro-user-callerid:20] NoOp("Local/521@from-internal-a924,2", "Using CallerID "JOE CALLER" <2107222479>") in new stack
        -- Executing [s@macro-exten-vm:2] Set("Local/521@from-internal-a924,2", "RingGroupMethod=none") in new stack
        -- Executing [s@macro-exten-vm:3] Set("Local/521@from-internal-a924,2", "VMBOX=521") in new stack
        -- Executing [s@macro-exten-vm:4] Set("Local/521@from-internal-a924,2", "EXTTOCALL=521") in new stack
        -- Executing [s@macro-exten-vm:5] Set("Local/521@from-internal-a924,2", "CFUEXT=") in new stack
        -- Executing [s@macro-exten-vm:6] Set("Local/521@from-internal-a924,2", "CFBEXT=") in new stack
        -- Executing [s@macro-exten-vm:7] Set("Local/521@from-internal-a924,2", "RT=20") in new stack
        -- Executing [s@macro-exten-vm:8] Macro("Local/521@from-internal-a924,2", "record-enable|521|IN") in new stack
        -- Executing [s@macro-record-enable:1] GotoIf("Local/521@from-internal-a924,2", "1?check") in new stack
        -- Goto (macro-record-enable,s,4)
        -- Executing [s@macro-record-enable:4] AGI("Local/521@from-internal-a924,2", "recordingcheck|20090723-114350|1248367430.231") in new stack
        -- Launched AGI Script /var/lib/asterisk/agi-bin/recordingcheck
      recordingcheck|20090723-114350|1248367430.231: Inbound recording enabled.
      recordingcheck|20090723-114350|1248367430.231: CALLFILENAME=20090723-114350-1248367430.231
        -- AGI Script recordingcheck completed, returning 0
        -- Executing [s@macro-record-enable:999] MixMonitor("Local/521@from-internal-a924,2", "20090723-114350-1248367430.231.wav||") in new stack
        -- Executing [s@macro-exten-vm:9] Macro("Local/521@from-internal-a924,2", "dial|20|TtrwWM(auto-blkvm)|521") in new stack
      == Begin MixMonitor Recording Local/521@from-internal-a924,2
        -- Executing [s@macro-dial:1] GotoIf("Local/521@from-internal-a924,2", "1?dial") in new stack
        -- Goto (macro-dial,s,3)
        -- Executing [s@macro-dial:3] AGI("Local/521@from-internal-a924,2", "dialparties.agi") in new stack
        -- Launched AGI Script /var/lib/asterisk/agi-bin/dialparties.agi
      dialparties.agi: Starting New Dialparties.agi
      == Parsing '/etc/asterisk/manager.conf': Found
      == Parsing '/etc/asterisk/manager_additional.conf': Found
      == Parsing '/etc/asterisk/manager_custom.conf': Found
      == Manager 'admin' logged on from 127.0.0.1
      dialparties.agi: Caller ID name is 'JOE CALLER' number is '2107222479'
      dialparties.agi: Methodology of ring is  'none'
        --  dialparties.agi: Added extension 521 to extension map
           >  dialparties.agi: Extension 521 has call screening off
        --  dialparties.agi: Extension 521 cf is disabled
        --  dialparties.agi: Extension 521 do not disturb is disabled
           >  dialparties.agi: extnum 521 has:  cw: 0; hascfb: 0 [] hascfu: 0 []
           >  dialparties.agi: ExtensionState: 0
      dialparties.agi: Extension 521 has ExtensionState: 0
        --  dialparties.agi: Checking CW and CFB status for extension 521
        --  dialparties.agi: dbset CALLTRACE/521 to 2107222479
        --  dialparties.agi: Filtered ARG3: 521
           >  dialparties.agi: NODEST: 1000 blkvm enabled macro already in dialopts: TtrwWM(auto-blkvm)
           >  dialparties.agi: NODEST: 1000 blkvm enabled macro already in dialopts: TtrwWM(auto-blkvm)
      == Manager 'admin' logged off from 127.0.0.1
        -- AGI Script dialparties.agi completed, returning 0
        -- Executing [s@macro-dial:7] Dial("Local/521@from-internal-a924,2", "SIP/521|20|TtrwWM(auto-blkvm)") in new stack
        -- Called 521
        -- Local/521@from-internal-a924,1 is ringing
        -- SIP/521-c4041f30 is ringing
        -- SIP/521-c4041f30 is ringing
        -- SIP/521-c4041f30 is ringing
        -- Channel 0/1, span 1 got hangup request, cause 16
        -- Stopped music on hold on DAHDI/1-1
      == Spawn extension (ext-queues, 1000, 11) exited non-zero on 'DAHDI/1-1'
        -- Hungup 'DAHDI/1-1'
      == Spawn extension (macro-dial, s, 7) exited non-zero on 'Local/521@from-internal-a924,2' in macro 'dial'
      == Spawn extension (macro-exten-vm, s, 9) exited non-zero on 'Local/521@from-internal-a924,2' in macro 'exten-vm'
      == Spawn extension (from-internal, 521, 2) exited non-zero on 'Local/521@from-internal-a924,2'
        -- Executing [h@macro-dial:1] Macro("Local/521@from-internal-a924,2", "hangupcall") in new stack
        -- Executing [s@macro-hangupcall:1] ResetCDR("Local/521@from-internal-a924,2", "vw") in new stack
        -- Executing [s@macro-hangupcall:2] NoCDR("Local/521@from-internal-a924,2", "") in new stack
        -- Executing [s@macro-hangupcall:3] GotoIf("Local/521@from-internal-a924,2", "1?skiprg") in new stack
        -- Goto (macro-hangupcall,s,6)
        -- Executing [s@macro-hangupcall:6] GotoIf("Local/521@from-internal-a924,2", "1?skipblkvm") in new stack
        -- Goto (macro-hangupcall,s,9)
        -- Executing [s@macro-hangupcall:9] GotoIf("Local/521@from-internal-a924,2", "1?theend") in new stack
        -- Goto (macro-hangupcall,s,11)
        -- Executing [s@macro-hangupcall:11] Hangup("Local/521@from-internal-a924,2", "") in new stack
      == Spawn extension (macro-hangupcall, s, 11) exited non-zero on 'Local/521@from-internal-a924,2' in macro 'hangupcall'
      == Spawn extension (macro-dial, h, 1) exited non-zero on 'Local/521@from-internal-a924,2'
      == End MixMonitor Recording Local/521@from-internal-a924,2
     
  9. mstopkey

    Joined:
    Mar 4, 2009
    Messages:
    26
    Likes Received:
    0
    Looks like I did not get it right on not getting the smiley faces.
     
  10. mstopkey

    Joined:
    Mar 4, 2009
    Messages:
    26
    Likes Received:
    0
    How to include Inbound Route from CLI? Route is Local DID on T-1 on the machine with CID name prefix of (CHAPEL RIDGE LITTLE ROCK).
    Destination of route when CID name prefix works all the way to the agent is ENQueue.
    Destination of route when CID name prefix is lost is IVR#1, IVR#2 then ENQueue or SPQueue. Ivr#1 plays a greeting message, then goes to IVR#2 that plays message of (press 1 for English, 2 for Spanish), option 1 goes to ENQueue, option 2 goes to SPQueue. CID results are the same regardless of which Queue.
     
  11. centritech

    Joined:
    Jul 23, 2008
    Messages:
    63
    Likes Received:
    0
    Did you ever get this resolved? I'm running into the same issues.

    Thanks
     
  12. centritech

    Joined:
    Jul 23, 2008
    Messages:
    63
    Likes Received:
    0
    Did you ever get this resolved? I'm running into the same issues.

    Thanks
     
  13. mstopkey

    Joined:
    Mar 4, 2009
    Messages:
    26
    Likes Received:
    0
    Never got it resolved. I now use ViciDial for this.
     
  14. fmvillares

    Joined:
    Sep 8, 2007
    Messages:
    1,785
    Likes Received:
    0
    Hi there first of all 1.5 version is too old to manage correctly and too buggy and dangerous in asterisk terms (sip overflows security concerns, etc)
    first you need to start the project with a more robust and modern system (IMHO) like 2.0.4
    then if you have your caller id received in one location and send to another via an iax or sip trunk between locations you need to have intra company routes which preserve the original cid but that feature is only present at latest versions of freepbx...

    Best regards
     

Share This Page