PDA

View Full Version : Caller ID shows my line number not callers!



Namvari
09-10-12, 01:47 PM
Hi, I change pikaagp_aoh.cfg to detect the caller id, but instead of caller number in FXO it show my connect lines phone number!
I changed all types of calleridmode but in fsk modes it show my phone number and in dtmf shows unknown!

warp v1
core-2.7.5.1

Regards

mrecoskie
09-10-12, 02:35 PM
Hi,

Do you have an Asterisk CLI log of this occurrence?
What is the call flow? FXO to a IP phone?

Namvari
09-10-12, 04:47 PM
1-


Asterisk 1.4.25.1, Copyright (C) 1999 - 2008 Digium, Inc. and others.
Created by Mark Spencer <markster@digium.com>
Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details.
This is free software, with components licensed under the GNU General Public
License version 2 and other licenses; you are welcome to redistribute it under
certain conditions. Type 'core show license' for details.
================================================== =======================
== Parsing '/etc/asterisk/asterisk.conf': Found
== Parsing '/etc/asterisk/extconfig.conf': Found
Connected to Asterisk 1.4.25.1 currently running on warp (pid = 27622)
Verbosity is at least 9
-- CID set in if
-- Executing [s@from-pika-fxo:1] NoOp("PIKA/fxo/1", "Entering from-pika-fxo with DID == ") in new stack
-- Executing [s@from-pika-fxo:2] Ringing("PIKA/fxo/1", "") in new stack
-- Executing [s@from-pika-fxo:3] Set("PIKA/fxo/1", "DID=s") in new stack
-- Executing [s@from-pika-fxo:4] NoOp("PIKA/fxo/1", "DID is now s") in new stack
-- Executing [s@from-pika-fxo:5] Set("PIKA/fxo/1", "CHAN=/fxo/1") in new stack
-- Executing [s@from-pika-fxo:6] Set("PIKA/fxo/1", "CHAN=1") in new stack
-- Executing [s@from-pika-fxo:7] Macro("PIKA/fxo/1", "from-pika-fxo-1|s|1") in new stack
-- Executing [s@macro-from-pika-fxo-1:1] NoOp("PIKA/fxo/1", "Entering macro-from-pika-fxo-1 with DID = s and setting to: 222201") in new stack
-- Executing [s@macro-from-pika-fxo-1:2] Set("PIKA/fxo/1", "__FROM_DID=222201") in new stack
-- Executing [s@macro-from-pika-fxo-1:3] Goto("PIKA/fxo/1", "from-trunk|222201|1") in new stack
-- Goto (from-trunk,222201,1)
== Channel 'PIKA/fxo/1' jumping out of macro 'from-pika-fxo-1'
-- Executing [222201@from-trunk:1] Set("PIKA/fxo/1", "__FROM_DID=222201") in new stack
-- Executing [222201@from-trunk:2] ExecIf("PIKA/fxo/1", "1 |Set|CALLERID(name)=4442933") in new stack
-- Executing [222201@from-trunk:3] Set("PIKA/fxo/1", "__CALLINGPRES_SV=allowed_not_screened") in new stack
-- Executing [222201@from-trunk:4] SetCallerPres("PIKA/fxo/1", "allowed_not_screened") in new stack
-- Executing [222201@from-trunk:5] Goto("PIKA/fxo/1", "from-did-direct|15|1") in new stack
-- Goto (from-did-direct,15,1)
-- Executing [15@from-did-direct:1] Macro("PIKA/fxo/1", "exten-vm|novm|15") in new stack
-- Executing [s@macro-exten-vm:1] Macro("PIKA/fxo/1", "user-callerid|") in new stack
-- Executing [s@macro-user-callerid:1] Set("PIKA/fxo/1", "AMPUSER=4442933") in new stack
-- Executing [s@macro-user-callerid:2] GotoIf("PIKA/fxo/1", "0?report") in new stack
-- Executing [s@macro-user-callerid:3] ExecIf("PIKA/fxo/1", "1|Set|REALCALLERIDNUM=4442933") in new stack
-- Executing [s@macro-user-callerid:4] Set("PIKA/fxo/1", "AMPUSER=") in new stack
-- Executing [s@macro-user-callerid:5] Set("PIKA/fxo/1", "AMPUSERCIDNAME=") in new stack
-- Executing [s@macro-user-callerid:6] GotoIf("PIKA/fxo/1", "1?report") in new stack
-- Goto (macro-user-callerid,s,9)
-- Executing [s@macro-user-callerid:9] GotoIf("PIKA/fxo/1", "0?continue") in new stack
-- Executing [s@macro-user-callerid:10] Set("PIKA/fxo/1", "__TTL=64") in new stack
-- Executing [s@macro-user-callerid:11] GotoIf("PIKA/fxo/1", "1?continue") in new stack
-- Goto (macro-user-callerid,s,18)
-- Executing [s@macro-user-callerid:18] NoOp("PIKA/fxo/1", "Using CallerID "4442933" <4442933>") in new stack
-- Executing [s@macro-exten-vm:2] Set("PIKA/fxo/1", "RingGroupMethod=none") in new stack
-- Executing [s@macro-exten-vm:3] Set("PIKA/fxo/1", "VMBOX=novm") in new stack
-- Executing [s@macro-exten-vm:4] Set("PIKA/fxo/1", "EXTTOCALL=15") in new stack
-- Executing [s@macro-exten-vm:5] Set("PIKA/fxo/1", "CFUEXT=") in new stack
-- Executing [s@macro-exten-vm:6] Set("PIKA/fxo/1", "CFBEXT=") in new stack
-- Executing [s@macro-exten-vm:7] Set("PIKA/fxo/1", "RT=""") in new stack
-- Executing [s@macro-exten-vm:8] Macro("PIKA/fxo/1", "record-enable|15|IN") in new stack
-- Executing [s@macro-record-enable:1] GotoIf("PIKA/fxo/1", "1?check") in new stack
-- Goto (macro-record-enable,s,4)
-- Executing [s@macro-record-enable:4] ExecIf("PIKA/fxo/1", "0|MacroExit|") in new stack
-- Executing [s@macro-record-enable:5] GotoIf("PIKA/fxo/1", "0?Group:OUT") in new stack
-- Goto (macro-record-enable,s,16)
-- Executing [s@macro-record-enable:16] GotoIf("PIKA/fxo/1", "1?IN") in new stack
-- Goto (macro-record-enable,s,21)
-- Executing [s@macro-record-enable:21] ExecIf("PIKA/fxo/1", "1|MacroExit|") in new stack
-- Executing [s@macro-exten-vm:9] Macro("PIKA/fxo/1", "dial||tr|15") in new stack
-- Executing [s@macro-dial:1] GotoIf("PIKA/fxo/1", "1?dial") in new stack
-- Goto (macro-dial,s,3)
-- Executing [s@macro-dial:3] AGI("PIKA/fxo/1", "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 '4442933' number is '4442933'
dialparties.agi: USE_CONFIRMATION: 'FALSE'
dialparties.agi: RINGGROUP_INDEX: ''
dialparties.agi: Methodology of ring is 'none'
-- dialparties.agi: Added extension 15 to extension map
> dialparties.agi: Extension 15 has call screening off
-- dialparties.agi: Extension 15 cf is disabled
-- dialparties.agi: Extension 15 do not disturb is disabled
> dialparties.agi: extnum 15 has: cw: 1; hascfb: 0 [] hascfu: 0 []
dialparties.agi: ExtensionState: 0
-- dialparties.agi: dbset CALLTRACE/15 to 4442933
-- dialparties.agi: Filtered ARG3: 15
== Manager 'admin' logged off from 127.0.0.1
-- AGI Script dialparties.agi completed, returning 0
-- Executing [s@macro-dial:7] Dial("PIKA/fxo/1", "SIP/15||tr") in new stack
-- Called 15
-- SIP/15-1030b150 is ringing
warp*CLI>

Sorry I don't know is it CLI Log?

caller id 091440553....
and phone number is 4442933

2-Yes my call flow is FXO to IP phone by DID or any DID.
Log is for DID 222201

Namvari
09-17-12, 12:27 AM
Hi, I ask provide to change caller id mode to dtmf and it works,
But there is a problem i want to set some fxo lines to fsk mode and others on dtmf
is it possible?