Dear ALL:
I find a program named "asterisk_b2bua" on http://developer.berlios.de/projects/b2bua/
And I also download them(two components) and try to test it.
But I have not enough knowledge about asterisk. It seems a Software PBX. Does asterisk_b2bua work? Does anybody ever try it?
I have questions about my scenario.
|======================> UA2 (Internet) | UA1 ===> SER ===> Asterisk B2BUA ===> Trunking A (PSTN) | | CDR + Prepaid + Handle Calls(Tear-down when call during limited) | | Authentication ( Radius / DB )
Q1. Will Asterisk's B2BUA pass through the "To" (such as 0939749xxx@ser.xxx.net.tw PSTN number) to Trunking A? In another word, is the B2BUA not necessary to rewrite the phone number?
Q2. How can B2BUA know when to tear-down this call if the call has some limits. For example, UA1 has only 120 seconds to use this International call.
Q3. Is it necessary for Radius Authentication? Is it possible if no radius exists and SER and Asterisk use the same MySQL database.
Q4. What do I need to download and setup when I use Asterisk to start this prepaid compoment? The first one shall be asterisk-1.0.5.tar.gz. Maybe some Mysql supported scripts or installaion. And any more??
Best Regard Charles
could ask this on asterisk :-) but answers inline
On 2/22/2005, "Charles Wang" lazy.charles@gmail.com wrote:
Dear ALL:
I find a program named "asterisk_b2bua" on http://developer.berlios.de/projects/b2bua/
And I also download them(two components) and try to test it.
But I have not enough knowledge about asterisk. It seems a Software PBX. Does asterisk_b2bua work? Does anybody ever try it?
worked with asterisk, but this seems like a stripped version so I havent used this, and it seems in pre alpha stage so not sure about it
I have questions about my scenario.
|======================> UA2 (Internet) |
UA1 ===> SER ===> Asterisk B2BUA ===> Trunking A (PSTN) | | CDR + Prepaid + Handle Calls(Tear-down when call during limited) | | Authentication ( Radius / DB )
Q1. Will Asterisk's B2BUA pass through the "To" (such as 0939749xxx@ser.xxx.net.tw PSTN number) to Trunking A? In another word, is the B2BUA not necessary to rewrite the phone number?
yup, you use extensions in asterisk, but use default catchall ._ to take all your calls and then route them out to ur pstn provider
Q2. How can B2BUA know when to tear-down this call if the call has some limits. For example, UA1 has only 120 seconds to use this International call.
Because the rtp should go via the b2bua, and it is taking care of the billing so it knows how long the call has been in progress.
Q3. Is it necessary for Radius Authentication? Is it possible if no radius exists and SER and Asterisk use the same MySQL database.
You can make them all exists, I dropped radius early one, it didnt seem to add much benefit to what I was doing, mysql seemed to do it all, no point adding radius although some billing software does like to use radius records, so it all depends on how ur billing.
Asterisk by default uses its own DB, but this can be changed, but I am thinking that it might be better to keep them separate, because then ser DB can be moved off onto a diff machine, and u can use asterisk to maintain billing and keep that separate...ur accounst dept will want that guarded :-)
Q4. What do I need to download and setup when I use Asterisk to start this prepaid compoment? The first one shall be asterisk-1.0.5.tar.gz. Maybe some Mysql supported scripts or installaion. And any more??
Just asterisk, not sure what the latest release is, am installing new version this week, so if I get round to it, I'll give feedback
Iqbal
Best Regard Charles
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
b2bua work with "SER"???
but the ser manager all.
On Tue, 22 Feb 2005 17:52:01 GMT, Iqbal iqbal@gigo.co.uk wrote:
could ask this on asterisk :-) but answers inline
On 2/22/2005, "Charles Wang" lazy.charles@gmail.com wrote:
Dear ALL:
I find a program named "asterisk_b2bua" on http://developer.berlios.de/projects/b2bua/
And I also download them(two components) and try to test it.
But I have not enough knowledge about asterisk. It seems a Software PBX. Does asterisk_b2bua work? Does anybody ever try it?
worked with asterisk, but this seems like a stripped version so I havent used this, and it seems in pre alpha stage so not sure about it
I have questions about my scenario.
|======================> UA2 (Internet) |
UA1 ===> SER ===> Asterisk B2BUA ===> Trunking A (PSTN) | | CDR + Prepaid + Handle Calls(Tear-down when call during limited) | | Authentication ( Radius / DB )
Q1. Will Asterisk's B2BUA pass through the "To" (such as 0939749xxx@ser.xxx.net.tw PSTN number) to Trunking A? In another word, is the B2BUA not necessary to rewrite the phone number?
yup, you use extensions in asterisk, but use default catchall ._ to take all your calls and then route them out to ur pstn provider
Q2. How can B2BUA know when to tear-down this call if the call has some limits. For example, UA1 has only 120 seconds to use this International call.
Because the rtp should go via the b2bua, and it is taking care of the billing so it knows how long the call has been in progress.
Q3. Is it necessary for Radius Authentication? Is it possible if no radius exists and SER and Asterisk use the same MySQL database.
You can make them all exists, I dropped radius early one, it didnt seem to add much benefit to what I was doing, mysql seemed to do it all, no point adding radius although some billing software does like to use radius records, so it all depends on how ur billing.
Asterisk by default uses its own DB, but this can be changed, but I am thinking that it might be better to keep them separate, because then ser DB can be moved off onto a diff machine, and u can use asterisk to maintain billing and keep that separate...ur accounst dept will want that guarded :-)
Q4. What do I need to download and setup when I use Asterisk to start this prepaid compoment? The first one shall be asterisk-1.0.5.tar.gz. Maybe some Mysql supported scripts or installaion. And any more??
Just asterisk, not sure what the latest release is, am installing new version this week, so if I get round to it, I'll give feedback
Iqbal
Best Regard Charles
Serusers mailing list 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
um...dont understand, SER doesnt/shouldnt manage all.
Also ammendmen to post below, asterisk_b2bua below is not asterisk and from teh cursory glance i took it looks like as if it needs radius..
Iqbal
On 2/22/2005, "Walter Willis" walterwn@gmail.com wrote:
b2bua work with "SER"???
but the ser manager all.
On Tue, 22 Feb 2005 17:52:01 GMT, Iqbal iqbal@gigo.co.uk wrote:
could ask this on asterisk :-) but answers inline
On 2/22/2005, "Charles Wang" lazy.charles@gmail.com wrote:
Dear ALL:
I find a program named "asterisk_b2bua" on http://developer.berlios.de/projects/b2bua/
And I also download them(two components) and try to test it.
But I have not enough knowledge about asterisk. It seems a Software PBX. Does asterisk_b2bua work? Does anybody ever try it?
worked with asterisk, but this seems like a stripped version so I havent used this, and it seems in pre alpha stage so not sure about it
I have questions about my scenario.
|======================> UA2 (Internet) |
UA1 ===> SER ===> Asterisk B2BUA ===> Trunking A (PSTN) | | CDR + Prepaid + Handle Calls(Tear-down when call during limited) | | Authentication ( Radius / DB )
Q1. Will Asterisk's B2BUA pass through the "To" (such as 0939749xxx@ser.xxx.net.tw PSTN number) to Trunking A? In another word, is the B2BUA not necessary to rewrite the phone number?
yup, you use extensions in asterisk, but use default catchall ._ to take all your calls and then route them out to ur pstn provider
Q2. How can B2BUA know when to tear-down this call if the call has some limits. For example, UA1 has only 120 seconds to use this International call.
Because the rtp should go via the b2bua, and it is taking care of the billing so it knows how long the call has been in progress.
Q3. Is it necessary for Radius Authentication? Is it possible if no radius exists and SER and Asterisk use the same MySQL database.
You can make them all exists, I dropped radius early one, it didnt seem to add much benefit to what I was doing, mysql seemed to do it all, no point adding radius although some billing software does like to use radius records, so it all depends on how ur billing.
Asterisk by default uses its own DB, but this can be changed, but I am thinking that it might be better to keep them separate, because then ser DB can be moved off onto a diff machine, and u can use asterisk to maintain billing and keep that separate...ur accounst dept will want that guarded :-)
Q4. What do I need to download and setup when I use Asterisk to start this prepaid compoment? The first one shall be asterisk-1.0.5.tar.gz. Maybe some Mysql supported scripts or installaion. And any more??
Just asterisk, not sure what the latest release is, am installing new version this week, so if I get round to it, I'll give feedback
Iqbal
Best Regard Charles
Serusers mailing list 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
Charles Wang wrote:
Q2. How can B2BUA know when to tear-down this call if the call has some limits. For example, UA1 has only 120 seconds to use this International call.
We're using a simple agi-script for that with code like this:
my $caller_id = GetCallerID(); my $max_min = GetUserMaxMinutes($caller_id); $agi->set_autohangup($max_min);
Hi
I presume this can be used with full asterisk also as opposed to asterisk_b2bua
Iqbal
On 2/23/2005, "alexey@home.kovyrin.net" alexey@home.kovyrin.net wrote:
Charles Wang wrote:
Q2. How can B2BUA know when to tear-down this call if the call has some limits. For example, UA1 has only 120 seconds to use this International call.
We're using a simple agi-script for that with code like this:
my $caller_id = GetCallerID(); my $max_min = GetUserMaxMinutes($caller_id); $agi->set_autohangup($max_min);
-- /Scoundrel
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
Hello Charles,
I'm developer of this project, see inline comments.
CW> Dear ALL:
CW> I find a program named "asterisk_b2bua" on CW> http://developer.berlios.de/projects/b2bua/
CW> And I also download them(two components) and try to test it. 1st component it's AGI script that do b2bua functionality. 2nd it's patched version of asterisk. I had no time to make good patches, that's why it full patched version. (I will do patches for 1.0.5 soon) CW> But I have not enough knowledge about asterisk. It seems a Software PBX. CW> Does asterisk_b2bua work? Does anybody ever try it?
It works in production. Few tenth of calls are relayed, for me it stable enough.
CW> I have questions about my scenario.
CW> |======================> UA2 (Internet) CW> | UA1 ===>> SER ===> Asterisk B2BUA ===> Trunking A (PSTN) CW> | CW> | CW> CDR + Prepaid + Handle Calls(Tear-down when call CW> during limited) CW> | CW> | CW> Authentication ( Radius / DB )
CW> Q1. Will Asterisk's B2BUA pass through the "To" (such as CW> 0939749xxx@ser.xxx.net.tw PSTN number) to Trunking A? CW> In another word, is the B2BUA not necessary to rewrite the phone number?
It can rewrite, or it can left it unchanged (2 rewriting functions exists - simple rewriting, like asterisk rewriting, and advanced using regular expressions)
CW> Q2. How can B2BUA know when to tear-down this call if the call has some limits. CW> For example, UA1 has only 120 seconds to use this International call.
You must return Session-Timeout attribute from your radius server for it.
CW> Q3. Is it necessary for Radius Authentication? Is it possible if no CW> radius exists CW> and SER and Asterisk use the same MySQL database.
It developed it to use with radius, but you can check AGI scrpit, it written in PERL, and I think very simple, you can add any functionality.
CW> Q4. What do I need to download and setup when I use Asterisk CW> to start this prepaid compoment? The first one shall be CW> asterisk-1.0.5.tar.gz. CW> Maybe some Mysql supported scripts or installaion. And any more??
You need to download 2 parts of application and install them. Some short instructions inside
CW> Best Regard CW> Charles
P.S. It's SER maillist, I think you should write to forum at b2bua.berlios.de (or I will create some maillist there.)
P.P.S. It's first version of this tool, so don't punch me very much about bugs ;)
Good idea to start a mailing list here, to bridge the gap with the new b2bua project.
Thanks Mike!
Rosario
----- Original Message ----- From: "Mike Tkachuk" mike@yes.net.ua To: serusers@lists.iptel.org Sent: Wednesday, February 23, 2005 9:47 AM Subject: Re: [Serusers] Do ser + asterisk_b2bua work ?
Hello Charles,
I'm developer of this project, see inline comments.
CW> Dear ALL:
CW> I find a program named "asterisk_b2bua" on CW> http://developer.berlios.de/projects/b2bua/
CW> And I also download them(two components) and try to test it. 1st component it's AGI script that do b2bua functionality. 2nd it's patched version of asterisk. I had no time to make good patches, that's why it full patched version. (I will do patches for 1.0.5 soon) CW> But I have not enough knowledge about asterisk. It seems a Software PBX. CW> Does asterisk_b2bua work? Does anybody ever try it?
It works in production. Few tenth of calls are relayed, for me it stable enough.
CW> I have questions about my scenario.
CW> |======================> UA2 (Internet) CW> | UA1 ===>> SER ===> Asterisk B2BUA ===> Trunking A (PSTN) CW> | CW> | CW> CDR + Prepaid + Handle Calls(Tear-down when call CW> during limited) CW> | CW> | CW> Authentication ( Radius / DB )
CW> Q1. Will Asterisk's B2BUA pass through the "To" (such as CW> 0939749xxx@ser.xxx.net.tw PSTN number) to Trunking A? CW> In another word, is the B2BUA not necessary to rewrite the phone number?
It can rewrite, or it can left it unchanged (2 rewriting functions exists - simple rewriting, like asterisk rewriting, and advanced using regular expressions)
CW> Q2. How can B2BUA know when to tear-down this call if the call has some limits. CW> For example, UA1 has only 120 seconds to use this International call.
You must return Session-Timeout attribute from your radius server for it.
CW> Q3. Is it necessary for Radius Authentication? Is it possible if no CW> radius exists CW> and SER and Asterisk use the same MySQL database.
It developed it to use with radius, but you can check AGI scrpit, it written in PERL, and I think very simple, you can add any functionality.
CW> Q4. What do I need to download and setup when I use Asterisk CW> to start this prepaid compoment? The first one shall be CW> asterisk-1.0.5.tar.gz. CW> Maybe some Mysql supported scripts or installaion. And any more??
You need to download 2 parts of application and install them. Some short instructions inside
CW> Best Regard CW> Charles
P.S. It's SER maillist, I think you should write to forum at b2bua.berlios.de (or I will create some maillist there.)
P.P.S. It's first version of this tool, so don't punch me very much about bugs ;)
-- Best regards,
~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,. Mike Tkachuk, ph:380-3433-47067 YES ISP, fx:380-3433-47067 Valova 17, mike|a|yes.net.ua Kolomyia, www.yes.net.ua Ukraine 78200 FWD: 66518
23.02.2005 ICQ# 57698805
MSN: mike_tkachuk|a|hotmail.com ~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,.
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
Dear Mike:
There is only a little bit explain in your package "b2bua_asterisk_v0.1.1.tgz".
README: ------------------------------------------------------------------------------------ Asterisk B2BUA project.
Installation: Compile and install asterisk from asterisk_b2bua.tgz
Install perl MD5 Package. edit agi/config.pl in extensions.conf call agi script from DeadAGI. -----------------------------------------------------------------------------------
It seems not enough for a new user like me to understand what it is and how to start.
I have established the Asterisk as your explain, but I don't know how to setup asterisk to accept my call from ser. Of cause, I know how to route my call from UA to SER then route to a Trunking gateway or Asterisk.
But how to setting Asterisk? It is a BIG problem for me.
Thank you for your kind to answer my question, Mike.
Best Regard Charles
On Wed, 23 Feb 2005 10:47:17 +0200, Mike Tkachuk mike@yes.net.ua wrote:
Hello Charles,
I'm developer of this project, see inline comments.
CW> Dear ALL:
CW> I find a program named "asterisk_b2bua" on CW> http://developer.berlios.de/projects/b2bua/
CW> And I also download them(two components) and try to test it. 1st component it's AGI script that do b2bua functionality. 2nd it's patched version of asterisk. I had no time to make good patches, that's why it full patched version. (I will do patches for 1.0.5 soon) CW> But I have not enough knowledge about asterisk. It seems a Software PBX. CW> Does asterisk_b2bua work? Does anybody ever try it?
It works in production. Few tenth of calls are relayed, for me it stable enough.
CW> I have questions about my scenario.
CW> |======================> UA2 (Internet) CW> | UA1 ===>> SER ===> Asterisk B2BUA ===> Trunking A (PSTN) CW> | CW> | CW> CDR + Prepaid + Handle Calls(Tear-down when call CW> during limited) CW> | CW> | CW> Authentication ( Radius / DB )
CW> Q1. Will Asterisk's B2BUA pass through the "To" (such as CW> 0939749xxx@ser.xxx.net.tw PSTN number) to Trunking A? CW> In another word, is the B2BUA not necessary to rewrite the phone number?
It can rewrite, or it can left it unchanged (2 rewriting functions exists - simple rewriting, like asterisk rewriting, and advanced using regular expressions)
CW> Q2. How can B2BUA know when to tear-down this call if the call has some limits. CW> For example, UA1 has only 120 seconds to use this International call.
You must return Session-Timeout attribute from your radius server for it.
CW> Q3. Is it necessary for Radius Authentication? Is it possible if no CW> radius exists CW> and SER and Asterisk use the same MySQL database.
It developed it to use with radius, but you can check AGI scrpit, it written in PERL, and I think very simple, you can add any functionality.
CW> Q4. What do I need to download and setup when I use Asterisk CW> to start this prepaid compoment? The first one shall be CW> asterisk-1.0.5.tar.gz. CW> Maybe some Mysql supported scripts or installaion. And any more??
You need to download 2 parts of application and install them. Some short instructions inside
CW> Best Regard CW> Charles
P.S. It's SER maillist, I think you should write to forum at b2bua.berlios.de (or I will create some maillist there.)
P.P.S. It's first version of this tool, so don't punch me very much about bugs ;)
-- Best regards,
~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,. Mike Tkachuk, ph:380-3433-47067 YES ISP, fx:380-3433-47067 Valova 17, mike|a|yes.net.ua Kolomyia, www.yes.net.ua Ukraine 78200 FWD: 66518
23.02.2005 ICQ# 57698805
MSN: mike_tkachuk|a|hotmail.com ~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,.
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers