[asterisk-dev] [Code Review] Adjust formats of chan_local when channel we proxying changes

irroot reviewboard at asterisk.org
Tue Mar 15 01:47:28 CDT 2011


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviewboard.asterisk.org/r/1137/
-----------------------------------------------------------

Review request for Asterisk Developers.


Summary
-------

This is a most annoying pain and tripped me up no end testing the T38 gateway patch for res_fax.

Scenario :-

i have a Linksys 2102 on a fax machine that uses G.729 and switches to ALAW on CNG and then negotiates T.38
this is awesome as i can now Chat/Fax from same terminal using most effective bandwidth [these are to be deployed
on sugar cane farms surrounding the kruger park here in south africa over wi-fi]

for testing purposes im using a local channel into T.30 fax app in res_fax.

Problem :-

when the device reinvites ALAW then T.38 it leaves the nativeformat on chan_local as G.729 this will not work
as it is transcoding the FAX from G.729 to SLIN this will not work and took me a while to spot the problem.

Soloution :-

Check the format on the proxy and adjust it if it changes this should be what Local does been a proxy of the channel
it should follow changes ...


Diffs
-----

  /trunk/Makefile 310546 
  /trunk/apps/app_directed_pickup.c 310546 
  /trunk/apps/app_faxdetect.c PRE-CREATION 
  /trunk/apps/app_queue.c 310546 
  /trunk/channels/chan_h323.c 310546 
  /trunk/channels/chan_local.c 310546 
  /trunk/channels/chan_sip.c 310546 
  /trunk/channels/h323/ast_h323.h 310546 
  /trunk/channels/h323/ast_h323.cxx 310546 
  /trunk/channels/h323/chan_h323.h 310546 
  /trunk/channels/sip/include/sip.h 310546 
  /trunk/configs/h323.conf.sample 310546 
  /trunk/configs/queues.conf.sample 310546 
  /trunk/configs/res_fax.conf.sample 310546 
  /trunk/configs/sip.conf.sample 310546 
  /trunk/configure UNKNOWN 
  /trunk/configure.ac 310546 
  /trunk/include/asterisk/channel.h 310546 
  /trunk/include/asterisk/dsp.h 310546 
  /trunk/include/asterisk/res_fax.h 310546 
  /trunk/main/channel.c 310546 
  /trunk/main/dsp.c 310546 
  /trunk/res/res_fax.c 310546 
  /trunk/res/res_fax_spandsp.c 310546 

Diff: https://reviewboard.asterisk.org/r/1137/diff


Testing
-------


Thanks,

irroot

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20110315/211a4ca0/attachment.htm>


More information about the asterisk-dev mailing list