Re: [asterisk-users] Codec warnings after upgrade to 1.8

2012-10-14 Thread Metaspace
Well, I don't know if this has been resolved yet, but I struggled with this
issue very seriously for about 12 straight hours:
I had an Asterisk 1.4 box with a Digium FXO/FXS card and an Asterisk 1.8 box i
just built with no cards. I migrated all extensions to the new box. All are
Cisco phones using the latest Chan-SCCP v4.0.

All I needed was a straight-forward IAX trunk between the two boxes so I could
use the FXO/FXS card in the old one until the Cisco 3102 adapter arrives.

PROBLEM: whatever I did, the new box always suggested g729 and the old one could
not switch from alaw to that and I had exactly the issues JOSEPH describes.

After much reading and even more trial and error I came to a 

SOLUTION:

Ensure that the order of codecs is the same in both boxes, both in the IAX.CONF
file and the SCCP.CONF file. This would probably also mean the SIP.CONF file for
those using SIP.
In other words if you have the following lines (or whatever is relevant to you)
EXACTLY the same way in BOTH the IAX.CONF and the SIP/SCCP.CONF of BOTH ASTERISK
boxes then you should stand a pretty good chance to have the system talk the
same codec when they connect.

EXAMPLE - the [general] section of IAX, SIP and SCCP:

disallow=all
allow=ulaw
allow=alaw
allow=g729
allow=gsm

.

It worked for me! ;)


--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Codec warnings after upgrade to 1.8

2011-12-27 Thread Joseph

On 12/27/11 08:16, Ryan Wagoner wrote:

  On Fri, Dec 23, 2011 at 10:40 AM, Eric Wieling ewiel...@nyigc.com wrote:

I'm getting various codec related warnings after upgrading to 1.8.  Did
I miss something in the UPGRADE file?  Does Asterisk no longer transcode
8-)?

WARNING[11123]: channel.c:4909 ast_write: Codec mismatch on channel
DAHDI/i1/12124221200-74 setting write format to g722 from ulaw native
formats 0x4 (ulaw)

And

WARNING[11120]: channel.c:4909 ast_write: Codec mismatch on channel
SIP/interglobe-sip-01e6 setting write format to g722 from ulaw
native formats 0x4 (ulaw)

  When I upgraded to 1.8.7 I had a bunch of those warnings. I had backported
  the below patch which was included in a 1.8.8 release candidate. Since
  1.8.8 has been released I would just upgrade to that.

  https://issues.asterisk.org/jira/browse/ASTERISK-17541

  Ryan


Thanks folks, I've upgraded today to 1.8.8.0 and will test and report the 
result later on.

--
Joseph

--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
  http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Codec warnings after upgrade to 1.8

2011-12-27 Thread Ryan Wagoner
On Fri, Dec 23, 2011 at 10:40 AM, Eric Wieling ewiel...@nyigc.com wrote:

 I'm getting various codec related warnings after upgrading to 1.8.  Did I
 miss something in the UPGRADE file?  Does Asterisk no longer transcode 8-)?

 WARNING[11123]: channel.c:4909 ast_write: Codec mismatch on channel
 DAHDI/i1/12124221200-74 setting write format to g722 from ulaw native
 formats 0x4 (ulaw)

 And

 WARNING[11120]: channel.c:4909 ast_write: Codec mismatch on channel
 SIP/interglobe-sip-01e6 setting write format to g722 from ulaw native
 formats 0x4 (ulaw)


When I upgraded to 1.8.7 I had a bunch of those warnings. I had backported
the below patch which was included in a 1.8.8 release candidate. Since
1.8.8 has been released I would just upgrade to that.

https://issues.asterisk.org/jira/browse/ASTERISK-17541

Ryan
--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [asterisk-users] Codec warnings after upgrade to 1.8

2011-12-27 Thread Eric Wieling
We are running 1.8.8.0.

-Original Message-
From: asterisk-users-boun...@lists.digium.com 
[mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Ryan Wagoner
Sent: Tuesday, December 27, 2011 8:16 AM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] Codec warnings after upgrade to 1.8

On Fri, Dec 23, 2011 at 10:40 AM, Eric Wieling ewiel...@nyigc.com wrote:


I'm getting various codec related warnings after upgrading to 1.8.  Did 
I miss something in the UPGRADE file?  Does Asterisk no longer transcode 8-)?

WARNING[11123]: channel.c:4909 ast_write: Codec mismatch on channel 
DAHDI/i1/12124221200-74 setting write format to g722 from ulaw native formats 
0x4 (ulaw)

And

WARNING[11120]: channel.c:4909 ast_write: Codec mismatch on channel 
SIP/interglobe-sip-01e6 setting write format to g722 from ulaw native 
formats 0x4 (ulaw)




When I upgraded to 1.8.7 I had a bunch of those warnings. I had backported the 
below patch which was included in a 1.8.8 release candidate. Since 1.8.8 has 
been released I would just upgrade to that.

https://issues.asterisk.org/jira/browse/ASTERISK-17541 

Ryan


--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Codec warnings after upgrade to 1.8

2011-12-27 Thread Olivier
2011/12/27, Eric Wieling ewiel...@nyigc.com:
 We are running 1.8.8.0.


Then the issue you're having differs from the one I had (which
appeared and disappeared instantly when I upgraded to 1.8.7 and 1.8.8
respectively).

