Re: [asterisk-users] VoiceMail Issue
Any ideas on why this may not be working please ? - Original Message - From: Phil Daws ux...@splatnix.net To: Asterisk Users Mailing List - Non-Commercial Discussion asterisk-users@lists.digium.com Sent: Friday, 28 February, 2014 5:39:54 PM Subject: [asterisk-users] VoiceMail Issue Hello, am attempting again to resolve an issue with multi-tenancy and the forwarding to VMs between mailboxes. If in a multi-tenancy environment one uses custom contexts ie. [a1-ext1](a1) mailbox=101@a1 and the associated voicemail.conf entry: [a1] 101 = 1234,My User 1,ad...@email.com,,tz=eastern|imapuser=ad...@email.com|imapfolder=Inbox 102 = 1234,My User 2,ad...@email.com,,tz=eastern|imapuser=ad...@email.com|imapfolder=Inbox now if a message is left in mailbox 101 and the user attempts to forward the message to mailbox 102 Asterisk responds that mailbox 102 is not found in context default! One can add: searchcontexts=yes but that means each mailbox must have a unique number which goes against being able to use custom contexts. I thought by specifying the following would fix that: exten = 7999,1,VoiceMailMain(${CALLERID(num)}@a1) ; Direct mail retrieval exten = 7999,n,Hangup() but it does not. Have tried many ways to resolve but cannot find a resolution. Any ideas please as would like to get this working ? Thank you. -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] VoiceMail Issue
Hi Could you send us the logs from the asterisk? Carlos On Sat, Mar 8, 2014 at 4:03 AM, Phil Daws ux...@splatnix.net wrote: Any ideas on why this may not be working please ? - Original Message - From: Phil Daws ux...@splatnix.net To: Asterisk Users Mailing List - Non-Commercial Discussion asterisk-users@lists.digium.com Sent: Friday, 28 February, 2014 5:39:54 PM Subject: [asterisk-users] VoiceMail Issue Hello, am attempting again to resolve an issue with multi-tenancy and the forwarding to VMs between mailboxes. If in a multi-tenancy environment one uses custom contexts ie. [a1-ext1](a1) mailbox=101@a1 and the associated voicemail.conf entry: [a1] 101 = 1234,My User 1,ad...@email.com,,tz=eastern|imapuser=ad...@email.com |imapfolder=Inbox 102 = 1234,My User 2,ad...@email.com,,tz=eastern|imapuser=ad...@email.com |imapfolder=Inbox now if a message is left in mailbox 101 and the user attempts to forward the message to mailbox 102 Asterisk responds that mailbox 102 is not found in context default! One can add: searchcontexts=yes but that means each mailbox must have a unique number which goes against being able to use custom contexts. I thought by specifying the following would fix that: exten = 7999,1,VoiceMailMain(${CALLERID(num)}@a1) ; Direct mail retrieval exten = 7999,n,Hangup() but it does not. Have tried many ways to resolve but cannot find a resolution. Any ideas please as would like to get this working ? Thank you. -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
[asterisk-users] Pass Sound files as Argument to Macro Asterisk 1.8
Hi All, I was wondering if it is possible to pass sound files to a macro as an argument in Asterisk 1.8? Thanks! Regards, Daniel van den Berg SureTel South Africa 087-944-7873 -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
[asterisk-users] DAHDI tor2 Trouble on Intel Atom (D510) ?
Greetings, I have a quad port Tormenta 2 PCI card (uses the tor2 driver), which I have been successfully using for some time on an older, power-hungry Intel machine. I recently moved it to a newer machine with an Intel Atom D510 CPU in an effort to save on energy costs, but I cannot seem to get it to work there. Both machines are running Ubuntu 13.10 x64, with DAHDI support coming from the Ubuntu 'dahdi', 'dahdi-dkms', and 'dahdi-linux' packages, versions 1:2.7.0-1ubuntu1, 1:2.5.0.1+dfsg-1ubuntu3, and 1:2.5.0.1+dfsg-1ubuntu3, respectively. These package versions are identical on both machines. On the new machine, the T1 card shows up in lspci and dahdi_hardware, and the tor2 driver appears to load successfully, but none of the other DAHDI tools appear to see any of the 4 T1 spans on the card. Here is the 'lspci -vvv' output relevant to the card on the non-working server: https://gist.github.com/DrDeke/9436688 Here is the output of dahdi_hardware on the non-working server: pci::03:00.0 tor2+10b5:d00d Tormenta 2 Quad T1/PRI or E1/PRA Here are the lines that show up in dmesg when loading the tor2 module on the non-working server: [ 1789.517727] Detected Tormenta 2 Quad T1/PRI or E1/PRA at 0xf6bff000/0xf6bfe800 irq 21 [ 1789.688024] Xilinx Chip successfully loaded, configured and started!! [ 1789.688185] Tormenta 2 Quad E1/PRA Card [ 1789.688463] Detected Card number: 255 [ 1789.688573] Registered Tormenta2 PCI This differs from the output on the working server. On the working server, you get the following: [ 133.359963] Detected Tormenta 2 Quad T1/PRI or E1/PRA at 0xd1000800/0xd100 irq 22 [ 133.512015] Xilinx Chip successfully loaded, configured and started!! [ 133.512113] Tormenta 2 Quad T1/PRI Card [ 133.512270] Detected Card number: 0 [ 133.512274] Tor2: Launching card: 0 [ 133.515699] Registered Tormenta2 PCI The fact that I do not get a Tor2: Launching card message on the non-working server seems like a likely (at least intermediate) cause of the problem. Does anyone have any idea what might be causing the card to get detected as card 255 instead of card 0, and then not start? There are no other telephony cards (or expansion cards of any kind) installed in the non-working server. If I run dahdi_genconf -vvv, I get: Default parameters from /etc/dahdi/genconf_parameters Generating /etc/dahdi/system.conf Generating /etc/asterisk/dahdi-channels.conf Subsequently running dahdi_cfg -vvv gives the following: https://gist.github.com/DrDeke/9436856 Examining the /etc/dahdi/system.conf that gets generated confirms that no cards or spans were configured: https://gist.github.com/DrDeke/9436874 Running dahdi_tool shows only one span; DAHDI_DUMMY/1 (source: HRtimer), in the UNCONFIGURED state. If anyone has any ideas for me to try, or would like to see any further debugging information, I would be very grateful if you let me know. Thanks, Rusty Dekema -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] High Availability with Asterisk
My approach (in theory only, so please correct me if I'm wrong) would be to run asterisk on multiple boxes (one each). A dedicated monitoring box (nagios? custom scripts?) would perform frequent checks against the boxes (one of my previous projects one asterisk was using call files to demonstrate its health to another one). If a box fails, I would simply redirect/reroute its traffic to another one, using network solutions. Such as shutting down the production interface of a suspectedly failed asterisk box, having an idle one pick up its IP address, or using load balancing / routing / NAT to redirect the client's traffic to a standby box. My approach is based on the experience that linux based HA tools are often not free, or don't scale well, or engineered to circumvent an error in a slower manner (eg. booting a second VM takes too much time). However in the network world, there are well known protocols that were designed to take over in a matter of miliseconds. I do understand that this would not provide 'session' data, so failing over to a different box would mean the need to re-register, could cause calls to drop etc. This might be unacceptable for you. As I said in the beginning, I haven't been building such systems, in my experience a dropped call is not that big of a deal, if it happens because the network cuts over to a different box. This could be handled with a pair of frontend load balancers, where the number of asterisk boxes can be transparent. hope this helps adam -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users