I've found a solution to my problem, it's working great right now. E1 ----- Asterisk 1.6 x64 ------ IAX ------- Asterisk 1.4 x86----h324m
Since I can't change the asterisk version on the server with the Digium Card, I send the 3G call though an IAX trunk, without modifying the codec, to another server with asterisk 1.4 on a x86 platform. I had doubts over the IAX trunk, but it works like a charm, no lag except the one caused by the wireless transmission. This test was done with an IAX trunk over WAN (~1MBits), an asterisk 1.4 on a virtual machine (CentOS guest on WinVista host with vmware) and NAT. Thanks for everything Julien Leboeuf a écrit : > Thanks a lot, now asterisk doesn't crash anymore at startup. > > > > Klaus Darilion a écrit : > >> please search in the mailinglist archives - IIRC some time ago somebody >> reported AMR codec 64bit bugs and also had a patch. >> >> regards >> klaus >> >> Julien Leboeuf wrote: >> >> >>> Thanks.. >>> >>> I know I should have tested gradually.. but if I can't make it works >>> with this config it's meaningless for me... >>> If I really can't, then I will assignate another machine to do the job >>> but... now i can't... >>> >>> If someone is still willing to search with me, there are some new infos : >>> >>> Asterisk sometimes crashs at startup, it seems like the amr patch is the >>> cause : >>> On startup : >>> [...] >>> == Parsing '/etc/asterisk/codecs.conf': == Found >>> -- codec_amr: parsing codecs.conf >>> -- codec_amr: set octed-aligned mode to 0 >>> -- codec_amr: set dtx mode to 0 >>> -- codec_amr: AMR mode set to MR122 (7) >>> codec_amr: enc_mode = 7, dtx = 0 >>> ==>Segmentation Fault >>> >>> But usually, Asterisk start fine : >>> [...] >>> == Parsing codecs.conf >>> -- codec_amr: set octed-aligned mode to 0 >>> -- codec_amr: set dtx mode to 0 >>> -- codec_amr: AMR mode set to MR122 (7) >>> codec_amr: enc_mode = 7, dtx = 0 >>> == Registered translator 'amrtolin' from format amr to slin, cost 2999 >>> == Registered translator 'lintoamr' from format slin to amr, cost 10999 >>> codec_amr.so => (AMR Coder/Decoder) >>> == Parsing '/etc/asterisk/dundi.conf': == Found >>> [...] >>> etc... >>> I wonder what's the trigger of the fault. >>> If I set octet-aligned=1 in codecs.conf, I simply can't start asterisk... >>> >>> I tried modify the dialplan with : >>> Answer(2000); >>> Just before h324m_loopback, in order not to rush negociation but the >>> result is the same. >>> >>> >>> -- Julien Leboeuf >>> >>> >>> Klaus Darilion a écrit : >>> >>> >>>> Maybe you have 64bit problems? First I would try with 32bit and Asterisk >>>> 1.4. Once this works, try 64bit and/or Asterisk 1.6. >>>> >>>> >>> _______________________________________________ >>> --Bandwidth and Colocation Provided by http://www.api-digital.com-- >>> >>> asterisk-video mailing list >>> To UNSUBSCRIBE or update options visit: >>> http://lists.digium.com/mailman/listinfo/asterisk-video >>> >>> >> _______________________________________________ >> --Bandwidth and Colocation Provided by http://www.api-digital.com-- >> >> asterisk-video mailing list >> To UNSUBSCRIBE or update options visit: >> http://lists.digium.com/mailman/listinfo/asterisk-video >> >> > > > -- Julien LEBOEUF Technicien Réseau NEOCOM Multimedia 70, Boulevard Louis Blanc 85000 La Roche sur Yon Tél. + 33 (0)2 53 59 30 00 extension 50 Fax. + 33 (0)2 51 62 00 51 Skype : julien.leboeuf [email protected] www.neocom.fr _______________________________________________ --Bandwidth and Colocation Provided by http://www.api-digital.com-- asterisk-video mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-video
