Hi,

I am having a difficulty with the rating in CDRTool. When I telnet and give 
this command:

ShowPrice From=sip:005521810...@10.0.0.4 To=sip:00552181000...@10.0.0.1 
Gateway=10.0.0.4 Duration=30
(IPs where changed)

The rating engine identifies the customer by the gateway and rates correctly.

When the call comes from the OpenSips it doesn't identify the customer and uses
the default profile:

Start time: 2009-07-21 14:55:24 
Stop time: 2009-07-21 14:55:59
Method:Invite from : 
From:5521083200...@10.0.0.4
Domain:10.0.0.4
To (dialed URI):005521810...@10.0.0.4
Canonical URI: 005521810...@10.0.0.1
Next hop URI:005521810...@10.0.0.2
Destination: BRAZIL CELL (55218)
Billing Party:5521810...@10.0.0.4
Reseller:

Duration: 35 s
App: audio
Destination: 55218
Customer: default
Connect: 0.0000 ......

Should I set some different variable to FreeRadius for it to identify the 
GATEWAY?

Thanks,

Alberto
_______________________________________________
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to