<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">There are 2 simple ways to do that:<div>-use only one account on your softphone, and use prefixes: easy to implement, but easy to make mistake for the users too</div><div>-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.</div><div><br><div apple-content-edited="true"> <span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><font class="Apple-style-span" face="'Helvetica Neue'"><font class="Apple-style-span" color="#1C00FF">David Ponzone </font><font class="Apple-style-span" color="#000000" size="3"><span class="Apple-style-span" style="font-size: 12px; ">Direction Technique</span></font></font></div><div><font class="Apple-style-span" face="'Helvetica Neue'"><font class="Apple-style-span" size="3"><span class="Apple-style-span" style="font-size: 13px; ">email: <a href="mailto:david.ponzone@ipeva.fr">david.ponzone@ipeva.fr</a></span></font></font></div><div><font class="Apple-style-span" face="'Helvetica Neue'"><font class="Apple-style-span" size="3"><span class="Apple-style-span" style="font-size: 13px; ">tel: 01 74 03 18 97</span></font></font></div><div><font class="Apple-style-span" face="'Helvetica Neue'"><font class="Apple-style-span" size="3"><span class="Apple-style-span" style="font-size: 13px; ">gsm: 06 66 98 76 34</span></font></font></div><div><font class="Apple-style-span" face="'Helvetica Neue'"><br></font></div><div><font class="Apple-style-span" color="#1C00FF" face="'Helvetica Neue'">Service Client<span class="Apple-converted-space"> </span></font><font class="Apple-style-span" face="'Helvetica Neue'"><font class="Apple-style-span" color="#FF0000">IP</font></font><font class="Apple-style-span" color="#1C00FF" face="'Helvetica Neue'">eva</font></div><div><font class="Apple-style-span" color="#1C00FF" face="'Helvetica Neue'"><span class="Apple-style-span" style="color: rgb(0, 0, 0); font-family: Helvetica; "><div><font class="Apple-style-span" face="'Helvetica Neue'"><font class="Apple-style-span" size="3"><span class="Apple-style-span" style="font-size: 13px; ">tel: 0811 46 26 26</span></font></font></div><div><font class="Apple-style-span" face="'Helvetica Neue'" size="3"><span class="Apple-style-span" style="font-size: 13px; "><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 10px/normal Arial; color: rgb(0, 34, 243); "><span style="text-decoration: underline; "><a href="BLOCKED::http://www.ipeva.fr/">www.ipeva.fr</a></span><span style="color: rgb(101, 104, 149); "> - <span style="color: rgb(0, 34, 243); text-decoration: underline; "><a href="BLOCKED::http://www.ipeva-studio.com/">www.ipeva-studio.com</a></span></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 10px/normal Arial; color: rgb(0, 34, 243); "><span class="Apple-style-span" style="text-decoration: underline; "><br></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 10px/normal Arial; color: rgb(0, 34, 243); "><span class="Apple-style-span"><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; text-align: justify; font: normal normal normal 10px/normal Arial; color: rgb(192, 192, 192); "><i>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. </i><b><i>IPeva</i></b><i> 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.</i></div><div style="text-decoration: underline; text-align: justify; "><font class="Apple-style-span" color="#C0C0C0"><i><br></i></font></div></span></div></span></font></div></span></font></div></div></span><br class="Apple-interchange-newline"></div></span><br class="Apple-interchange-newline"> </div><br><div><div>Le 23/08/2010 à 15:26, Ken Gillett a écrit :</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>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?<br><br>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.<br><br>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?<br><br><br>On 23 Aug 2010, at 11:46, David Ponzone wrote:<br><br><blockquote type="cite">Ken,<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">I am not really sure to understand your issue/question.<br></blockquote><blockquote type="cite">Can you describe exactly the equipements involved and what you want to do ?<br></blockquote><blockquote type="cite">Is FS used as a PBX or a a provider softswitch to terminate the trunk coming form the PBX ?<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Some various information that could help you in the meantime:<br></blockquote><blockquote type="cite">-most softphones can have several SIP accounts, but you should check that they can register all of them at the same time<br></blockquote><blockquote type="cite">-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:<br></blockquote><blockquote type="cite">phone1-----> FS-------> Provider SIP Account 1<br></blockquote><blockquote type="cite">phone2----->FS--------> Provider SIP Account 2<br></blockquote><blockquote type="cite">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.<br></blockquote><blockquote type="cite">There are probably other ways, like using a prefix, but this one is probably a burden for the user and a security issue possibly.<br></blockquote><blockquote type="cite">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.<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Le 23/08/2010 à 09:57, Ken Gillett a écrit :<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><blockquote type="cite">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.<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">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?<br></blockquote></blockquote><br><br><br>Ken G i l l e t t<br><br>_/_/_/_/_/_/_/_/<br><br><br><br><br>_______________________________________________<br>FreeSWITCH-users mailing list<br><a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>http://lists.freeswitch.org/mailman/listinfo/freeswitch-users<br>UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users<br>http://www.freeswitch.org<br></div></blockquote></div><br></div></body></html>