There are far better methods to achieve this similiar application using the manager API. There is a beta interface available at <a href="http://sig.lange.googlepages.com/assman">http://sig.lange.googlepages.com/assman</a>
. The project is currently awaiting source forge approval and will have a more up to date version on <a href="http://assman.sf.net">assman.sf.net</a> when it's approved. For now the beta should do everything you want.<br>
<br><div><span class="gmail_quote">On 3/14/06, <b class="gmail_sendername">Mojo with Horan & Company, LLC</b> <<a href="mailto:mojo@horanappraisals.com">mojo@horanappraisals.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
It just got uglier, cause now it does something possibly intelligible<br>with parked calls, voicemail leaving, voicemail checking, AGI running<br>(probably even EAGI and DeadAGI too, 'cause of the preg stuff),<br>BackGrounding sound files, Playbacking sound files, MeetMe conferences.
<br> At least it does intelligible things here for us.<br><br>The only thing I can see left on the soon horizon is to implement<br>callerid name as well as number into the bridged call display.<br><br>Comments, suggestions still welcome :P
<br><br><a href="http://horanappraisals.com/asterisk/pbxmonitor/">http://horanappraisals.com/asterisk/pbxmonitor/</a><br><br>Moj<br><br>Mojo with Horan & Company, LLC wrote:<br>> Hiya, hope I don't bore anybody with this. There are certainly a lot of
<br>> monitor-y things out there and they just didn't fit my need, so maybe<br>> this will fit someone's besides mine.<br>><br>> <a href="http://horanappraisals.com/asterisk/pbxmonitor/">http://horanappraisals.com/asterisk/pbxmonitor/
</a> contains two files. one<br>> is a php script called pbxmonitor, and one is a flat file of extensions<br>> to extension name mappings of internal users. It contains example data<br>> that needs editing to fit your scenario.
<br>><br>> so the pbxmonitor.db might have (separated by tabs):<br>> SIP/2000 Receptionist<br>> SIP/2001 Username 2<br>> SIP/2002 Username 3<br>><br>> an internal call might say:<br>> Username 2 talking to Receptionist
<br>><br>> an outgoing call might say:<br>> Username 3 talking to 18005551212<br>><br>> an incoming call (already answered) might say:<br>> 18005551212 talking to Receptionist<br>><br>> It's pretty self explanatory I guess. Run it and hope it does stuff.
<br>><br>> so, pbxmonitor, in our application, is called from watch, like so:<br>><br>> watch -t -n 1 pbxmonitor<br>><br>> but you could implement it into a refreshing webpage or otherwise parse<br>> it for your needs.
<br>><br>> [sidenote]<br>> We use putty to connect to the asterisk box, and there's an account<br>> called monitor with a key login instead of password login, and the<br>> monitor user's .bashrc runs this watch line at startup, followed by an
<br>> exit. I call tell putty to auto login a username, and via the command<br>> line, make it load this connection at startup without asking for any<br>> info, so it's pretty seamless for the end user. But all that is neither
<br>> here nor there related to my post.<br>> [/sidenote]<br>><br>> I don't have parked calls in yet, but will soon. I don't have meetme<br>> conferences in soon, don't know if I will. It doesn't do non-bridged
<br>> calls yet, this will be soon, as it is important to us. This should<br>> give indications of people checking their voicemail, people in echo<br>> rooms and meetme conferences, and people in IVR things. Not sure what
<br>> else I'll have in it eventually, we'll see. It's only tested with SIP,<br>> IAX should work but dunno. I'll post back when I improve it.<br>><br>> Comments, suggestions welcome!<br>><br>> Moj<br>>
<br>><br><br>--<br>Mojo <<a href="mailto:mojo@horanappraisals.com">mojo@horanappraisals.com</a>><br>Office Manger, Horan & Company, LLC<br>(907) 747-6666 x112<br>_______________________________________________
<br>--Bandwidth and Colocation provided by <a href="http://Easynews.com">Easynews.com</a> --<br><br>Asterisk-Users mailing list<br>To UNSUBSCRIBE or update options visit:<br> <a href="http://lists.digium.com/mailman/listinfo/asterisk-users">
http://lists.digium.com/mailman/listinfo/asterisk-users</a><br></blockquote></div><br><br clear="all"><br>-- <br>Sig Lange<br><a href="http://www.signuts.net/">http://www.signuts.net/</a>