[Serusers] Call Forward and Billing.

Ricardo Martinez rmartinez at redvoiss.net
Thu Apr 13 23:59:53 CEST 2006


Hello list.
	It is been a while since i wrote here, that's ok, it means that my
SER box is working flawless. :)
	Well, if is not to much problem i want to ask a question about the
Diversion module and how the Forward procedure works.

	Suppose that i want to implement a Blind Call Forward system, that
works catching the First INVITE and then changing the R-URI for the
forwarded number, like the "getting started" doc from onsip.    Something
like this example : 

INVITE sip:bob at sip.org SIP/2.0
Via: SIP/2.0/UDP 1.2.3.4:5060
From: "mark" <sip:mark at sip.org>;tag=ldgheoihege
To: "Bob" <sip:bob at sip.org>
Call-ID: adgasdkgjhkjha at 1.2.3.4
CSeq: 3 INVITE
Contact: <sip:mark at 1.2.3.4>
Content-Length: 0

The INVITE message is diverted and the new destination is sip:alice at sip.org
: 

INVITE sip:alice at 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 at sip.org>;tag=ldgheoihege
To: "Bob" <sip:bob at sip.org>
Call-ID: adgasdkgjhkjha at 1.2.3.4
CSeq: 3 INVITE
Diversion: <sip:bob at sip.org>;reason=user-busy
Contact: <sip:mark at 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.

Thanks in advance

Ricardo Martinez




More information about the sr-users mailing list