> You haven't actually explained what problem it is that you are trying to
> fix. RFC2833 uses a dynamic packet type, and 97 is a perfectly value
> value for Hua Wei to use.
I have this dialplan:
[incoming]
exten => prokopiev-cbr-05,1,Answer()
exten => prokopiev-cbr-05,n,Read(dn,vm-enter-num-to-call,1,noanswer,1,3)
exten => prokopiev-cbr-05,n,NoOp(${dn})
exten => prokopiev-cbr-05,n,Hangup()
With last CallWeaver (revision 5342) after calling to prokopiev-cbr-05
and pressing button on phone I see:
...
-- Executing [prokopiev-cbr...@incoming:1]
Answer("SIP/10.10.10.100-0064b580", "")
...
-- Executing [prokopiev-cbr...@incoming:2]
Read("SIP/10.10.10.100-0064b580",
"dn,vm-enter-num-to-call,1,noanswer,1,3")
-- Accepting a maximum of 1 digits.
Feb 6 06:58:41 DEBUG[139843576215888]: generator.c:104
cw_generator_deactivate: Trying to deactivate generator in
SIP/10.10.10.100-0064b580
Feb 6 06:58:41 DEBUG[139843576215888]: channel.c:2358 set_format: Set
channel SIP/10.10.10.100-0064b580 to write format slin
Feb 6 06:58:41 DEBUG[139843576215888]: rtp.c:1851 cw_rtp_write: Ooh,
format changed from unknown to alaw
-- Playing 'vm-enter-num-to-call' (language 'en')
Feb 6 06:58:41 DEBUG[139843685534032]: chan_sip.c:1776 __sip_ack:
Stopping retransmission on
'[email protected]' of Response 1: Match
Found
...
Feb 6 06:58:42 DEBUG[139843576215888]: chan_sip.c:4214 sip_rtp_read:
Bogus frame of format 'ilbc' received from
'SIP/10.10.10.100-0064b580'!
Feb 6 06:58:43 DEBUG[139843576215888]: channel.c:2358 set_format: Set
channel SIP/10.10.10.100-0064b580 to write format alaw
Feb 6 06:58:44 DEBUG[139843576215888]: chan_sip.c:4214 sip_rtp_read:
Bogus frame of format 'ilbc' received from
'SIP/10.10.10.100-0064b580'!
....
Feb 6 06:58:44 DEBUG[139843576215888]: chan_sip.c:4214 sip_rtp_read:
Bogus frame of format 'ilbc' received from
'SIP/10.10.10.100-0064b580'!
-- User entered nothing.
-- Executing [prokopiev-cbr...@incoming:3]
NoOp("SIP/10.10.10.100-0064b580", "")
-- Executing [prokopiev-cbr...@incoming:4]
Hangup("SIP/10.10.10.100-0064b580", "")
...
With patch applied I see:
-- Executing [prokopiev-cbr...@incoming:1]
Answer("SIP/10.10.10.100-0064c190", "")
...
-- Executing [prokopiev-cbr...@incoming:2]
Read("SIP/10.10.10.100-0064c190",
"dn,vm-enter-num-to-call,1,noanswer,1,3")
-- Accepting a maximum of 1 digits.
Feb 6 07:26:26 DEBUG[140672662518096]: generator.c:104
cw_generator_deactivate: Trying to deactivate generator in
SIP/10.10.10.100-0064c190
Feb 6 07:26:26 DEBUG[140672662518096]: channel.c:2358 set_format: Set
channel SIP/10.10.10.100-0064c190 to write format slin
Feb 6 07:26:26 DEBUG[140672662518096]: rtp.c:1853 cw_rtp_write: Ooh,
format changed from unknown to alaw
-- Playing 'vm-enter-num-to-call' (language 'en')
Feb 6 07:26:26 DEBUG[140672771836240]: chan_sip.c:1776 __sip_ack:
Stopping retransmission on
'[email protected]' of Response 1: Match
Found
Feb 6 07:26:28 DEBUG[140672662518096]: rtp.c:235 send_dtmf: Sending
dtmf: 49 (1), at 10.10.10.106
Feb 6 07:26:28 DEBUG[140672662518096]: channel.c:2358 set_format: Set
channel SIP/10.10.10.100-0064c190 to write format alaw
-- User entered '1'
-- Executing [prokopiev-cbr...@incoming:3]
NoOp("SIP/10.10.10.100-0064c190", "1")
-- Executing [prokopiev-cbr...@incoming:4]
Hangup("SIP/10.10.10.100-0064c190", "")
So, dtmf dynamic packet types are fine, but it doesn't work with my devices :(
--
Regards,
Eugene Prokopiev
_______________________________________________
Callweaver-dev mailing list
[email protected]
http://lists.callweaver.org/mailman/listinfo/callweaver-dev