[asterisk-gui] "GUI inserting blank lines" work around

Shyju Kanaprath shyjuk at live.com
Sun Aug 9 01:54:41 CDT 2009



I found following work around for this.., 
I have changed the "/var/lib/asterisk/static-http/config/js/index.js" , put the following two lines..


                        var t = ASTGUI.cliCommand('module reload');
                }
  
      
                 ASTGUI.systemCmdWithOutput("/bin/sed '/^$/d' -i /etc/asterisk/users.conf",function(a1){});
                 ASTGUI.systemCmdWithOutput("/bin/sed '/^$/d' -i /etc/asterisk/extensions.conf",function(b1){});
 
      

          u.style.display = 'none';


awaiting for better suggestions..

_______

Regards,

Shyju




> From: asterisk-gui-request at lists.digium.com
> Subject: asterisk-gui Digest, Vol 34, Issue 4
> To: asterisk-gui at lists.digium.com
> Date: Sat, 8 Aug 2009 12:00:03 -0500
> 
> Send asterisk-gui mailing list submissions to
> 	asterisk-gui at lists.digium.com
> 
> To subscribe or unsubscribe via the World Wide Web, visit
> 	http://lists.digium.com/mailman/listinfo/asterisk-gui
> or, via email, send a message with subject or body 'help' to
> 	asterisk-gui-request at lists.digium.com
> 
> You can reach the person managing the list at
> 	asterisk-gui-owner at lists.digium.com
> 
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of asterisk-gui digest..."
> 
> 
> Today's Topics:
> 
>    1. Call Detail Records beta (Bob Crandell)
>    2. Re: Emailing Voice Mail (Bob Crandell)
> 
> 
> ----------------------------------------------------------------------
> 
> Message: 1
> Date: Fri, 07 Aug 2009 16:16:44 -0700
> From: "Bob Crandell" <bob at assuredcomp.com>
> Subject: [asterisk-gui] Call Detail Records beta
> To: "Asterisk GUI" <asterisk-gui at lists.digium.com>
> Message-ID: <4A7C536C02000046000CC77D at mail.computerbaseusa.com>
> Content-Type: text/plain; charset="us-ascii"
> 
> Hi,
>  
> I found this the other day.  Prett cool - however ...
>  
> About 4:00 PM this call came in:
> Record 523, ID: 1249686161.920 (External call)
> Timestamps: 2009-08-07 23:02:41, 2009-08-07 23:02:47, 2009-08-07 23:04:48
> Durations: 0:02:07, 0:02:01
> Disposition/AMA flags: ANSWERED / DOCUMENTATION
> CallerID: "CALLER ID " <5415551212> Source: 5415551212 Destination: s
> Source Channel: DAHDI/1-1
> Destination Channel: DAHDI/10-1
> Context: ringroups-custom-1 Application: Dial Data: DAHDI/10,20,i
> Account code: Userfield: 
>  
>  
> Notice the time stamp?  The time on the workstation and the time on the server is correct.
>  
> Thanks and have a nice weekend.
>  
>  
> Bob Crandell
> Assured Computing, Inc.
> 541-868-0331
> ComputerBase USA
> 541-349-0404
> 
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: http://lists.digium.com/pipermail/asterisk-gui/attachments/20090807/44470b22/attachment-0001.htm 
> 
> ------------------------------
> 
> Message: 2
> Date: Fri, 07 Aug 2009 16:24:45 -0700
> From: "Bob Crandell" <bob at assuredcomp.com>
> Subject: Re: [asterisk-gui] Emailing Voice Mail
> To: "Asterisk GUI project discussion" <asterisk-gui at lists.digium.com>
> Message-ID: <4A7C554D02000046000CC782 at mail.computerbaseusa.com>
> Content-Type: text/plain; charset="us-ascii"
> 
> Matthew,
>  
> That change that you suggested has been in place for awhile now and messages are piling up for that user.  Are you sure of the syntax?  I did restart Asterisk.  Did I miss something?
> Thanks and have a nice weekend.
> Bob
> 
> >>> Matthew Wilson <me at mattyw.co.uk> 7/31/2009 9:57 AM >>>
> Bob,
> 
> I had a similar problem recently. If you want a users messages to be deleted from their inbox after asterisk has emailed them you can add the following line to your users.conf
> 
> delete = yes
> 
> I think you have to do this on a user by user basis. If you don't want to edit the users.conf directly you can use the advanced edit function of a user in the GUI to add the line required.
> 
> I hope this helps
> 
> Best Wishes
> 
> Matthew
> 
> 
> 2009/7/31 Bob Crandell <bob at assuredcomp.com>
> 
> 
> 
> Ryan, 
> 
> It's the other way around. I have 1 user that won't check his voicemail so his box will fill up. I want the system to email the messages and not store them for him.
> 
> Seeing as how you don't have anything better to do anyway, you might want to add this to your to-do list ... even if I am the only one that wants it. ;-) 
> 
> Thanks 
> Bob 
> 
> >>> Ryan Brindley <rbrindley at digium.com> 7/31/2009 07:34 AM >>>
> 
> Bob,
> There aren't current plans to make configurable per user. However, there is a work around. The only thing Asterisk needs the email for is voicemail, so if you don't want the user to have voicemail, you could just remove their email address or set it to a default account if you still want the messages stored.
> 
> -- 
> Ryan Brindley 
> Digium, Inc. | Software Developer 
> 445 Jan Davis Drive NW - Huntsville, AL 35806 - USA 
> main: +1 256-428-6000 fax: +1 256-864-0464 
> Check us out at: http://digium.com & http://asterisk.org
> 
> ----- "Bob Crandell" <bob at assuredcomp.com> wrote:
> > 
> 
> Hi All, 
> 
> 
> I see that emailing voice mail messages is an all or nothing affair. Are there plans to be able to configure that per user? 
> 
> 
> Thanks 
> 
> Bob 
> 
> 
> 
> Bob Crandell 
> 
> Assured Computing, Inc. 
> 
> 541-868-0331 
> 
> ComputerBase USA 
> 
> 541-349-0404
> > 
> 
> 
> > _______________________________________________ --Bandwidth and Colocation Provided by http://www.api-digital.com-- asterisk-gui mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-gui 
> 
> _______________________________________________
> --Bandwidth and Colocation Provided by http://www.api-digital.com--
> 
> asterisk-gui mailing list
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-gui
> 
> 
> 
> 
> -- 
> Matthew Wilson
> me at mattyw.co.uk
> 07761583332
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: http://lists.digium.com/pipermail/asterisk-gui/attachments/20090807/63b040d6/attachment-0001.htm 
> 
> ------------------------------
> 
> _______________________________________________
> --Bandwidth and Colocation Provided by http://www.api-digital.com--
> 
> asterisk-gui mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-gui
> 
> End of asterisk-gui Digest, Vol 34, Issue 4
> *******************************************

_________________________________________________________________
Get back to school stuff for them and cashback for you.
http://www.bing.com/cashback?form=MSHYCB&publ=WLHMTAG&crea=TEXT_MSHYCB_BackToSchool_Cashback_BTSCashback_1x1
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-gui/attachments/20090809/5199119c/attachment.htm 


More information about the asterisk-gui mailing list