just as the topic states I'm at a loss with this one.
the issue is that when a campaign dials a call it shows up as V.... with a whole bunch of numbers after it, see screenshot below
here's the log below...
- Code: Select all
-- Called XXXXXXXXXXXX@default
[Jul 7 18:21:02] -- Executing [XXXXXXXXXXXX@default:1] AGI("Local/XXXXXXXXXXXX@default-00000004;2", "agi://127.0.0.1:4577/call_log") in new stack
[Jul 7 18:21:02] -- AGI Script Executing Application: (EXEC) Options: (Set(_CAMPCUST=200))
[Jul 7 18:21:02] -- <Local/XXXXXXXXXXXX@default-00000004;2>AGI Script agi://127.0.0.1:4577/call_log completed, returning 0
[Jul 7 18:21:02] -- Executing [XXXXXXXXXXXX@default:2] Dial("Local/XXXXXXXXXXXX@default-00000004;2", "SIP/CARRIER/416XXXXXXX,,To") in new stack
[Jul 7 18:21:02] ERROR[10909][C-00000008]: netsock2.c:305 ast_sockaddr_resolve: getaddrinfo("vicibox9", "(null)", ...): Name or service not known
[Jul 7 18:21:02] WARNING[10909][C-00000008]: acl.c:835 resolve_first: Unable to lookup 'vicibox9'
[Jul 7 18:21:02] == Using SIP RTP CoS mark 5
[Jul 7 18:21:02] -- Called SIP/CARRIER/416XXXXXXX
[Jul 7 18:21:06] == Manager 'sendcron' logged on from 127.0.0.1
[Jul 7 18:21:06] == Manager 'sendcron' logged off from 127.0.0.1
[Jul 7 18:21:09] > 0x7f8d6003c500 -- Strict RTP learning after remote address set to: xxx.xxx.xxx.xxx:34828
[Jul 7 18:21:09] -- SIP/CARRIER-00000005 is making progress passing it to Local/XXXXXXXXXXXX@default-00000004;2
[Jul 7 18:21:09] -- Local/XXXXXXXXXXXX@default-00000004;1 is making progress
[Jul 7 18:21:09] > 0x7f8d6003c500 -- Strict RTP switching to RTP target address xxx.xxx.xxx.xxx:34828 as source
[Jul 7 18:21:14] > 0x7f8d6003c500 -- Strict RTP learning complete - Locking on source address xxx.xxx.xxx.xxx:34828
[Jul 7 18:21:31] -- SIP/CARRIER-00000005 answered Local/XXXXXXXXXXXX@default-00000004;2
[Jul 7 18:21:31] -- Local/XXXXXXXXXXXX@default-00000004;1 answered
[Jul 7 18:21:31] == Manager 'sendcron' logged off from 127.0.0.1
[Jul 7 18:21:31] -- Channel SIP/CARRIER-00000005 joined 'simple_bridge' basic-bridge <c61ead82-95c5-4d5f-9ca3-b9154ebdf68b>
[Jul 7 18:21:31] -- Executing [138373@default:1] AGI("Local/XXXXXXXXXXXX@default-00000004;1", "agi-VDAD_local_optimize.agi,V7071821020000016511") in new stack
[Jul 7 18:21:31] -- Launched AGI Script /usr/share/asterisk/agi-bin/agi-VDAD_local_optimize.agi
[Jul 7 18:21:31] -- Channel Local/XXXXXXXXXXXX@default-00000004;2 joined 'simple_bridge' basic-bridge <c61ead82-95c5-4d5f-9ca3-b9154ebdf68b>
[Jul 7 18:21:31] -- <Local/XXXXXXXXXXXX@default-00000004;1>AGI Script agi-VDAD_local_optimize.agi completed, returning 0
[Jul 7 18:21:31] -- Executing [138373@default:2] Wait("Local/XXXXXXXXXXXX@default-00000004;1", "2") in new stack
[Jul 7 18:21:31] == Manager 'sendcron' logged on from 127.0.0.1
[Jul 7 18:21:31] -- Channel SIP/CARRIER-00000005 left 'simple_bridge' basic-bridge <c61ead82-95c5-4d5f-9ca3-b9154ebdf68b>
[Jul 7 18:21:31] -- Executing [8373@default:1] AGI("SIP/CARRIER-00000005", "agi://127.0.0.1:4577/call_log") in new stack
[Jul 7 18:21:31] -- Channel Local/XXXXXXXXXXXX@default-00000004;2 left 'simple_bridge' basic-bridge <c61ead82-95c5-4d5f-9ca3-b9154ebdf68b>
[Jul 7 18:21:31] == Spawn extension (default, XXXXXXXXXXXX, 2) exited non-zero on 'Local/XXXXXXXXXXXX@default-00000004;2'
[Jul 7 18:21:31] -- Executing [h@default:1] AGI("Local/XXXXXXXXXXXX@default-00000004;2", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----16-----ANSWER-----28-----0-----SIP 200 OK)") in new stack
[Jul 7 18:21:31] -- AGI Script Executing Application: (EXEC) Options: (Set(_CAMPCUST=200))
[Jul 7 18:21:31] -- <SIP/CARRIER-00000005>AGI Script agi://127.0.0.1:4577/call_log completed, returning 0
[Jul 7 18:21:31] -- Executing [8373@default:2] Playback("SIP/CARRIER-00000005", "sip-silence") in new stack
[Jul 7 18:21:31] -- <SIP/CARRIER-00000005> Playing 'sip-silence.gsm' (language 'en')
[Jul 7 18:21:31] -- Executing [8373@default:3] AMD("SIP/CARRIER-00000005", "2000,2000,1000,5000,120,50,4,256") in new stack
[Jul 7 18:21:31] -- AMD: SIP/CARRIER-00000005 (N/A) (N/A) (Fmt: slin)
[Jul 7 18:21:31] -- AMD: initialSilence [2000] greeting [2000] afterGreetingSilence [1000] totalAnalysisTime [5000] minimumWordLength [120] betweenWordsSilence [50] maximumNumberOfWords [4] silenceThreshold [256] maximumWordLength [5000]
[Jul 7 18:21:31] -- AMD: Channel [SIP/CARRIER-00000005]. Changed state to STATE_IN_SILENCE
[Jul 7 18:21:32] == Manager 'sendcron' logged off from 127.0.0.1
[Jul 7 18:21:32] -- <Local/XXXXXXXXXXXX@default-00000004;2>AGI Script agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----16-----ANSWER-----28-----0-----SIP 200 OK) completed, returning 0
[Jul 7 18:21:32] == Spawn extension (default, 138373, 2) exited non-zero on 'Local/XXXXXXXXXXXX@default-00000004;1'
[Jul 7 18:21:32] WARNING[10908][C-00000009]: func_hangupcause.c:140 hangupcause_read: Unable to find information for channel
[Jul 7 18:21:32] -- Executing [h@default:1] AGI("Local/XXXXXXXXXXXX@default-00000004;1", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----16--------------------)") in new stack
[Jul 7 18:21:33] -- AMD: Channel [SIP/CARRIER-00000005]. ANSWERING MACHINE: silenceDuration:2000 initialSilence:2000
[Jul 7 18:21:33] -- Executing [8373@default:4] AGI("SIP/CARRIER-00000005", "VD_amd.agi,8373") in new stack
[Jul 7 18:21:33] -- Launched AGI Script /usr/share/asterisk/agi-bin/VD_amd.agi
[Jul 7 18:21:33] -- <Local/XXXXXXXXXXXX@default-00000004;1>AGI Script agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----16--------------------) completed, returning 0
[Jul 7 18:21:33] -- <SIP/CARRIER-00000005> Playing 'sip-silence.gsm' (escape_digits=) (sample_offset 0) (language 'en')
[Jul 7 18:21:33] -- <SIP/CARRIER-00000005> Playing 'sip-silence.gsm' (escape_digits=) (sample_offset 0) (language 'en')
[Jul 7 18:21:33] -- AGI Script Executing Application: (WaitForSilence) Options: (2000,2,30)
[Jul 7 18:21:33] -- Waiting 2 time(s) for 2000ms of silence with 30s timeout
the CID Name rather then what I've tried to set it to, no matter what I do it keeps picking up the UID.
- Code: Select all
[Jul 7 18:21:31] -- Executing [138373@default:1] AGI("Local/XXXXXXXXXXXX@default-00000004;1", "agi-VDAD_local_optimize.agi,[color=#FF0000]V7071821020000016511[/color]") in new stack
I've Googled everything I could to try and fix this and to no avail.
some of the solutions I have tried ...
http://vicidial.org/VICIDIALforum/viewtopic.php?f=4&t=32635
http://www.vicidial.org/VICIDIALforum/viewtopic.php?f=4&t=37452
Extensions.conf
- Code: Select all
[general]
static=yes
writeprotect=no
[globals]
CONSOLE=Console/dsp ; Console interface for demo
TRUNK=DAHDI/r1 ; Trunk interface
TRUNKX=DAHDI/r2 ; 2nd trunk interface
TRUNKIAX=IAX2/ASTtest1:test@10.10.10.16:4569 ; IAX trunk interface
TRUNKIAX1=IAX2/ASTtest1:test@10.10.10.16:4569 ; IAX trunk interface
TRUNKBINFONE=IAX2/1112223333:PASSWORD@iax.binfone.com ; IAX trunk interface
SIPtrunk=SIP/1234:PASSWORD@sip.provider.net ; SIP trunk
#include extensions-vicidial.conf
[trunkinbound]
; DID call routing process
; exten => _XXXXXXXXXX,1,AGI(agi-DID_route.agi) ; use this one instead of the $
exten => _X.,1,AGI(agi-DID_route.agi)
exten => _X.,n,Hangup()
; If you have DIDs that arrive with a plus sign at the beginning then uncomment
;exten => _+X.,1,AGI(agi-DID_route.agi)
;exten => _+X.,n,Hangup()
; If you have DIDs that arrive with a plus and 1 at the beginning that you want $
;exten => _+1X.,1,Goto(trunkinbound,${EXTEN:2},1)
; FastAGI for VICIDIAL/astGUIclient call logging
exten => h,1,AGI(agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----$ $
[loopback-no-log]
; This context is to accept calls that have already been logged in another cont $
; and has been sent through one of the loopbacks. This is why this context is m $
; Do not put any extensions in this context unless you specifically understand $
;exten => _91NXXNXXXXXX,1,Dial(${TRUNKX}/${EXTEN:1},,To)
;exten => _91NXXNXXXXXX,n,Hangup()
; special Canadian PRI callerIDname settings FOR USE IN LOOPBACK CONTEXT ONLY
exten => _91NXXNXXXXXX,1,Set(CALLERID(name)=Test1{CALLERID(num)=XXXXXXXXXX})
exten => _91NXXNXXXXXX,n,AGI(agi-CANADA_PRI_CIDname.agi)
exten => _91NXXNXXXXXX,n,Dial(${TRUNKSOG}/${EXTEN:1},,To)
exten => _91NXXNXXXXXX,n,Hangup()
;exten => _91NXXNXXXXXX,1,Set(CALLERID(name)="ACME")
;exten => _91NXXNXXXXXX,n,AGI(agi-CANADA_PRI_CIDname.agi)
;exten => _91NXXNXXXXXX,n,Dial(${TRUNKX}/${EXTEN:1},,To)
;exten => _91NXXNXXXXXX,n,Hangup()
;exten => _91NXXNXXXXXX,1,Set(CALLERID(name)="XXXX")
;exten => _91NXXNXXXXXX,n,AGI(agi-CANADA_PRI_CIDname.agi)
;exten => _91NXXNXXXXXX,n,Dial(${IXICA}/${EXTEN:2},,To)
;exten => _91NXXNXXXXXX,n,Hangup
;exten => _1NXXNXXXXXX,1,Set(CALLERID(name)="XXXX")
;exten => _1NXXNXXXXXX,n,AGI(agi-CANADA_PRI_CIDname.agi)
;exten => _1NXXNXXXXXX,n,Dial(${IXICA}/${EXTEN:1},,To)
;exten => _1NXXNXXXXXX,n,Hangup
;exten => _NXXNXXXXXX,1,Set(CALLERID(name)="XXXX")
;exten => _NXXNXXXXXX,n,AGI(agi-CANADA_PRI_CIDname.agi)
;exten => _NXXNXXXXXX,n,Dial(${IXICA}/${EXTEN:0},,To)
;exten => _NXXNXXXXXX,n,Hangup
exten => _999XX11112,1,Wait(2)
exten => _999XX11112,n,Answer()
exten => _999XX11112,n,Playback(ss-noservice)
exten => _999XX11112,n,Playback(vm-goodbye)
exten => _999XX11112,n,Hangup()
I'm sure I'm missing more ... but it's 4:15am ...lol...
ViciBox v.9.0.2 200415-1712
Asterisk 13.29.2-vici