CDR Report & Source

algerka

Joined
Jan 19, 2011
Messages
5
Likes
0
Points
0
#1
Hello

i use elasrix 2.0.3
when in trunk setup field Outbound Caller ID is empty in CDR report i see in the source filed extension nummber (in pic 2). but for connect to our sip provider i must user our id nummber 6477952, and when i enter this number in CDR report i can not see who make call (extension number), in filed Source i see only 6477952 (in pic 1)

please help me, how to use Outbound Caller ID and in CDR report see extension number.

CDR report:



trunk setup:
 

mm.alpha2k

Joined
Jun 19, 2010
Messages
165
Likes
0
Points
0
#2
It is normal to happen, is this setting the output trunk.
Try to leave empty Outbound Caller ID trunk.

But in every extension in Outbound CID, extensions test
Outbound Caller ID will not work in trunk
 

algerka

Joined
Jan 19, 2011
Messages
5
Likes
0
Points
0
#3
mm.alpha2k said:
It is normal to happen, is this setting the output trunk.
Try to leave empty Outbound Caller ID trunk.

But in every extension in Outbound CID, extensions test
Outbound Caller ID will not work in trunk
i can not leave empty Outbound Caller ID in trunk setup, becouse i must use it for connect to our sip provider.

and it's not good what i can't see in cdr report who make call.

example in code: i make call from 6220 to 89057535363 number via sip provider.
but in CDR report i see^
Code:
2011-01-26 09:14:12 	6477952 	89057535363 	DAHDI/31-1 	  	SIP/mcm-000002e7 	ANSWERED 	28s
may be any one know how to write REALCALLERIDNUM (see code) to account field in CDR
report ?

