hello, Sorry if i can't help you but i would like to know who is your SIP provider? I am looking for SIP provider who supported T38 protocols really?
Thanks, Hermann KANGA ________________________________ De : Stefano Marinelli <[email protected]> À : Users Mailing List - Non-Commercial Discussion <[email protected]> Envoyé le : Mardi, 14 Juillet 2009, 12h36mn 27s Objet : [Callweaver-users] Problems switching codecs Hello. I've just done some tests and I can send faxes using alaw and my SIP provider. I've another provider supporting T38, but something goes wrong and I can't make my fax (connected via T38 enabled ATA) to send faxes. The problem is this: I'd like to use g729 for outgoing voice calls, so I've decided to perform a FaxDetect as soon as an internal phone tries to call using that provider. If it's a fax, it should be switching to alaw and dial out. Here's the extension.conf: exten => _XXXX.,1,SetVar(CALLEDNUMBER=${EXTEN}) exten => _XXXX.,n,FaxDetect() exten => _XXXX.,n,Dial(SIP/${ext...@myprovider,90) exten => _XXXX.,n,Hangup exten => fax,1,Ringing exten => fax,n,Wait,1 exten => fax,n,SetGlobalVar(SIP_CODEC=alaw) exten => fax,n,Wait,1 exten => fax,n,Dial(SIP/${callednumb...@myprovider,90) exten => fax,n,Hangup No need to say: it doesn't work. Here's what I get in my console: -- Executing [12...@default:1] SetVar("SIP/002-e4e1", "CALLEDNUMBER=12345") -- Executing [12...@default:2] FaxDetect("SIP/002-e4e1", "") Jul 14 13:19:35 NOTICE[4119649168]: app_faxdetect.c:301 detectfax_exec: Redirecting SIP/002-e4e1 to fax extension [DTMF] -- Executing [...@default:1] Ringing("SIP/002-e4e1", "") -- Executing [...@default:2] SetGlobalVar("SIP/002-e4e1", "SIP_CODEC=alaw") == Setting global variable 'SIP_CODEC' to 'alaw' -- Executing [...@default:3] Wait("SIP/002-e4e1", "1") Jul 14 13:19:35 NOTICE[4119649168]: channel.c:1810 cw_read: Dropping incompatible voice frame on SIP/002-e4e1 of format slin since our native format has changed to g729 -- Executing [...@default:4] Dial("SIP/002-e4e1", "SIP/12...@myprovider,90") -- Called 12...@myprovider -- SIP/myprovider-cc61 is making progress passing it to SIP/002-e4e1 server*CLI> sip show channels Peer User/ANR Call ID Seq (Tx/Rx) Form Hold Last Message 194.120.0.198 12345 35c6f5d0117 00103/00000 g729 No Tx: INVITE xx.xx.xx.xx 002 80ac2d18-57 00101/00002 g729 No Rx: ACK 2 active SIP channels Same if I use SetVar and not SetGlobalVar. Anybody has any idea on how to manage it? Thank you! Stefano _______________________________________________ Callweaver-users mailing list [email protected] http://lists.callweaver.org/mailman/listinfo/callweaver-users
_______________________________________________ Callweaver-users mailing list [email protected] http://lists.callweaver.org/mailman/listinfo/callweaver-users
