Recent content by mdriaz

  1. mdriaz

    Running php or bash script in dialplan + push notification

    @babak I already looked into available resources in this forum as you pointed, but it only adds a script in local_ext dialplan but that won't work as it only triggers on ext to ext call. @hfoster I have modified ring_group.lua file and just added extra dialstring for the mod_apn module...
  2. mdriaz

    Running php or bash script in dialplan + push notification

    I saw the lua script of ring group, indeed it uses its own logic for dialstring creating and bridges with extension, that's why extension dial string does not work in ring group
  3. mdriaz

    Running php or bash script in dialplan + push notification

    I suspect that when calls are distributed from ring group, the extension dial string is not used and nor any dialplan, what could be the cause
  4. mdriaz

    Running php or bash script in dialplan + push notification

    The only unresolved part is the setup in fusionpbx to trigger a curl hit to my push endpoint just before invite of call, I thinks that is where the dial string comes to play, but not triggering if the extension is in a ring group or is an agent of call center queue. The app part is not an issue
  5. mdriaz

    Running php or bash script in dialplan + push notification

    I have tried that by updating a single extension dial string, but not finding which freeswitch xml file to update for global setup. The module says to update a user.xml file or something like that. And you are right, all it is doing is sending a post request to any config url that are set which...
  6. mdriaz

    Running php or bash script in dialplan + push notification

    I think the mod_apn will do the job, https://github.com/sem32/freeswitch-PushNotificator Buts needs proper setup. I am unable to understand the dial-string part for extensions and how to configure such a way that it triggers when a call is made to an extension, from IVR, ring group or even from...
  7. mdriaz

    Running php or bash script in dialplan + push notification

    Also if fusionpbx has any alternative for sending push notifications before extension inviting to wake up mobile devices without any other push servers involved. It is becoming a common nesesary as mobile phone are becoming is popular to receive incoming call.
  8. mdriaz

    Running php or bash script in dialplan + push notification

    Thank you. I don't mind, it's just that fusionpbx highlights system and bgsystem, but cannot use it. Hey, can you tell me the https://github.com/sem32/freeswitch-PushNotificator Config of section "Change your dial-string user's parameter for use endpoint app_wait" ? I know that each extension...
  9. mdriaz

    Running php or bash script in dialplan + push notification

    I am currently looking to work for that using https://github.com/sem32/freeswitch-PushNotificator
  10. mdriaz

    Running php or bash script in dialplan + push notification

    I also found that solution in some threads, but I suspect that fusionpbx does not send invite after sending the first one
  11. mdriaz

    Have anyone used mod_apn module for freeswitch?

    https://github.com/sem32/freeswitch-PushNotificator
  12. mdriaz

    Running php or bash script in dialplan + push notification

    The thing is that, I don't plan to use any push server, I want to just hold the call and send a push notifications before continue the call dialplan, but don't know how to do that
  13. mdriaz

    Running php or bash script in dialplan + push notification

    So, I suppose when an incoming call arrives for an extension, i send a push notification to that device to reregister the extension, but how the call invite will be there again, like setting fail_on_single_reject=false should retry that extension until reject right?
  14. mdriaz

    Running php or bash script in dialplan + push notification

    lua script worked, i used lua to get session variable and execute php file, but the main issue remains which dialplan to target for incoming call to extension, there are many ways an incoming call will be going to extension, from ringgroup, ivr, callcenter or direct, but i could find a dialplan...
  15. mdriaz

    Running php or bash script in dialplan + push notification

    and i want to run the script on every extension call, no matter call come from ring group, ext to ext or from call center module, if an invite is send to an extension, i want to execute a script, which dialplan should i target?