VoIP Mailing List Archives
Mailing list archives for the VoIP community |
|
View previous topic :: View next topic |
Author |
Message |
dome at tel.co.th Guest
|
Posted: Wed Jun 24, 2009 12:37 am Post subject: [Freeswitch-users] Nibblebill and multiple gateway |
|
|
Dear All,
Look like nibblebill does't work with multiple gatreway.
I try
       <action application="set" data="nibble_account=0838833133"/>                                                                          Â
       <action application="bridge" data="{absolute_codec_string='GSM,G729'}[nibble_rate=0.3]sofia/external/6626734000@203.xxx.xxx.xxx|[nibble_rate=0.5]sofia/external/6626734000@202.xxx.xxx.xxx>
nibblebill not found nibble_rate
But
       <action application="set" data="nibble_rate=0.05"/>Â
       <action application="set" data="nibble_account=0838833133"/>                                                                          Â
       <action application="bridge" data="{absolute_codec_string='GSM,G729'}sofia/external/6626734000@203.xxx.xxx.xxx|sofia/external/6626734000@202.xxx.xxx.xxx>
Â
Work fine
What's difference from set application and []Â ?
Best Regards.
Dome C. |
|
Back to top |
|
|
d at d-man.org Guest
|
Posted: Wed Jun 24, 2009 1:24 am Post subject: [Freeswitch-users] Nibblebill and multiple gateway |
|
|
Shouldn't you be using {} not [] ? From: Dome Charoenyost [mailto:dome@tel.co.th] Sent: Tuesday, June 23, 2009 10:36 PMTo: freeswitch-users@lists.freeswitch.orgSubject: [Freeswitch-users] Nibblebill and multiple gateway Dear All,Look like nibblebill does't work with multiple gatreway.I try <action application="set" data="nibble_account=0838833133"/> <action application="bridge" data="{absolute_codec_string='GSM,G729'}[nibble_rate=0.3]sofia/external/6626734000@203.xxx.xxx.xxx|[nibble_rate=0.5]sofia/external/6626734000@202.xxx.xxx.xxx>nibblebill not found nibble_rateBut <action application="set" data="nibble_rate=0.05"/> <action application="set" data="nibble_account=0838833133"/> <action application="bridge" data="{absolute_codec_string='GSM,G729'}sofia/external/6626734000@203.xxx.xxx.xxx|sofia/external/6626734000@202.xxx.xxx.xxx> Work fineWhat's difference from set application and [] ?Best Regards.Dome C. |
|
Back to top |
|
|
dome at tel.co.th Guest
|
Posted: Wed Jun 24, 2009 1:49 am Post subject: [Freeswitch-users] Nibblebill and multiple gateway |
|
|
2009/6/24 Darren Schreiber <d@d-man.org (d@d-man.org)>
Quote: | Shouldn't you be using {} not [] ?
|
you meanÂ
{nibble_rate=0.3}sofia/external/xxx@xxx.xxx.xxx.xxx|{nibble_rate=0.5}sofia/external/xxx@xxx.xxx.xxx.xxxÂ
I think {} use for all channel but [] for per channel
Dome C.
Quote: |
From: Dome Charoenyost [mailto:dome@tel.co.th (dome@tel.co.th)]
Sent: Tuesday, June 23, 2009 10:36 PM
To: freeswitch-users@lists.freeswitch.org (freeswitch-users@lists.freeswitch.org)
Subject: [Freeswitch-users] Nibblebill and multiple gateway
Dear All,
Look like nibblebill does't work with multiple gatreway.
I try
       <action application="set" data="nibble_account=0838833133"/>                                                                          Â
       <action application="bridge" data="{absolute_codec_string='GSM,G729'}[nibble_rate=0.3]sofia/external/6626734000@203.xxx.xxx.xxx|[nibble_rate=0.5]sofia/external/6626734000@202.xxx.xxx.xxx>
nibblebill not found nibble_rate
But
       <action application="set" data="nibble_rate=0.05"/>Â
       <action application="set" data="nibble_account=0838833133"/>                                                                          Â
       <action application="bridge" data="{absolute_codec_string='GSM,G729'}sofia/external/6626734000@203.xxx.xxx.xxx|sofia/external/6626734000@202.xxx.xxx.xxx>
