[OpenSIPS-Devel] [opensips] RabbitMQ for Acc breaks in 1.11 (#207)

Jonathan Hulme notifications at github.com
Wed Apr 30 18:42:10 CEST 2014


Sorry for the delay::

modparam("acc", "db_url", "flatstore:/var/log/cdr")
modparam("acc", "detect_direction", 0)
modparam("acc", "early_media", 0)
modparam("acc", "report_cancels", 1)
modparam("acc", "detect_direction", 0)

modparam("acc", "db_table_acc", "cdr")
modparam("acc", "db_table_missed_calls", "cdr_failed")

modparam("acc", "acc_time_column", "call_time")

modparam("acc", "failed_transaction_flag", "ACC_FAILED")
#modparam("acc", "log_flag", "ACC_DO")
#modparam("acc", "log_missed_flag", "ACC_MISSED")

modparam("acc", "cdr_flag", "CDR_FLAG")

modparam("acc", "db_flag", "DB_FLAG")
modparam("acc", "evi_flag", "EVI_FLAG")

modparam("acc", "db_missed_flag", "DB_MISSED_FLAG")
modparam("acc", "db_extra", "
				account_id=$avp(account_id);
				provider_id=$avp(prov_id);
				account_card_id=$avp(acc_card_id);
				provider_card_id=$avp(prov_card_id);
				source_ip=$avp(orig_ip);
				pdd_in=$avp(pdd_in);
				pdd_out=$avp(pdd_out);
				lrn_number=$avp(lrn_number);
				source_number=$fU;
				dest_number=$tU;
				ring_duration=$avp(ring_duration);
				switch=$Ri
				") #Extra data

modparam("acc", "evi_extra", "
				account_id=$avp(account_id);
				provider_id=$avp(prov_id);
				account_card_id=$avp(acc_card_id);
				provider_card_id=$avp(prov_card_id);
				source_ip=$avp(orig_ip);
				pdd_in=$avp(pdd_in);
				pdd_out=$avp(pdd_out);
				lrn_number=$avp(lrn_number);
				source_number=$fU;
				dest_number=$tU;
				ring_duration=$avp(ring_duration);
				switch=$Ri
				") #Extra data
modparam("acc", "db_extra_bye", "release_reason=$DLG_end_reason")
modparam("acc", "evi_extra_bye", "release_reason=$DLG_end_reason")

---
Reply to this email directly or view it on GitHub:
https://github.com/OpenSIPS/opensips/issues/207#issuecomment-41819430
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/devel/attachments/20140430/46540013/attachment.htm>


More information about the Devel mailing list