[Freeswitch-users] Account selection

Seven Du dujinfang at gmail.com
Mon Aug 23 06:59:58 PDT 2010


On Mon, Aug 23, 2010 at 9:26 PM, Ken Gillett <ken at ukgb.net> wrote:
> Let's say there are 6 SIP accounts to which FreeSwitch is 'registered' and it can make calls using any of them. But which one is used? One of the local extensions (let's say a softphone) needs to receive calls from all of these accounts. This is simple enough and the recipient should see the incoming call information i.e. which account the call is to. But when that extension makes an outgoing call, how can it specify which is the SIP account used to by FS to make the call?
>
> This can be very important when each SIP account represents a different company/business. Although one person is dealing with all those businesses, when an outgoing call is made it is imperative that the correct SIP account is used to make that call so that the recipient is correctly informed who is making the call.
>
> Currently (no PBX), my softphone registers to each of these 6 accounts and I can choose which account to use to make a call. But if I am registered to FS as a single extension, how can I tell FS which account to use when I place an outgoing call? Is there any way to do this without having to use Dial plans?
>
>
There is a way to do this if you use dialplans.

How do you dial out from even one line if you don't use dialplans(in FS)?

> On 23 Aug 2010, at 11:46, David Ponzone wrote:
>
>> Ken,
>>
>> I am not really sure to understand your issue/question.
>> Can you describe exactly the equipements involved and what you want to do ?
>> Is FS used as a PBX or a a provider softswitch to terminate the trunk coming form the PBX ?
>>
>> Some various information that could help you in the meantime:
>> -most softphones can have several SIP accounts, but you should check that they can register all of them at the same time
>> -if your objective is to have FS sending calls to a specific external VoIP account when it receives a call from a specific internal account, like this:
>> phone1-----> FS-------> Provider SIP Account 1
>> phone2----->FS--------> Provider SIP Account 2
>> you would need to split the outgoing calls one way or another: you could do that based on the caller-id, or you may put your internal accounts in different contexts, so they use different dialplans.
>> There are probably other ways, like using a prefix, but this one is probably a burden for the user and a security issue possibly.
>> A such configuration is really some sort of SBC, when you want to avoid your SIP devices to connect to the accounts provided by your carrier directly, because you are concerned with security or because you want to keep control on the calls to provide more services to your users.
>>
>> Le 23/08/2010 à 09:57, Ken Gillett a écrit :
>>
>>> If one wishes to have use of several VOIP 'lines', but with no PBX, you need to register all those SIP accounts with the client (softphone etc). You should then be informed which account is receiving a call and can pick a particular account from which to make calls. Once a PBX is in use, you can register the client as a single extension of the PBX and direct calls as appropriate to that extension - I assume with the correct caller ID and incoming account information passed to the recipient so they know as much as in the 'no PBX' configuration.
>>>
>>> But what about outgoing calls. In this scenario, registered as a single extension, how would it be possible to pick the outgoing 'line' (i.e. account) to use? Would it have to be done by dialling a prefix or is there another way? Is it client dependent?
>
>
>
> Ken G i l l e t t
>
> _/_/_/_/_/_/_/_/
>
>
>
>
> _______________________________________________
> 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
>



-- 
Blog: http://www.dujinfang.com
Proj:  http://www.freeswitch.org.cn



More information about the FreeSWITCH-users mailing list