El Tuesday 16 October 2007 15:16:31 Klaus Darilion escribió: > Iñaki Baz Castillo wrote:
> > The gateway will be in fact other OpenSer+CDRtool+MediaProxy (if I can > > configure it) or Asterisk. They will contact with the real SIP carrier. > > > > So when [EMAIL PROTECTED] calls sip:[EMAIL PROTECTED] it will appear in > > OpenSer gateway: > > - [EMAIL PROTECTED] > > - [EMAIL PROTECTED] > > > > But in the aboved explained forwarding it will appear > > - [EMAIL PROTECTED] > > - [EMAIL PROTECTED] > > > > I'm not sure then how to invoice this call. I see 2 options: > > > > a) Invoice always based on RURI [*] > > > > b) Add a "Diversion" (or other custom) header in main OpenSer so OpenSer > > gateway will invoice to the user in that header. > I would use b). Add a header to the INVITE sent to GW-Openser (name it > as you like, e.g: X-Billing-Party: ) and in GW-Openser use this header > for accounting. Further: > - make sure to remove every X-Billing-Party header from messages > routed by the main proxy > - do not accept INVITEs without this header in the GW-Openser. > > This way you can be sure that nobody bypasses your accounting logic. Ok, thanks a lot again for your help. Best regards. -- Iñaki Baz Castillo [EMAIL PROTECTED] _______________________________________________ Users mailing list Users@openser.org http://openser.org/cgi-bin/mailman/listinfo/users