[Freeswitch-users] Account ACL
Pablo Hernan Saro
pablosaro at gmail.com
Tue Apr 12 07:20:01 MSD 2011
Hi Fernando, try the solution proposed by MC. If you still having problems,
please drop an email in your native language and someone will be glad to
help you (my native language is spanish by the way).
On Mon, Apr 11, 2011 at 9:20 PM, Michael Collins <msc at freeswitch.org> wrote:
> Fernando,
>
> What is your native language? We have users who are fluent in Spanish,
> Brazilian Portugese, and many others. Ask your question in your native
> language and someone will be able to help those of us who speak only English
> to understand.
>
> That being say, I don't see what you can't set the account code on the B
> leg. You can do this:
> <action application="export" data="nolocal:accountcode=foo1"/>
>
> However, you still have not told use how you know what value to use. If you
> literally need to append "1" to the accountcode you can do something like
> this:
> <action application="export" data="nolocal:accountcode=${accountcode}1"/>
>
> Be sure to use "nolocal:" so that your A leg accountcode value is not
> affected. Try the above and let us know if that does what you need.
>
> -MC
>
>
> On Mon, Apr 11, 2011 at 3:32 PM, FERNANDO VILLARROEL <
> fvillarroel at yahoo.com> wrote:
>
>> Dear Michael.
>>
>> Thank you for you help. I will try to explain but excuse my bad english.
>>
>> In my FS i received traffic from a gateway A and this traffic i forward
>> to another Gateway B.
>>
>> Gateway A ----> My FS -----> Gateway B.
>>
>> Ok in my CDR i have both calls, inbound and outbound calls. So i need
>> setup inbound call with accountcode = foo and outbound call i need setup
>> with another accountcode variable like accountcode = foo1.
>>
>> So like this i will can inform to my customer (Gateway A) how much traffic
>> i receive from him and i will inform to my provider (Gateway B ) how much
>> traffic i send to him.
>>
>> It's possible or let me know another idea how i can do.
>>
>> Regards.
>>
>> --- On *Mon, 4/11/11, Michael Collins <msc at freeswitch.org>* wrote:
>>
>>
>> From: Michael Collins <msc at freeswitch.org>
>> Subject: Re: [Freeswitch-users] Account ACL
>> To: "FreeSWITCH Users Help" <freeswitch-users at lists.freeswitch.org>
>> Date: Monday, April 11, 2011, 6:31 PM
>>
>>
>>
>> On Mon, Apr 11, 2011 at 2:23 PM, FERNANDO VILLARROEL <
>> fvillarroel at yahoo.com <http://mc/compose?to=fvillarroel@yahoo.com>>wrote:
>>
>> Dear.
>>
>> Yes i need setup b leg with a accountcode different to a leg, like this
>>
>> a leg = accountcode = foo
>> b leg = accountcode = foo1
>>
>> I trying with
>>
>> <action application="export" data="accountcode=foo"/>
>>
>> But in my CDR for inbound and outbound call is equal to foo.
>>
>> I need setup inbound call with accountcode = foo and outbound call with
>> accountcode = foo1
>>
>>
>> How do you know that the outbound leg needs to be "foo1"? In other words,
>> where do you look to get the value of "foo1"?
>> -MC
>>
>>
>> -----Inline Attachment Follows-----
>>
>> _______________________________________________
>> FreeSWITCH-users mailing list
>> FreeSWITCH-users at lists.freeswitch.org<http://mc/compose?to=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 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
>>
>>
>
> _______________________________________________
> 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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20110412/495c6fa1/attachment.html
More information about the FreeSWITCH-users
mailing list