Hello, I have a ser and asterisk setup. Users register on ser and all the national and international calls go through asterisk. Asterisk handles the billing part for long distance calls. Now I got an issue with call forwarding. Here is the situation. Useragent A calls Usergent B. User B has setup the call the call forwarding to his cell phone. So when user A calls user B, ser check that user B has set the forwarding and send the call to Asterisk box. Asterisk box sees user A in the callerID and bills user A for that call. We want user B to be billed for that call, cause he is forwarding the calls to his cell phone (long distance number). How can I achieve this.
Thank you, -Jai
Hi,
Interesting, i was facing similar problem, i had quick fix for that. If it possible leave call forwarding part to UA if you using any hardware/software user agent and don't use SER for call forwarding. If you find other solution through ser, let me know. Ali...
On 3/20/07, Jai Rangi jprangi@gmail.com wrote:
Hello, I have a ser and asterisk setup. Users register on ser and all the national and international calls go through asterisk. Asterisk handles the billing part for long distance calls. Now I got an issue with call forwarding. Here is the situation. Useragent A calls Usergent B. User B has setup the call the call forwarding to his cell phone. So when user A calls user B, ser check that user B has set the forwarding and send the call to Asterisk box. Asterisk box sees user A in the callerID and bills user A for that call. We want user B to be billed for that call, cause he is forwarding the calls to his cell phone (long distance number). How can I achieve this.
Thank you, -Jai _______________________________________________ Serusers mailing list Serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
If you pay attention to the SIP packets, you'll see that the SIP To: header doesn't change even through the URI might. What we do is keep track of anyone who has call forwarding turned on, and if that's the case, we forward the calls to a DIFFERENT AGI on the Asterisk box. That AGI takes into account the incoming SIP To: header and ensures that billing is charged to the SIP To: user.
For instance, if you call 6363@yourserver.com and 6363 overwrites the RURI to 004428364825, then looking at the SIP To: header, you'll still see that the call went to 6363. You can then bill to the appropriate user.
Is it a foolproof scenario? Probably not, but it hasn't broken yet, and we don't have to put the onus on the UA.
N.
On Tue, 20 Mar 2007 10:15:34 -0800, Ali Zaidi wrote
Hi, Interesting, i was facing similar problem, i had quick fix for that. If it possible leave call forwarding part to UA if you using any hardware/software user agent and don't use SER for call forwarding. If you find other solution through ser, let me know. Ali...
On 3/20/07, Jai Rangi jprangi@gmail.com wrote:Hello, I have a ser and asterisk setup. Users register on ser and all the national and international calls go through asterisk. Asterisk handles the billing part for long distance calls. Now I got an issue with call forwarding. Here is the situation. Useragent A calls Usergent B. User B has setup the call the call forwarding to his cell phone. So when user A calls user B, ser check that user B has set the forwarding and send the call to Asterisk box. Asterisk box sees user A in the callerID and bills user A for that call. We want user B to be billed for that call, cause he is forwarding the calls to his cell phone (long distance number). How can I achieve this.
Thank you, -Jai _______________________________________________ Serusers mailing list Serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
Hi,
Maybe you want to use the Diversion header? There is a diversion module in SER.
Regards, Andreas
sip wrote:
If you pay attention to the SIP packets, you'll see that the SIP To: header doesn't change even through the URI might. What we do is keep track of anyone who has call forwarding turned on, and if that's the case, we forward the calls to a DIFFERENT AGI on the Asterisk box. That AGI takes into account the incoming SIP To: header and ensures that billing is charged to the SIP To: user.
For instance, if you call 6363@yourserver.com and 6363 overwrites the RURI to 004428364825, then looking at the SIP To: header, you'll still see that the call went to 6363. You can then bill to the appropriate user.
Is it a foolproof scenario? Probably not, but it hasn't broken yet, and we don't have to put the onus on the UA.
N.
On Tue, 20 Mar 2007 10:15:34 -0800, Ali Zaidi wrote*
Hi,
Interesting, i was facing similar problem, i had quick fix for that.
If it possible leave call forwarding part to UA if you using any hardware/software user agent and don't use SER for call forwarding.
If you find other solution through ser, let me know. Ali...
On 3/20/07, *Jai Rangi* <jprangi@gmail.com
mailto:jprangi@gmail.com> wrote:
Hello, > I have a ser and asterisk setup. Users register on ser and all the national and international calls go through asterisk. Asterisk handles the billing part for long distance calls. Now I got an issue with call forwarding. Here is the situation. > Useragent A calls Usergent B. User B has setup the call the call forwarding to his cell phone. So when user A calls user B, ser check that user B has set the forwarding and send the call to Asterisk box. Asterisk box sees user A in the callerID and bills user A for that call. We want user B to be billed for that call, cause he is forwarding the calls to his cell phone (long distance number). > How can I achieve this. > > Thank you, > -Jai > _______________________________________________ > Serusers mailing list > Serusers@lists.iptel.org <mailto:Serusers@lists.iptel.org> > http://lists.iptel.org/mailman/listinfo/serusers > >
Serusers mailing list Serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
This e-mail is confidential and may well also be legally privileged. If you have received it in error, you are on notice of its status. Please notify us immediately by reply e-mail and then delete this message from your system. Please do not copy it or use it for any purposes, or disclose its contents to any other person: to do so could be a breach of confidence. Thank you for your cooperation. Information pursuant to paragraph 14 Austrian Companies Code: UPC Austria GmbH; Registered Office: Wolfganggasse 58-60, 1120 Vienna Company Register Number: FN 189858d at the Commercial Court of Vienna
We probably do, but when we wrote the code originally, there was an issue in Asterisk with grabbing some of the headers that would cause Asterisk to crash. Since it worked, we just never went through and rewrote it later on.
N.
On Wed, 21 Mar 2007 08:22:42 +0100, Andreas Granig wrote
Hi,
Maybe you want to use the Diversion header? There is a diversion module in SER.
Regards, Andreas
sip wrote:
If you pay attention to the SIP packets, you'll see that the SIP To: header doesn't change even through the URI might. What we do is keep track of anyone who has call forwarding turned on, and if that's the case, we forward the calls to a DIFFERENT AGI on the Asterisk box. That AGI takes into account the incoming SIP To: header and ensures that billing is charged to the SIP To: user.
For instance, if you call 6363@yourserver.com and 6363 overwrites the RURI to 004428364825, then looking at the SIP To: header, you'll still see that the call went to 6363. You can then bill to the appropriate user.
Is it a foolproof scenario? Probably not, but it hasn't broken yet, and we don't have to put the onus on the UA.
N.
On Tue, 20 Mar 2007 10:15:34 -0800, Ali Zaidi wrote*
Hi,
Interesting, i was facing similar problem, i had quick fix for that.
If it possible leave call forwarding part to UA if you using any hardware/software user agent and don't use SER for call forwarding.
If you find other solution through ser, let me know. Ali...
On 3/20/07, *Jai Rangi* <jprangi@gmail.com
mailto:jprangi@gmail.com> wrote:
Hello, > I have a ser and asterisk setup. Users register on ser and all the national and international calls go through asterisk. Asterisk handles the billing part for long distance calls. Now I got an issue with call forwarding. Here is the situation. > Useragent A calls Usergent B. User B has setup the call the call forwarding to his cell phone. So when user A calls user B, ser check that user B has set the forwarding and send the call to Asterisk box. Asterisk box sees user A in the callerID and bills user A for that call. We want user B to be billed for that call, cause he is forwarding the calls to his cell phone (long distance number). > How can I achieve this. > > Thank you, > -Jai > _______________________________________________ > Serusers mailing list > Serusers@lists.iptel.org <mailto:Serusers@lists.iptel.org> > http://lists.iptel.org/mailman/listinfo/serusers > >
Serusers mailing list Serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
This e-mail is confidential and may well also be legally privileged. If you have received it in error, you are on notice of its status. Please notify us immediately by reply e-mail and then delete this message from your system. Please do not copy it or use it for any purposes, or disclose its contents to any other person: to do so could be a breach of confidence. Thank you for your cooperation. Information pursuant to paragraph 14 Austrian Companies Code: UPC Austria GmbH; Registered Office: Wolfganggasse 58-60, 1120 Vienna Company Register Number: FN 189858d at the Commercial Court of Vienna _______________________________________________ Serusers mailing list Serusers@lists.iptel.org
As far as I remember, this is just a repost of your previous post. Please, if nobody answers, there is a reason. Your question is far too general and as you state that Asterisk is doing the billing and your question is a billing question, I suggest you try to Asterisk list. g-)
Jai Rangi wrote:
Hello, I have a ser and asterisk setup. Users register on ser and all the national and international calls go through asterisk. Asterisk handles the billing part for long distance calls. Now I got an issue with call forwarding. Here is the situation. Useragent A calls Usergent B. User B has setup the call the call forwarding to his cell phone. So when user A calls user B, ser check that user B has set the forwarding and send the call to Asterisk box. Asterisk box sees user A in the callerID and bills user A for that call. We want user B to be billed for that call, cause he is forwarding the calls to his cell phone (long distance number). How can I achieve this.
Thank you,
-Jai
Serusers mailing list Serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers