[asterisk-bugs] [JIRA] (ASTERISK-17034) [regression] Can't receive SIP INFO DTMF when using Read() without Answer()

Matt Jordan (JIRA) noreply at issues.asterisk.org
Fri Mar 27 16:40:34 CDT 2015


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

Matt Jordan updated ASTERISK-17034:
-----------------------------------

    Description: 
I use Read command to read dtmf like:

{noformat}
Read(digito,input,20,n,3,30)
{noformat}

It's works good in asterisk 1.6.2.7, but it's not work when I update to asterisk 1.8.1-rc1

when I change to {{Read(digito,input,20,i,3,30)}} it's works ok, but I  want't answer the line.

My Exten:
{noformat}
exten =>_X.,1,Ringing()
exten =>_X.,2,Progress()
exten =>_X.,3,Playback(welcome)
exten =>_X.,4,Read(digito,input,20,n,3,30)
{noformat}

and i revice the sip info:

{noformat}
<------------->
--- (12 headers 2 lines) ---

<--- SIP read from UDP:192.168.1.101:5060 --->
INFO sip:511 at 192.168.1.102 SIP/2.0
Via: SIP/2.0/UDP 192.168.1.101:5060;branch=z9hG4bK1055cc8709f8e9af
From: <sip:135 at 192.168.1.101>;tag=5d478c2528f28482
To: <sip:511 at 192.168.1.102>
User-Agent: Asterisk
CSeq: 3 INFO
Call-ID: 6eb1064116403e8852ec1d3c00080e9b at 192.168.1.101
Contact: <sip:135 at 192.168.1.101:5060>
Max-Forwards: 70
Allow: INVITE, ACK, CANCEL, BYE, OPTIONS, INFO, UPDATE, PRACK
Content-Type: application/dtmf-relay
Content-Length: 22

Signal=8
Duration=0
<------------->
--- (12 headers 2 lines) ---

<--- SIP read from UDP:192.168.1.101:5060 --->
INFO sip:511 at 192.168.1.102 SIP/2.0
Via: SIP/2.0/UDP 192.168.1.101:5060;branch=z9hG4bK2ed64d862aa64792
From: <sip:135 at 192.168.1.101>;tag=5d478c2528f28482
To: <sip:511 at 192.168.1.102>
User-Agent: Asterisk
CSeq: 4 INFO
Call-ID: 6eb1064116403e8852ec1d3c00080e9b at 192.168.1.101
Contact: <sip:135 at 192.168.1.102:5060>
Max-Forwards: 70
Allow: INVITE, ACK, CANCEL, BYE, OPTIONS, INFO, UPDATE, PRACK
Content-Type: application/dtmf-relay
Content-Length: 22

Signal=8
Duration=0
<------------->
{noformat}







  was:
I use Read command to read dtmf like:

Read(digito,input,20,n,3,30)

It's works good in asterisk 1.6.2.7, but it's not work when I update to asterisk 1.8.1-rc1

when I change to Read(digito,input,20,i,3,30) it's works ok, but I  want't answer the line.

My Exten:
exten =>_X.,1,Ringing()
exten =>_X.,2,Progress()
exten =>_X.,3,Playback(welcome)
exten =>_X.,4,Read(digito,input,20,n,3,30)

and i revice the sip info:

<------------->
--- (12 headers 2 lines) ---

<--- SIP read from UDP:192.168.1.101:5060 --->
INFO sip:511 at 192.168.1.102 SIP/2.0
Via: SIP/2.0/UDP 192.168.1.101:5060;branch=z9hG4bK1055cc8709f8e9af
From: <sip:135 at 192.168.1.101>;tag=5d478c2528f28482
To: <sip:511 at 192.168.1.102>
User-Agent: Asterisk
CSeq: 3 INFO
Call-ID: 6eb1064116403e8852ec1d3c00080e9b at 192.168.1.101
Contact: <sip:135 at 192.168.1.101:5060>
Max-Forwards: 70
Allow: INVITE, ACK, CANCEL, BYE, OPTIONS, INFO, UPDATE, PRACK
Content-Type: application/dtmf-relay
Content-Length: 22

