Hi, Lonnie , I don't have in my /usr/sbin/ folder "msmtp " i have only "sendmail" or "ssmtp" i try with both of dem ...and its not working...
can be I must to upload from my Astlinux 0.3.0 to new Astlinux 0.4.0? nedi [EMAIL PROTECTED] schrieb: > Send Astlinux-users mailing list submissions to > [email protected] > > To subscribe or unsubscribe via the World Wide Web, visit > http://lists.kriscompanies.com/mailman/listinfo/astlinux-users > or, via email, send a message with subject or body 'help' to > [EMAIL PROTECTED] > > You can reach the person managing the list at > [EMAIL PROTECTED] > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of Astlinux-users digest..." > > > Today's Topics: > > 1. Re: Astlinux-users Digest, Vol 23, Issue 18 (Nedi) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Fri, 19 Jan 2007 02:50:17 +0100 > From: Nedi <[EMAIL PROTECTED]> > Subject: Re: [Astlinux-users] Astlinux-users Digest, Vol 23, Issue 18 > To: [EMAIL PROTECTED] > Message-ID: <[EMAIL PROTECTED]> > Content-Type: text/plain; charset=ISO-8859-1; format=flowed > > Lonnie, > I delete the space betwen "$" and "{" and now I get the error so: > Jan 19 02:39:25 WARNING[6670]: app_system.c:108 system_exec_helper: > Unable to execute '/mnt/kd/email_in.sh"11""11"' > > yes I moved email_in.sh file to "/mnt/kd/" and i have it so: > -rwxr-xr-x 1 root root 243 Jan 19 00:37 email_in.sh > other files have chmod "drwxr-xr-x" > > nedi > > > [EMAIL PROTECTED] schrieb: > >> Send Astlinux-users mailing list submissions to >> [email protected] >> >> To subscribe or unsubscribe via the World Wide Web, visit >> http://lists.kriscompanies.com/mailman/listinfo/astlinux-users >> or, via email, send a message with subject or body 'help' to >> [EMAIL PROTECTED] >> >> You can reach the person managing the list at >> [EMAIL PROTECTED] >> >> When replying, please edit your Subject line so it is more specific >> than "Re: Contents of Astlinux-users digest..." >> >> >> Today's Topics: >> >> 1. Re: Astlinux-users Digest, Vol 23, Issue 15 (Lonnie Abelbeck) >> >> >> ---------------------------------------------------------------------- >> >> Message: 1 >> Date: Thu, 18 Jan 2007 19:25:30 -0600 >> From: Lonnie Abelbeck <[EMAIL PROTECTED]> >> Subject: Re: [Astlinux-users] Astlinux-users Digest, Vol 23, Issue 15 >> To: Discussion of AstLinux - Asterisk on Compact Flash >> <[EMAIL PROTECTED]> >> Message-ID: <[EMAIL PROTECTED]> >> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed >> >> nedi, >> >> I am running AstLinux 0.4.3, Asterisk 1.2.10. (AstLinux 0.4.4 is the >> latest) >> >> Looks like you have an old version of AstLinux? >> >> Also, notice that my example extensions.conf got wrapped, there >> should NOT be a space in "${CALLERID(num)}". >> >> A simple "extensions reload" at the asterisk command line is all that >> is needed. >> >> Did you move your email_in.sh file to "/mnt/kd/", I just used that as >> my example. >> >> Lonnie >> >> >> On Jan 18, 2007, at 6:51 PM, Nedi wrote: >> >> >> >>> Hi Lonnie >>> >>> i put your script and get the same error I have Asterisk >>> SVN-branch-1.2-r7386M Asterisk 0.3.0 >>> >>> if I dial i get busy ....and error >>> >>> Jan 19 01:40:10 WARNING[6253]: app_system.c:108 system_exec_helper: >>> Unable to ex >>> ecute '/mnt/kd/email_in.sh "11" "$ {CALLERID(num)}"' >>> >>> should I reboot the box od only reload >>> >>> --------------------------------- >>> -rwxr-xr-x 1 root root 243 Jan 19 00:37 email_in.sh >>> >>> >>> >>> >>> >>> [EMAIL PROTECTED] schrieb: >>> >>> >>>> Send Astlinux-users mailing list submissions to >>>> [email protected] >>>> >>>> To subscribe or unsubscribe via the World Wide Web, visit >>>> http://lists.kriscompanies.com/mailman/listinfo/astlinux-users >>>> or, via email, send a message with subject or body 'help' to >>>> [EMAIL PROTECTED] >>>> >>>> You can reach the person managing the list at >>>> [EMAIL PROTECTED] >>>> >>>> When replying, please edit your Subject line so it is more specific >>>> than "Re: Contents of Astlinux-users digest..." >>>> >>>> >>>> Today's Topics: >>>> >>>> 1. Sending email from extensions.conf (Lonnie Abelbeck) >>>> 2. Unable to execute email notification, Unable to execute >>>> '/bin/email_in.sh for missed calls (Nedi) >>>> 3. Re: Unable to execute email notification, Unable to execute >>>> '/bin/email_in.sh for missed calls (Lonnie Abelbeck) >>>> >>>> >>>> --------------------------------------------------------------------- >>>> - >>>> >>>> Message: 1 >>>> Date: Thu, 18 Jan 2007 12:47:32 -0600 >>>> From: Lonnie Abelbeck <[EMAIL PROTECTED]> >>>> Subject: [Astlinux-users] Sending email from extensions.conf >>>> To: AstLinux Users Mailing List <astlinux- >>>> [EMAIL PROTECTED]> >>>> Cc: Discussion of AstLinux - Asterisk on Compact Flash >>>> <[EMAIL PROTECTED]> >>>> Message-ID: <3BA249F4-4C5A-4616-A4D2- >>>> [EMAIL PROTECTED]> >>>> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed >>>> >>>> Hi, >>>> >>>> Several people have asked about sending an email for every incoming >>>> call in AstLinux. >>>> >>>> I have a working example. >>>> >>>> exten => 1198,1,Answer >>>> exten => 1198,n,System(/mnt/kd/email_in.sh "${CALLERID(name)}" "$ >>>> {CALLERID(num)}") >>>> exten => 1198,n,Hangup >>>> >>>> Note: The double-quotes are very important. >>>> >>>> ----- email_in.sh ----- >>>> #!/bin/bash >>>> [EMAIL PROTECTED] >>>> [EMAIL PROTECTED] >>>> echo -e "Subject: Incoming call from: $1 <$2>\n >>>> Date: `date -R`\n >>>> From: ${FROM_EMAIL}\n >>>> To: ${TO_EMAIL}\n\n >>>> Incoming call from: $1 <$2>" >>>> | /usr/sbin/msmtp "${TO_EMAIL}" & >>>> exit 0 >>>> ---- email_in.sh ----- >>>> Note: the "echo" "msmtp" line should be one line, I added returns >>>> before the mailer did. Join the lines without adding any spaces. >>>> >>>> $ chmod 755 email_in.sh >>>> >>>> Final Note: "msmtp" can take awhile to execute (a second to many >>>> seconds) depending on your mail relay, so I execute this as a >>>> separate process not to delay incoming calls. (note the trailing &) >>>> If there is a better way of doing this, let us know. >>>> >>>> Lonnie >>>> >>>> >>>> >>>> ------------------------------ >>>> >>>> Message: 2 >>>> Date: Fri, 19 Jan 2007 00:17:58 +0100 >>>> From: Nedi <[EMAIL PROTECTED]> >>>> Subject: [Astlinux-users] Unable to execute email notification, >>>> Unable >>>> to execute '/bin/email_in.sh for missed calls >>>> To: [EMAIL PROTECTED], >>>> [EMAIL PROTECTED] >>>> Message-ID: <[EMAIL PROTECTED]> >>>> Content-Type: text/plain; charset=ISO-8859-1; format=flowed >>>> >>>> Hi , >>>> >>>> I put in my extensions.cfg : >>>> >>>> exten =>12,1,System(/bin/email_in.sh "${CALLERID}" "${DATETIME}") >>>> exten =>12,2,Dial(SIP/12,17,r) >>>> exten =>12,3,Answer >>>> exten =>12,4,Playback(vm-nobodyavail) >>>> exten =>12,5,Voicemail(12) >>>> exten =>12,6,Hangup >>>> >>>> and I put in root ind the folder /bin a script file >>>> "email_in.sh" with chmod 755 and +X >>>> >>>> In a file "email_in.sh" I put >>>> >>>> #!/bin/bash >>>> echo -e "Subject: Incoming call from:$1\nPlaced: $2" | /usr/sbin/ >>>> msmtp [EMAIL PROTECTED] >>>> exit 0 >>>> >>>> If I dial to Internal 12 I get busy tone. >>>> >>>> file list in folder /bin give me : >>>> >>>> lrwxrwxrwx 1 root root 7 Dec 8 2005 egrep -> >>>> busybox >>>> -rwxrwxr-x 1 root root 111 Jan 18 13:10 email_in.sh >>>> lrwxrwxrwx 1 root root 7 Dec 8 2005 false -> >>>> busybox >>>> >>>> and console give me the warning : >>>> >>>> n 18 12:34:26 WARNING[29535]: app_system.c:108 system_exec_helper: >>>> Unable to execute '/bin/email_in.sh ""11" <11>" "18012007-12:34:26"' >>>> >>>> >>>> regards nedi >>>> >>>> >>>> >>>> >>>> [EMAIL PROTECTED] schrieb: >>>> >>>> >>>> >>>>> Send Astlinux-users mailing list submissions to >>>>> [email protected] >>>>> >>>>> To subscribe or unsubscribe via the World Wide Web, visit >>>>> http://lists.kriscompanies.com/mailman/listinfo/astlinux-users >>>>> or, via email, send a message with subject or body 'help' to >>>>> [EMAIL PROTECTED] >>>>> >>>>> You can reach the person managing the list at >>>>> [EMAIL PROTECTED] >>>>> >>>>> When replying, please edit your Subject line so it is more specific >>>>> than "Re: Contents of Astlinux-users digest..." >>>>> >>>>> >>>>> Today's Topics: >>>>> >>>>> 1. Update on 'Astlinux on Via based eBox 3850ps' (Sarvesh >>>>> Kulkarni) >>>>> 2. Re: sh script on astlinux (Lonnie Abelbeck) >>>>> 3. Unable to execute '/bin/echo -e "Subject: email notification >>>>> for missed calls (Nedi) >>>>> 4. Re: Unable to execute '/bin/echo -e "Subject: email >>>>> notification for missed calls (Lonnie Abelbeck) >>>>> 5. Re: Update on 'Astlinux on Via based eBox >>>>> 3850ps' (olivier.taylor) >>>>> >>>>> >>>>> -------------------------------------------------------------------- >>>>> -- >>>>> >>>>> Message: 1 >>>>> Date: Wed, 17 Jan 2007 16:13:51 -0500 >>>>> From: Sarvesh Kulkarni <[EMAIL PROTECTED]> >>>>> Subject: [Astlinux-users] Update on 'Astlinux on Via based eBox >>>>> 3850ps' >>>>> To: [EMAIL PROTECTED] >>>>> Message-ID: <[EMAIL PROTECTED]> >>>>> Content-Type: text/plain; format=flowed; charset=ISO-8859-1 >>>>> >>>>> HI everyone, >>>>> >>>>> Thanks to Darrick, Gary, Lonnie and Tim for offering valuable >>>>> suggestions on the ebox-3850ps. >>>>> For those of you who have forgotten, here's the link to the >>>>> hardware: >>>>> http://www.wdlsystems.com/ebox/ebox.shtml >>>>> >>>>> Gary - your idea of automatic provisioning is a good one, but it's >>>>> probably overkill for an undergraduate-level course project. But, >>>>> I will >>>>> keep that idea in mind for a graduate-level project. >>>>> Lonnie - m0n0wall support is secondary, at this time ..so we >>>>> decided to >>>>> go ahead with the ebox evaluations, and not worry about m0n0wall >>>>> support >>>>> on the ebox. >>>>> Tim - your warning about Via systems not being able to boot from >>>>> non-ide >>>>> devices was taken into consideration. So, we verified their >>>>> ability to >>>>> boot off USB drives, but we are still running into roadblocks. >>>>> Read on... >>>>> Carlos- not sure if the ebox works with TDM400P or TE110P in the >>>>> pci-x >>>>> slot. I don't have the device with me and don't remember if it >>>>> has the >>>>> slot or not, but the box is *really small* ...just slightly >>>>> larger than >>>>> an internal 3.5" harddrive box. If it indeed has a PCI slot, the >>>>> card >>>>> will have to be really small to fit. >>>>> >>>>> We did indeed obtain an evaluation kit this week. First impressions: >>>>> Overall, the build quality is really solid. >>>>> The box is very compact, and the case has aluminium at the top and >>>>> bottom, which acts as a heat sink. The processor has a (passive) >>>>> heat >>>>> sink and the CPU heat sink is in contact with the aluminium from the >>>>> computer case by means of a large thermal pad. >>>>> The case gets very warm ...almost hot to the touch ...certainly more >>>>> than the net4801. >>>>> There is room inside for a 2.5" drive, but we installed a 1 GB >>>>> "Embed >>>>> disk" ....it's a CF card, with an IDE interface, all on one board >>>>> -- it >>>>> fits neatly inside the box. >>>>> >>>>> I hooked it up to an LCD monitor, connected the kbd and LAN, and >>>>> tried >>>>> booting off a USB CDROM drive. I used the AstLinux ISO (ver 0.4.4). >>>>> And here's where the problems began. >>>>> It starts to boot just fine, then right after "Freeing Unused Kernel >>>>> memory", I get this message: >>>>> "Unable to identify CD-ROM format >>>>> CD-ROM not found >>>>> >>>>> /bin/sh: can't access tty; job control turned off >>>>> <etc, etc and CD-ROM info is shown here>" >>>>> >>>>> Then it drops me down to the busybox shell. >>>>> I have no clue how to proceed. After commencing to boot off the >>>>> CDROM >>>>> drive, why can't it read it any more? >>>>> >>>>> So, I tried booting off a USB key ... tried both the via as well >>>>> as the >>>>> i586 images (ver 0.4.4). >>>>> Well, it gets stuck at grub. I mean, it just displays "GRUB" and >>>>> but menu. >>>>> And that's where it sits. >>>>> >>>>> I have no idea as to where to even start looking for debugging >>>>> clues. >>>>> Note that, as a test, I booted a DELL laptop using the same CD as >>>>> well >>>>> as well as the USB flash disk. >>>>> The laptop booted up fine. >>>>> >>>>> Are there any known issues in booting off a USB key/CDROm drive? >>>>> Anyway, to summarize, I haven't been able to install AstLinux on the >>>>> internal IDE-CFcard. In fact, how the heck do I even boot up this >>>>> system >>>>> and install AstLinux (without resorting to PXE boot)? >>>>> >>>>> Anyone have any suggestions as to where to start looking? >>>>> >>>>> Thanks, >>>>> -- Sarvesh >>>>> >>>>> >>>>> >>>>> ------------------------------ >>>>> >>>>> Message: 2 >>>>> Date: Wed, 17 Jan 2007 17:20:53 -0600 >>>>> From: Lonnie Abelbeck <[EMAIL PROTECTED]> >>>>> Subject: Re: [Astlinux-users] sh script on astlinux >>>>> To: Discussion of AstLinux - Asterisk on Compact Flash >>>>> <[EMAIL PROTECTED]> >>>>> Message-ID: >>>>> <[EMAIL PROTECTED]> >>>>> Content-Type: text/plain; charset="iso-8859-1" >>>>> >>>>> Thomas, >>>>> >>>>> Could it be as simple as getphone.sh not having the correct file >>>>> permissions? >>>>> >>>>> $ chmod 755 getphone.sh >>>>> >>>>> If not, could you explain what the error is? >>>>> >>>>> Lonnie >>>>> >>>>> On Jan 17, 2007, at 2:03 PM, Thomas Thomsen wrote: >>>>> >>>>> >>>>> >>>>> >>>>> >>>>>> Hi >>>>>> >>>>>> here is the entire section >>>>>> >>>>>> [initchannel] >>>>>> exten => _X.,1,Set(SPEED=${DB(speednumber/${EXTEN}${COMPANY})}) >>>>>> exten => _X.,n,GotoIf(${SPEED}?found:chkcallerid) >>>>>> exten => _X.,n(found),Goto(${SPEED},chkcallerid) >>>>>> >>>>>> exten => _X.,n(chkcallerid),GotoIf(${CALLERIDNUM}?chklast:chklen) >>>>>> exten => _X.,n(chklast),Set(LAST=${DB(LastExt/${CALLERIDNUM})}) >>>>>> exten => _X.,n,GotoIf(${LAST}?last:chklen) >>>>>> exten => _X.,n(last),UserEvent(LastExt,ActionID: lastext/$ >>>>>> {CALLERIDNUM}/${LAST}) >>>>>> >>>>>> exten => _X.,n(chklen),GotoIf($[${LEN(${CALLERIDNUM})} = 8]? >>>>>> chkcidname:chkcalleridnum) >>>>>> exten => _X.,n(chkcidname),System(/etc/asterisk/getphone.sh $ >>>>>> {CALLERIDNUM}) >>>>>> exten => _X.,n,LookupCIDName() >>>>>> exten => _X.,n,GotoIf($[${LEN(${CALLERIDNAME})} > 0]? >>>>>> chkcalleridnum:setnumber) >>>>>> exten => _X.,n(setnumber),Set(CALLERID(name)=${CALLERIDNUM}) >>>>>> >>>>>> exten => _X.,n(chkcalleridnum),GotoIf(${CALLERIDNUM}? >>>>>> chkshowname:sethemmeligt) >>>>>> exten => _X.,n(sethemmeligt),Set(CALLERID(name)=Hemmeligt) >>>>>> >>>>>> exten => _X.,n(chkshowname),Set(SHOWNAME=${DB(showname/$ >>>>>> {CALLEEIDNUM}${COMPANY})}) >>>>>> exten => _X.,n,GotoIf($[${LEN(${SHOWNAME})} > 0]?showname:chklines) >>>>>> exten => _X.,n(showname),Set(CALLERID(name)=${SHOWNAME}-$ >>>>>> {CALLERIDNAME}) >>>>>> exten => _X.,n,Set(CALLERID(number)=${CALLERIDNUM}) >>>>>> >>>>>> exten => _X.,n(chklines),Set(GROUP()=Lines) >>>>>> exten => _X.,n,GotoIf($[${GROUP_COUNT()} > ${NUMBER-OF-LINES}]? >>>>>> busy:phone-in${COMPANY},${EXTEN},1) >>>>>> exten => _X.,n(busy),Set(DB(nolinesin/${TIMESTAMP}-$ >>>>>> {CALLERIDNUM})=$ >>>>>> {EXTEN}) >>>>>> exten => _X.,n,Busy() >>>>>> exten => _X.,n,Hangup() >>>>>> >>>>>> Med Venlig Hilsen >>>>>> >>>>>> Thomas Thomsen >>>>>> Systemkonsulent >>>>>> >>>>>> <ntd.jpg> >>>>>> >>>>>> >>>>>> Baldersbuen 15 A >>>>>> DK-2640 Hedehusene >>>>>> Telefon 5474 7575 >>>>>> Mobil 2683 7575 >>>>>> Fax 5474 7570 >>>>>> www.ntd.dk - [EMAIL PROTECTED] >>>>>> >>>>>> >>>>>> >>>>>> Fra: [EMAIL PROTECTED] [mailto:astlinux-users- >>>>>> [EMAIL PROTECTED] P? vegne af Lonnie Abelbeck >>>>>> Sendt: 17. januar 2007 20:30 >>>>>> Til: Discussion of AstLinux - Asterisk on Compact Flash >>>>>> Emne: Re: [Astlinux-users] sh script on astlinux >>>>>> >>>>>> Thomas, >>>>>> >>>>>> I don't see a reference to "chkcalleridnum", >>>>>> >>>>>> exten => _X.,n(chkcalleridnum) >>>>>> >>>>>> Lonnie >>>>>> >>>>>> On Jan 17, 2007, at 12:37 PM, Thomas Thomsen wrote: >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>>> Hi >>>>>>> >>>>>>> I have the following entries in my extensions.conf >>>>>>> >>>>>>> exten => _X.,n(chklen),GotoIf($[${LEN(${CALLERIDNUM})} = 8]? >>>>>>> chkcidname:chkcalleridnum) >>>>>>> exten => _X.,n(chkcidname),System(/etc/asterisk/getphone.sh $ >>>>>>> {CALLERIDNUM}) >>>>>>> exten => _X.,n,LookupCIDName() >>>>>>> exten => _X.,n,GotoIf($[${LEN(${CALLERIDNAME})} > 0]? >>>>>>> chkcalleridnum:setnumber) >>>>>>> exten => _X.,n(setnumber),Set(CALLERID(name)=${CALLERIDNUM}) >>>>>>> It works perfect on trixbox but not on astlinux, could someone >>>>>>> tell me why ?? >>>>>>> >>>>>>> Regards >>>>>>> >>>>>>> //Thomas >>>>>>> _______________________________________________ >>>>>>> Astlinux-users mailing list >>>>>>> [email protected] >>>>>>> http://lists.kriscompanies.com/mailman/listinfo/astlinux-users >>>>>>> >>>>>>> Donations to support AstLinux are graciously accepted via PayPal >>>>>>> to [EMAIL PROTECTED] >>>>>>> >>>>>>> REMEMBER: AstLinux mailing lists are moving soon: >>>>>>> >>>>>>> http://sourceforge.net/mail/?group_id=170462 >>>>>>> >>>>>>> Please move any discussions ASAP! >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>> <ntd.jpg> >>>>>> _______________________________________________ >>>>>> Astlinux-users mailing list >>>>>> [email protected] >>>>>> http://lists.kriscompanies.com/mailman/listinfo/astlinux-users >>>>>> >>>>>> Donations to support AstLinux are graciously accepted via PayPal to >>>>>> [EMAIL PROTECTED] >>>>>> >>>>>> REMEMBER: AstLinux mailing lists are moving soon: >>>>>> >>>>>> http://sourceforge.net/mail/?group_id=170462 >>>>>> >>>>>> Please move any discussions ASAP! >>>>>> >>>>>> >>>>>> >>>>>> >>>>> -------------- next part -------------- >>>>> An HTML attachment was scrubbed... >>>>> URL: http://lists.kriscompanies.com/pipermail/astlinux-users/ >>>>> attachments/20070117/53df8d9b/attachment-0001.html >>>>> >>>>> ------------------------------ >>>>> >>>>> Message: 3 >>>>> Date: Thu, 18 Jan 2007 00:27:43 +0100 >>>>> From: Nedi <[EMAIL PROTECTED]> >>>>> Subject: [Astlinux-users] Unable to execute '/bin/echo -e "Subject: >>>>> email notification for missed calls >>>>> To: [EMAIL PROTECTED], Asterisk Users Mailing List - >>>>> Non-Commercial Discussion <[email protected]> >>>>> Message-ID: <[EMAIL PROTECTED]> >>>>> Content-Type: text/plain; charset=ISO-8859-15; format=flowed >>>>> >>>>> Hi , >>>>> I try to configure email notification for missed calls if one >>>>> call me >>>>> and not let me a voicemail. >>>>> >>>>> In extensions.conf I have : >>>>> ----------------------------------------------------- >>>>> exten =>12,1,System(/bin/echo -e "Subject: 'Incoming call from >>>>> :${CALLERID} \\r Placed: ${DATETIME}'" | msmtp [EMAIL PROTECTED]) >>>>> exten =>12,2,Dial(SIP/12,17,r) >>>>> exten =>12,3,Answer >>>>> exten =>12,4,Playback(vm-nobodyavail) >>>>> exten =>12,5,Voicemail(12) >>>>> exten =>12,6,Hangup >>>>> ----------------------------------------------------------- >>>>> If I call from internal 11 to internal 12 I get in asterisk >>>>> console this : >>>>> ------------------------------------------------------------------- >>>>> allversal*CLI> Jan 17 23:57:30 WARNING[25323]: app_system.c:108 >>>>> system_exec_helper: Unable to execute '/bin/echo -e "Subject: >>>>> 'Incoming >>>>> call from :"11" <11> \r Placed: 17012007-23:57:30" | msmtp >>>>> [EMAIL PROTECTED]' >>>>> >>>>> -------------------------------------------------- >>>>> could someone tell me why ?? >>>>> >>>>> regards >>>>> nedi >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> ------------------------------ >>>>> >>>>> Message: 4 >>>>> Date: Wed, 17 Jan 2007 18:19:26 -0600 >>>>> From: Lonnie Abelbeck <[EMAIL PROTECTED]> >>>>> Subject: Re: [Astlinux-users] Unable to execute '/bin/echo -e >>>>> "Subject: email notification for missed calls >>>>> To: Discussion of AstLinux - Asterisk on Compact Flash >>>>> <[EMAIL PROTECTED]> >>>>> Message-ID: <C6849841-6E2A-4394- >>>>> [EMAIL PROTECTED]> >>>>> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed >>>>> >>>>> nedi, >>>>> >>>>> I *think* you need bash for the "-e" option to the echo built-in >>>>> command. >>>>> >>>>> So, you could try creating a script file, email_in.sh >>>>> >>>>> exten =>12,1,System(/whereever/email_in.sh "${CALLERID}" "$ >>>>> {DATETIME}") >>>>> >>>>> In a file "email_in.sh" between the -----'s... >>>>> -------- >>>>> #!/bin/bash >>>>> echo -e "Subject: Incoming call from:$1\nPlaced: $2" | /usr/sbin/ >>>>> msmtp [EMAIL PROTECTED] >>>>> exit 0 >>>>> ------- >>>>> >>>>> Then set permissions... >>>>> $ chmod 755 email_in.sh >>>>> >>>>> That's it, give it a try and let me know what I screwed-up. <smile> >>>>> >>>>> Lonnie >>>>> >>>>> PS: you can test this outside of asterisk and see if you get mail. >>>>> ./email_in.sh "11 <11>" "17012007-23:57:30" >>>>> >>>>> On Jan 17, 2007, at 5:27 PM, Nedi wrote: >>>>> >>>>> >>>>> >>>>> >>>>> >>>>>> Hi , >>>>>> I try to configure email notification for missed calls if one >>>>>> call me >>>>>> and not let me a voicemail. >>>>>> >>>>>> In extensions.conf I have : >>>>>> ----------------------------------------------------- >>>>>> exten =>12,1,System(/bin/echo -e "Subject: 'Incoming call from >>>>>> :${CALLERID} \\r Placed: ${DATETIME}'" | msmtp [EMAIL PROTECTED]) >>>>>> exten =>12,2,Dial(SIP/12,17,r) >>>>>> exten =>12,3,Answer >>>>>> exten =>12,4,Playback(vm-nobodyavail) >>>>>> exten =>12,5,Voicemail(12) >>>>>> exten =>12,6,Hangup >>>>>> ----------------------------------------------------------- >>>>>> If I call from internal 11 to internal 12 I get in asterisk >>>>>> console this : >>>>>> ------------------------------------------------------------------- >>>>>> allversal*CLI> Jan 17 23:57:30 WARNING[25323]: app_system.c:108 >>>>>> system_exec_helper: Unable to execute '/bin/echo -e "Subject: >>>>>> 'Incoming >>>>>> call from :"11" <11> \r Placed: 17012007-23:57:30" | msmtp >>>>>> [EMAIL PROTECTED]' >>>>>> >>>>>> -------------------------------------------------- >>>>>> could someone tell me why ?? >>>>>> >>>>>> regards >>>>>> nedi >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> _______________________________________________ >>>>>> Astlinux-users mailing list >>>>>> [email protected] >>>>>> http://lists.kriscompanies.com/mailman/listinfo/astlinux-users >>>>>> >>>>>> Donations to support AstLinux are graciously accepted via PayPal to >>>>>> [EMAIL PROTECTED] >>>>>> >>>>>> REMEMBER: AstLinux mailing lists are moving soon: >>>>>> >>>>>> http://sourceforge.net/mail/?group_id=170462 >>>>>> >>>>>> Please move any discussions ASAP! >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>> ------------------------------ >>>>> >>>>> Message: 5 >>>>> Date: Thu, 18 Jan 2007 08:59:53 +0100 >>>>> From: "olivier.taylor" <[EMAIL PROTECTED]> >>>>> Subject: Re: [Astlinux-users] Update on 'Astlinux on Via based eBox >>>>> 3850ps' >>>>> To: Discussion of AstLinux - Asterisk on Compact Flash >>>>> <[EMAIL PROTECTED]> >>>>> Message-ID: <[EMAIL PROTECTED]> >>>>> Content-Type: text/plain; charset=ISO-8859-1; format=flowed >>>>> >>>>> Hi all, >>>>> >>>>> I got the same problem with that box, the solution is to use an usb >>>>> hard-drive, it boots perfectly and you have access to the system. >>>>> What I have done is to burn the usb HD with the I586 img of >>>>> astlinux, >>>>> created a keydisk on a second partition of the HD, copied the >>>>> I586 img >>>>> to /mnt/kd. >>>>> >>>>> I have then booted the 3850 with the usb HD and typed : >>>>> gunzip -c /mnt/kd/AstLinux-0.4.4-i586.img.gz > /dev/hda >>>>> >>>>> shutdown the system, remove the usb HD and reboot. >>>>> >>>>> That's all folk. >>>>> >>>>> Olivier >>>>> >>>>> Sarvesh Kulkarni a ?crit : >>>>> >>>>> >>>>> >>>>> >>>>>> HI everyone, >>>>>> >>>>>> Thanks to Darrick, Gary, Lonnie and Tim for offering valuable >>>>>> suggestions on the ebox-3850ps. >>>>>> For those of you who have forgotten, here's the link to the >>>>>> hardware: >>>>>> http://www.wdlsystems.com/ebox/ebox.shtml >>>>>> >>>>>> Gary - your idea of automatic provisioning is a good one, but it's >>>>>> probably overkill for an undergraduate-level course project. >>>>>> But, I will >>>>>> keep that idea in mind for a graduate-level project. >>>>>> Lonnie - m0n0wall support is secondary, at this time ..so we >>>>>> decided to >>>>>> go ahead with the ebox evaluations, and not worry about m0n0wall >>>>>> support >>>>>> on the ebox. >>>>>> Tim - your warning about Via systems not being able to boot from >>>>>> non-ide >>>>>> devices was taken into consideration. So, we verified their >>>>>> ability to >>>>>> boot off USB drives, but we are still running into roadblocks. >>>>>> Read on... >>>>>> Carlos- not sure if the ebox works with TDM400P or TE110P in the >>>>>> pci-x >>>>>> slot. I don't have the device with me and don't remember if it >>>>>> has the >>>>>> slot or not, but the box is *really small* ...just slightly >>>>>> larger than >>>>>> an internal 3.5" harddrive box. If it indeed has a PCI slot, >>>>>> the card >>>>>> will have to be really small to fit. >>>>>> >>>>>> We did indeed obtain an evaluation kit this week. First >>>>>> impressions: >>>>>> Overall, the build quality is really solid. >>>>>> The box is very compact, and the case has aluminium at the top and >>>>>> bottom, which acts as a heat sink. The processor has a (passive) >>>>>> heat >>>>>> sink and the CPU heat sink is in contact with the aluminium from >>>>>> the >>>>>> computer case by means of a large thermal pad. >>>>>> The case gets very warm ...almost hot to the touch ...certainly >>>>>> more >>>>>> than the net4801. >>>>>> There is room inside for a 2.5" drive, but we installed a 1 GB >>>>>> "Embed >>>>>> disk" ....it's a CF card, with an IDE interface, all on one >>>>>> board -- it >>>>>> fits neatly inside the box. >>>>>> >>>>>> I hooked it up to an LCD monitor, connected the kbd and LAN, and >>>>>> tried >>>>>> booting off a USB CDROM drive. I used the AstLinux ISO (ver 0.4.4). >>>>>> And here's where the problems began. >>>>>> It starts to boot just fine, then right after "Freeing Unused >>>>>> Kernel >>>>>> memory", I get this message: >>>>>> "Unable to identify CD-ROM format >>>>>> CD-ROM not found >>>>>> >>>>>> /bin/sh: can't access tty; job control turned off >>>>>> <etc, etc and CD-ROM info is shown here>" >>>>>> >>>>>> Then it drops me down to the busybox shell. >>>>>> I have no clue how to proceed. After commencing to boot off the >>>>>> CDROM >>>>>> drive, why can't it read it any more? >>>>>> >>>>>> So, I tried booting off a USB key ... tried both the via as well >>>>>> as the >>>>>> i586 images (ver 0.4.4). >>>>>> Well, it gets stuck at grub. I mean, it just displays "GRUB" and >>>>>> but menu. >>>>>> And that's where it sits. >>>>>> >>>>>> I have no idea as to where to even start looking for debugging >>>>>> clues. >>>>>> Note that, as a test, I booted a DELL laptop using the same CD >>>>>> as well >>>>>> as well as the USB flash disk. >>>>>> The laptop booted up fine. >>>>>> >>>>>> Are there any known issues in booting off a USB key/CDROm drive? >>>>>> Anyway, to summarize, I haven't been able to install AstLinux on >>>>>> the >>>>>> internal IDE-CFcard. In fact, how the heck do I even boot up >>>>>> this system >>>>>> and install AstLinux (without resorting to PXE boot)? >>>>>> >>>>>> Anyone have any suggestions as to where to start looking? >>>>>> >>>>>> Thanks, >>>>>> -- Sarvesh >>>>>> >>>>>> _______________________________________________ >>>>>> Astlinux-users mailing list >>>>>> [email protected] >>>>>> http://lists.kriscompanies.com/mailman/listinfo/astlinux-users >>>>>> >>>>>> Donations to support AstLinux are graciously accepted via PayPal >>>>>> to [EMAIL PROTECTED] >>>>>> >>>>>> REMEMBER: AstLinux mailing lists are moving soon: >>>>>> >>>>>> http://sourceforge.net/mail/?group_id=170462 >>>>>> >>>>>> Please move any discussions ASAP! >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>> ------------------------------ >>>>> >>>>> _______________________________________________ >>>>> Astlinux-users mailing list >>>>> [email protected] >>>>> http://lists.kriscompanies.com/mailman/listinfo/astlinux-users >>>>> >>>>> Donations to support AstLinux are graciously accepted via PayPal >>>>> to [EMAIL PROTECTED] >>>>> >>>>> REMEMBER: AstLinux mailing lists are moving soon: >>>>> >>>>> http://sourceforge.net/mail/?group_id=170462 >>>>> >>>>> Please move any discussions ASAP! >>>>> >>>>> End of Astlinux-users Digest, Vol 23, Issue 14 >>>>> ********************************************** >>>>> >>>>> >>>>> >>>>> >>>>> >>>> ------------------------------ >>>> >>>> Message: 3 >>>> Date: Thu, 18 Jan 2007 17:34:42 -0600 >>>> From: Lonnie Abelbeck <[EMAIL PROTECTED]> >>>> Subject: Re: [Astlinux-users] Unable to execute email notification, >>>> Unable to execute '/bin/email_in.sh for missed calls >>>> To: Discussion of AstLinux - Asterisk on Compact Flash >>>> <[EMAIL PROTECTED]> >>>> Message-ID: <402F104B-34B5-46AD-94F2- >>>> [EMAIL PROTECTED]> >>>> Content-Type: text/plain; charset="us-ascii" >>>> >>>> nedi, >>>> >>>> I posted a working example here under "[Astlinux-users] Sending email >>>> >>>> >>>>> from extensions.conf". >>>>> >>>>> >>>> You do not want to use ${CALLERID}, but instead use the asterisk >>>> 1.2 $ >>>> {CALLERID(name)} and ${CALLERID(num)}. It is important to not pass >>>> double-quoted strings in the arguments. >>>> >>>> Let us know how it goes. >>>> >>>> Lonnie >>>> >>>> >>>> On Jan 18, 2007, at 5:17 PM, Nedi wrote: >>>> >>>> >>>> >>>> >>>>> Hi , >>>>> >>>>> I put in my extensions.cfg : >>>>> >>>>> exten =>12,1,System(/bin/email_in.sh "${CALLERID}" "${DATETIME}") >>>>> exten =>12,2,Dial(SIP/12,17,r) >>>>> exten =>12,3,Answer >>>>> exten =>12,4,Playback(vm-nobodyavail) >>>>> exten =>12,5,Voicemail(12) >>>>> exten =>12,6,Hangup >>>>> >>>>> and I put in root ind the folder /bin a script file >>>>> "email_in.sh" with chmod 755 and +X >>>>> >>>>> In a file "email_in.sh" I put >>>>> >>>>> #!/bin/bash >>>>> echo -e "Subject: Incoming call from:$1\nPlaced: $2" | /usr/sbin/ >>>>> msmtp [EMAIL PROTECTED] >>>>> exit 0 >>>>> >>>>> If I dial to Internal 12 I get busy tone. >>>>> >>>>> file list in folder /bin give me : >>>>> >>>>> lrwxrwxrwx 1 root root 7 Dec 8 2005 egrep -> >>>>> busybox >>>>> -rwxrwxr-x 1 root root 111 Jan 18 13:10 email_in.sh >>>>> lrwxrwxrwx 1 root root 7 Dec 8 2005 false -> >>>>> busybox >>>>> >>>>> and console give me the warning : >>>>> >>>>> n 18 12:34:26 WARNING[29535]: app_system.c:108 system_exec_helper: >>>>> Unable to execute '/bin/email_in.sh ""11" <11>" "18012007-12:34:26"' >>>>> >>>>> >>>>> regards nedi >>>>> >>>>> >>>>> >>>>> >>>>> [EMAIL PROTECTED] schrieb: >>>>> >>>>> >>>>> >>>>>> Send Astlinux-users mailing list submissions to >>>>>> [email protected] >>>>>> >>>>>> To subscribe or unsubscribe via the World Wide Web, visit >>>>>> http://lists.kriscompanies.com/mailman/listinfo/astlinux-users >>>>>> or, via email, send a message with subject or body 'help' to >>>>>> [EMAIL PROTECTED] >>>>>> >>>>>> You can reach the person managing the list at >>>>>> [EMAIL PROTECTED] >>>>>> >>>>>> When replying, please edit your Subject line so it is more specific >>>>>> than "Re: Contents of Astlinux-users digest..." >>>>>> >>>>>> >>>>>> Today's Topics: >>>>>> >>>>>> 1. Update on 'Astlinux on Via based eBox 3850ps' (Sarvesh >>>>>> Kulkarni) >>>>>> 2. Re: sh script on astlinux (Lonnie Abelbeck) >>>>>> 3. Unable to execute '/bin/echo -e "Subject: email notification >>>>>> for missed calls (Nedi) >>>>>> 4. Re: Unable to execute '/bin/echo -e "Subject: email >>>>>> notification for missed calls (Lonnie Abelbeck) >>>>>> 5. Re: Update on 'Astlinux on Via based eBox >>>>>> 3850ps' (olivier.taylor) >>>>>> >>>>>> >>>>>> ------------------------------------------------------------------- >>>>>> -- >>>>>> - >>>>>> >>>>>> Message: 1 >>>>>> Date: Wed, 17 Jan 2007 16:13:51 -0500 >>>>>> From: Sarvesh Kulkarni <[EMAIL PROTECTED]> >>>>>> Subject: [Astlinux-users] Update on 'Astlinux on Via based eBox >>>>>> 3850ps' >>>>>> To: [EMAIL PROTECTED] >>>>>> Message-ID: <[EMAIL PROTECTED]> >>>>>> Content-Type: text/plain; format=flowed; charset=ISO-8859-1 >>>>>> >>>>>> HI everyone, >>>>>> >>>>>> Thanks to Darrick, Gary, Lonnie and Tim for offering valuable >>>>>> suggestions on the ebox-3850ps. >>>>>> For those of you who have forgotten, here's the link to the >>>>>> hardware: >>>>>> http://www.wdlsystems.com/ebox/ebox.shtml >>>>>> >>>>>> Gary - your idea of automatic provisioning is a good one, but it's >>>>>> probably overkill for an undergraduate-level course project. But, >>>>>> I will >>>>>> keep that idea in mind for a graduate-level project. >>>>>> Lonnie - m0n0wall support is secondary, at this time ..so we >>>>>> decided to >>>>>> go ahead with the ebox evaluations, and not worry about m0n0wall >>>>>> support >>>>>> on the ebox. >>>>>> Tim - your warning about Via systems not being able to boot from >>>>>> non-ide >>>>>> devices was taken into consideration. So, we verified their >>>>>> ability to >>>>>> boot off USB drives, but we are still running into roadblocks. >>>>>> Read on... >>>>>> Carlos- not sure if the ebox works with TDM400P or TE110P in the >>>>>> pci-x >>>>>> slot. I don't have the device with me and don't remember if it has >>>>>> the >>>>>> slot or not, but the box is *really small* ...just slightly larger >>>>>> than >>>>>> an internal 3.5" harddrive box. If it indeed has a PCI slot, the >>>>>> card >>>>>> will have to be really small to fit. >>>>>> >>>>>> We did indeed obtain an evaluation kit this week. First >>>>>> impressions: >>>>>> Overall, the build quality is really solid. >>>>>> The box is very compact, and the case has aluminium at the top and >>>>>> bottom, which acts as a heat sink. The processor has a (passive) >>>>>> heat >>>>>> sink and the CPU heat sink is in contact with the aluminium from >>>>>> the >>>>>> computer case by means of a large thermal pad. >>>>>> The case gets very warm ...almost hot to the touch ...certainly >>>>>> more >>>>>> than the net4801. >>>>>> There is room inside for a 2.5" drive, but we installed a 1 GB >>>>>> "Embed >>>>>> disk" ....it's a CF card, with an IDE interface, all on one board >>>>>> -- it >>>>>> fits neatly inside the box. >>>>>> >>>>>> I hooked it up to an LCD monitor, connected the kbd and LAN, and >>>>>> tried >>>>>> booting off a USB CDROM drive. I used the AstLinux ISO (ver 0.4.4). >>>>>> And here's where the problems began. >>>>>> It starts to boot just fine, then right after "Freeing Unused >>>>>> Kernel >>>>>> memory", I get this message: >>>>>> "Unable to identify CD-ROM format >>>>>> CD-ROM not found >>>>>> >>>>>> /bin/sh: can't access tty; job control turned off >>>>>> <etc, etc and CD-ROM info is shown here>" >>>>>> >>>>>> Then it drops me down to the busybox shell. >>>>>> I have no clue how to proceed. After commencing to boot off the >>>>>> CDROM >>>>>> drive, why can't it read it any more? >>>>>> >>>>>> So, I tried booting off a USB key ... tried both the via as well >>>>>> as the >>>>>> i586 images (ver 0.4.4). >>>>>> Well, it gets stuck at grub. I mean, it just displays "GRUB" and >>>>>> but menu. >>>>>> And that's where it sits. >>>>>> >>>>>> I have no idea as to where to even start looking for debugging >>>>>> clues. >>>>>> Note that, as a test, I booted a DELL laptop using the same CD as >>>>>> well >>>>>> as well as the USB flash disk. >>>>>> The laptop booted up fine. >>>>>> >>>>>> Are there any known issues in booting off a USB key/CDROm drive? >>>>>> Anyway, to summarize, I haven't been able to install AstLinux on >>>>>> the >>>>>> internal IDE-CFcard. In fact, how the heck do I even boot up this >>>>>> system >>>>>> and install AstLinux (without resorting to PXE boot)? >>>>>> >>>>>> Anyone have any suggestions as to where to start looking? >>>>>> >>>>>> Thanks, >>>>>> -- Sarvesh >>>>>> >>>>>> >>>>>> >>>>>> ------------------------------ >>>>>> >>>>>> Message: 2 >>>>>> Date: Wed, 17 Jan 2007 17:20:53 -0600 >>>>>> From: Lonnie Abelbeck <[EMAIL PROTECTED]> >>>>>> Subject: Re: [Astlinux-users] sh script on astlinux >>>>>> To: Discussion of AstLinux - Asterisk on Compact Flash >>>>>> <[EMAIL PROTECTED]> >>>>>> Message-ID: >>>>>> <[EMAIL PROTECTED]> >>>>>> Content-Type: text/plain; charset="iso-8859-1" >>>>>> >>>>>> Thomas, >>>>>> >>>>>> Could it be as simple as getphone.sh not having the correct file >>>>>> permissions? >>>>>> >>>>>> $ chmod 755 getphone.sh >>>>>> >>>>>> If not, could you explain what the error is? >>>>>> >>>>>> Lonnie >>>>>> >>>>>> On Jan 17, 2007, at 2:03 PM, Thomas Thomsen wrote: >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>>> Hi >>>>>>> >>>>>>> here is the entire section >>>>>>> >>>>>>> [initchannel] >>>>>>> exten => _X.,1,Set(SPEED=${DB(speednumber/${EXTEN}${COMPANY})}) >>>>>>> exten => _X.,n,GotoIf(${SPEED}?found:chkcallerid) >>>>>>> exten => _X.,n(found),Goto(${SPEED},chkcallerid) >>>>>>> >>>>>>> exten => _X.,n(chkcallerid),GotoIf(${CALLERIDNUM}?chklast:chklen) >>>>>>> exten => _X.,n(chklast),Set(LAST=${DB(LastExt/${CALLERIDNUM})}) >>>>>>> exten => _X.,n,GotoIf(${LAST}?last:chklen) >>>>>>> exten => _X.,n(last),UserEvent(LastExt,ActionID: lastext/$ >>>>>>> {CALLERIDNUM}/${LAST}) >>>>>>> >>>>>>> exten => _X.,n(chklen),GotoIf($[${LEN(${CALLERIDNUM})} = 8]? >>>>>>> chkcidname:chkcalleridnum) >>>>>>> exten => _X.,n(chkcidname),System(/etc/asterisk/getphone.sh $ >>>>>>> {CALLERIDNUM}) >>>>>>> exten => _X.,n,LookupCIDName() >>>>>>> exten => _X.,n,GotoIf($[${LEN(${CALLERIDNAME})} > 0]? >>>>>>> chkcalleridnum:setnumber) >>>>>>> exten => _X.,n(setnumber),Set(CALLERID(name)=${CALLERIDNUM}) >>>>>>> >>>>>>> exten => _X.,n(chkcalleridnum),GotoIf(${CALLERIDNUM}? >>>>>>> chkshowname:sethemmeligt) >>>>>>> exten => _X.,n(sethemmeligt),Set(CALLERID(name)=Hemmeligt) >>>>>>> >>>>>>> exten => _X.,n(chkshowname),Set(SHOWNAME=${DB(showname/$ >>>>>>> {CALLEEIDNUM}${COMPANY})}) >>>>>>> exten => _X.,n,GotoIf($[${LEN(${SHOWNAME})} > 0]? >>>>>>> showname:chklines) >>>>>>> exten => _X.,n(showname),Set(CALLERID(name)=${SHOWNAME}-$ >>>>>>> {CALLERIDNAME}) >>>>>>> exten => _X.,n,Set(CALLERID(number)=${CALLERIDNUM}) >>>>>>> >>>>>>> exten => _X.,n(chklines),Set(GROUP()=Lines) >>>>>>> exten => _X.,n,GotoIf($[${GROUP_COUNT()} > ${NUMBER-OF-LINES}]? >>>>>>> busy:phone-in${COMPANY},${EXTEN},1) >>>>>>> exten => _X.,n(busy),Set(DB(nolinesin/${TIMESTAMP}-$ >>>>>>> {CALLERIDNUM})=$ >>>>>>> {EXTEN}) >>>>>>> exten => _X.,n,Busy() >>>>>>> exten => _X.,n,Hangup() >>>>>>> >>>>>>> Med Venlig Hilsen >>>>>>> >>>>>>> Thomas Thomsen >>>>>>> Systemkonsulent >>>>>>> >>>>>>> <ntd.jpg> >>>>>>> >>>>>>> >>>>>>> Baldersbuen 15 A >>>>>>> DK-2640 Hedehusene >>>>>>> Telefon 5474 7575 >>>>>>> Mobil 2683 7575 >>>>>>> Fax 5474 7570 >>>>>>> www.ntd.dk - [EMAIL PROTECTED] >>>>>>> >>>>>>> >>>>>>> >>>>>>> Fra: [EMAIL PROTECTED] [mailto:astlinux- >>>>>>> users- >>>>>>> [EMAIL PROTECTED] P? vegne af Lonnie Abelbeck >>>>>>> Sendt: 17. januar 2007 20:30 >>>>>>> Til: Discussion of AstLinux - Asterisk on Compact Flash >>>>>>> Emne: Re: [Astlinux-users] sh script on astlinux >>>>>>> >>>>>>> Thomas, >>>>>>> >>>>>>> I don't see a reference to "chkcalleridnum", >>>>>>> >>>>>>> exten => _X.,n(chkcalleridnum) >>>>>>> >>>>>>> Lonnie >>>>>>> >>>>>>> On Jan 17, 2007, at 12:37 PM, Thomas Thomsen wrote: >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>>> Hi >>>>>>>> >>>>>>>> I have the following entries in my extensions.conf >>>>>>>> >>>>>>>> exten => _X.,n(chklen),GotoIf($[${LEN(${CALLERIDNUM})} = 8]? >>>>>>>> chkcidname:chkcalleridnum) >>>>>>>> exten => _X.,n(chkcidname),System(/etc/asterisk/getphone.sh $ >>>>>>>> {CALLERIDNUM}) >>>>>>>> exten => _X.,n,LookupCIDName() >>>>>>>> exten => _X.,n,GotoIf($[${LEN(${CALLERIDNAME})} > 0]? >>>>>>>> chkcalleridnum:setnumber) >>>>>>>> exten => _X.,n(setnumber),Set(CALLERID(name)=${CALLERIDNUM}) >>>>>>>> It works perfect on trixbox but not on astlinux, could someone >>>>>>>> tell me why ?? >>>>>>>> >>>>>>>> Regards >>>>>>>> >>>>>>>> //Thomas >>>>>>>> _______________________________________________ >>>>>>>> Astlinux-users mailing list >>>>>>>> [email protected] >>>>>>>> http://lists.kriscompanies.com/mailman/listinfo/astlinux-users >>>>>>>> >>>>>>>> Donations to support AstLinux are graciously accepted via PayPal >>>>>>>> to [EMAIL PROTECTED] >>>>>>>> >>>>>>>> REMEMBER: AstLinux mailing lists are moving soon: >>>>>>>> >>>>>>>> http://sourceforge.net/mail/?group_id=170462 >>>>>>>> >>>>>>>> Please move any discussions ASAP! >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>> <ntd.jpg> >>>>>>> _______________________________________________ >>>>>>> Astlinux-users mailing list >>>>>>> [email protected] >>>>>>> http://lists.kriscompanies.com/mailman/listinfo/astlinux-users >>>>>>> >>>>>>> Donations to support AstLinux are graciously accepted via >>>>>>> PayPal to >>>>>>> [EMAIL PROTECTED] >>>>>>> >>>>>>> REMEMBER: AstLinux mailing lists are moving soon: >>>>>>> >>>>>>> http://sourceforge.net/mail/?group_id=170462 >>>>>>> >>>>>>> Please move any discussions ASAP! >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>> -------------- next part -------------- >>>>>> An HTML attachment was scrubbed... >>>>>> URL: http://lists.kriscompanies.com/pipermail/astlinux-users/ >>>>>> attachments/20070117/53df8d9b/attachment-0001.html >>>>>> >>>>>> ------------------------------ >>>>>> >>>>>> Message: 3 >>>>>> Date: Thu, 18 Jan 2007 00:27:43 +0100 >>>>>> From: Nedi <[EMAIL PROTECTED]> >>>>>> Subject: [Astlinux-users] Unable to execute '/bin/echo -e "Subject: >>>>>> email notification for missed calls >>>>>> To: [EMAIL PROTECTED], Asterisk Users Mailing List - >>>>>> Non-Commercial Discussion <[email protected]> >>>>>> Message-ID: <[EMAIL PROTECTED]> >>>>>> Content-Type: text/plain; charset=ISO-8859-15; format=flowed >>>>>> >>>>>> Hi , >>>>>> I try to configure email notification for missed calls if one >>>>>> call me >>>>>> and not let me a voicemail. >>>>>> >>>>>> In extensions.conf I have : >>>>>> ----------------------------------------------------- >>>>>> exten =>12,1,System(/bin/echo -e "Subject: 'Incoming call from >>>>>> :${CALLERID} \\r Placed: ${DATETIME}'" | msmtp [EMAIL PROTECTED]) >>>>>> exten =>12,2,Dial(SIP/12,17,r) >>>>>> exten =>12,3,Answer >>>>>> exten =>12,4,Playback(vm-nobodyavail) >>>>>> exten =>12,5,Voicemail(12) >>>>>> exten =>12,6,Hangup >>>>>> ----------------------------------------------------------- >>>>>> If I call from internal 11 to internal 12 I get in asterisk >>>>>> console this : >>>>>> ------------------------------------------------------------------- >>>>>> allversal*CLI> Jan 17 23:57:30 WARNING[25323]: app_system.c:108 >>>>>> system_exec_helper: Unable to execute '/bin/echo -e "Subject: >>>>>> 'Incoming >>>>>> call from :"11" <11> \r Placed: 17012007-23:57:30" | msmtp >>>>>> [EMAIL PROTECTED]' >>>>>> >>>>>> -------------------------------------------------- >>>>>> could someone tell me why ?? >>>>>> >>>>>> regards >>>>>> nedi >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> ------------------------------ >>>>>> >>>>>> Message: 4 >>>>>> Date: Wed, 17 Jan 2007 18:19:26 -0600 >>>>>> From: Lonnie Abelbeck <[EMAIL PROTECTED]> >>>>>> Subject: Re: [Astlinux-users] Unable to execute '/bin/echo -e >>>>>> "Subject: email notification for missed calls >>>>>> To: Discussion of AstLinux - Asterisk on Compact Flash >>>>>> <[EMAIL PROTECTED]> >>>>>> Message-ID: <C6849841-6E2A-4394- >>>>>> [EMAIL PROTECTED]> >>>>>> Content-Type: text/plain; charset=US-ASCII; delsp=yes; >>>>>> format=flowed >>>>>> >>>>>> nedi, >>>>>> >>>>>> I *think* you need bash for the "-e" option to the echo built-in >>>>>> command. >>>>>> >>>>>> So, you could try creating a script file, email_in.sh >>>>>> >>>>>> exten =>12,1,System(/whereever/email_in.sh "${CALLERID}" "$ >>>>>> {DATETIME}") >>>>>> >>>>>> In a file "email_in.sh" between the -----'s... >>>>>> -------- >>>>>> #!/bin/bash >>>>>> echo -e "Subject: Incoming call from:$1\nPlaced: $2" | /usr/sbin/ >>>>>> msmtp [EMAIL PROTECTED] >>>>>> exit 0 >>>>>> ------- >>>>>> >>>>>> Then set permissions... >>>>>> $ chmod 755 email_in.sh >>>>>> >>>>>> That's it, give it a try and let me know what I screwed-up. <smile> >>>>>> >>>>>> Lonnie >>>>>> >>>>>> PS: you can test this outside of asterisk and see if you get mail. >>>>>> ./email_in.sh "11 <11>" "17012007-23:57:30" >>>>>> >>>>>> On Jan 17, 2007, at 5:27 PM, Nedi wrote: >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>>> Hi , >>>>>>> I try to configure email notification for missed calls if one >>>>>>> call me >>>>>>> and not let me a voicemail. >>>>>>> >>>>>>> In extensions.conf I have : >>>>>>> ----------------------------------------------------- >>>>>>> exten =>12,1,System(/bin/echo -e "Subject: 'Incoming call from >>>>>>> :${CALLERID} \\r Placed: ${DATETIME}'" | msmtp [EMAIL PROTECTED]) >>>>>>> exten =>12,2,Dial(SIP/12,17,r) >>>>>>> exten =>12,3,Answer >>>>>>> exten =>12,4,Playback(vm-nobodyavail) >>>>>>> exten =>12,5,Voicemail(12) >>>>>>> exten =>12,6,Hangup >>>>>>> ----------------------------------------------------------- >>>>>>> If I call from internal 11 to internal 12 I get in asterisk >>>>>>> console this : >>>>>>> ------------------------------------------------------------------ >>>>>>> - >>>>>>> allversal*CLI> Jan 17 23:57:30 WARNING[25323]: app_system.c:108 >>>>>>> system_exec_helper: Unable to execute '/bin/echo -e "Subject: >>>>>>> 'Incoming >>>>>>> call from :"11" <11> \r Placed: 17012007-23:57:30" | msmtp >>>>>>> [EMAIL PROTECTED]' >>>>>>> >>>>>>> -------------------------------------------------- >>>>>>> could someone tell me why ?? >>>>>>> >>>>>>> regards >>>>>>> nedi >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> _______________________________________________ >>>>>>> Astlinux-users mailing list >>>>>>> [email protected] >>>>>>> http://lists.kriscompanies.com/mailman/listinfo/astlinux-users >>>>>>> >>>>>>> Donations to support AstLinux are graciously accepted via >>>>>>> PayPal to >>>>>>> [EMAIL PROTECTED] >>>>>>> >>>>>>> REMEMBER: AstLinux mailing lists are moving soon: >>>>>>> >>>>>>> http://sourceforge.net/mail/?group_id=170462 >>>>>>> >>>>>>> Please move any discussions ASAP! >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>> ------------------------------ >>>>>> >>>>>> Message: 5 >>>>>> Date: Thu, 18 Jan 2007 08:59:53 +0100 >>>>>> From: "olivier.taylor" <[EMAIL PROTECTED]> >>>>>> Subject: Re: [Astlinux-users] Update on 'Astlinux on Via based eBox >>>>>> 3850ps' >>>>>> To: Discussion of AstLinux - Asterisk on Compact Flash >>>>>> <[EMAIL PROTECTED]> >>>>>> Message-ID: <[EMAIL PROTECTED]> >>>>>> Content-Type: text/plain; charset=ISO-8859-1; format=flowed >>>>>> >>>>>> Hi all, >>>>>> >>>>>> I got the same problem with that box, the solution is to use an usb >>>>>> hard-drive, it boots perfectly and you have access to the system. >>>>>> What I have done is to burn the usb HD with the I586 img of >>>>>> astlinux, >>>>>> created a keydisk on a second partition of the HD, copied the I586 >>>>>> img >>>>>> to /mnt/kd. >>>>>> >>>>>> I have then booted the 3850 with the usb HD and typed : >>>>>> gunzip -c /mnt/kd/AstLinux-0.4.4-i586.img.gz > /dev/hda >>>>>> >>>>>> shutdown the system, remove the usb HD and reboot. >>>>>> >>>>>> That's all folk. >>>>>> >>>>>> Olivier >>>>>> >>>>>> Sarvesh Kulkarni a ?crit : >>>>>> >>>>>> >>>>>> >>>>>> >>>>>>> HI everyone, >>>>>>> >>>>>>> Thanks to Darrick, Gary, Lonnie and Tim for offering valuable >>>>>>> suggestions on the ebox-3850ps. >>>>>>> For those of you who have forgotten, here's the link to the >>>>>>> hardware: >>>>>>> http://www.wdlsystems.com/ebox/ebox.shtml >>>>>>> >>>>>>> Gary - your idea of automatic provisioning is a good one, but it's >>>>>>> probably overkill for an undergraduate-level course project. But, >>>>>>> I will >>>>>>> keep that idea in mind for a graduate-level project. >>>>>>> Lonnie - m0n0wall support is secondary, at this time ..so we >>>>>>> decided to >>>>>>> go ahead with the ebox evaluations, and not worry about m0n0wall >>>>>>> support >>>>>>> on the ebox. >>>>>>> Tim - your warning about Via systems not being able to boot from >>>>>>> non-ide >>>>>>> devices was taken into consideration. So, we verified their >>>>>>> ability to >>>>>>> boot off USB drives, but we are still running into roadblocks. >>>>>>> Read on... >>>>>>> Carlos- not sure if the ebox works with TDM400P or TE110P in the >>>>>>> pci-x >>>>>>> slot. I don't have the device with me and don't remember if it >>>>>>> has the >>>>>>> slot or not, but the box is *really small* ...just slightly >>>>>>> larger than >>>>>>> an internal 3.5" harddrive box. If it indeed has a PCI slot, the >>>>>>> card >>>>>>> will have to be really small to fit. >>>>>>> >>>>>>> We did indeed obtain an evaluation kit this week. First >>>>>>> impressions: >>>>>>> Overall, the build quality is really solid. >>>>>>> The box is very compact, and the case has aluminium at the top and >>>>>>> bottom, which acts as a heat sink. The processor has a (passive) >>>>>>> heat >>>>>>> sink and the CPU heat sink is in contact with the aluminium >>>>>>> from the >>>>>>> computer case by means of a large thermal pad. >>>>>>> The case gets very warm ...almost hot to the touch ...certainly >>>>>>> more >>>>>>> than the net4801. >>>>>>> There is room inside for a 2.5" drive, but we installed a 1 GB >>>>>>> "Embed >>>>>>> disk" ....it's a CF card, with an IDE interface, all on one board >>>>>>> -- it >>>>>>> fits neatly inside the box. >>>>>>> >>>>>>> I hooked it up to an LCD monitor, connected the kbd and LAN, and >>>>>>> tried >>>>>>> booting off a USB CDROM drive. I used the AstLinux ISO (ver >>>>>>> 0.4.4). >>>>>>> And here's where the problems began. >>>>>>> It starts to boot just fine, then right after "Freeing Unused >>>>>>> Kernel >>>>>>> memory", I get this message: >>>>>>> "Unable to identify CD-ROM format >>>>>>> CD-ROM not found >>>>>>> >>>>>>> /bin/sh: can't access tty; job control turned off >>>>>>> <etc, etc and CD-ROM info is shown here>" >>>>>>> >>>>>>> Then it drops me down to the busybox shell. >>>>>>> I have no clue how to proceed. After commencing to boot off the >>>>>>> CDROM >>>>>>> drive, why can't it read it any more? >>>>>>> >>>>>>> So, I tried booting off a USB key ... tried both the via as well >>>>>>> as the >>>>>>> i586 images (ver 0.4.4). >>>>>>> Well, it gets stuck at grub. I mean, it just displays "GRUB" and >>>>>>> but menu. >>>>>>> And that's where it sits. >>>>>>> >>>>>>> I have no idea as to where to even start looking for debugging >>>>>>> clues. >>>>>>> Note that, as a test, I booted a DELL laptop using the same CD as >>>>>>> well >>>>>>> as well as the USB flash disk. >>>>>>> The laptop booted up fine. >>>>>>> >>>>>>> Are there any known issues in booting off a USB key/CDROm drive? >>>>>>> Anyway, to summarize, I haven't been able to install AstLinux >>>>>>> on the >>>>>>> internal IDE-CFcard. In fact, how the heck do I even boot up this >>>>>>> system >>>>>>> and install AstLinux (without resorting to PXE boot)? >>>>>>> >>>>>>> Anyone have any suggestions as to where to start looking? >>>>>>> >>>>>>> Thanks, >>>>>>> -- Sarvesh >>>>>>> >>>>>>> _______________________________________________ >>>>>>> Astlinux-users mailing list >>>>>>> [email protected] >>>>>>> http://lists.kriscompanies.com/mailman/listinfo/astlinux-users >>>>>>> >>>>>>> Donations to support AstLinux are graciously accepted via PayPal >>>>>>> to [EMAIL PROTECTED] >>>>>>> >>>>>>> REMEMBER: AstLinux mailing lists are moving soon: >>>>>>> >>>>>>> http://sourceforge.net/mail/?group_id=170462 >>>>>>> >>>>>>> Please move any discussions ASAP! >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>> ------------------------------ >>>>>> >>>>>> _______________________________________________ >>>>>> Astlinux-users mailing list >>>>>> [email protected] >>>>>> http://lists.kriscompanies.com/mailman/listinfo/astlinux-users >>>>>> >>>>>> Donations to support AstLinux are graciously accepted via PayPal >>>>>> to [EMAIL PROTECTED] >>>>>> >>>>>> REMEMBER: AstLinux mailing lists are moving soon: >>>>>> >>>>>> http://sourceforge.net/mail/?group_id=170462 >>>>>> >>>>>> Please move any discussions ASAP! >>>>>> >>>>>> End of Astlinux-users Digest, Vol 23, Issue 14 >>>>>> ********************************************** >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>> _______________________________________________ >>>>> Astlinux-users mailing list >>>>> [email protected] >>>>> http://lists.kriscompanies.com/mailman/listinfo/astlinux-users >>>>> >>>>> Donations to support AstLinux are graciously accepted via PayPal to >>>>> [EMAIL PROTECTED] >>>>> >>>>> REMEMBER: AstLinux mailing lists are moving soon: >>>>> >>>>> http://sourceforge.net/mail/?group_id=170462 >>>>> >>>>> Please move any discussions ASAP! >>>>> >>>>> >>>>> >>>>> >>>> -------------- next part -------------- >>>> An HTML attachment was scrubbed... >>>> URL: http://lists.kriscompanies.com/pipermail/astlinux-users/ >>>> attachments/20070118/c6db14fc/attachment.html >>>> >>>> ------------------------------ >>>> >>>> _______________________________________________ >>>> Astlinux-users mailing list >>>> [email protected] >>>> http://lists.kriscompanies.com/mailman/listinfo/astlinux-users >>>> >>>> Donations to support AstLinux are graciously accepted via PayPal >>>> to [EMAIL PROTECTED] >>>> >>>> REMEMBER: AstLinux mailing lists are moving soon: >>>> >>>> http://sourceforge.net/mail/?group_id=170462 >>>> >>>> Please move any discussions ASAP! >>>> >>>> End of Astlinux-users Digest, Vol 23, Issue 15 >>>> ********************************************** >>>> >>>> >>>> >>>> >>> _______________________________________________ >>> Astlinux-users mailing list >>> [email protected] >>> http://lists.kriscompanies.com/mailman/listinfo/astlinux-users >>> >>> Donations to support AstLinux are graciously accepted via PayPal to >>> [EMAIL PROTECTED] >>> >>> REMEMBER: AstLinux mailing lists are moving soon: >>> >>> http://sourceforge.net/mail/?group_id=170462 >>> >>> Please move any discussions ASAP! >>> >>> >>> >> >> ------------------------------ >> >> _______________________________________________ >> Astlinux-users mailing list >> [email protected] >> http://lists.kriscompanies.com/mailman/listinfo/astlinux-users >> >> Donations to support AstLinux are graciously accepted via PayPal to [EMAIL >> PROTECTED] >> >> REMEMBER: AstLinux mailing lists are moving soon: >> >> http://sourceforge.net/mail/?group_id=170462 >> >> Please move any discussions ASAP! >> >> End of Astlinux-users Digest, Vol 23, Issue 18 >> ********************************************** >> >> >> > > > ------------------------------ > > _______________________________________________ > Astlinux-users mailing list > [email protected] > http://lists.kriscompanies.com/mailman/listinfo/astlinux-users > > Donations to support AstLinux are graciously accepted via PayPal to [EMAIL > PROTECTED] > > REMEMBER: AstLinux mailing lists are moving soon: > > http://sourceforge.net/mail/?group_id=170462 > > Please move any discussions ASAP! > > End of Astlinux-users Digest, Vol 23, Issue 19 > ********************************************** > > _______________________________________________ Astlinux-users mailing list [email protected] http://lists.kriscompanies.com/mailman/listinfo/astlinux-users Donations to support AstLinux are graciously accepted via PayPal to [EMAIL PROTECTED] REMEMBER: AstLinux mailing lists are moving soon: http://sourceforge.net/mail/?group_id=170462 Please move any discussions ASAP!
