[OpenSER-Users] CFG problem with 3rd party tool SOLVED(ish)

Andy Smith a.smith at ukgrid.net
Wed Jan 30 13:46:28 CET 2008


Hi Bogdan,

  yes actually your quite right I just re-tested it with my updated config, 
I was wrong! After getting all the config properly
cleaned up and a couple of typos sorted now with the updated 
"Billing-Party=$avp(s:billing_party)" entry OpenSER
does happily start up with out breaking the "radius_extra" line into two!

Thanks! Andy.

----- Original Message ----- 
From: "Bogdan-Andrei Iancu" <bogdan at voice-system.ro>
To: "Andy Smith" <a.smith at ukgrid.net>
Cc: <users at lists.openser.org>
Sent: Wednesday, January 30, 2008 1:36 PM
Subject: Re: [OpenSER-Users] CFG problem with 3rd party tool SOLVED(ish)


> Hi Andy,
>
> the first line will be ignored and only the second one will be consider - 
> this parameter does not allow multiple definitions.
>
> regarding the number of items from the definition, the limit is 64; guess 
> it is not the case :D....
>
> regards,
> bogdan
>
> Andy Smith wrote:
>> Hi,
>>  ok, I found and solved one issue. The acc radius_extra entries seem to 
>> have a maximum lenght that openser can parse
>> so when I break the configuration into two "lines" like this:
>>  modparam("acc", "radius_extra",       "User-Name=$Au; \
>> Calling-Station-Id=$from; \
>> Called-Station-Id=$to; \
>> Sip-Translated-Request-URI=$ruri; \
>> Sip-RPid=$avp(s:rpid); \
>> Source-IP=$si; \
>> Source-Port=$sp; \
>> Canonical-URI=$avp(s:can_uri); \
>> Divert-Reason=$avp(s:divert_reason); \
>> X-RTP-Stat=$hdr(X-RTP-Stat)")
>>  modparam("acc", "radius_extra", "User-Agent=$hdr(user-agent); \
>> Event=$hdr(event); \
>> Contact=$hdr(contact); \
>> SIP-Proxy-IP=$avp(s:sip_proxy_ip); \
>> ENUM-TLD=$avp(s:enum_tld)")
>> #Billing-Party=$avp(billing_party); \
>>  It all works, I hope OpenSER isnt ignoring the first entry in the cfg 
>> file!!!! :S. But its only working  if I remove the entry
>> "Billing-Party=$avp(billing_party)", if I change this to 
>> "Billing-Party=$avp(s:billing_party)", then all starts fine. Just hope
>> thats how its meant to be! :P
>>  Andy.
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> Users mailing list
>> Users at lists.openser.org
>> http://lists.openser.org/cgi-bin/mailman/listinfo/users
>>
>
>
>
> -- 
> No virus found in this incoming message.
> Checked by AVG Free Edition. Version: 7.5.516 / Virus Database: 
> 269.19.16/1250 - Release Date: 29/01/2008 22:20
>
> 





More information about the sr-users mailing list