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:bob@sip.org SIP/2.0 Via: SIP/2.0/UDP 1.2.3.4:5060 From: "mark" sip:mark@sip.org;tag=ldgheoihege To: "Bob" sip:bob@sip.org Call-ID: adgasdkgjhkjha@1.2.3.4 CSeq: 3 INVITE Contact: sip:mark@1.2.3.4 Content-Length: 0
The INVITE message is diverted and the new destination is sip:alice@sip.org :
INVITE sip:alice@sip.org 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:mark@sip.org;tag=ldgheoihege To: "Bob" sip:bob@sip.org Call-ID: adgasdkgjhkjha@1.2.3.4 CSeq: 3 INVITE Diversion: sip:bob@sip.org;reason=user-busy Contact: sip:mark@1.2.3.4 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
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:bob@sip.org SIP/2.0 Via: SIP/2.0/UDP 1.2.3.4:5060 From: "mark" sip:mark@sip.org;tag=ldgheoihege To: "Bob" sip:bob@sip.org Call-ID: adgasdkgjhkjha@1.2.3.4 CSeq: 3 INVITE Contact: sip:mark@1.2.3.4 Content-Length: 0
The INVITE message is diverted and the new destination is sip:alice@sip.org :
INVITE sip:alice@sip.org 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:mark@sip.org;tag=ldgheoihege To: "Bob" sip:bob@sip.org Call-ID: adgasdkgjhkjha@1.2.3.4 CSeq: 3 INVITE Diversion: sip:bob@sip.org;reason=user-busy Contact: sip:mark@1.2.3.4 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 Users@openser.org http://openser.org/cgi-bin/mailman/listinfo/users