| Defraz | asterisk -rx "show parkedcalls" |
| JunK-Y | i dont see why exactly |
| Defraz | I need to run the command from within the php code |
| JunK-Y | just pass by the manager interface, like russellb said. |
| Defraz | I have never used that I will look some more on some docs on it. |
| JunK-Y | russellb: did ya get my mail regarding the trunk? Defraz: heres a good link to start: http://www.voip-info.org/wiki/index.php?page=Asterisk+Manager+API+Action+Command |
| russellb | JunK-Y: yeah, i think kevin gave it to you JunK-Y: just be careful and if you have *any* doubt, just put it on the bug tracker :) |
| JunK-Y | i didnt test it, was waiting for a confirmation, will try this week-end. yep, no problem. |
| Defraz | Thanks reading that now. |
| JunK-Y | russellb: defraz just gave me the idea to get show parkedcalls concise to be able to parse it quicker. jbot, ami command is a way to execute a CLI command via the Asterisk Manager Interface, for more details, go at http://www.voip-info.org/wiki/index.php?page=Asterisk+Manager+API+Action+Command |
| jbot | JunK-Y: okay |
| JunK-Y | ~ami command |
| jbot | extra, extra, read all about it, ami command is a way to execute a CLI command via the Asterisk Manager Interface, for more details, go at http://www.voip-info.org/wiki/index.php?page=Asterisk+Manager+API+Action+Command |
| Defraz | That my friend is nice I am going to try and write a php script that outputs xml so my cisco 7940 can see the status of queues and parked calls I wish it would show the number that is parked. |
| Nugget | xml parsing on the sip firmware is really flaky. |
| JunK-Y | the parking number ? ya. |
| Nugget | if it doesn't work don't assume you did something wrong. don't be tempted to indent your xml to make it look nice, that way leads to tears. and don't emit lines that are too long |
| JunK-Y | Nugget: hey long time no see, whats up? |
| Nugget | not much. bought a new car, just got back from a visit to nz. gregh got married so a bunch of d.net guys went to the wedding in christchurch |
| JunK-Y | holidays or business? gregh isnt the ogr guy? |
| Nugget | that's the guy |
| JunK-Y | %ogr junky |
| AMUG | JunK-Y's overall stats for 2,276 days --> Place: 21161 (+ 171 places) - Blocks completed: 80,413 - Blocks per second: 0.000 |
| Nugget | heh |
| JunK-Y | hhehe |
| Nugget | http://macnugget.org/photos/nz2007/IMG_1498 <-- he's the one in the silly hat |
| JunK-Y | I thought he was canadian. |
| file | eep! equi! |
| Nugget | he was (er, is) born in canada, lived in the US for 13 years, moved to nz about a year ago |