Hey everyone, I'm having a slight problem with my dialplan which I was hoping you could help me with. First let me explain the scenario; I have a few hundred different customers split into a few different area codes. What I want to allow them to do is to call each other normally, ie with area code and if the called party is within their own area code they should be able to call them without first typing in the area code. If the number dialed does not exist in my dialing plan it should go out through a PRI extension to the PSTN. Ie. 0470-112233 should be able to call 0470-445566 by calling either "0470445566" or "445566" and if the extension 0470445566 doesn't exist it should try the PRI. I have tried using the Goto command to jump between different contexts for the different area code, but if I use Goto(0470,445566,1) and 445566 doesn't exist it doesn't go out the PRI which it should. I've also experimented with using include and different contexts which doesn't seem to work either. So far the only way I've made it work is to have two extensions one for 0470445566 and one for 445566 and a lot of different contexts... I would like to avoid this and just have the extension in one place and instead use some smart dialing plan to compensate for area codes and the alike. I presume someone else is already doing what I want to do and perhaps could share their knowledge. Let me also mentioned I've searched the list archive but came up empty handed. Please CC me as I'm not currently on the list and thank you. Regards, Kristian Larsson
Don't want to point out the obvious, but seems to me that the lowest common denominator here is to dial out the PRI if there's no extension match, correct? If this is the case, then you can use the 's' extension. The 's' extension is a 'match-none' extension and is invoked when there is not match for an extension. So you could add at the end of each relevant context: exten => s,1,Dial(ZAP/g0/${EXTEN}) and if there's no extension match, it'll go out your PRI. Only problem I see there is your PRI might not like it if it is a local call from the caller's perspective but a LD call from Asterisk's perspective and vice-versa. That, you have to put on your thinking cap to deal with. hth -----Original Message----- From: Kristian Larsson [mailto:kristian@netatonce.se] Sent: Tuesday, December 06, 2005 9:40 AM To: asterisk-users@lists.digium.com Subject: [Asterisk-Users] Complicated Dialing plan routing Hey everyone, I'm having a slight problem with my dialplan which I was hoping you could help me with. First let me explain the scenario; I have a few hundred different customers split into a few different area codes. What I want to allow them to do is to call each other normally, ie with area code and if the called party is within their own area code they should be able to call them without first typing in the area code. If the number dialed does not exist in my dialing plan it should go out through a PRI extension to the PSTN. Ie. 0470-112233 should be able to call 0470-445566 by calling either "0470445566" or "445566" and if the extension 0470445566 doesn't exist it should try the PRI. I have tried using the Goto command to jump between different contexts for the different area code, but if I use Goto(0470,445566,1) and 445566 doesn't exist it doesn't go out the PRI which it should. I've also experimented with using include and different contexts which doesn't seem to work either. So far the only way I've made it work is to have two extensions one for 0470445566 and one for 445566 and a lot of different contexts... I would like to avoid this and just have the extension in one place and instead use some smart dialing plan to compensate for area codes and the alike. I presume someone else is already doing what I want to do and perhaps could share their knowledge. Let me also mentioned I've searched the list archive but came up empty handed. Please CC me as I'm not currently on the list and thank you. Regards, Kristian Larsson _______________________________________________ --Bandwidth and Colocation provided by Easynews.com -- Asterisk-Users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
i have a software in visual basic anybody know a activex or dll to handle the asterisk??? thsnk in advance Vladimir ______________________________ Visita http://www.tutopia.com y comienza a navegar m?s r?pido en Internet. Tutopia es Internet para todos.
Asterisk.Net, there is a page on the Wiki. -----Original Message----- From: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Vladimir Montealegre Sent: Tuesday, December 06, 2005 8:50 AM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: [Asterisk-Users] activex i have a software in visual basic anybody know a activex or dll to handle the asterisk??? thsnk in advance Vladimir ______________________________ Visita http://www.tutopia.com y comienza a navegar m?s r?pido en Internet. Tutopia es Internet para todos. _______________________________________________ --Bandwidth and Colocation provided by Easynews.com -- Asterisk-Users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
thanks for the reply ----- Original Message ----- From: "Bartosz Piec" <sip@piec.info> To: "Asterisk Users Mailing List - Non-Commercial Discussion" <asterisk-users@lists.digium.com> Sent: Tuesday, December 06, 2005 12:11 PM Subject: Re: [Asterisk-Users] activex> Vladimir Montealegre wrote: >> thanks kerry but you have the link? > > http://www.voip-info.org/wiki/view/Asterisk+.NET > > -- > Best regards, > Bartosz Piec > _______________________________________________ > --Bandwidth and Colocation provided by Easynews.com -- > > Asterisk-Users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >______________________________ Visita http://www.tutopia.com y comienza a navegar m?s r?pido en Internet. Tutopia es Internet para todos.
This is similarly to what you need to do when you have a real international dialing system. What you should do is, regardless of what the customer does dial, you should expand this number to a full 10 digits dial string (in the US) or the ITU standard in non us countries with 00+country.. and 0+area_code, and the use that as the phonenumber to dial. Put the different areas customer's in one context for each prefix and use a macro to expand it. Then put all outgoing calls in another context and there you can use whildcards or full number for dialing numbers. Best regards jan ; ---------------------------------------------------------------------- [macro-fixnum] exten => s,1,SetVar(DNUM=${arg1}) exten => s,2,GotoIf($["${DNUM:0:2}" = "00"]?8) exten => s,3,GotoIf($["${DNUM:0:1}" = "0"]?4:6) exten => s,4,SetVar(DNUM=${arg2}${DNUM:1}) exten => s,5,Goto(9) exten => s,6,SetVar(DNUM=${arg2}${arg3}${DNUM}) exten => s,7,Goto(9) exten => s,8,SetVar(DNUM=${DNUM:2}) exten => s,9,noop(klar) ; ---------------------------------------------------------------------- ; 08 Extensions [incomming_08] exten => _X.,1,macro(fixnum,${EXTEN},"46","08") exten => _X.,2,Goto(outgoing_call,${DNUM},1) ; ---------------------------------------------------------------------- ; 018 Extensions [incomming_018] exten => _X.,1,macro(fixnum,${EXTEN},"46","018") exten => _X.,2,Goto(outgoing_call,${DNUM},1) [outgoing_call] exten => 46890510,1,Dial(.... Best regards jan --On 06 December 2005 17:40 +0100 Kristian Larsson <kristian@netatonce.se> wrote:> Hey everyone, > > I'm having a slight problem with my dialplan which > I was hoping you could help me with. > > First let me explain the scenario; > I have a few hundred different customers split > into a few different area codes. What I want to > allow them to do is to call each other normally, > ie with area code and if the called party is > within their own area code they should be able to > call them without first typing in the area code. > If the number dialed does not exist in my dialing > plan it should go out through a PRI extension to > the PSTN. > > Ie. > 0470-112233 should be able to call 0470-445566 by > calling either "0470445566" or "445566" and if the > extension 0470445566 doesn't exist it should try > the PRI. > > I have tried using the Goto command to jump > between different contexts for the different area > code, but if I use Goto(0470,445566,1) and 445566 > doesn't exist it doesn't go out the PRI which it > should. > > I've also experimented with using include and > different contexts which doesn't seem to work > either. > > So far the only way I've made it work is to > have two extensions one for 0470445566 and one for > 445566 and a lot of different contexts... I would > like to avoid this and just have the extension in > one place and instead use some smart dialing plan > to compensate for area codes and the alike. > > I presume someone else is already doing what I > want to do and perhaps could share their > knowledge. Let me also mentioned I've searched the > list archive but came up empty handed. > > Please CC me as I'm not currently on the list and > thank you. > > Regards, > Kristian Larsson > _______________________________________________ > --Bandwidth and Colocation provided by Easynews.com -- > > Asterisk-Users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users-- +------------------------------------------------------------------- ! Irial / YASK AB ! Att: Jan Saell ! Box 59, S-692 21 KUMLA, SWEDEN ! Tel: 019-58 25 15 Int +46-19 58 25 15 Fax +46-19 58 38 05 ! E-mail: jan@irial.com ! PGP Fingerprint: E957 23C8 9F51 0958 B9AD 7F18 404A 5DA1 F944 A08B -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 187 bytes Desc: not available Url : http://lists.digium.com/pipermail/asterisk-users/attachments/20051206/47d0f8f2/attachment.pgp
Can Vonage work with Asterisk? Dakota
no On 12/6/05, Dakota <dthurn@tstt.net.tt> wrote:> > Can Vonage work with Asterisk? > > > Dakota > _______________________________________________ > --Bandwidth and Colocation provided by Easynews.com -- > > Asterisk-Users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users > > >-- | Erick Baum | Teal Networks, Inc. | http://www.teal.net -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20051206/bfdaf678/attachment.htm
On Tue, 2005-12-06 at 20:08 -0400, Dakota wrote:> Can Vonage work with Asterisk? >Yes under 2 different plans. 1 is to get the SIP softphone plan which is a different phone number and limited in the number of minutes per month you can use. 2 break into your ATA and get your credentials so you can register directly. This way however has a major drawback in that it is a violation of their TOS. Due to case law in America (where vonage is so it doesnt really matter where you are) a violation of the TOS is a felony pursuant to 18 USC 1030(a)(5) punishable upto 10 years in jail and fines upto $250,000. While it is unlikely to result in anything other than them canceling your account if they discover it, you should be warned of the downside on that should they choose to persue it. I dont advise you to try this for that reason. -- Trixter http://www.0xdecafbad.com Bret McDanel UK +44 870 340 4605 Germany +49 801 777 555 3402 US +1 360 207 0479 or +1 516 687 5200 FreeWorldDialup: 635378 http://www.sacaug.org/ Sacramento Asterisk Users Group -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part Url : http://lists.digium.com/pipermail/asterisk-users/attachments/20051206/f7b6bde3/attachment.pgp
How does Asterisk compare to Nortel, NorthStar and Mitel PBX systems? For a medium size company not growing past 75 extensions, would you recommend Asterisk?
Hi Bret, There is a third option. You can purchase a Business Plus plan. Some details on the Wiki: http://www.voip-info.org/wiki/view/Asterisk+and+Vonage Michael Crown Managing Partner www.thevoipconnection.com 321.989.6728 ext. 611 sip:611@voiceserver.thevoipconnection.com> -----Original Message----- > From: trixter aka Bret McDanel [mailto:trixter@0xdecafbad.com] > Sent: Tuesday, December 06, 2005 7:39 PM > To: Asterisk Users Mailing List - Non-Commercial Discussion > Subject: Re: [Asterisk-Users] VONAGE and Asterisk > > On Tue, 2005-12-06 at 20:08 -0400, Dakota wrote: > > Can Vonage work with Asterisk? > > > > Yes under 2 different plans. > > 1 is to get the SIP softphone plan which is a different phone > number and limited in the number of minutes per month you can use. > > 2 break into your ATA and get your credentials so you can > register directly. This way however has a major drawback in > that it is a violation of their TOS. Due to case law in > America (where vonage is so it doesnt really matter where you > are) a violation of the TOS is a felony pursuant to 18 USC > 1030(a)(5) punishable upto 10 years in jail and fines upto > $250,000. While it is unlikely to result in anything other > than them canceling your account if they discover it, you > should be warned of the downside on that should they choose > to persue it. I dont advise you to try this for that reason. > > -- > Trixter http://www.0xdecafbad.com Bret McDanel > UK +44 870 340 4605 Germany +49 801 777 555 3402 > US +1 360 207 0479 or +1 516 687 5200 > FreeWorldDialup: 635378 > http://www.sacaug.org/ Sacramento Asterisk Users Group >
On Tue, 2005-12-06 at 23:26 -0500, The VoIP Connection wrote:> Hi Bret, > > There is a third option. You can purchase a Business Plus plan. Some > details on the Wiki: > > http://www.voip-info.org/wiki/view/Asterisk+and+VonageI didnt know they started doing that, thanks for adding that. I was a vonage subscriber over 2 years ago and they had that in their TOS but when I called to ask about it they said they didnt offer that service. Guess they now do. -- Trixter http://www.0xdecafbad.com Bret McDanel UK +44 870 340 4605 Germany +49 801 777 555 3402 US +1 360 207 0479 or +1 516 687 5200 FreeWorldDialup: 635378 http://www.sacaug.org/ Sacramento Asterisk Users Group -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part Url : http://lists.digium.com/pipermail/asterisk-users/attachments/20051206/72a69ef8/attachment.pgp