[OpenSER-Users] OpenSER+freeradius+billing problem

ram talk2ram at gmail.com
Fri Aug 17 20:56:26 CEST 2007


On 8/18/07, Norman Brandinger <norm at goes.com> wrote:
>
> I see that you have "canonical-URI" instead of "Canonical-URI".



yes i have changed


After making the above fix, can you post the error you are receiving ?




modparam("acc", "radius_extra", "Called-Station-Id=$tu; \
Calling-Station-Id=$fu; \
Canonical-URI=$tu; \
User-Name=$au; \
Sip-User-Realm=$ar; \
Source-IP=$si; \
Source-Port=$sp; \
From-Header=$hdr(from); \
User-Agent=$hdr(user-agent); \
Contact=$hdr(contact); \
Event=$hdr(event)")


 0(0) find_cmd_export_t: found <load_tm>(0) in module tm
[/usr/local/lib/openser/modules/tm.so]
 0(0) xl_lookup_spec_name: found [tu] [22]
 0(0) xl_lookup_spec_name: found [fu] [18]
 0(0) xl_lookup_spec_name: found [tu] [22]
[root at home openser]#  0(0) xl_lookup_spec_name: found [au] [47]
 0(0) xl_lookup_spec_name: found [ar] [48]
 0(0) xl_lookup_spec_name: found [si] [34]
 0(0) xl_lookup_spec_name: found [sp] [35]
 0(0) xl_parse_name: name [from] index [0]
 0(0) INFO:xl_parse_name: using hdr type (4) instead of <from>
 0(0) xl_parse_name: name [user-agent] index [0]
 0(0) INFO:xl_parse_name: using hdr type (27) instead of <user-agent>
 0(0) xl_parse_name: name [contact] index [0]
 0(0) INFO:xl_parse_name: using hdr type (7) instead of <contact>
 0(0) xl_parse_name: name [event] index [0]
 0(0) INFO:xl_parse_name: using hdr type (21) instead of <event>
 0(0) ERROR: acc: can't get code for the Canonical-URI attribute
 0(0) ERROR:acc:mod_init: failed to init radius
 0(0) init_mod(): Error while initializing module acc
ERROR: error while initializing modules
 0(0) XLOG: destroy module ...
 0(0) DEBUG: tm_shutdown : start
 0(0) DEBUG: unlink_timer_lists : emptying DELETE list
 0(0) DEBUG: tm_shutdown : emptying hash table
 0(0) DEBUG: tm_shutdown : releasing timers
 0(0) DEBUG: tm_shutdown : removing semaphores
 0(0) DEBUG: tm_shutdown : destroying tmcb lists
 0(0) DEBUG: tm_shutdown : done
 0(0) INFO:mi_fifo:mi_destroy: process hasn't been created -> nothing to
kill
 0(2740) shm_mem_destroy
 0(2740) destroying the shared memory lock



Personally, I find it much easier to read by breaking this into multiple
> lines.



Ya i did as per recomendation


ram
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kamailio.org/pipermail/users/attachments/20070818/85085d00/attachment.htm 


More information about the Users mailing list