[Freeswitch-users] Nibble Billing deducted balance from account even call doesn't come to my mobile number

Evgeniy Movlyan evgeniy at bestnet.kharkov.ua
Fri Aug 3 14:56:36 MSD 2012


I checked it twice from different computers and it works fine =\
I made another one paste - http://pastebin.com/iW9DaAWN
Can you show me how you make calls from lua script?

03.08.2012 11:41, SamyGo пишет:
> Hi
> Your link isn't working for me !!
>
> On Thu, Aug 2, 2012 at 4:12 PM, Evgeniy Movlyan
> <evgeniy at bestnet.kharkov.ua>wrote:
>
>> http://pastebin.com/enEmLVJz
>>
>> 02.08.2012 13:58, SamyGo пишет:
>>> Ok,
>>> Paste the whole call console log and share via pastebin.
>>> Maybe find some other thing breaking it.
>>> BR
>>> Sammy
>>> On Aug 2, 2012 3:52 PM, "Evgeniy Movlyan"<evgeniy at bestnet.kharkov.ua>
>>> wrote:
>>>
>>>> I changed my dialplan, but got the same message =(
>>>>
>>>> 02.08.2012 07:49, SamyGo пишет:
>>>>> You might wanna change your dialplan to something like this:
>>>>>
>>>>> <action application="bridge" data="{
>>>>> ignore_early_media=true
>>>> }sofia/gateway/${default_gateway}/${dialed_number}"/>
>>>>> That's How I;ve done it, no wonder I use LUA but the dial-string is
>>>> exactly
>>>>> as below.
>>>>>
>>>>> I think there is a difference if you do it like above, It will set the
>>>>> ignore_early_media on the B-leg session and  not on A-leg.
>>>>>
>>>>> This a snippet from the FS-1.6 book: *page:186*
>>>>>
>>>>> "Curly brackets are used "globally" for the duration of a call. Take
>> the
>>>>> following example where we are bridging a call to Darren's cell phone,
>>>>> 203-829-3150. We
>>>>> only want to ring the phone for 20 seconds, to avoid hitting voicemail.
>>>>>
>>>>> <application action="bridge"
>>>>> data="{call_timeout=20}sofia/my_provider/2038293150">
>>>>>
>>>>> *The variable in brackets is utilized on the newly setup channel,
>>>>> sofia/my_provider/2038293150.*"
>>>>>
>>>>>
>>>>> Regards,
>>>>> Sammy
>>>>>
>>>>>
>>>>> On Wed, Aug 1, 2012 at 8:00 PM, Evgeniy Movlyan
>>>>> <evgeniy at bestnet.kharkov.ua>wrote:
>>>>>
>>>>>> It did not work for me, i got the same message.
>>>>>> My outbond extension:
>>>>>>
>>>>>> <extension name="AUTH_rad">
>>>>>>      <condition field="${toll_allow}" expression="international"/>
>>>>>>       <condition field="${AUTH_RESULT_RADIUS}" expression="^NOK$"
>>>>>> break="on-true">
>>>>>>        <action application="lua" data="callfailed.lua
>>>> ${caller_id_number}"/>
>>>>>>       </condition>
>>>>>>       <condition field="${AUTH_RESULT_RADIUS}" expression="^OK$">
>>>>>>        <action application="set"
>>>>>> data="effective_caller_id_number=${outbound_caller_id_number}"/>
>>>>>>        <action application="set"
>>>>>> data="effective_caller_id_name=${outbound_caller_id_name}"/>
>>>>>>        <action application="set" data="ignore_early_media=true"/>
>>>>>>        <action application="bridge"
>>>>>> data="sofia/gateway/${default_gateway}/${dialed_number}"/>
>>>>>>       </condition>
>>>>>> </extension>
>>>>>>
>>>>>>
>>>>>> 31.07.2012 11:06, SamyGo пишет:
>>>>>>> Hi,
>>>>>>> Well its works perfect for me, do you guys have ignore_early_media
>> set
>>>> in
>>>>>>> your outbound string, if no then set it and then see what happens.
>>>>>>> On Jul 31, 2012 12:50 PM, "Evgeniy Movlyan"<
>> evgeniy at bestnet.kharkov.ua
>>>>>
>>>>>>> wrote:
>>>>>>>
>>>>>>>> I have the same problem. When i am calling from one my extension to
>>>>>>>> another all is ok, but when i am calling to external number i got
>> this
>>>>>>>> message: "mod_nibblebill.c:465 Not billing XXXXXXXXXX - call is not
>> in
>>>>>>>> answered state".
>>>>>>>>
>>>>>>>> 31.07.2012 10:35, virendra bhati пишет:
>>>>>>>>> mod_nibblebill.c:465 Not billing
>>>>>>>>> 97183008 - call is not in answered state
>>>>>>>>
>>>>>>>> --
>>>>>>>> Evgeniy Movlyan,
>>>>>>>> BestNet Ltd.
>>>>>>>>
>>>>>>>>
>>>>>>
>>>>
>> _________________________________________________________________________
>>>>>>>> Professional FreeSWITCH Consulting Services:
>>>>>>>> consulting at freeswitch.org
>>>>>>>> http://www.freeswitchsolutions.com
>>>>>>>>
>>>>>>>> 
>>>>>>>> 
>>>>>>>>
>>>>>>>> Official FreeSWITCH Sites
>>>>>>>> http://www.freeswitch.org
>>>>>>>> http://wiki.freeswitch.org
>>>>>>>> http://www.cluecon.com
>>>>>>>>
>>>>>>>> Join Us At ClueCon - Aug 7-9, 2012
>>>>>>>>
>>>>>>>> FreeSWITCH-users mailing list
>>>>>>>> FreeSWITCH-users at lists.freeswitch.org
>>>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>>>>>>>> UNSUBSCRIBE:
>>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users
>>>>>>>> http://www.freeswitch.org
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>
>> _________________________________________________________________________
>>>>>>> Professional FreeSWITCH Consulting Services:
>>>>>>> consulting at freeswitch.org
>>>>>>> http://www.freeswitchsolutions.com
>>>>>>>
>>>>>>> 
>>>>>>> 
>>>>>>>
>>>>>>> Official FreeSWITCH Sites
>>>>>>> http://www.freeswitch.org
>>>>>>> http://wiki.freeswitch.org
>>>>>>> http://www.cluecon.com
>>>>>>>
>>>>>>> Join Us At ClueCon - Aug 7-9, 2012
>>>>>>>
>>>>>>> FreeSWITCH-users mailing list
>>>>>>> FreeSWITCH-users at lists.freeswitch.org
>>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>>>>>>> UNSUBSCRIBE:
>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users
>>>>>>> http://www.freeswitch.org
>>>>>>
>>>>>> --
>>>>>> Evgeniy Movlyan,
>>>>>> BestNet Ltd.
>>>>>>
>>>>>>
>>>>
>> _________________________________________________________________________
>>>>>> Professional FreeSWITCH Consulting Services:
>>>>>> consulting at freeswitch.org
>>>>>> http://www.freeswitchsolutions.com
>>>>>>
>>>>>> 
>>>>>> 
>>>>>>
>>>>>> Official FreeSWITCH Sites
>>>>>> http://www.freeswitch.org
>>>>>> http://wiki.freeswitch.org
>>>>>> http://www.cluecon.com
>>>>>>
>>>>>> Join Us At ClueCon - Aug 7-9, 2012
>>>>>>
>>>>>> FreeSWITCH-users mailing list
>>>>>> FreeSWITCH-users at lists.freeswitch.org
>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>>>>>> UNSUBSCRIBE:
>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users
>>>>>> http://www.freeswitch.org
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>> _________________________________________________________________________
>>>>> Professional FreeSWITCH Consulting Services:
>>>>> consulting at freeswitch.org
>>>>> http://www.freeswitchsolutions.com
>>>>>
>>>>> 
>>>>> 
>>>>>
>>>>> Official FreeSWITCH Sites
>>>>> http://www.freeswitch.org
>>>>> http://wiki.freeswitch.org
>>>>> http://www.cluecon.com
>>>>>
>>>>> Join Us At ClueCon - Aug 7-9, 2012
>>>>>
>>>>> FreeSWITCH-users mailing list
>>>>> FreeSWITCH-users at lists.freeswitch.org
>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>>>>> UNSUBSCRIBE:
>> http://lists.freeswitch.org/mailman/options/freeswitch-users
>>>>> http://www.freeswitch.org
>>>>
>>>> --
>>>> Evgeniy Movlyan,
>>>> BestNet Ltd.
>>>>
>>>>
>> _________________________________________________________________________
>>>> Professional FreeSWITCH Consulting Services:
>>>> consulting at freeswitch.org
>>>> http://www.freeswitchsolutions.com
>>>>
>>>> 
>>>> 
>>>>
>>>> Official FreeSWITCH Sites
>>>> http://www.freeswitch.org
>>>> http://wiki.freeswitch.org
>>>> http://www.cluecon.com
>>>>
>>>> Join Us At ClueCon - Aug 7-9, 2012
>>>>
>>>> FreeSWITCH-users mailing list
>>>> FreeSWITCH-users at lists.freeswitch.org
>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>>>> UNSUBSCRIBE:
>> http://lists.freeswitch.org/mailman/options/freeswitch-users
>>>> http://www.freeswitch.org
>>>>
>>>
>>>
>>>
>>> _________________________________________________________________________
>>> Professional FreeSWITCH Consulting Services:
>>> consulting at freeswitch.org
>>> http://www.freeswitchsolutions.com
>>>
>>> 
>>> 
>>>
>>> Official FreeSWITCH Sites
>>> http://www.freeswitch.org
>>> http://wiki.freeswitch.org
>>> http://www.cluecon.com
>>>
>>> Join Us At ClueCon - Aug 7-9, 2012
>>>
>>> FreeSWITCH-users mailing list
>>> FreeSWITCH-users at lists.freeswitch.org
>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>>> http://www.freeswitch.org
>>
>> --
>> Evgeniy Movlyan,
>> BestNet Ltd.
>>
>> _________________________________________________________________________
>> Professional FreeSWITCH Consulting Services:
>> consulting at freeswitch.org
>> http://www.freeswitchsolutions.com
>>
>> 
>> 
>>
>> Official FreeSWITCH Sites
>> http://www.freeswitch.org
>> http://wiki.freeswitch.org
>> http://www.cluecon.com
>>
>> Join Us At ClueCon - Aug 7-9, 2012
>>
>> FreeSWITCH-users mailing list
>> FreeSWITCH-users at lists.freeswitch.org
>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>> http://www.freeswitch.org
>>
>
>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> 
> 
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> Join Us At ClueCon - Aug 7-9, 2012
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org

-- 
Evgeniy Movlyan,
BestNet Ltd.



Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list