Hi Ricardo,

you will need to account also the Diversion headers (via extra accounting) - the billing engine should compute the call legs based on these hdrs.

regards,
bogdan

Ricardo Martinez wrote:

Hello list.
        I'm wondering how the "Call Forward" works in OpenSer.
        As the diversion module example shows, a INVITE message is catch in
the SIP Server, the the R-URI is changed for the forwarded number:


INVITE sip:[EMAIL PROTECTED] SIP/2.0
Via: SIP/2.0/UDP 1.2.3.4:5060
From: "mark" <sip:[EMAIL PROTECTED]>;tag=ldgheoihege
To: "Bob" <sip:[EMAIL PROTECTED]>
Call-ID: [EMAIL PROTECTED]
CSeq: 3 INVITE
Contact: <sip:[EMAIL PROTECTED]>
Content-Length: 0

The INVITE message is diverted and the new destination is sip:[EMAIL PROTECTED]
:
INVITE sip:[EMAIL PROTECTED] SIP/2.0
Via: SIP/2.0/UDP 5.6.7.8:5060
Via: SIP/2.0/UDP 1.2.3.4:5060
From: "mark" <sip:[EMAIL PROTECTED]>;tag=ldgheoihege
To: "Bob" <sip:[EMAIL PROTECTED]>
Call-ID: [EMAIL PROTECTED]
CSeq: 3 INVITE
Diversion: <sip:[EMAIL PROTECTED]>;reason=user-busy
Contact: <sip:[EMAIL PROTECTED]>
Content-Length: 0

How this new INVITE is reflected in the Start and Stop message for the
accounting ??.  How the "divertor" is billed ?
Hope that someone can clarify this.

Regards,

Ricardo Martinez

_______________________________________________
Users mailing list
[email protected]
http://openser.org/cgi-bin/mailman/listinfo/users



_______________________________________________
Users mailing list
[email protected]
http://openser.org/cgi-bin/mailman/listinfo/users

Reply via email to