[Freeswitch-users] DTMF outbound call
ehermouet at bluetel.fr
ehermouet at bluetel.fr
Thu May 23 17:27:11 MSD 2013
It's not often time but now i see again message error
2013-05-23 15:24:44.452821 [WARNING] mod_sofia.c:1363 Pass 2833 mode
may not work on a transcoded call.
2013-05-23 15:24:44.452821 [DEBUG] switch_rtp.c:2534 Correct ip/port
confirmed.
2013-05-23 15:24:44.372152 [WARNING] mod_sofia.c:1363 Pass 2833 mode
may not work on a transcoded call.
here my config file external.xml and internal.xml
<profile name="external">
<!-- http://wiki.freeswitch.org/wiki/Sofia_Configuration_Files -->
<!--aliases are other names that will work as a valid profile name for
this profile-->
<aliases>
<!--
<alias name="outbound"/>
<alias name="nat"/>
-->
</aliases>
<!-- Outbound Registrations -->
<gateways>
<X-PRE-PROCESS cmd="include" data="external/*.xml"/>
</gateways>
<domains>
<domain name="all" alias="false" parse="true"/>
</domains>
<settings>
<param name="inbound-late-negotiation" value="true"/>
<param name="debug" value="7"/>
<param name="pass-rfc2833" value="true"/>
<param name="sip-trace" value="true"/>
<param name="sip-capture" value="no"/>
<param name="rfc2833-pt" value="101"/>
<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>
</profile>
<profile name="internal">
<!-- http://wiki.freeswitch.org/wiki/Sofia_Configuration_Files -->
<!--aliases are other names that will work as a valid profile name for
this profile-->
<aliases>
<!--
<alias name="default"/>
-->
</aliases>
<!-- Outbound Registrations -->
<gateways>
<X-PRE-PROCESS cmd="include" data="internal/*.xml"/>
</gateways>
<domains>
<!-- indicator to parse the directory for domains with parse="true"
to get gateways-->
<!--<domain name="$${domain}" parse="true"/>-->
<!-- indicator to parse the directory for domains with parse="true"
to get gateways and alias every domain to this profile -->
<!--<domain name="all" alias="true" parse="true"/>-->
<domain name="all" alias="true" parse="false"/>
</domains>
<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="rfc2833-pt" value="101"/>
<param name="pass-rfc2833" value="true"/>
<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)}.wav"/>
<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>
</profile>
Tks adavnce for your help
Le 2013-05-23 14:58, Michael Jerris a écrit :
> this log does not seem to have a complete call let alone any attempt
> at dtmf. I don't see anything wrong from this log but as I said, its
> incomplete. If you pcap the traffic, do you see 2833 dtmf flowing ?
>
> Mike
>
> On May 23, 2013, at 8:44 AM, ehermouet at bluetel.fr wrote:
>
>> Yes
>>
>> http://pastebin.freeswitch.org/20947
>>
>> Le 2013-05-23 14:28, Michael Jerris a écrit :
>>> Did you ever post a new log after you changed codec negotiation
>>> settings?
>>>
>>> On May 23, 2013, at 1:27 AM, Hermouet Erwan <ehermouet at bluetel.fr
>>> [7]>
>>> wrote:
>>>
>>>> Up please. It very urgent
>>>>
>>>> Tks
>>>>
>>>> Brian Foster <bdfoster at davri.com [6]> a écrit :
>>>>
>>>>> No, you will not need to use that.
>>>>> On May 21, 2013 8:00 AM, <ehermouet at bluetel.fr [5]> wrote:
>>>>>
>>>>>> I must use <action application="start_dtmf_generate"/> ? if yes
>>>>>> where
>>>>>> and how ?
>>>>>>
>>>>>> tks advance for your help
>>>>>>
>>>>>> Le 2013-05-20 23:11, Brian Foster a écrit :
>>>>>>> 2013-05-17 09 [1]:39:54.214928 [WARNING] mod_sofia.c:1363
>>>>>> Pass 2833 mode
>>>>>>> may not work on a transcoded call.
>>>>>>>
>>>>>>> You shouldnt be transcoding if you can help it. Now, Im not
>>>>>> sure if
>>>>>>> that is an empty threat but you should enable late codec
>>>>>> negotiation.
>>>>>>> Information can be found here:
>>>>>>> http://wiki.freeswitch.org/wiki/Codec_negotiation [2] [40]
>>>>>>>
>>>>>>> -BDF
>>>>>>> On May 17, 2013 3:48 AM, <ehermouet at bluetel.fr [3] [41]>
>>>>>> wrote:
>>>>>>>
>>>>>>>> im so stupid :)
>>>>>>>> tks
>>>>>>>>
>>>>>>>> http://pastebin.freeswitch.org/20933 [4] [1]
>>>>>>>>
>>>>>>>> called num is 022206... and when i try to use dtmf touch 5
>>>>>> its not
>>>>>>>> works.
>>>>>>>>
>>>>>>>> tks
>>>
>>>
>>>
>>> Links:
>>> ------
>>> [1] http://webmail.gandi.net/tel:2013-05-17%C2%A009
>>> [2] http://wiki.freeswitch.org/wiki/Codec_negotiation
>>> [3] mailto:ehermouet at bluetel.fr
>>> [4] http://pastebin.freeswitch.org/20933
>>> [5] mailto:ehermouet at bluetel.fr
>>> [6] mailto:bdfoster at davri.com
>>> [7] mailto:ehermouet at bluetel.fr
>>
>>
>> _________________________________________________________________________
>> 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
>
>
>
> _________________________________________________________________________
> 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
Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users
mailing list