Jump to content

fmateo05

Members
  • Posts

    406
  • Joined

  • Last visited

  • Days Won

    28

Posts posted by fmateo05

  1. 6 minutes ago, Menashe said:

    Hi,

    I'm wondering how is the best way to control a call from outside process like event socket or Asterisk AGI
    The Pivot module is greate, still he has limitation that it can control the call only once without getting more info from the channel
    how is the best way to connect the FS or the ecallmgr and control the call, including getting notifications about the call as well as executing commands like play, answer, bridge, hangup, etc?

    Thank you

    You have blackhole available. Also webhooks.

    If pivot has the mentioned limitations, so is 'not great'.

  2.  

    On 1/9/2022 at 3:32 PM, Karl Stallknecht said:

    The WP810 was discontinued...WP820 is the newer model.

     

    That being said, we highly recommend them. We have many of them deployed and they work well. Our clients like them too.

     

    FYI 2600hz does not officially support these phones, so just keep that in mind.

    Finally i dared to purchase the phone model Grandstream WP810

    I have it currently configured on my kazoo cluster. The call quality behaves out of the box. No issues so far (tested with external and internal calls). I am going to keep testing the calls using this device within the two next weeks.

     

     

     

     

     

    20220115_100616.thumb.jpg.f3a100543eab5e2c4467ecfb094dde63.jpg

     

     

     

     

     

    20220115_143223.thumb.jpg.6fb252f5dc8e8e0b266f2ea545eeaf21.jpg

     

     

  3. I am exploring about this phone on Amazon Store, and would like to gather some more opinions or comments about this  kind of device before proceed to purchase

    https://www.amazon.com/-/en/gp/product/B087D5TB7C/ref=ox_sc_act_title_1?smid=AZL02BCKN4YR6&psc=1

    I have a service contract with my main ISP using Wi-fi mobile internet (Mi-Fi) and stay all time connected to any extension or device registered on my kazoo cluster, currently i am using softphone for now.

  4. They are two pivots, the first one requests the second one (and vice-versa) . And also there is a collect DTMF with record_call callflow action . Then,  the second pivot plays the previously recorded audio file using the URL with another children pivot module that requests the first one again. 

    The ecallmgr system_config document has the use_shout = true . On the first pivot the playback terminator is the # sign (on collect DTMF).

  5. I am going to give details about how it works.

    When the number  is dialed outbound, it will ask the user to dial two digits. These two digits are split by the first one as the carrier to select, and the second one, the DID number selected as the caller ID on that carrier.

    The code is wrote to split the carrier by required flags, so when adding your resources, you must specify a flag in the second pivot script and also set that same on the carrier to be configured.

    If adding another different carrier you must add the function like: 

    function myothercarrier($digitspl) {
    $myothercarrier = array("1929XXXXXXX", "+1561XXXXXXX", "1786XXXXXXX", "1862XXXXXXXX");
    header('content-type:application/json');
    
    ?>
    {
                        "module": "dynamic_cid",
                        "data": {
    			"action": "static",
    			"caller_id" : {
    				"name": "<?= $myothercarrier[$digitspl];   ?>",
    				"number": "<?= $myothercarrier[$digitspl];   ?>"
    				}
                        },
    		    "children": {
    			"_": {
    				"module":"resources",
    				"data": {
    					"use_local_resources": false ,
    					"outbound_flags": ["myothercarrier"],
    					"to_did": "<?=  $calleeid ;    ?>"
    					},
    					"children": {}
    
    				}
    
    
    			}
                    }
    <?php
    }

    And also add some code, so the function must be executed, this one must be just below of the last similar one like:

    if($digitspl['0'] === '8' ){
    signalwire($digitspl['1']);
    }

    Note that the value is '8'  and must be increased by one on each  carrier addition (if there were seven, then you add digit 8. The numbers must be added on e164 or 1+NPA+NXX format, depending of how the carrier supports it.

    Settings  that are required: 

    The resource flags with require_flags: true ,  and also the flag value set.

    The list of DID's on that carrier (if they are 7 for example, you add them separated by commas on the array, i recommend to add the first DID twice, because the array counts from zero)

    The "use_local_resources" setting if you desire to use local resources or global (boolean).  

     

     

×
×
  • Create New...