[asterisk-bugs] [Asterisk 0017346]: playtones don't reproduce any signal

Asterisk Bug Tracker noreply at bugs.digium.com
Mon May 17 11:57:19 CDT 2010


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=17346 
====================================================================== 
Reported By:                tolmino
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   17346
Category:                   Applications/General
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
Asterisk Version:           1.6.2.8-rc1 
JIRA:                        
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2010-05-17 06:19 CDT
Last Modified:              2010-05-17 11:57 CDT
====================================================================== 
Summary:                    playtones don't reproduce any signal
Description: 
in CLI i see PlayTones("SIP/501-00000001", "425/200,0/200") in new stack
but i don't hear nothing



====================================================================== 

---------------------------------------------------------------------- 
 (0122004) tolmino (reporter) - 2010-05-17 11:57
 https://issues.asterisk.org/view.php?id=17346#c122004 
---------------------------------------------------------------------- 
in extension.conf:

[macro-callsipper]
exten => s,1,set(TRANSFER_CONTEXT=standard-internal)
exten => s,2,SetMusicOnHold(${ARG4})
exten => s,3,Dial(${ARG1},${ARG2},rRtTwWM(setmusiconhold,${ARG4}))
exten => s,4,Goto(s-${DIALSTATUS},1)
exten => s-NOANSWER,1,PlayBack(Music/msg_operatori_occupati)
exten => s-NOANSWER,2,Wait(1)
exten => s-NOANSWER,3,Hangup
exten => s-BUSY,1,Playtones(425/500,0/500)
exten => s-BUSY,2,Wait(3)
exten => s-BUSY,3,PlayBack(call_int_BUSY)
exten => s-BUSY,4,Wait(1)
exten => s-BUSY,5,Hangup()
exten => s-CHANUNAVAIL,1,Playtones(425/200,0/200)
exten => s-CHANUNAVAIL,2,Wait(5)
exten => s-CHANUNAVAIL,3,PlayBack(call_int_CHANUNAVAIL)
exten => s-CHANUNAVAIL,4,Wait(1)
exten => s-CHANUNAVAIL,5,Hangup()
exten => s-ANSWER,1,Hangup()
exten => _s-.,1,Goto(s-NOANSWER,1)
[sip-phones]
exten => 501,1,Macro(callsipper,SIP/501,120,501 at default,papozzo)

in sip.conf
[Grandstream](!)                    ; a template
	type=friend 
	host=dynamic	
	dtmfmode=rfc2833
	limitonpeers=yes
        disallow=all
        allow=ulaw
        allow=alaw
        allow=ilbc
        allow=g729
        allow=gsm
        allow=g723
	allowsubscribe=yes
	qualify=yes
	call-limit=4
	incominglimit=2
	busy-limit=1
	;defaultip=192.168.0.60
	deny=0.0.0.0/0.0.0.0
	permit=192.168.1.0/255.255.255.0

[501](Grandstream)
context=rc-internal		
callerid="Postaz. Tolm" <501>	
username=501
secret=**********
mailbox=501 at default
subscribecontext=vedi-leds
callgroup=3
pickupgroup=1,2,3

.....

if i call 502 that is UNAVAIABLE
i hear 5 seconds of silence , and after my message "call_int_CHANUNAVAIL",
but during the 5 seconds i must listen playtones (425Hz for 200ms ,0Hz for
200ms and so-on) that don't work.

 (i have updated that morning, and with 1.6.1.X Playtones Plays!!!) 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-05-17 11:57 tolmino        Note Added: 0122004                          
======================================================================




More information about the asterisk-bugs mailing list