goodboy
goodboy
Thanks to @moises-silva for his web search to find this [term reference](https://books.google.com.mx/books?id=CKzPq3-wVdcC&pg=PA525&lpg=PA525&dq=post+dial+delay+answer+delay+call+setup&source=bl&ots=HENxoOA9CL&sig=ube6AwY-vThW8nHtfiOee3Hdqx0&hl=en&sa=X&ved=0ahUKEwjd54Caz6nRAhVJKGMKHTnaALwQ6AEIWDAJ#v=onepage&q=post%20dial%20delay%20answer%20delay%20call%20setup&f=false).
@moises-silva good point, thanks for the tip :)
Found the event names in the docs [here](http://wiki.freeswitch.org/wiki/Sofia-SIP#Custom_Events).
For py2, I'm thinking we can probably follow [pep342](https://www.python.org/dev/peps/pep-0342/) as a guide for implementing our own "inline-callbacks" like in twisted. I think we can probably introspect a callback to see...
Or not... Apparently now [everyone's cool with numpy docs...](https://pypi.python.org/pypi/sphinxcontrib-napoleon)
Just plugged in a callback and ran the unit tests. Seems to be fine? It'd be interesting to see the effects once we have proper benchmarking tests in place.
I'm seriously on board with this after having used salt more extensively now. Hopefully this can get in for a next minor release :) @dtkerr I'd of course take a...
@moises-silva ran into needing this again when testing `asterisk` since it doesn't forward the custom headers by default (afaict anyway). So your suggestion is to use the R-RUI userpart (`variable_sip_req_user`)...
@moises-silva So my hope is to minimize custom config on DUTs as much as possible. With `asterisk` I was able to use the same config as I do for `vega`...
The guys at Evolux have punched out a pure python replacement [`greenswitch`](https://github.com/EvoluxBR/greenswitch)! So it saves us all the work ;D As a first task I'd like to benchmark the performance...