Re: ACF&CDR after triple stage rewriting

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



this part of log:
----------------------------
2005/01/31 08:18:15.728 2             RasSrv.cxx(168) 
 RAS     Read from X.X.X.X:24578
2005/01/31 08:18:15.804 3             RasSrv.cxx(207) 
 RAS
admissionRequest {
    requestSeqNum = 19437
    callType = pointToPoint <<null>>
    endpointIdentifier =  10 characters {
      0030 0038 003a 0035 0039 003a 0034 0031  
08:59:41
      002e 0033                                 .3
    }
    destinationInfo = 1 entries {
      [0]=dialedDigits "-------39077"
    }


2005/01/31 08:18:15.850 2            Toolkit.cxx(345) 
         GWRewriteTool::RewritePString: -------39077
to 9999-------39077
2005/01/31 08:18:15.850 2            Toolkit.cxx(292) 
         RewritePString: 9999-------39077 to
7777-------39077
2005/01/31 08:18:15.851 3             RasSrv.cxx(1924)
 GK      ARQ will request bandwith of 126
2005/01/31 08:18:15.851 5              Routing.h(125) 
 ROUTING Checking policy Explicit for the request ARQ
19437
2005/01/31 08:18:15.851 5              Routing.h(125) 
 ROUTING Checking policy Internal for the request ARQ
19437
2005/01/31 08:18:15.852 2             RasTbl.cxx(664) 
 RASTBL  Gateway 1347_endp matched by prefix 7777.
2005/01/31 08:18:15.852 4             RasTbl.cxx(1068)
 Prefix match for GW Y.Y.Y.Y:1720
2005/01/31 08:18:15.852 5              Routing.h(131) 
 ROUTING Policy Internal applied to the request ARQ
19437
2005/01/31 08:18:15.861 2            Toolkit.cxx(345) 
         GWRewriteTool::RewritePString:
7777-------39077 to -------51597
2005/01/31 08:18:15.862 2             RasTbl.cxx(1969)
 CallTable::Insert(CALL) Call No. 26, total sessions :
1
2005/01/31 08:18:15.863 2             RasSrv.cxx(373) 

ACF|X.X.X.X:1720|08:59:41.3|84|7777-------39077:dialedDigits|andrey:h323_ID|false;

2005/01/31 08:18:16.108 4       ProxyChannel.cxx(1306)
         GWRewrite source: call record
2005/01/31 08:18:16.108 2            Toolkit.cxx(345) 
         GWRewriteTool::RewritePString: -------39077
to 9999-------39077
2005/01/31 08:18:16.109 2            Toolkit.cxx(292) 
         RewritePString: 9999-------39077 to
7777-------39077
2005/01/31 08:18:16.109 2            Toolkit.cxx(345) 
         GWRewriteTool::RewritePString: -------39077
to 9999-------39077
2005/01/31 08:18:16.109 2            Toolkit.cxx(292) 
         RewritePString: 9999-------39077 to
7777-------39077
2005/01/31 08:18:16.110 2             gkacct.cxx(959) 
 GKACCT  Successfully logged event 1 for call no. 26
2005/01/31 08:18:16.110 4       ProxyChannel.cxx(1625)
         GWRewrite source: call record
2005/01/31 08:18:16.110 2            Toolkit.cxx(345) 
         GWRewriteTool::RewritePString:
7777-------39077 to -------51597
2005/01/31 08:18:16.110 2            Toolkit.cxx(345) 
         GWRewriteTool::RewritePString:
7777-------39077 to -------51597
2005/01/31 08:18:16.111 3       ProxyChannel.cxx(1679)
 GK      Call 26 is NAT type 0
2005/01/31 08:18:16.180 4       ProxyChannel.cxx(1950)
 Q931

2005/01/31 08:18:16.208 5       ProxyChannel.cxx(658) 
 Q931    Send to Y.Y.Y.Y:1720 {
  q931pdu = {
    protocolDiscriminator = 8
    callReference = 84
    from = originator
    messageType = Setup
    IE: Bearer-Capability = {
      80 80 a2                                        
  ...
    }
    IE: Display = {
      54 65 6e 6f 72 2d 47 61  74 65 77 61 79         
  Tenor-Gateway
    }
    IE: Called-Party-Number = {
      91 - - - - - - -  35 31 35 39 37           
.-------51597
    }

2005/01/31 08:18:31.316 1             RasTbl.cxx(2136)
 CDR|26|34 31 66 64 63 64 61 37 62 32 00 37 00 00 00
a2|7|Mon, 31 Jan 2005 08:18:24 +0200|Mon, 31 Jan 200
5 08:18:31
+0200|X.X.X.X:24636|08:59:41.3|Y.Y.Y.Y:1720|1347_endp|7777-------39077:dialedDigits|andrey:h323_ID|SuperGK;

2005/01/31 08:18:31.317 5             gkacct.cxx(733) 
 GKACCT  FileAcct - CDR string for event 2, call no.
26: MY_CDR,41f4e5c30000001a,26,7,20050131081816+0200
,20050131081824+0200,20050131081831+0200,16,X.X.X.X,Y.Y.Y.Y,andrey,7777-------39077,-------39077,SuperGK
---------------------------

why Called-Party-Number not show in ACF&CDR?




UTShrike@xxxxxxxxxxxx (Andrey) wrote:

>I can get DIALED number, but I never see rewriten
destination number, except gk.log. ACF&CDR don't show
dst number after outgoing rewriten rule in
[RasSrv::GWRewriteE164]. You can see it only after
global rule in [RasSrv::RewriteE164]. So if you have
this rule:
>
>[RasSrv::GWRewriteE164]
>endp2=out=%%%%12345=54321
>
>you can see 54321 only in gk.log, but in ACF&CDR
777712345
>It's work and gnugk send correct number(54321) to
endp2, but how to catch this?
>
>
>"Zygmuntowicz Michal" <m.zygmuntowicz@xxxxxxx> wrote:
>
>>GnuGk always shows rewritten numbers in all ACF and
CDR messages.
>>You may use FileAcct/SqlAcct/RadAcct module to
generate custom CDRs
>>and try %{Dialed-Number}accounting variable to get
the dialed number instead
>>of %{Called-Station-Id} which is a rewritten number.
>>The dialed number is the one received before any
rewrite (inbound or
>>global).
>>
>>----- Original Message -----
>>From: <UTShrike@xxxxxxxxxxxx>
>>Sent: Tuesday, January 25, 2005 2:48 PM
>>
>>
>>> config:
>>> [RasSrv::PermanentEndpoints]
>>> 1.2.3.4=endp2;7777.
>>>
>>> [RasSrv::RewriteE164]
>>> 9999.=7777.
>>>
>>> [RasSrv::GWRewriteE164]
>>> endp1=in=.=9999.
>>> endp2=out=%%%%.=.
>>>
>>> Now, all calls from endp1 going to endp2, it's
work but ...
>>> if I call 12345 from endp1 what I have
>>> 12345
>>>  |
>>> 999912345 <- endp1=in=.=9999.   <- incoming
rewrite rule
>>>  |
>>> 777712345 <- 9999.=7777.        <- global rewrite
rule
>>>  |
>>> 12345     <- endp2=out=%%%%.=.  <- outgoing
rewrite rule (dst number)
>>>
>>> but in ACF and CDR I see 777712345:dialedDigits
not 12345
>>> All rewriting made in outgoing rule like
"endp2=out=%%%%.=." in
>>> [RasSrv::GWRewriteE164] works and I can see in
log, but not show in ACF
>>> and CDR.
>>>
>>> How I can see right destination number in ACF and
CDR?
>>
>>
>>
>>-------------------------------------------------------
>>This SF.Net email is sponsored by: IntelliVIEW --
Interactive Reporting
>>Tool for open source databases. Create drag-&-drop
reports. Save time
>>by over 75%! Publish reports on the web. Export to
DOC, XLS, RTF, etc.
>>Download a FREE copy at
http://www.intelliview.com/go/osdn_nl
>>
>>_______________________________________________________
>>
>>List: Openh323gk-users@xxxxxxxxxxxxxxxxxxxxx
>>Archive:
http://sourceforge.net/mailarchive/forum.php?forum_id=8549
>>Homepage: http://www.gnugk.org/
>>
>
>__________________________________________________________________
>Switch to Netscape Internet Service.
>As low as $9.95 a month -- Sign up today at
http://isp.netscape.com/register
>
>Netscape. Just the Net You Need.
>
>New! Netscape Toolbar for Internet Explorer
>Search from anywhere on the Web and block those
annoying pop-ups.
>Download now at
http://channels.netscape.com/ns/search/install.jsp
>
>
>-------------------------------------------------------
>This SF.Net email is sponsored by: IntelliVIEW --
Interactive Reporting
>Tool for open source databases. Create drag-&-drop
reports. Save time
>by over 75%! Publish reports on the web. Export to
DOC, XLS, RTF, etc.
>Download a FREE copy at
http://www.intelliview.com/go/osdn_nl
>
>_______________________________________________________
>
>List: Openh323gk-users@xxxxxxxxxxxxxxxxxxxxx
>Archive:
http://sourceforge.net/mailarchive/forum.php?forum_id=8549
>Homepage: http://www.gnugk.org/
>


		
__________________________________ 
Do you Yahoo!? 
Yahoo! Mail - 250MB free storage. Do more. Manage less. 
http://info.mail.yahoo.com/mail_250


-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl

_______________________________________________________

List: Openh323gk-users@xxxxxxxxxxxxxxxxxxxxx
Archive: http://sourceforge.net/mailarchive/forum.php?forum_id=8549
Homepage: http://www.gnugk.org/

[Index of Archives]     [SIP]     [Open H.323]     [Gnu Gatekeeper]     [Asterisk PBX]     [ISDN Cause Codes]     [Yosemite News]

  Powered by Linux