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 _/_/_/_/_/_/_/_/
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. David Ponzone Direction Technique email: david.ponzone@ipeva.fr tel: 01 74 03 18 97 gsm: 06 66 98 76 34 Service Client IPeva tel: 0811 46 26 26 www.ipeva.fr - www.ipeva-studio.com Ce message et toutes les pièces jointes sont confidentiels et établis à l'intention exclusive de ses destinataires. Toute utilisation ou diffusion non autorisée est interdite. Tout message électronique est susceptible d'altération. IPeva décline toute responsabilité au titre de ce message s'il a été altéré, déformé ou falsifié. Si vous n'êtes pas destinataire de ce message, merci de le détruire immédiatement et d'avertir l'expéditeur. 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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
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? 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 _/_/_/_/_/_/_/_/
On Mon, Aug 23, 2010 at 9:26 PM, Ken Gillett <ken@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@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
There are 2 simple ways to do that: -use only one account on your softphone, and use prefixes: easy to implement, but easy to make mistake for the users too -use 6 accounts on your softphone as you used to do, with a 1-to-1 mapping with the external SIP accounts. You have to use a different FS context for each account in order to do that. If you find a nice softphone with programmable keys, you can even assign the keys so you have a line key per account. That would be the easier to use I think. David Ponzone Direction Technique email: david.ponzone@ipeva.fr tel: 01 74 03 18 97 gsm: 06 66 98 76 34 Service Client IPeva tel: 0811 46 26 26 www.ipeva.fr - www.ipeva-studio.com Ce message et toutes les pièces jointes sont confidentiels et établis à l'intention exclusive de ses destinataires. Toute utilisation ou diffusion non autorisée est interdite. Tout message électronique est susceptible d'altération. IPeva décline toute responsabilité au titre de ce message s'il a été altéré, déformé ou falsifié. Si vous n'êtes pas destinataire de ce message, merci de le détruire immédiatement et d'avertir l'expéditeur. Le 23/08/2010 à 15:26, Ken Gillett a écrit :
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?
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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
On 23 Aug 2010, at 15:13, David Ponzone wrote:
There are 2 simple ways to do that: -use only one account on your softphone, and use prefixes: easy to implement, but easy to make mistake for the users too -use 6 accounts on your softphone as you used to do, with a 1-to-1 mapping with the external SIP accounts. You have to use a different FS context for each account in order to do that.
That's what I am thinking would be the best solution, but could it be 'many to 1'? IOW, could I have several different extensions all mapped to the same external account, so incoming calls on that account go to the grouped extensions and if any of them ring out, it goes out via that same external account? Here's another related question. Is it possible to register more than one SIP client to a single extension, or would you just use a different extension for each and set them up in a (hunt) group?
If you find a nice softphone with programmable keys, you can even assign the keys so you have a line key per account. That would be the easier to use I think.
David Ponzone Direction Technique email: david.ponzone@ipeva.fr tel: 01 74 03 18 97 gsm: 06 66 98 76 34
Service Client IPeva tel: 0811 46 26 26 www.ipeva.fr - www.ipeva-studio.com
Ce message et toutes les pièces jointes sont confidentiels et établis à l'intention exclusive de ses destinataires. Toute utilisation ou diffusion non autorisée est interdite. Tout message électronique est susceptible d'altération. IPeva décline toute responsabilité au titre de ce message s'il a été altéré, déformé ou falsifié. Si vous n'êtes pas destinataire de ce message, merci de le détruire immédiatement et d'avertir l'expéditeur.
Le 23/08/2010 à 15:26, Ken Gillett a écrit :
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?
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 _/_/_/_/_/_/_/_/
Answers inline: Le 23/08/2010 à 20:35, Ken Gillett a écrit :
On 23 Aug 2010, at 15:13, David Ponzone wrote:
There are 2 simple ways to do that: -use only one account on your softphone, and use prefixes: easy to implement, but easy to make mistake for the users too -use 6 accounts on your softphone as you used to do, with a 1-to-1 mapping with the external SIP accounts. You have to use a different FS context for each account in order to do that.
That's what I am thinking would be the best solution, but could it be 'many to 1'? IOW, could I have several different extensions all mapped to the same external account, so incoming calls on that account go to the grouped extensions and if any of them ring out, it goes out via that same external account?
I am not sure I get it but I think :) Let's say you have 3 external accounts and you have 3 users (softphone). You want all 3 users to receive calls for all external accounts and also to be able to dial out through them, don't you ? Well, of course, you can: Softphone1 would have 3 users: user11 in context ext1, user12 in contet ext2, user13 in context ext3. Softphone2 would have 3 users: user21 in context ext1, user22 in contet ext2, user23 in context ext3. etc.. for Softphone3. ext1 is a context where calls going out will use external account 1. ext2 is a context where calls going out will use external account 2. etc.. For incoming calls, it's going to depend on what information allows you do distinguish the calls. If it's a DID, it's easy. All incoming calls will hit the public dialplan. You just have to add extensions (FreeSWITCH extensions, so rules) so that if the call is for DID1, then user11, user21 and user31 will be called. A such bridge command allows you to dial them all simultaneously or sequentially.
Here's another related question. Is it possible to register more than one SIP client to a single extension, or would you just use a different extension for each and set them up in a (hunt) group?
Yes you can! You have to enable that in the SIP profile with: <param name="multiple-registrations" value="true"/> Value can also be "contact", but I don't know the difference. For outbound, it's the same than previously, except you only need 3 accounts (one per external account). For inbound calls, you will be able to ring all devices at the same time in an easier way with: <action application="bridge" data="${sofia_contact($${sip_profile}/$ {dialed_ext}@$${domain})}"/> Was this helpful ?
If you find a nice softphone with programmable keys, you can even assign the keys so you have a line key per account. That would be the easier to use I think.
David Ponzone Direction Technique email: david.ponzone@ipeva.fr tel: 01 74 03 18 97 gsm: 06 66 98 76 34
Service Client IPeva tel: 0811 46 26 26 www.ipeva.fr - www.ipeva-studio.com
Ce message et toutes les pièces jointes sont confidentiels et établis à l'intention exclusive de ses destinataires. Toute utilisation ou diffusion non autorisée est interdite. Tout message électronique est susceptible d'altération. IPeva décline toute responsabilité au titre de ce message s'il a été altéré, déformé ou falsifié. Si vous n'êtes pas destinataire de ce message, merci de le détruire immédiatement et d'avertir l'expéditeur.
Le 23/08/2010 à 15:26, Ken Gillett a écrit :
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?
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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
On 23 Aug 2010, at 20:57, David Ponzone wrote:
Was this helpful ?
Yes indeed. Although I don't want dialled prefixes to be the only way to choose an outbound account, I do want it to be possible, so thanks to everyone for all the replies. Ken G i l l e t t _/_/_/_/_/_/_/_/
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.
So really, your issue is with presented identity in terms of caller ID name and number then? Can you set outgoing caller ID name nad number on the 6 provider accounts? If you can, you may have some better options. On our platform, we use the dialplan to route all calls to the most appropriate provider, based on the number that was dialed, and what the rates are for each carrier in a given area (least cost routing), although reliability in certain areas is also factored. Each extension registers with a single registration, and has it's own internal caller ID name and number (the user's name and extension). We use the Aastra phones, and built a little XML app that lets the user pick from a list of possible caller ID name and number combinations. This tool updates the database value that will be used for effective_caller_id name and number. With this setup, one user (one SIP registration) can have an unlimited number "businesses". For incoming calls, we prefix the caller ID name with a short string that identifies the incoming number or "business". Sometimes, a combination of registrations and the selector tool is best. If you don't have XML browsers on the phone, you could just as easily do this with an IVR tool, a web page, or with prefixes. Whatever is easiest. You can have more than one option. If your upstream providers can give you DID numbers, you can have more than one business on the same provider account, which is a lot easier to manage (one gateway entry, but lots of "lines"). This is getting into serious PBX stuff though, and I get the impression you don't really want a PBX. Or do you? -Tim
On 24 Aug 2010, at 15:26, Tim St. Pierre wrote:
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.
So really, your issue is with presented identity in terms of caller ID name and number then?
Yes, that's about it.
Can you set outgoing caller ID name nad number on the 6 provider accounts?
Only the name. Each account has the outgoing number set by the provider (not unreasonable).
If you can, you may have some better options.
On our platform, we use the dialplan to route all calls to the most appropriate provider, based on the number that was dialed, and what the rates are for each carrier in a given area (least cost routing), although reliability in certain areas is also factored.
Each extension registers with a single registration, and has it's own internal caller ID name and number (the user's name and extension).
We use the Aastra phones, and built a little XML app that lets the user pick from a list of possible caller ID name and number combinations. This tool updates the database value that will be used for effective_caller_id name and number. With this setup, one user (one SIP registration) can have an unlimited number "businesses". For incoming calls, we prefix the caller ID name with a short string that identifies the incoming number or "business". Sometimes, a combination of registrations and the selector tool is best. If you don't have XML browsers on the phone, you could just as easily do this with an IVR tool, a web page, or with prefixes. Whatever is easiest. You can have more than one option.
This is all helpful info, thanks.
If your upstream providers can give you DID numbers, you can have more than one business on the same provider account, which is a lot easier to manage (one gateway entry, but lots of "lines").
I still don't fully grasp DID with VOIP. Some years ago I had a company with a call centre that used a PBX over ISDN30 and I did a lot of the configuration myself so I am familiar with most PBX concepts. But not all of it is directly applicable to VOIP which itself can be handled in many different ways. So what I am trying to do is apply my previous PBX knowledge to what I now know about SIP and VOIP in general and in particular how I can best make use of FreeSwitch to do what I want. So where does DID fit into the VOIP world? Having separate SIP accounts, one for each 'business', each with its own number seems to provide all that DID did (I had to say that:-), but I know my (and other) provider offers 'aliases' which can be used for DID, but I don't fully grasp how this is different from simply different accounts. Maybe in SIP terms it isn't. But if someone cares to enlighten me on this issue, I'm all ears.
This is getting into serious PBX stuff though, and I get the impression you don't really want a PBX. Or do you?
Oh yes indeed. But I am still in a learning process and asking questions is how I learn. My own current requirements are relatively simple, but I need to understand the greater picture and be able to make it work for more complex scenarios. First step though is to configure it for my own use. Ken G i l l e t t _/_/_/_/_/_/_/_/
Ken, Well basically, in the TDM world, you usually order one or several lines. One analog line can't support DIDs (except in the US where they have/ used to have a such product). Nowadays, as you know, ISDN is the right choice when you need DIDs. Physically, a DID on ISDN is just that a different number (DNIS) is sent in the called number field of the Q931 packet, as 4 digits or the whole number, depending on the specific ISDN protocol used and on the telco. In the SIP world, there is only one protocol: SIP. Even if sometimes you feel that there are different type of SIP accounts, they are actually all the same. You can have a SIP account allowing 1 call with one number (generally, they don't allow to send a custom outbound caller-id). But a SIP account can also be used to provide a SIP trunk allowing 200 calls and 2000 DIDs (on those, you can obviously send a custom outbound caller-id, but it can still be restricted to be one of your 2000 DIDs, or not restricted. It depends on the kind of contract you have with the carrier, wholesale vs business). Account, trunk, what's the difference ? Technically, there is none, but let's say a trunk is generally a SIP account (but it can also be a raw SIP trunk without authentication) with several DIDs. If you only have one DID on the SIP account, it's not really meaningful to call that a trunk. On a SIP trunk, a DID is just sent as the dialed number, generally in the INVITE To and/or Request-Line fields. It's pretty much the same than ISDN. The main differences are: -in SIP, a DID is far more decorrelated from the physical media (you can have a SIP account without any DID, so you won't be reachable) -in SIP, a DID could be anything, not just a phone number, but because most of the traffic comes from the PSTN and regular phones, we mainly use digits at the moment. So in SIP, when you have 6 SIP accounts, each other with a different DID, you may replace that with one SIP account (SIP trunk) with the 6 DIDs routed on it by the carrier. I think it's easier to manage. Then in FreeSWITCH, as you won't be able to distinguish by the SIP account receiving the call (you can bind a SIP account to a specific context/dialplan in FS), you'll have to distinguish by the called- number in a common dialplan, which is very easy. I hope I did not confuse you more :) David Ponzone Direction Technique email: david.ponzone@ipeva.fr tel: 01 74 03 18 97 gsm: 06 66 98 76 34 Service Client IPeva tel: 0811 46 26 26 www.ipeva.fr - www.ipeva-studio.com Ce message et toutes les pièces jointes sont confidentiels et établis à l'intention exclusive de ses destinataires. Toute utilisation ou diffusion non autorisée est interdite. Tout message électronique est susceptible d'altération. IPeva décline toute responsabilité au titre de ce message s'il a été altéré, déformé ou falsifié. Si vous n'êtes pas destinataire de ce message, merci de le détruire immédiatement et d'avertir l'expéditeur. Le 25/08/2010 à 11:46, Ken Gillett a écrit :
On 24 Aug 2010, at 15:26, Tim St. Pierre wrote:
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.
So really, your issue is with presented identity in terms of caller ID name and number then?
Yes, that's about it.
Can you set outgoing caller ID name nad number on the 6 provider accounts?
Only the name. Each account has the outgoing number set by the provider (not unreasonable).
If you can, you may have some better options.
On our platform, we use the dialplan to route all calls to the most appropriate provider, based on the number that was dialed, and what the rates are for each carrier in a given area (least cost routing), although reliability in certain areas is also factored.
Each extension registers with a single registration, and has it's own internal caller ID name and number (the user's name and extension).
We use the Aastra phones, and built a little XML app that lets the user pick from a list of possible caller ID name and number combinations. This tool updates the database value that will be used for effective_caller_id name and number. With this setup, one user (one SIP registration) can have an unlimited number "businesses". For incoming calls, we prefix the caller ID name with a short string that identifies the incoming number or "business". Sometimes, a combination of registrations and the selector tool is best. If you don't have XML browsers on the phone, you could just as easily do this with an IVR tool, a web page, or with prefixes. Whatever is easiest. You can have more than one option.
This is all helpful info, thanks.
If your upstream providers can give you DID numbers, you can have more than one business on the same provider account, which is a lot easier to manage (one gateway entry, but lots of "lines").
I still don't fully grasp DID with VOIP. Some years ago I had a company with a call centre that used a PBX over ISDN30 and I did a lot of the configuration myself so I am familiar with most PBX concepts. But not all of it is directly applicable to VOIP which itself can be handled in many different ways. So what I am trying to do is apply my previous PBX knowledge to what I now know about SIP and VOIP in general and in particular how I can best make use of FreeSwitch to do what I want.
So where does DID fit into the VOIP world? Having separate SIP accounts, one for each 'business', each with its own number seems to provide all that DID did (I had to say that:-), but I know my (and other) provider offers 'aliases' which can be used for DID, but I don't fully grasp how this is different from simply different accounts. Maybe in SIP terms it isn't. But if someone cares to enlighten me on this issue, I'm all ears.
This is getting into serious PBX stuff though, and I get the impression you don't really want a PBX. Or do you?
Oh yes indeed. But I am still in a learning process and asking questions is how I learn. My own current requirements are relatively simple, but I need to understand the greater picture and be able to make it work for more complex scenarios. First step though is to configure it for my own use.
Ken G i l l e t t
_/_/_/_/_/_/_/_/
_______________________________________________ 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
Hi, You can set the current account using the "set_user" dialplan application. You could define a list of prefixes to select which account you use when dialing outbound. For example: <user id="phone_user"> <variables> <variable name="line_1" value="alice@$${domain}" /> <variable name="line_2" value="bob@$${domain}" /> </variables> </user> And then in your dialplan <extension name="line_select"> <!-- Note: we use \w+ here for security, dont use .* --> <condition field="destination_number" expression="^8(\d)(\w+?)$"> <action application="set_user" data="${line_$1}' /> <action application="transfer" data="$2 XML default" /> </condition> </extension> Once set_user runs, it loads in everything from the user directory, like if the call came from that user. You can now dial 81[number] to dial the number using the phone's line 1, etc. This is a good example of how one can be creative in their ways of configuring freeswitch :) Mathieu Rene Avant-Garde Solutions Inc Office: + 1 (514) 664-1044 x100 Cell: +1 (514) 664-1044 x200 mrene@avgs.ca On 2010-08-23, at 3:57 AM, Ken Gillett wrote:
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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
Mathieu, It is very good but it's not the right answer to the question. Ken asked "Is there any way to do this without having to use Dial plans?" ;) On Tue, Aug 24, 2010 at 7:52 AM, Mathieu Rene <mrene_lists@avgs.ca> wrote:
Hi,
You can set the current account using the "set_user" dialplan application.
You could define a list of prefixes to select which account you use when dialing outbound.
For example:
<user id="phone_user"> <variables> <variable name="line_1" value="alice@$${domain}" /> <variable name="line_2" value="bob@$${domain}" /> </variables> </user>
And then in your dialplan <extension name="line_select"> <!-- Note: we use \w+ here for security, dont use .* --> <condition field="destination_number" expression="^8(\d)(\w+?)$"> <action application="set_user" data="${line_$1}' /> <action application="transfer" data="$2 XML default" /> </condition> </extension>
Once set_user runs, it loads in everything from the user directory, like if the call came from that user. You can now dial 81[number] to dial the number using the phone's line 1, etc.
This is a good example of how one can be creative in their ways of configuring freeswitch :)
Mathieu Rene Avant-Garde Solutions Inc Office: + 1 (514) 664-1044 x100 Cell: +1 (514) 664-1044 x200 mrene@avgs.ca
On 2010-08-23, at 3:57 AM, Ken Gillett wrote:
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@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
-- Blog: http://www.dujinfang.com Proj: http://www.freeswitch.org.cn
voip lines is server registered the server pick the line acording to your dialplan setting, client haven't anything to do with the voip lines 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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- Meftah Tayeb algérie télécom SPA phone: +21321761805 phone (INUM): +883510001289101 mobile : +213660347746 mobile (INUM: +883510001289110 http://www.algerietelecom.dz
participants (6)
-
David Ponzone
-
Ken Gillett
-
Mathieu Rene
-
Meftah Tayeb
-
Seven Du
-
Tim St. Pierre