<include>
<context name="context_2">
<extension name="outbounds">
<condition field="destination_number" expression="^(.*)$">
<action application="log" data="AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" />
<action application="set" data="effective_caller_id_number=${outbound_caller_id_number}"/>
<action application="set" data="effective_caller_id_name=${outbound_caller_id_name}"/>
<action application="bridge" data="{sip_cid_type=rpid}sofia/gateway/in4com/$1"/>
</condition>
</extension>
</context>
</include>
<include>
<contextname="context_2">
<extensionname="outbounds">
<conditionfield="destination_number"expression="^(.*)$">
<actionapplication="log"data="AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"/>
<actionapplication="set"data="effective_caller_id_number=${outbound_caller_id_number}"/>
<actionapplication="set"data="effective_caller_id_name=${outbound_caller_id_name}"/>
<actionapplication="bridge"data="{sip_cid_type=rpid}sofia/gateway/in4com/$1"/>
</condition>
</extension>
</context>
</include>
Hello,
OK, I think to build a whapp. How can I start? Is there a skeleton? I've read https://2600hz.atlassian.net/wiki/display/Dedicated/Build+Your+Own+WhApp but it don't tell much.Know erlang isn't enough, for example... How can I define that my script is an whapp? How can I add it to kazoo whapps? Which is the entry point? And the libraries? From wich whapp can I take the ideal cue? And so on...
Thank you
Il giorno lunedì 11 gennaio 2016 15:17:22 UTC+1, Darren Schreiber ha scritto:
Hi there,To my knowledge a custom whapp is the only way. Contributions are definitely welcome.
-------- Original message --------
From: ALMA <alfons...@gmail.com>
Date: 01/11/2016 6:16 AM (GMT-08:00)
To: 2600hz-users <2600hz...@googlegroups.com>
Subject: Re: Make a dialplan
Hello Darren,
OK; I need to write this "<actionapplication="socket"data="server:port async full"/>" for the library ESL (outbound mode).
But I cannot make dialplan from FreeSWITCH because there is ecallmgr. So how can I send the events to my second server for manage the call in real time?I have thought to write a custom whapp in Erlang that send the events to my server and my server can reply for manage the outbound call (for example hang out the call) or a freeswitch module in C...But I think that this is an hard way for resolve this problem. Are there other way for doing this? For example erlang-API or write a custom dialplan for erlang...From Pivot (on Kazoo Callflow) can I hang out the call or play a media? But I think that callflows are only for inbound calls.
Thank you
--
You received this message because you are subscribed to the Google Groups "2600hz-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to 2600hz-users...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "2600hz-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to 2600hz-users...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Hello, thank you for your reply!
We have written a custom extern system of billing so I need to tell to my billing-server the status of all outbounds call and eventually hang up if there is not enough credit or to establish the time maximum of the call and so on.