Signal=8
Duration=0
<------------->
--- (12 headers 2 lines) ---

<--- SIP read from UDP:192.168.1.101:5060 --->
INFO sip:511 at 192.168.1.102 SIP/2.0
Via: SIP/2.0/UDP 192.168.1.101:5060;branch=z9hG4bK2ed64d862aa64792
From: <sip:135 at 192.168.1.101>;tag=5d478c2528f28482
To: <sip:511 at 192.168.1.102>
User-Agent: Asterisk
CSeq: 4 INFO
Call-ID: 6eb1064116403e8852ec1d3c00080e9b at 192.168.1.101
Contact: <sip:135 at 192.168.1.102:5060>
Max-Forwards: 70
Allow: INVITE, ACK, CANCEL, BYE, OPTIONS, INFO, UPDATE, PRACK
Content-Type: application/dtmf-relay
Content-Length: 22

Signal=8
Duration=0
<------------->









> [regression] Can't receive SIP INFO DTMF when using Read() without Answer()
> ---------------------------------------------------------------------------
>
>                 Key: ASTERISK-17034
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-17034
>             Project: Asterisk
>          Issue Type: Bug
>          Components: Channels/chan_sip/General
>            Reporter: johnnylu
>
> I use Read command to read dtmf like:
> {noformat}
> Read(digito,input,20,n,3,30)
> {noformat}
> It's works good in asterisk 1.6.2.7, but it's not work when I update to asterisk 1.8.1-rc1
> when I change to {{Read(digito,input,20,i,3,30)}} it's works ok, but I  want't answer the line.
> My Exten:
> {noformat}
> exten =>_X.,1,Ringing()
> exten =>_X.,2,Progress()
> exten =>_X.,3,Playback(welcome)
> exten =>_X.,4,Read(digito,input,20,n,3,30)
> {noformat}
> and i revice the sip info:
> {noformat}
> <------------->
> --- (12 headers 2 lines) ---
> <--- SIP read from UDP:192.168.1.101:5060 --->
> INFO sip:511 at 192.168.1.102 SIP/2.0
> Via: SIP/2.0/UDP 192.168.1.101:5060;branch=z9hG4bK1055cc8709f8e9af
> From: <sip:135 at 192.168.1.101>;tag=5d478c2528f28482
> To: <sip:511 at 192.168.1.102>
> User-Agent: Asterisk
> CSeq: 3 INFO
> Call-ID: 6eb1064116403e8852ec1d3c00080e9b at 192.168.1.101
> Contact: <sip:135 at 192.168.1.101:5060>
> Max-Forwards: 70
> Allow: INVITE, ACK, CANCEL, BYE, OPTIONS, INFO, UPDATE, PRACK
> Content-Type: application/dtmf-relay
> Content-Length: 22
> Signal=8
> Duration=0
> <------------->
> --- (12 headers 2 lines) ---
> <--- SIP read from UDP:192.168.1.101:5060 --->
> INFO sip:511 at 192.168.1.102 SIP/2.0
> Via: SIP/2.0/UDP 192.168.1.101:5060;branch=z9hG4bK2ed64d862aa64792
> From: <sip:135 at 192.168.1.101>;tag=5d478c2528f28482
> To: <sip:511 at 192.168.1.102>
> User-Agent: Asterisk
> CSeq: 4 INFO
> Call-ID: 6eb1064116403e8852ec1d3c00080e9b at 192.168.1.101
> Contact: <sip:135 at 192.168.1.102:5060>
> Max-Forwards: 70
> Allow: INVITE, ACK, CANCEL, BYE, OPTIONS, INFO, UPDATE, PRACK
> Content-Type: application/dtmf-relay
> Content-Length: 22
> Signal=8
> Duration=0
> <------------->
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list