Code:
    -- Accepting overlap call from '6220' to '89057535363' on channel 0/31, span 1
    -- Starting simple switch on 'DAHDI/31-1'
    -- Executing [89057535363@from-internal:1] Macro("DAHDI/31-1", "user-callerid,SKIPTTL,") in new stack
    -- Executing [s@macro-user-callerid:1] Set("DAHDI/31-1", "AMPUSER=6220") in new stack
    -- Executing [s@macro-user-callerid:2] GotoIf("DAHDI/31-1", "0?report") in new stack
    -- Executing [s@macro-user-callerid:3] ExecIf("DAHDI/31-1", "1?Set(REALCALLERIDNUM=6220)") in new stack
    -- Executing [s@macro-user-callerid:4] Set("DAHDI/31-1", "AMPUSER=") in new stack
    -- Executing [s@macro-user-callerid:5] Set("DAHDI/31-1", "AMPUSERCIDNAME=") in new stack
    -- Executing [s@macro-user-callerid:6] GotoIf("DAHDI/31-1", "1?report") in new stack
    -- Goto (macro-user-callerid,s,10)
    -- Executing [s@macro-user-callerid:10] GotoIf("DAHDI/31-1", "1?continue") in new stack
    -- Goto (macro-user-callerid,s,19)
    -- Executing [s@macro-user-callerid:19] NoOp("DAHDI/31-1", "Using CallerID "" <6220>") in new stack
    -- Executing [89057535363@from-internal:2] Set("DAHDI/31-1", "_NODEST=") in new stack
    -- Executing [89057535363@from-internal:3] Macro("DAHDI/31-1", "record-enable,,OUT,") in new stack
    -- Executing [s@macro-record-enable:1] GotoIf("DAHDI/31-1", "1?check") in new stack
    -- Goto (macro-record-enable,s,4)
    -- Executing [s@macro-record-enable:4] ExecIf("DAHDI/31-1", "1?MacroExit()") in new stack
    -- Executing [89057535363@from-internal:4] Macro("DAHDI/31-1", "dialout-trunk,2,89057535363,,") in new stack
    -- Executing [s@macro-dialout-trunk:1] Set("DAHDI/31-1", "DIAL_TRUNK=2") in new stack
    -- Executing [s@macro-dialout-trunk:2] GosubIf("DAHDI/31-1", "0?sub-pincheck,s,1") in new stack
    -- Executing [s@macro-dialout-trunk:3] GotoIf("DAHDI/31-1", "0?disabletrunk,1") in new stack
    -- Executing [s@macro-dialout-trunk:4] Set("DAHDI/31-1", "DIAL_NUMBER=89057535363") in new stack
    -- Executing [s@macro-dialout-trunk:5] Set("DAHDI/31-1", "DIAL_TRUNK_OPTIONS=tr") in new stack
    -- Executing [s@macro-dialout-trunk:6] Set("DAHDI/31-1", "OUTBOUND_GROUP=OUT_2") in new stack
    -- Executing [s@macro-dialout-trunk:7] GotoIf("DAHDI/31-1", "0?nomax") in new stack
    -- Executing [s@macro-dialout-trunk:8] GotoIf("DAHDI/31-1", "0?chanfull") in new stack
    -- Executing [s@macro-dialout-trunk:9] GotoIf("DAHDI/31-1", "0?skipoutcid") in new stack
    -- Executing [s@macro-dialout-trunk:10] Set("DAHDI/31-1", "DIAL_TRUNK_OPTIONS=") in new stack
    -- Executing [s@macro-dialout-trunk:11] Macro("DAHDI/31-1", "outbound-callerid,2") in new stack
    -- Executing [s@macro-outbound-callerid:1] ExecIf("DAHDI/31-1", "0?Set(CALLERPRES()=)") in new stack
    -- Executing [s@macro-outbound-callerid:2] ExecIf("DAHDI/31-1", "0?Set(REALCALLERIDNUM=6220)") in new stack
    -- Executing [s@macro-outbound-callerid:3] GotoIf("DAHDI/31-1", "1?normcid") in new stack
    -- Goto (macro-outbound-callerid,s,6)
    -- Executing [s@macro-outbound-callerid:6] Set("DAHDI/31-1", "USEROUTCID=") in new stack
    -- Executing [s@macro-outbound-callerid:7] Set("DAHDI/31-1", "EMERGENCYCID=") in new stack
    -- Executing [s@macro-outbound-callerid:8] Set("DAHDI/31-1", "TRUNKOUTCID=<6477952>") in new stack
    -- Executing [s@macro-outbound-callerid:9] GotoIf("DAHDI/31-1", "1?trunkcid") in new stack
    -- Goto (macro-outbound-callerid,s,12)
    -- Executing [s@macro-outbound-callerid:12] ExecIf("DAHDI/31-1", "1?Set(CALLERID(all)=<6477952>)") in new stack
    -- Executing [s@macro-outbound-callerid:13] ExecIf("DAHDI/31-1", "0?Set(CALLERID(all)=)") in new stack
    -- Executing [s@macro-outbound-callerid:14] ExecIf("DAHDI/31-1", "0?Set(CALLERID(all)=)") in new stack
    -- Executing [s@macro-outbound-callerid:15] ExecIf("DAHDI/31-1", "0?Set(CALLERPRES()=prohib_passed_screen)") in new stack
    -- Executing [s@macro-dialout-trunk:12] ExecIf("DAHDI/31-1", "0?AGI(fixlocalprefix)") in new stack
    -- Executing [s@macro-dialout-trunk:13] Set("DAHDI/31-1", "OUTNUM=89057535363") in new stack
    -- Executing [s@macro-dialout-trunk:14] Set("DAHDI/31-1", "custom=SIP/mcm") in new stack
    -- Executing [s@macro-dialout-trunk:15] ExecIf("DAHDI/31-1", "0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^))") in new stack
    -- Executing [s@macro-dialout-trunk:16] Macro("DAHDI/31-1", "dialout-trunk-predial-hook,") in new stack
    -- Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit("DAHDI/31-1", "") in new stack
    -- Executing [s@macro-dialout-trunk:17] GotoIf("DAHDI/31-1", "0?bypass,1") in new stack
    -- Executing [s@macro-dialout-trunk:18] GotoIf("DAHDI/31-1", "0?customtrunk") in new stack
    -- Executing [s@macro-dialout-trunk:19] Dial("DAHDI/31-1", "SIP/mcm/89057535363,300,") in new stack
  == Using SIP RTP TOS bits 184
 

Members online

No members online now.

Latest posts

Forum statistics

Threads
30,915
Messages
130,920
Members
17,595
Latest member
feparra121
Top