[asterisk-bugs] [JIRA] (ASTERISK-22144) res_sip_dtmf_info: Support sending of 'raw' DTMF

Matt Jordan (JIRA) noreply at issues.asterisk.org
Sat Jul 20 17:28:03 CDT 2013


     [ https://issues.asterisk.org/jira/browse/ASTERISK-22144?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Matt Jordan updated ASTERISK-22144:
-----------------------------------

    Security:     (was: Reporter, Bug Marshals, and Digium)
    
> res_sip_dtmf_info: Support sending of 'raw' DTMF
> ------------------------------------------------
>
>                 Key: ASTERISK-22144
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-22144
>             Project: Asterisk
>          Issue Type: Bug
>          Components: Resources/res_sip
>    Affects Versions: 12
>            Reporter: Matt Jordan
>              Labels: Asterisk12
>
> Currently, {{res_sip_dtmf_info}} will parse an SDP that looks something like the packet below:
> {noformat}
>   <send retrans="500">
> 	<![CDATA[
> 		INFO sip:test@[remote_ip]:[remote_port] SIP/2.0
> 		Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
> 		Max-Forwards: 70
> 		Content-Length: [len]
> 		From: test1 <sip:guest1@[local_ip]:[local_port]>;tag=[call_number]
> 		To: test <sip:test@[remote_ip]:[remote_port]>[peer_tag_param]
> 		Call-ID: [call_id]
> 		CSeq: 2 INFO
> 		Supported: timer
> 		Content-Type: application/dtmf-relay
> 		Contact: sip:test@[local_ip]:[local_port]
> 		Supported: replaces
> 		User-Agent: Aastra 480i Cordless/1.4.3.1001 Brcm Callctrl/1.5.1.0 MxSF/v3.2.8.45
> 		Signal=1
> 		Duration=160
> 	]]>
>   </send>
> {noformat}
> Unfortunately, sometimes DTMF is sent without any parameters, i.e., no "Signal" or "Duration":
> {noformat}
>   <send retrans="500">
> 	<![CDATA[
> 		INFO sip:test@[remote_ip]:[remote_port] SIP/2.0
> 		Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
> 		Max-Forwards: 70
> 		Content-Length: [len]
> 		From: test1 <sip:guest1@[local_ip]:[local_port]>;tag=[call_number]
> 		To: test <sip:test@[remote_ip]:[remote_port]>[peer_tag_param]
> 		Call-ID: [call_id]
> 		CSeq: 2 INFO
> 		Supported: timer
> 		Content-Type: application/dtmf-relay
> 		Contact: sip:test@[local_ip]:[local_port]
> 		Supported: replaces
> 		User-Agent: Aastra 480i Cordless/1.4.3.1001 Brcm Callctrl/1.5.1.0 MxSF/v3.2.8.45
>                 1
> 	]]>
>   </send>
> {noformat}
> That's a DTMF "1". The duration is inferred.
> The module should be able to handle this as well.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.asterisk.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the asterisk-bugs mailing list