Â
Work fine
What's difference from set application and []Â ?
Best Regards.
Dome C.
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org (Freeswitch-users@lists.freeswitch.org)
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
|
|
|
Back to top |
|
|
mike at jerris.com Guest
|
Posted: Wed Jun 24, 2009 10:16 am Post subject: [Freeswitch-users] Nibblebill and multiple gateway |
|
|
try adding <action application="set" data="import=nibble_rate"/>
before the bridge and report back results.
Mike
On Jun 24, 2009, at 1:36 AM, Dome Charoenyost wrote:
Quote: | Dear All,
Look like nibblebill does't work with multiple gatreway.
I try
<action application="set" data="nibble_account=0838833133"/>
<action application="bridge" data="{absolute_codec_string='GSM,G729'}[nibble_rate=0.3]sofia/external/6626734000@203.xxx.xxx.xxx ([email]sofia/external/6626734000@203.xxx.xxx.xxx[/email])|[nibble_rate=0.5]sofia/external/6626734000@202.xxx.xxx.xxx ([email]sofia/external/6626734000@202.xxx.xxx.xxx[/email])>
nibblebill not found nibble_rate
But
<action application="set" data="nibble_rate=0.05"/>
<action application="set" data="nibble_account=0838833133"/>
<action application="bridge" data="{absolute_codec_string='GSM,G729'}sofia/external/6626734000@203.xxx.xxx.xxx ([email]G729'}sofia/external/6626734000@203.xxx.xxx.xxx[/email])|sofia/external/6626734000@202.xxx.xxx.xxx ([email]|sofia/external/6626734000@202.xxx.xxx.xxx[/email])>
Work fine
What's difference from set application and [] ?
Best Regards.
Dome C.
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org (Freeswitch-users@lists.freeswitch.org)
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
|
|
|
Back to top |
|
|
d at d-man.org Guest
|
Posted: Thu Jun 25, 2009 12:40 pm Post subject: [Freeswitch-users] Nibblebill and multiple gateway |
|
|
Did this work? Would love an update on this error/issue. From: Michael Jerris [mailto:mike@jerris.com] Sent: Wednesday, June 24, 2009 8:15 AMTo: freeswitch-users@lists.freeswitch.orgSubject: Re: [Freeswitch-users] Nibblebill and multiple gateway try adding <action application="set" data="import=nibble_rate"/> before the bridge and report back results. Mike On Jun 24, 2009, at 1:36 AM, Dome Charoenyost wrote: Dear All,Look like nibblebill does't work with multiple gatreway.I try <action application="set" data="nibble_account=0838833133"/> <action application="bridge" data="{absolute_codec_string='GSM,G729'}[nibble_rate=0.3]sofia/external/6626734000@203.xxx.xxx.xxx ([email]sofia/external/6626734000@203.xxx.xxx.xxx[/email])|[nibble_rate=0.5]sofia/external/6626734000@202.xxx.xxx.xxx ([email]sofia/external/6626734000@202.xxx.xxx.xxx[/email])>nibblebill not found nibble_rateBut <action application="set" data="nibble_rate=0.05"/> <action application="set" data="nibble_account=0838833133"/> <action application="bridge" data="{absolute_codec_string='GSM,G729'}sofia/external/6626734000@203.xxx.xxx.xxx ([email]G729'}sofia/external/6626734000@203.xxx.xxx.xxx[/email])|sofia/external/6626734000@202.xxx.xxx.xxx ([email]|sofia/external/6626734000@202.xxx.xxx.xxx[/email])> Work fineWhat's difference from set application and [] ?Best Regards.Dome C._______________________________________________Freeswitch-users mailing listFreeswitch-users@lists.freeswitch.org (Freeswitch-users@lists.freeswitch.org)http://lists.freeswitch.org/mailman/listinfo/freeswitch-usersUNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-usershttp://www.freeswitch.org |
|
Back to top |
|
|
dome at tel.co.th Guest
|
Posted: Thu Jun 25, 2009 1:05 pm Post subject: [Freeswitch-users] Nibblebill and multiple gateway |
|
|
Just test.
i use javascript
      session.execute("set", "import=nibble_rate");        Â
      session.execute("set", "import=nibble_account");  Â
      session.execute("bridge", "{absolute_codec_string='GSM,G729'}[nibble_rate=0.5,nibble_account=0838833133]sofia/external/xxxx@xxxx.xxx.xxx.xx");
