Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- HI hope someone could help I have two task that I can not achieve
- 1- I have set an inbound route for only one DID. what I want to do this is that the incoming call like [email protected] instead of detect like this transfer or bridge the call but instead of the number that is calling convert to the extension number example [email protected] this way my gsm gateway can dial apropiate number which is not dialing correctly since the call appears like [email protected] even the fact that it has already being transfered to 190 ext
- 2- I have a gateway that send calls from FusionPbx (192.168.3.100) to this gsm gateway (192.168.3.40)
- this is the scenario.
- An incoming call enter fusionPbx then it ring a ring group with 3 extensions 2 locals and the gsm gateway that dial my cel. this gsm gateway has a chip (mexico telcel ) which can have 3 numbers that are free for 5 minutes then it cost per minute. so I succesful did a dialplan that count 4.5 minutes then it put the call in hold for 4 sec hangup with the gateway and after 4 sec it re-connect the call to cel again. this is a loop that can last forever until i hangup. so no problem here the dialplan
- condition destination_number ^105$
- action sched_transfer +265 142 XML default
- the conference room that hold the call is
- condition destination_number ^142$
- action sched_transfer +4 105 XML default
- action answer
- action playback /usr/local/freeswitch/recordings/recording1.wav
- action conference Conference-2-192.168.3.100@default
- this work like a charm for inbound calls
- what I have not yet is the opposite..... when I from my cel phone call my gsm gateway to connect to fusionpbx and dial out but ALL outbound call I do to put in this same loop 4.5 minutes then send the call to conference room then the system knows to hold the call an re-connect......... any idea on how to achieve this ? remember the gateway is in 192.168.3.40
- I had this this but dont work
- condition ${sip_from_uri} ^[email protected]:5060$
- condition destination_number ^(\d{8,14})$
- action sched_transfer +26 142 XML default
Advertisement
Add Comment
Please, Sign In to add comment