[Freeswitch-users] DTMF outbound call
Erwan Hermouet
ehermouet at bluetel.fr
Wed May 29 00:27:50 MSD 2013
My provider suggest inband
Internal.xml
<settings>
<param name="inbound-late-negotiation" value="true"/>
<param name="debug" value="7"/>
<param name="sip-trace" value="true"/>
<param name="sip-capture" value="true"/>
<param name="watchdog-enabled" value="no"/>
<param name="watchdog-step-timeout" value="30000"/>
<param name="watchdog-event-timeout" value="30000"/>
<param name="log-auth-failures" value="true"/>
<param name="forward-unsolicited-mwi-notify" value="false"/>
<param name="context" value="public"/>
<param name="sip-port" value="$${internal_sip_port}"/>
<param name="dialplan" value="XML"/>
<param name="dtmf-duration" value="2000"/>
<param name="inbound-codec-prefs"
value="$${global_codec_prefs}"/>
<param name="outbound-codec-prefs"
value="$${global_codec_prefs}"/>
<param name="rtp-timer-name" value="soft"/>
<param name="rtp-ip" value="$${local_ip_v4}"/>
<param name="sip-ip" value="$${local_ip_v4}"/>
<param name="hold-music" value="$${hold_music}"/>
<param name="apply-nat-acl" value="nat.auto"/>
<!--<param name="apply-inbound-acl" value="domains"/>-->
<param name="local-network-acl" value="localnet.auto"/>
<param name="record-path" value="$${recordings_dir}"/>
<param name="record-template"
value="${caller_id_number}.${target_domain}.${strftime(%Y-%m-%d-%H-%M-%S)}.w
av"/>
<param name="manage-presence" value="true"/>
<param name="presence-hosts"
value="$${domain},$${local_ip_v4}"/>
<param name="presence-privacy" value="$${presence_privacy}"/>
<param name="inbound-codec-negotiation" value="generous"/>
<param name="tls" value="$${internal_ssl_enable}"/>
<param name="tls-only" value="false"/>
<param name="tls-bind-params" value="transport=tls"/>
<param name="tls-sip-port" value="$${internal_tls_port}"/>
<param name="tls-cert-dir" value="$${internal_ssl_dir}"/>
<param name="tls-passphrase" value=""/>
<param name="tls-verify-date" value="true"/>
<param name="tls-verify-policy" value="none"/>
<param name="tls-verify-depth" value="2"/>
<param name="tls-verify-in-subjects" value=""/>
<param name="tls-version" value="$${sip_tls_version}"/>
<param name="nonce-ttl" value="60"/>
<!--<param name="auth-calls"
value="$${internal_auth_calls}"/>-->
<param name="inbound-reg-force-matching-username"
value="true"/>
<param name="auth-all-packets" value="false"/>
<param name="ext-rtp-ip" value="$${external_rtp_ip}"/>
<param name="ext-sip-ip" value="$${external_sip_ip}"/>
<param name="rtp-timeout-sec" value="300"/>
<param name="rtp-hold-timeout-sec" value="1800"/>
<param name="force-register-domain" value="$${domain}"/>
<param name="force-subscription-domain" value="$${domain}"/>
<param name="force-register-db-domain" value="$${domain}"/>
<param name="challenge-realm" value="auto_from"/>
<param name="pass-callee-id" value="true"/>
</settings>
External
<settings>
<param name="inbound-late-negotiation" value="true"/>
<param name="debug" value="7"/>
<param name="sip-trace" value="true"/>
<param name="sip-capture" value="no"/>
<param name="sip-port" value="$${external_sip_port}"/>
<param name="dialplan" value="XML"/>
<param name="context" value="public"/>
<param name="dtmf-duration" value="2000"/>
<param name="inbound-codec-prefs"
value="$${global_codec_prefs}"/>
<param name="outbound-codec-prefs"
value="$${outbound_codec_prefs}"/>
<param name="hold-music" value="$${hold_music}"/>
<param name="zrtp-passthru" value="true"/>
<param name="rtp-timer-name" value="soft"/>
<param name="local-network-acl" value="localnet.auto"/>
<param name="manage-presence" value="false"/>
<param name="inbound-codec-negotiation" value="generous"/>
<param name="nonce-ttl" value="60"/>
<param name="auth-calls" value="false"/>
<param name="rtp-ip" value="$${local_ip_v4}"/>
<param name="sip-ip" value="$${local_ip_v4}"/>
<param name="ext-rtp-ip" value="$${external_rtp_ip}"/>
<param name="ext-sip-ip" value="$${external_sip_ip}"/>
<param name="rtp-timeout-sec" value="300"/>
<param name="rtp-hold-timeout-sec" value="1800"/>
<param name="tls" value="$${external_ssl_enable}"/>
<param name="tls-only" value="false"/>
<param name="tls-bind-params" value="transport=tls"/>
<param name="tls-sip-port" value="$${external_tls_port}"/>
<param name="tls-cert-dir" value="$${external_ssl_dir}"/>
<param name="tls-passphrase" value=""/>
<param name="tls-verify-date" value="true"/>
<param name="tls-verify-policy" value="none"/>
<param name="tls-verify-depth" value="2"/>
<param name="tls-verify-in-subjects" value=""/>
<param name="tls-version" value="$${sip_tls_version}"/>
</settings>
Provider confi on fs
<action application="set" data="dtmf_type=info"/>
De : freeswitch-users-bounces at lists.freeswitch.org
[mailto:freeswitch-users-bounces at lists.freeswitch.org] De la part de Michael
Collins
Envoyé : mardi 28 mai 2013 22:16
À : FreeSWITCH Users Help
Objet : Re: [Freeswitch-users] DTMF outbound call
You need to confirm how the DTMF is reaching FreeSWITCH. Is it inband?
RFC2833? SIP INFO? Do you have a pcap w/ RTP of the call leg from the phone
to the FS server?
-MC
On Tue, May 28, 2013 at 1:02 PM, Erwan Hermouet <ehermouet at bluetel.fr>
wrote:
I do another interesting test
Here my shema
Phone 1--à fs ----- > server 3cx ---à phone 2
Call from phone 1 directly to phone 2 (without use my fs carrier) not work
Its not 3cx prob, no my carrier prob but fs prob
but where
:(
De : freeswitch-users-bounces at lists.freeswitch.org
[mailto:freeswitch-users-bounces at lists.freeswitch.org] De la part de Michael
Collins
Envoyé : mardi 28 mai 2013 21:43
À : FreeSWITCH Users Help
Objet : Re: [Freeswitch-users] DTMF outbound call
Where is the DTMF being generated?
-MC
On Tue, May 28, 2013 at 12:35 PM, Erwan Hermouet <ehermouet at bluetel.fr>
wrote:
We have
Phone ---à 3cx serveur connected to voip provider ------à voip provider is
freeswitch server ---à my carrier on freeswitch
.
On the other way its work
De : freeswitch-users-bounces at lists.freeswitch.org
[mailto:freeswitch-users-bounces at lists.freeswitch.org] De la part de Michael
Collins
Envoyé : mardi 28 mai 2013 21:28
À : FreeSWITCH Users Help
Objet : Re: [Freeswitch-users] DTMF outbound call
Question: what is the topology here? What is the phone and what is the
carrier? And which leg needs to have the INFO DTMFs?
-MC
On Tue, May 28, 2013 at 11:48 AM, Erwan Hermouet <ehermouet at bluetel.fr>
wrote:
Ok i remove it
But the samedi
http://pastebin.freeswitch.org/20981
De : freeswitch-users-bounces at lists.freeswitch.org
[mailto:freeswitch-users-bounces at lists.freeswitch.org] De la part de Michael
Collins
Envoyé : mardi 28 mai 2013 20:40
À : FreeSWITCH Users Help
Objet : Re: [Freeswitch-users] DTMF outbound call
I think this might not be helpful:
EXECUTE sofia/internal/12345 at bluetelconnect.fr:5060 start_dtmf()
That's for doing inband DTMF. I would remove that altogether.
-MC
On Tue, May 28, 2013 at 11:29 AM, Erwan Hermouet <ehermouet at bluetel.fr>
wrote:
Now i dont see dtmf ????????? :(
http://pastebin.freeswitch.org/20980
show my pastebin
tks mike
De : freeswitch-users-bounces at lists.freeswitch.org
[mailto:freeswitch-users-bounces at lists.freeswitch.org] De la part de Michael
Collins
Envoyé : mardi 28 mai 2013 19:08
À : FreeSWITCH Users Help
Objet : Re: [Freeswitch-users] DTMF outbound call
On Tue, May 28, 2013 at 12:07 AM, <ehermouet at bluetel.fr> wrote:
Tks Mike
we are try with info
on log i see that
2013-05-28 09:04:20.545789 [DEBUG] switch_rtp.c:1975 Send start packet
for [1] ts=141083 dur=160/160/2240 seq=62753
2013-05-28 09:04:20.527806 [DEBUG] switch_rtp.c:2902 RTP RECV DTMF
1:2240
but it's not working again :'(
tks
Call logs?
--
Michael S Collins
Twitter: @mercutioviz
http://www.FreeSWITCH.org
http://www.ClueCon.com
http://www.OSTAG.org
_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting at freeswitch.org
http://www.freeswitchsolutions.com
Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com
FreeSWITCH-users mailing list
FreeSWITCH-users at lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
--
Michael S Collins
Twitter: @mercutioviz
http://www.FreeSWITCH.org
http://www.ClueCon.com
http://www.OSTAG.org
_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting at freeswitch.org
http://www.freeswitchsolutions.com
Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com
FreeSWITCH-users mailing list
FreeSWITCH-users at lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
--
Michael S Collins
Twitter: @mercutioviz
http://www.FreeSWITCH.org
http://www.ClueCon.com
http://www.OSTAG.org
_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting at freeswitch.org
http://www.freeswitchsolutions.com
Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com
FreeSWITCH-users mailing list
FreeSWITCH-users at lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
--
Michael S Collins
Twitter: @mercutioviz
http://www.FreeSWITCH.org
http://www.ClueCon.com
http://www.OSTAG.org
_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting at freeswitch.org
http://www.freeswitchsolutions.com
Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com
FreeSWITCH-users mailing list
FreeSWITCH-users at lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
--
Michael S Collins
Twitter: @mercutioviz
http://www.FreeSWITCH.org
http://www.ClueCon.com
http://www.OSTAG.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20130528/4e3d6d39/attachment-0001.html
Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users
mailing list