SIP Send DTMFs

From Yate Documentation
(Difference between revisions)
Jump to: navigation, search
(How to override)
Line 5: Line 5:
 
=== dtmfmethods ===
 
=== dtmfmethods ===
  
==== Description ====
+
''' Description '''
  
 
This parameter configures the allowed methods and their order.
 
This parameter configures the allowed methods and their order.
Line 17: Line 17:
 
This parameter is applied on reload for new calls.<br>
 
This parameter is applied on reload for new calls.<br>
  
====Example====
+
'''Example'''
  
 
Invalid values will be ignored.  
 
Invalid values will be ignored.  
Line 25: Line 25:
 
  '''foo,foo2''' will be handled as default '''rfc2833,info,inband'''
 
  '''foo,foo2''' will be handled as default '''rfc2833,info,inband'''
  
====How to override====
+
'''How to override'''
  
 
This parameter can be overridden when routing by an '''odtmfmethods''' parameter for outgoing calls and '''idtmfmethods''' parameter for incoming calls.<br>
 
This parameter can be overridden when routing by an '''odtmfmethods''' parameter for outgoing calls and '''idtmfmethods''' parameter for incoming calls.<br>
Line 32: Line 32:
 
===honor_dtmf_detect===
 
===honor_dtmf_detect===
  
==== Description ====
+
''' Description '''
  
 
This parameter instructs the sip channel to use the detected method when sending DTMFs.<br>
 
This parameter instructs the sip channel to use the detected method when sending DTMFs.<br>
Line 39: Line 39:
 
This parameter can be overridden when routing by an '''ohonor_dtmf_detect''' parameter for outgoing calls and '''ihonor_dtmf_detect''' parameter for incoming calls.<br>
 
This parameter can be overridden when routing by an '''ohonor_dtmf_detect''' parameter for outgoing calls and '''ihonor_dtmf_detect''' parameter for incoming calls.<br>
  
====How to override====
+
'''How to override'''
  
 
It can be overridden in [[chan.dtmf]] messages by a parameter with the same name.
 
It can be overridden in [[chan.dtmf]] messages by a parameter with the same name.
Line 45: Line 45:
 
=== check_allow_info===
 
=== check_allow_info===
  
==== Description ====
+
''' Description '''
  
 
This parameter instructs the sip channel to look at 'Allow' header of INVITE (incoming calls) and OK (outgoing calls) for INFO support.<br>
 
This parameter instructs the sip channel to look at 'Allow' header of INVITE (incoming calls) and OK (outgoing calls) for INFO support.<br>
Line 51: Line 51:
 
This parameter is ignored if '''info''' method is not enabled.<br>
 
This parameter is ignored if '''info''' method is not enabled.<br>
 
When enabled the '''info''' method will be disabled if remote party don't advertise INFO support in 'Allow' header.<br>
 
When enabled the '''info''' method will be disabled if remote party don't advertise INFO support in 'Allow' header.<br>
====How to override====
+
 
 +
'''How to override'''
 
This parameter can be overridden when routing by an '''ocheck_allow_info''' parameter for outgoing calls and '''icheck_allow_info''' parameter for incoming calls.<br>
 
This parameter can be overridden when routing by an '''ocheck_allow_info''' parameter for outgoing calls and '''icheck_allow_info''' parameter for incoming calls.<br>
  
 
=== missing_allow_info===
 
=== missing_allow_info===
  
==== Description ====
+
''' Description'''
  
 
This parameter configures the default value for INFO support if 'Allow' header is missing.<br>
 
This parameter configures the default value for INFO support if 'Allow' header is missing.<br>
Line 62: Line 63:
 
It is enabled by default and can be changed at runtime.<br>
 
It is enabled by default and can be changed at runtime.<br>
  
====How to override====
+
'''How to override'''
  
 
This parameter can be overridden when routing by an '''omissing_allow_info''' parameter for outgoing calls and '''imissing_allow_info''' parameter for incoming calls.
 
This parameter can be overridden when routing by an '''omissing_allow_info''' parameter for outgoing calls and '''imissing_allow_info''' parameter for incoming calls.

Revision as of 16:42, 8 November 2012

This page describes configurations DTMFs related to DTMFs in SIP channel.

Bellow are the parameters involved (located in 'general' section of ysipchan.conf).

Contents

dtmfmethods

Description

This parameter configures the allowed methods and their order.

Allowed methods are:

  • rfc2833 Send DTMFs as RFC2833 RTP signals. This method will be used if media is started and remote party advertised telephone event support in SDP.
  • info Send DTMFs using SIP INFO method.
  • inband Send DTMFs in audio stream. This method will succeed if media is started, the tone generator module is loaded and there is a translator from PCM (yate 'slin' format) to current rtp format.

The default value of this parameter is 'rfc2833,info,inband'.
This parameter is applied on reload for new calls.

Example

Invalid values will be ignored. E.g.

foo,info will be handled as info
foo,info,foo2,inband will be handled as info,inband
foo,foo2 will be handled as default rfc2833,info,inband

How to override

This parameter can be overridden when routing by an odtmfmethods parameter for outgoing calls and idtmfmethods parameter for incoming calls.
Also, it can be overridden when sending DTMFs (chan.dtmf messages) by a methods parameter.

honor_dtmf_detect

Description

This parameter instructs the sip channel to use the detected method when sending DTMFs.
The detected method won't be used if not enabled.
This parameter is enabled by default and can be changed at runtime for new calls only.
This parameter can be overridden when routing by an ohonor_dtmf_detect parameter for outgoing calls and ihonor_dtmf_detect parameter for incoming calls.

How to override

It can be overridden in chan.dtmf messages by a parameter with the same name.

check_allow_info

Description

This parameter instructs the sip channel to look at 'Allow' header of INVITE (incoming calls) and OK (outgoing calls) for INFO support.
It is enabled by default and can be changed at runtime.
This parameter is ignored if info method is not enabled.
When enabled the info method will be disabled if remote party don't advertise INFO support in 'Allow' header.

How to override This parameter can be overridden when routing by an ocheck_allow_info parameter for outgoing calls and icheck_allow_info parameter for incoming calls.

missing_allow_info

Description

This parameter configures the default value for INFO support if 'Allow' header is missing.
This parameter is ignored if 'check_allow_info' is disabled.
It is enabled by default and can be changed at runtime.

How to override

This parameter can be overridden when routing by an omissing_allow_info parameter for outgoing calls and imissing_allow_info parameter for incoming calls.

Personal tools
Namespaces

Variants
Actions
Preface
Configuration
Administrators
Developers