--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Codec warnings after upgrade to 1.8

2011-12-27 Thread Joseph

On 12/27/11 18:23, Olivier wrote:

2011/12/27, Eric Wieling ewiel...@nyigc.com:

We are running 1.8.8.0.



Then the issue you're having differs from the one I had (which
appeared and disappeared instantly when I upgraded to 1.8.7 and 1.8.8
respectively).



Upgrading to 1.8.8 DID NOT HELP
I'm getting the same error message:
Call rejected by ... Unable to negotiate codec

  == Using UDPTL CoS mark 5
  == Using SIP RTP CoS mark 5
-- Executing [4@internal:1] Dial(SIP/11-, 
IAX2/home_server:@192.168.141.1/4,30,rw) in new stack
-- Called IAX2/home_server:@192.168.141.1/4
[Dec 27 19:10:42] WARNING[15968]: chan_iax2.c:10672 socket_process: Call 
rejected by 192.168.141.1: Unable to negotiate codec
-- Hungup 'IAX2/192.168.141.1:4569-24'
  == Everyone is busy/congested at this time (1:0/0/1)
-- Executing [4@internal:2] Hangup(SIP/11-, ) in new stack
  == Spawn extension (internal, 4, 2) exited non-zero on 'SIP/11-'


--
Joseph

--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
  http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Codec warnings after upgrade to 1.8

2011-12-26 Thread Joseph

On 12/23/11 10:40, Eric Wieling wrote:

I'm getting various codec related warnings after upgrading to 1.8.  Did I miss 
something in the UPGRADE file?  Does Asterisk no longer transcode 8-)?

WARNING[11123]: channel.c:4909 ast_write: Codec mismatch on channel 
DAHDI/i1/12124221200-74 setting write format to g722 from ulaw native formats 
0x4 (ulaw)

And

WARNING[11120]: channel.c:4909 ast_write: Codec mismatch on channel 
SIP/interglobe-sip-01e6 setting write format to g722 from ulaw native 
formats 0x4 (ulaw)

--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
  http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


This is similar error I'm getting on asterisk 1.8.7 when trying to communicate 
with codec: ulaw with asterisk 1.4

When I try to dialin on asterisk-1.4.39 I get an error:
NOTICE[2414]: chan_iax2.c:9541 socket_process: Rejected connect
attempt from 192.168.141.8, requested/capability 0x2/0x703
incompatible with our capability 0xc.
NOTICE[2417]: chan_iax2.c:9541 socket_process: Rejected connect
attempt from 192.168.141.8, requested/capability 0x2/0x703
incompatible with our capability 0xc.

On asterisk-1.8.7 I get:
 WARNING[4277]: chan_iax2.c:10666 socket_process: Call rejected by 
192.168.141.1: Unable to negotiate codec

If you find a solution please let me know.





--
Joseph

--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
  http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Codec warnings after upgrade to 1.8

2011-12-26 Thread Olivier
Could you try with 1.8.8.0 ?
I think this one includes a fix for that error.

2011/12/26, Joseph syscon...@gmail.com:
 On 12/23/11 10:40, Eric Wieling wrote:
I'm getting various codec related warnings after upgrading to 1.8.  Did I
 miss something in the UPGRADE file?  Does Asterisk no longer transcode
 8-)?

WARNING[11123]: channel.c:4909 ast_write: Codec mismatch on channel
 DAHDI/i1/12124221200-74 setting write format to g722 from ulaw native
 formats 0x4 (ulaw)

And

WARNING[11120]: channel.c:4909 ast_write: Codec mismatch on channel
 SIP/interglobe-sip-01e6 setting write format to g722 from ulaw native
 formats 0x4 (ulaw)

--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

 This is similar error I'm getting on asterisk 1.8.7 when trying to
 communicate with codec: ulaw with asterisk 1.4

 When I try to dialin on asterisk-1.4.39 I get an error:
 NOTICE[2414]: chan_iax2.c:9541 socket_process: Rejected connect
 attempt from 192.168.141.8, requested/capability 0x2/0x703
 incompatible with our capability 0xc.
 NOTICE[2417]: chan_iax2.c:9541 socket_process: Rejected connect
 attempt from 192.168.141.8, requested/capability 0x2/0x703
 incompatible with our capability 0xc.

 On asterisk-1.8.7 I get:
   WARNING[4277]: chan_iax2.c:10666 socket_process: Call rejected by
 192.168.141.1: Unable to negotiate codec

 If you find a solution please let me know.





 --
 Joseph

 --
 _
 -- Bandwidth and Colocation Provided by http://www.api-digital.com --
 New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello

 asterisk-users mailing list
 To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users


--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


[asterisk-users] Codec warnings after upgrade to 1.8

2011-12-23 Thread Eric Wieling
I'm getting various codec related warnings after upgrading to 1.8.  Did I miss 
something in the UPGRADE file?  Does Asterisk no longer transcode 8-)?

WARNING[11123]: channel.c:4909 ast_write: Codec mismatch on channel 
DAHDI/i1/12124221200-74 setting write format to g722 from ulaw native formats 
0x4 (ulaw)

And

WARNING[11120]: channel.c:4909 ast_write: Codec mismatch on channel 
SIP/interglobe-sip-01e6 setting write format to g722 from ulaw native 
formats 0x4 (ulaw)

--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users