when call connected nibble do nothing i found heartbeat
mod_callbackbill.c:550 Received request via SESSION_HEARTBEAT!
when call disconnect nibble update amont.
mod_nibblebill.c:478 Billing 16 secs
I think nibble still not found variable channel.
Let's me share more information
I want to use nibblebill for callingcard. (i have develop billing by myself). i plan to use javascript connect to ODBC
when customer call my script query balance and say.
and then i loop for get destination (my customer want to dial many number). when i got number my script query
gateway from DB. i have 3 route and order by cost.
First plan i use Â
session.execute("bridge", "[nibble_rate=0.5,nibble_account=xxx,provider_id=1]sofia/external/xxxx@provder1|[nibble_rate=0.5,nibble_account=xxx,provider_id=2]sofia/external/xxxx@provder2");
i modify nibblebill for match provider with my billing.
this case still fail.
now i try
   if (session.ready()){                                                                                                              Â
       s = new Session("{absolute_codec_string='GSM,G729'}sofia/external/xxx@provider1"
   }                                                                                                                                  Â
   if (s.ready()){                                                                                                                    Â
       session.execute("set", "nibble_rate=2.5");                                                                                     Â
       session.execute("set", "nibble_account="+acaller);                                                                             Â
       session.execute("set", "hangup_after_bridge=false");                                                                           Â
       session.execute("set", "provider_id="+dialprovider_id[1]);                                                                     Â
       bridge(session,s);                                                                                                             Â
   }Â
and check hangup cause before try other provider.
Please guide me it's right way or not ?
Dome C.
2009/6/26 Darren Schreiber <d@d-man.org (d@d-man.org)>
|
|
Back to top |
|
|
mike at jerris.com Guest
|
Posted: Thu Jun 25, 2009 1:55 pm Post subject: [Freeswitch-users] Nibblebill and multiple gateway |
|
|
I said to just add the set import=nibble_rate, your re-setting it for no reason (and getting rid of the change that should have helped) by your import=nibble_account line
Mike
On Jun 25, 2009, at 2:04 PM, Dome Charoenyost wrote:
Quote: | Just test.
i use javascript
session.execute("set", "import=nibble_rate");
session.execute("set", "import=nibble_account");
session.execute("bridge", "{absolute_codec_string='GSM,G729'}[nibble_rate=0.5,nibble_account=0838833133]sofia/external/xxxx@xxxx.xxx.xxx.xx ([email]sofia/external/xxxx@xxxx.xxx.xxx.xx[/email])");
when call connected nibble do nothing i found heartbeat
mod_callbackbill.c:550 Received request via SESSION_HEARTBEAT!
when call disconnect nibble update amont.
mod_nibblebill.c:478 Billing 16 secs
I think nibble still not found variable channel.
Let's me share more information
I want to use nibblebill for callingcard. (i have develop billing by myself). i plan to use javascript connect to ODBC
when customer call my script query balance and say.
and then i loop for get destination (my customer want to dial many number). when i got number my script query
gateway from DB. i have 3 route and order by cost.
First plan i use
session.execute("bridge", "[nibble_rate=0.5,nibble_account=xxx,provider_id=1]sofia/external/xxxx@provder1|[nibble_rate=0.5,nibble_account=xxx,provider_id=2]sofia/external/xxxx@provder2");
i modify nibblebill for match provider with my billing.
this case still fail.
now i try
if (session.ready()){
s = new Session("{absolute_codec_string='GSM,G729'}sofia/external/xxx@provider1"
}
if (s.ready()){
session.execute("set", "nibble_rate=2.5");
session.execute("set", "nibble_account="+acaller);
session.execute("set", "hangup_after_bridge=false");
session.execute("set", "provider_id="+dialprovider_id[1]);
bridge(session,s);
}
and check hangup cause before try other provider.
Please guide me it's right way or not ?
Dome C.
2009/6/26 Darren Schreiber <d@d-man.org (d@d-man.org)>
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org (Freeswitch-users@lists.freeswitch.org)
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
|
|
|
Back to top |
|
|
dome at tel.co.th Guest
|
Posted: Thu Jun 25, 2009 9:40 pm Post subject: [Freeswitch-users] Nibblebill and multiple gateway |
|
|
2009/6/26 Michael Jerris <mike@jerris.com>:
Quote: | I said to just add the set import=nibble_rate, your re-setting it for no
reason (and getting rid of the change that should have helped) by your
import=nibble_account line
| I test it agin.
import work. nibble can see nibble_rate , nibble_account in channel
but i can't change nibble heratbeat so nibble use default heartbeat.
Dome C.
Quote: | Mike
On Jun 25, 2009, at 2:04 PM, Dome Charoenyost wrote:
Just test.
i use javascript
      session.execute("set", "import=nibble_rate");
      session.execute("set", "import=nibble_account");
      session.execute("bridge",
"{absolute_codec_string='GSM,G729'}[nibble_rate=0.5,nibble_account=0838833133]sofia/external/xxxx@xxxx.xxx.xxx.xx");
when call connected nibble do nothing i found heartbeat
mod_callbackbill.c:550 Received request via SESSION_HEARTBEAT!
when call disconnect nibble update amont.
mod_nibblebill.c:478 Billing 16 secs
I think nibble still not found variable channel.
Let's me share more information
I want to use nibblebill for callingcard. (i have develop billing by
myself). i plan to use javascript connect to ODBC
when customer call my script query balance and say.
and then i loop for get destination (my customer want to dial many number).
when i got number my script query
gateway from DB. i have 3 route and order by cost.
First plan i use
session.execute("bridge",
"[nibble_rate=0.5,nibble_account=xxx,provider_id=1]sofia/external/xxxx@provder1|[nibble_rate=0.5,nibble_account=xxx,provider_id=2]sofia/external/xxxx@provder2");
i modify nibblebill for match provider with my billing.
this case still fail.
now i try
   if
(session.ready()){
       s = new
Session("{absolute_codec_string='GSM,G729'}sofia/external/xxx@provider1"
}
   if
(s.ready()){
       session.execute("set",
"nibble_rate=2.5");
       session.execute("set",
"nibble_account="+acaller);
       session.execute("set",
"hangup_after_bridge=false");
       session.execute("set",
"provider_id="+dialprovider_id[1]);
bridge(session,s);
   }
and check hangup cause before try other provider.
Please guide me it's right way or not ?
Dome C.
2009/6/26 Darren Schreiber <d@d-man.org>
Quote: |
Did this work? Would love an update on this error/issue.
________________________________
From: Michael Jerris [mailto:mike@jerris.com]
Sent: Wednesday, June 24, 2009 8:15 AM
To: freeswitch-users@lists.freeswitch.org
Subject: Re: [Freeswitch-users] Nibblebill and multiple gateway
try adding
<action application="set" data="import=nibble_rate"/>
before the bridge and report back results.
Mike
On Jun 24, 2009, at 1:36 AM, Dome Charoenyost wrote:
Dear All,
Look like nibblebill does't work with multiple gatreway.
I try
       <action application="set"
data="nibble_account=0838833133"/>
       <action application="bridge"
data="{absolute_codec_string='GSM,G729'}[nibble_rate=0.3]sofia/external/6626734000@203.xxx.xxx.xxx|[nibble_rate=0.5]sofia/external/6626734000@202.xxx.xxx.xxx>
nibblebill not found nibble_rate
But
       <action application="set" data="nibble_rate=0.05"/>
       <action application="set"
data="nibble_account=0838833133"/>
       <action application="bridge"
data="{absolute_codec_string='GSM,G729'}sofia/external/6626734000@203.xxx.xxx.xxx|sofia/external/6626734000@202.xxx.xxx.xxx>
Work fine
What's difference from set application and []Â ?
Best Regards.
Dome C.
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
|
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
|
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org |
|
Back to top |
|
|
d at d-man.org Guest
|
Posted: Fri Jun 26, 2009 10:14 am Post subject: [Freeswitch-users] Nibblebill and multiple gateway |
|
|
I can add a field to allow you to adjust the heartbeat on either channel if
that's necessary. Right now you are right, it's using the global setting
always.
Is this important?
-----Original Message-----
From: Dome Charoenyost [mailto:dome@tel.co.th]
Sent: Thursday, June 25, 2009 7:39 PM
To: freeswitch-users@lists.freeswitch.org
Subject: Re: [Freeswitch-users] Nibblebill and multiple gateway
2009/6/26 Michael Jerris <mike@jerris.com>:
Quote: | I said to just add the set import=nibble_rate, your re-setting it for
no reason (and getting rid of the change that should have helped) by
your import=nibble_account line
| I test it agin.
import work. nibble can see nibble_rate , nibble_account in channel but i
can't change nibble heratbeat so nibble use default heartbeat.
Dome C.
Quote: | Mike
On Jun 25, 2009, at 2:04 PM, Dome Charoenyost wrote:
Just test.
i use javascript
session.execute("set", "import=nibble_rate");
session.execute("set", "import=nibble_account");
session.execute("bridge",
"{absolute_codec_string='GSM,G729'}[nibble_rate=0.5,nibble_account=083
8833133]sofia/external/xxxx@xxxx.xxx.xxx.xx");
when call connected nibble do nothing i found heartbeat
mod_callbackbill.c:550 Received request via SESSION_HEARTBEAT!
when call disconnect nibble update amont.
mod_nibblebill.c:478 Billing 16 secs
I think nibble still not found variable channel.
Let's me share more information
I want to use nibblebill for callingcard. (i have develop billing by
myself). i plan to use javascript connect to ODBC when customer call
my script query balance and say.
and then i loop for get destination (my customer want to dial many
| number).
Quote: | when i got number my script query
gateway from DB. i have 3 route and order by cost.
First plan i use
session.execute("bridge",
"[nibble_rate=0.5,nibble_account=xxx,provider_id=1]sofia/external/xxxx
@provder1|[nibble_rate=0.5,nibble_account=xxx,provider_id=2]sofia/exte
rnal/xxxx@provder2"); i modify nibblebill for match provider with my
billing.
this case still fail.
now i try
if
(session.ready()){
s = new
Session("{absolute_codec_string='GSM,G729'}sofia/external/xxx@provider1"
}
if
(s.ready()){
session.execute("set",
"nibble_rate=2.5");
session.execute("set",
"nibble_account="+acaller);
session.execute("set",
"hangup_after_bridge=false");
session.execute("set",
"provider_id="+dialprovider_id[1]);
bridge(session,s);
}
and check hangup cause before try other provider.
Please guide me it's right way or not ?
Dome C.
2009/6/26 Darren Schreiber <d@d-man.org>
Quote: |
Did this work? Would love an update on this error/issue.
________________________________
From: Michael Jerris [mailto:mike@jerris.com]
Sent: Wednesday, June 24, 2009 8:15 AM
To: freeswitch-users@lists.freeswitch.org
Subject: Re: [Freeswitch-users] Nibblebill and multiple gateway
try adding
<action application="set" data="import=nibble_rate"/> before the
bridge and report back results.
Mike
On Jun 24, 2009, at 1:36 AM, Dome Charoenyost wrote:
Dear All,
Look like nibblebill does't work with multiple gatreway.
I try
<action application="set"
data="nibble_account=0838833133"/>
<action application="bridge"
data="{absolute_codec_string='GSM,G729'}[nibble_rate=0.3]sofia/extern
al/6626734000@203.xxx.xxx.xxx|[nibble_rate=0.5]sofia/external/6626734
000@202.xxx.xxx.xxx>
nibblebill not found nibble_rate
But
<action application="set" data="nibble_rate=0.05"/>
<action application="set"
data="nibble_account=0838833133"/>
<action application="bridge"
data="{absolute_codec_string='GSM,G729'}sofia/external/6626734000@203
.xxx.xxx.xxx|sofia/external/6626734000@202.xxx.xxx.xxx>
Work fine
What's difference from set application and [] ?
Best Regards.
Dome C.
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-us
ers
http://www.freeswitch.org
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-us
ers
http://www.freeswitch.org
|
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-use
rs
http://www.freeswitch.org
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-use
rs
http://www.freeswitch.org
|
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org |
|
Back to top |
|
|
dome at tel.co.th Guest
|
Posted: Fri Jun 26, 2009 10:35 am Post subject: [Freeswitch-users] Nibblebill and multiple gateway |
|
|
2009/6/26 Darren Schreiber <d@d-man.org>:
Quote: | I can add a field to allow you to adjust the heartbeat on either channel if
that's necessary. Right now you are right, it's using the global setting
always.
Is this important?
| Yes important for me. and early media also :)
90% mobile in thailand use Music Ringback Tone service. if i disable
ignore early media caller happy (heard music)
but nibblebill start counting ;(
Dome C.
Quote: |
-----Original Message-----
From: Dome Charoenyost [mailto:dome@tel.co.th]
Sent: Thursday, June 25, 2009 7:39 PM
To: freeswitch-users@lists.freeswitch.org
Subject: Re: [Freeswitch-users] Nibblebill and multiple gateway
2009/6/26 Michael Jerris <mike@jerris.com>:
Quote: | I said to just add the set import=nibble_rate, your re-setting it for
no reason (and getting rid of the change that should have helped) by
your import=nibble_account line
| I test it agin.
import work.  nibble can see nibble_rate , nibble_account in channel but  i
can't  change nibble heratbeat  so nibble use default heartbeat.
Dome C.
Quote: | Mike
On Jun 25, 2009, at 2:04 PM, Dome Charoenyost wrote:
Just test.
i use javascript
      session.execute("set", "import=nibble_rate");
      session.execute("set", "import=nibble_account");
      session.execute("bridge",
"{absolute_codec_string='GSM,G729'}[nibble_rate=0.5,nibble_account=083
8833133]sofia/external/xxxx@xxxx.xxx.xxx.xx");
when call connected nibble do nothing i found heartbeat
mod_callbackbill.c:550 Received request via SESSION_HEARTBEAT!
when call disconnect nibble update amont.
mod_nibblebill.c:478 Billing 16 secs
I think nibble still not found variable channel.
Let's me share more information
I want to use nibblebill for callingcard. (i have develop billing by
myself). i plan to use javascript connect to ODBC when customer call
my script query balance and say.
and then i loop for get destination (my customer want to dial many
| number).
Quote: | when i got number my script query
gateway from DB. i have 3 route and order by cost.
First plan i use
session.execute("bridge",
"[nibble_rate=0.5,nibble_account=xxx,provider_id=1]sofia/external/xxxx
@provder1|[nibble_rate=0.5,nibble_account=xxx,provider_id=2]sofia/exte
rnal/xxxx@provder2"); i modify nibblebill for match provider with my
billing.
this case still fail.
now i try
   if
(session.ready()){
       s = new
Session("{absolute_codec_string='GSM,G729'}sofia/external/xxx@provider1"
}
   if
(s.ready()){
       session.execute("set",
"nibble_rate=2.5");
       session.execute("set",
"nibble_account="+acaller);
       session.execute("set",
"hangup_after_bridge=false");
       session.execute("set",
"provider_id="+dialprovider_id[1]);
bridge(session,s);
   }
and check hangup cause before try other provider.
Please guide me it's right way or not ?
Dome C.
2009/6/26 Darren Schreiber <d@d-man.org>
Quote: |
Did this work? Would love an update on this error/issue.
________________________________
From: Michael Jerris [mailto:mike@jerris.com]
Sent: Wednesday, June 24, 2009 8:15 AM
To: freeswitch-users@lists.freeswitch.org
Subject: Re: [Freeswitch-users] Nibblebill and multiple gateway
try adding
<action application="set" data="import=nibble_rate"/> before the
bridge and report back results.
Mike
On Jun 24, 2009, at 1:36 AM, Dome Charoenyost wrote:
Dear All,
Look like nibblebill does't work with multiple gatreway.
I try
       <action application="set"
data="nibble_account=0838833133"/>
       <action application="bridge"
data="{absolute_codec_string='GSM,G729'}[nibble_rate=0.3]sofia/extern
al/6626734000@203.xxx.xxx.xxx|[nibble_rate=0.5]sofia/external/6626734
000@202.xxx.xxx.xxx>
nibblebill not found nibble_rate
But
       <action application="set" data="nibble_rate=0.05"/>
       <action application="set"
data="nibble_account=0838833133"/>
       <action application="bridge"
data="{absolute_codec_string='GSM,G729'}sofia/external/6626734000@203
.xxx.xxx.xxx|sofia/external/6626734000@202.xxx.xxx.xxx>
Work fine
What's difference from set application and []Â ?
Best Regards.
Dome C.
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-us
ers
http://www.freeswitch.org
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-us
ers
http://www.freeswitch.org
|
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-use
rs
http://www.freeswitch.org
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-use
rs
http://www.freeswitch.org
|
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
|
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org |
|
Back to top |
|
|
mike at jerris.com Guest
|
Posted: Fri Jun 26, 2009 10:43 am Post subject: [Freeswitch-users] Nibblebill and multiple gateway |
|
|
if you want to import multiple vars you can set import to a comma
separated list of vars. This should solve the problem in the short
term, the question for Darren is, do you think we should make the mod
read from the a or b channel for those vars.
Mike
On Jun 26, 2009, at 11:26 AM, Dome Charoenyost wrote:
Quote: | 2009/6/26 Darren Schreiber <d@d-man.org>:
Quote: | I can add a field to allow you to adjust the heartbeat on either
channel if
that's necessary. Right now you are right, it's using the global
setting
always.
Is this important?
| Yes important for me. and early media also
90% mobile in thailand use Music Ringback Tone service. if i disable
ignore early media caller happy (heard music)
but nibblebill start counting ;(
Dome C.
Quote: |
-----Original Message-----
From: Dome Charoenyost [mailto:dome@tel.co.th]
Sent: Thursday, June 25, 2009 7:39 PM
To: freeswitch-users@lists.freeswitch.org
Subject: Re: [Freeswitch-users] Nibblebill and multiple gateway
2009/6/26 Michael Jerris <mike@jerris.com>:
Quote: | I said to just add the set import=nibble_rate, your re-setting it
for
no reason (and getting rid of the change that should have helped) by
your import=nibble_account line
| I test it agin.
import work. nibble can see nibble_rate , nibble_account in
channel but i
can't change nibble heratbeat so nibble use default heartbeat.
Dome C.
Quote: | Mike
On Jun 25, 2009, at 2:04 PM, Dome Charoenyost wrote:
Just test.
i use javascript
session.execute("set", "import=nibble_rate");
session.execute("set", "import=nibble_account");
session.execute("bridge",
"{absolute_codec_string='GSM,G729'}
[nibble_rate=0.5,nibble_account=083
8833133]sofia/external/xxxx@xxxx.xxx.xxx.xx");
when call connected nibble do nothing i found heartbeat
mod_callbackbill.c:550 Received request via SESSION_HEARTBEAT!
when call disconnect nibble update amont.
mod_nibblebill.c:478 Billing 16 secs
I think nibble still not found variable channel.
Let's me share more information
I want to use nibblebill for callingcard. (i have develop billing by
myself). i plan to use javascript connect to ODBC when customer call
my script query balance and say.
and then i loop for get destination (my customer want to dial many
| number).
Quote: | when i got number my script query
gateway from DB. i have 3 route and order by cost.
First plan i use
session.execute("bridge",
"[nibble_rate=0.5,nibble_account=xxx,provider_id=1]sofia/external/
xxxx
@provder1|[nibble_rate=0.5,nibble_account=xxx,provider_id=2]sofia/
exte
rnal/xxxx@provder2"); i modify nibblebill for match provider with my
billing.
this case still fail.
now i try
if
(session.ready()){
s = new
Session("{absolute_codec_string='GSM,G729'}sofia/external/
xxx@provider1"
}
if
(s.ready()){
session.execute("set",
"nibble_rate=2.5");
session.execute("set",
"nibble_account="+acaller);
session.execute("set",
"hangup_after_bridge=false");
session.execute("set",
"provider_id="+dialprovider_id[1]);
bridge(session,s);
}
and check hangup cause before try other provider.
Please guide me it's right way or not ?
Dome C.
2009/6/26 Darren Schreiber <d@d-man.org>
Quote: |
Did this work? Would love an update on this error/issue.
________________________________
From: Michael Jerris [mailto:mike@jerris.com]
Sent: Wednesday, June 24, 2009 8:15 AM
To: freeswitch-users@lists.freeswitch.org
Subject: Re: [Freeswitch-users] Nibblebill and multiple gateway
try adding
<action application="set" data="import=nibble_rate"/> before the
bridge and report back results.
Mike
On Jun 24, 2009, at 1:36 AM, Dome Charoenyost wrote:
Dear All,
Look like nibblebill does't work with multiple gatreway.
I try
<action application="set"
data="nibble_account=0838833133"/>
<action application="bridge"
data="{absolute_codec_string='GSM,G729'}[nibble_rate=0.3]sofia/
extern
al/6626734000@203.xxx.xxx.xxx|[nibble_rate=0.5]sofia/external/
6626734
000@202.xxx.xxx.xxx>
nibblebill not found nibble_rate
But
<action application="set" data="nibble_rate=0.05"/>
<action application="set"
data="nibble_account=0838833133"/>
<action application="bridge"
data="{absolute_codec_string='GSM,G729'}sofia/external/
6626734000@203
.xxx.xxx.xxx|sofia/external/6626734000@202.xxx.xxx.xxx>
Work fine
What's difference from set application and [] ?
Best Regards.
Dome C.
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-us
ers
http://www.freeswitch.org
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-us
ers
http://www.freeswitch.org
|
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-use
rs
http://www.freeswitch.org
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-use
rs
http://www.freeswitch.org
|
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
|
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
|
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org |
|
Back to top |
|
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|