Re: [SR-Users] LCR Module - Rule_id

2013-05-24 Thread Eloy Coto Pereiro
Hi Juha,


Many thanks, finally with lcr_id is ok. I make a few changes in my config
and work ok.

Cheers


On Fri, May 17, 2013 at 3:02 PM, Juha Heinanen j...@tutpro.com wrote:

 Eloy Coto Pereiro writes:

  Any solution to check the rule extra info. I want route billing info to
 put
  in the acc. Any standar solution?

 i quickly looked the code and seems like rule_id would need to be added
 to matched_gw_info struct when load_gws() is called and copied from
 there as a new field to gw_uri_avp. then when next_gw() is called,
 rule_id stored with matched gw would need to be copied from the gw's
 matched_gw_info struct to a new rule_id_avp.

 -- juha

 ___
 SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
 sr-users@lists.sip-router.org
 http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users


[SR-Users] LCR Module - Rule_id

2013-05-17 Thread Eloy Coto Pereiro
Hi,

It Is possible get the rule_id after execute next_gw() function?

Cheers
___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users


[SR-Users] LCR Module - Rule_id

2013-05-17 Thread Juha Heinanen
Eloy Coto Pereiro writes:

 It Is possible get the rule_id after execute next_gw() function?

no, that is not currently available in any avp.

-- juha

___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] LCR Module - Rule_id

2013-05-17 Thread Eloy Coto Pereiro
Hi

Thanks Juha for your response.

Any solution to check the rule extra info. I want route billing info to put
in the acc. Any standar solution?

Cheers


On Fri, May 17, 2013 at 11:27 AM, Juha Heinanen j...@tutpro.com wrote:

 Eloy Coto Pereiro writes:

  It Is possible get the rule_id after execute next_gw() function?

 no, that is not currently available in any avp.

 -- juha

 ___
 SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
 sr-users@lists.sip-router.org
 http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] LCR Module - Rule_id

2013-05-17 Thread Juha Heinanen
Eloy Coto Pereiro writes:

 Any solution to check the rule extra info. I want route billing info to put
 in the acc. Any standar solution?

i quickly looked the code and seems like rule_id would need to be added
to matched_gw_info struct when load_gws() is called and copied from
there as a new field to gw_uri_avp. then when next_gw() is called,
rule_id stored with matched gw would need to be copied from the gw's
matched_gw_info struct to a new rule_id_avp.

-- juha

___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users