Hello, How to reproduce this bug (?) : 1. register sipura spa2 with 2 lines on asterisk. 2. use first line to call somewhere. 3. while using first line try to call from second line somewhere else in 3 step i hear fast busy tones on second line and asterisk console gives me this short error: Mar 27 07:01:43 NOTICE[29656]: chan_sip.c:3629 process_sdp: No compatible codecs! My sipura adapter is using g729a codec. When using both of sipura lines separately everything works fine, until someone tries to use both lines simultaneously. Any advice ? Tofik Suleymanov
That ATA cannot do 2 simultaneous calls with g729. The second call is probably trying to use ulaw, alaw or g723. Are you sure any of them are enabled for that extension? Julian. On 3/27/06, Tofik Suleymanov <secnews@oxygen.az> wrote:> Hello, > > How to reproduce this bug (?) : > > 1. register sipura spa2 with 2 lines on asterisk. > 2. use first line to call somewhere. > 3. while using first line try to call from second line somewhere else > > in 3 step i hear fast busy tones on second line and asterisk console > gives me this short error: > > Mar 27 07:01:43 NOTICE[29656]: chan_sip.c:3629 process_sdp: No > compatible codecs! > > My sipura adapter is using g729a codec. > When using both of sipura lines separately everything works fine, > until someone tries to use both lines simultaneously. > > Any advice ? > > > Tofik Suleymanov > _______________________________________________ > --Bandwidth and Colocation provided by Easynews.com -- > > Asterisk-Users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >
On Tue, Mar 28, 2006 at 01:20:06AM +0300, Tofik Suleymanov wrote:> How to reproduce this bug (?) : > 1. register sipura spa2 with 2 lines on asterisk. > 2. use first line to call somewhere. > 3. while using first line try to call from second line somewhere else > in 3 step i hear fast busy tones on second line and asterisk console > gives me this short error: > Mar 27 07:01:43 NOTICE[29656]: chan_sip.c:3629 process_sdp: No > compatible codecs! > My sipura adapter is using g729a codec. > When using both of sipura lines separately everything works fine, > until someone tries to use both lines simultaneously.The Sipuras only support 1 g.729 codec at any time. If one channel is using g.729, the other channel has to use another codec. You'll just have to open more than g.729 at the Asterisk end, so the first channel can use g.729 and the other another codec. Steve -- NetTek Ltd UK mob +44-(0)7775 755503 UK +44-(0)20 79932612 / US +1-(310)8577715 / Fax +44-(0)20 7483 2455 Skype/GoogleTalk/AIM/Gizmo stevekennedyuk / MSN steve@gbnet.net Euro Tech News Blog http://eurotechnews.blogspot.com
Steve Kennedy wrote:> On Tue, Mar 28, 2006 at 07:40:06PM +0000, Tofik Suleymanov wrote: > > >>Each of the two lines have their own entry in sip.conf and i can see >>each line registered in 'sip show peers'. >>I can dial each line from outside successfully but when one line is busy >>i can't reach the second line (it immediately sends me to the >>voicemail).I've also tried to change the timeouts in dial command but >>seems that it doesn't matter. >>Any other advice ? > > > You haven't got codec negotiation set-up properly so it's still running > out of g.729 and then it will act as busy > > I have > > dtmfmode=rfc2833 > disallow=all > allow=g729 > allow=gsm > allow=alaw > allow=ulaw > allow=g723.1 > > > So should try g.729 first, then gsm (which unfortunately SPA don't > support), etc etc. > > > Steve >Thank you very much ! after playing a bit with codecs i've managed my sipura lines to work properly. Again, thank you very much for quick and effective help ! Tofik Suleymanov