Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[asterisk-users] Zap Codec


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users
View previous topic :: View next topic  
Author Message
ddunkin at netos.net
Guest





PostPosted: Mon Apr 14, 2008 9:00 pm    Post subject: [asterisk-users] Zap Codec Reply with quote

This is SIP channel you need to limit. Forcing ulaw only, the Polycom
will fall back to ulaw.

Per peer, in your sip.conf:
disallow=all
allow=ulaw

________________________________

From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Jeremy
Mann
Sent: Monday, April 14, 2008 14:39
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: [asterisk-users] Zap Codec

Is there a way to force Zap channels to only use ulaw, and not even
attempt g729 negotiation?



My polycom 550 has G729,ulaw as priority, the Zap always fails b/c I'm
not licensed for the codec on the asterisk box.


________________________________

This e-mail, facsimile, or letter and any files or attachments
transmitted with it contains information that is confidential and
privileged. This information is intended only for the use of the
individual(s) and entity(ies) to whom it is addressed. If you are the
intended recipient, further disclosures are prohibited without proper
authorization. If you are not the intended recipient, any disclosure,
copying, printing, or use of this information is strictly prohibited and
possibly a violation of federal or state law and regulations. If you
have received this information in error, please notify Texas Health
Management Group immediately at 1-817-310-4999. Texas Health Management
Group, its subsidiaries, and affiliates hereby claim all applicable
privileges related to this information.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20080414/d12fb6dc/attachment.htm
Back to top
eric at fnords.org
Guest





PostPosted: Tue Apr 15, 2008 8:04 am    Post subject: [asterisk-users] Zap Codec Reply with quote

The PSTN only allows ulaw or alaw (depending on your location). You
CANNOT send calls in any other codec over a PSTN line. Generally, if
you want to use G729 then you must buy a G729 license (with a few
exceptions).

Jeremy Mann wrote:
Quote:
But I want my polycom to attempt g729 on SIPPEER-SIPPEER calls, I only
want ulaw used when SIPPEER-ZAP is the case.



*From:* asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] *On Behalf Of *Darryl
Dunkin
*Sent:* Monday, April 14, 2008 9:01 PM
*To:* Asterisk Users Mailing List - Non-Commercial Discussion
*Subject:* Re: [asterisk-users] Zap Codec



This is SIP channel you need to limit. Forcing ulaw only, the Polycom
will fall back to ulaw.



Per peer, in your sip.conf:

disallow=all
allow=ulaw



------------------------------------------------------------------------

*From:* asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] *On Behalf Of *Jeremy Mann
*Sent:* Monday, April 14, 2008 14:39
*To:* Asterisk Users Mailing List - Non-Commercial Discussion
*Subject:* [asterisk-users] Zap Codec

Is there a way to force Zap channels to only use ulaw, and not even
attempt g729 negotiation?



My polycom 550 has G729,ulaw as priority, the Zap always fails b/c I?m
not licensed for the codec on the asterisk box.



------------------------------------------------------------------------

This e-mail, facsimile, or letter and any files or attachments
transmitted with it contains information that is confidential and
privileged. This information is intended only for the use of the
individual(s) and entity(ies) to whom it is addressed. If you are the
intended recipient, further disclosures are prohibited without proper
authorization. If you are not the intended recipient, any disclosure,
copying, printing, or use of this information is strictly prohibited and
possibly a violation of federal or state law and regulations. If you
have received this information in error, please notify Texas Health
Management Group immediately at 1-817-310-4999. Texas Health Management
Group, its subsidiaries, and affiliates hereby claim all applicable
privileges related to this information.


------------------------------------------------------------------------
This e-mail, facsimile, or letter and any files or attachments
transmitted with it contains information that is confidential and
privileged. This information is intended only for the use of the
individual(s) and entity(ies) to whom it is addressed. If you are the
intended recipient, further disclosures are prohibited without proper
authorization. If you are not the intended recipient, any disclosure,
copying, printing, or use of this information is strictly prohibited and
possibly a violation of federal or state law and regulations. If you
have received this information in error, please notify Texas Health
Management Group immediately at 1-817-310-4999. Texas Health Management
Group, its subsidiaries, and affiliates hereby claim all applicable
privileges related to this information.


------------------------------------------------------------------------

_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

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


--
Consulting for Asterisk, Polycom, Sangoma, Digium, Cisco, LAN, WAN, QoS,
T-1, PRI, Frame Relay, Linux, and network design. Based near
Birmingham, AL. Now accepting clients worldwide.
Back to top
jmann at txhmg.com
Guest





PostPosted: Tue Apr 15, 2008 8:13 am    Post subject: [asterisk-users] Zap Codec Reply with quote

So in other words, if I have G729 enabled on the phones, I must get G729 licenses to use Zap channels. Otherwise I have to use ULAW for everything?

I fail to understand why it'd be difficult to do codec negotiation on SIP-ZAP calls, Zap sends that it only supports ulaw, if the phone doesn't then the call is cancelled or forwarded to logic to translate.

I realize G729 is fairly cheap, but it's useless server overhead when the phone supports the codec it needs natively.

Is there any dialplan logic that can coerce the transaction to be ulaw only? Setting something in the SIP header perhaps?
-----Original Message-----
From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Eric Wieling
Sent: Tuesday, April 15, 2008 8:05 AM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] Zap Codec

The PSTN only allows ulaw or alaw (depending on your location). You
CANNOT send calls in any other codec over a PSTN line. Generally, if
you want to use G729 then you must buy a G729 license (with a few
exceptions).

Jeremy Mann wrote:
Quote:
But I want my polycom to attempt g729 on SIPPEER-SIPPEER calls, I only
want ulaw used when SIPPEER-ZAP is the case.



*From:* asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] *On Behalf Of *Darryl
Dunkin
*Sent:* Monday, April 14, 2008 9:01 PM
*To:* Asterisk Users Mailing List - Non-Commercial Discussion
*Subject:* Re: [asterisk-users] Zap Codec



This is SIP channel you need to limit. Forcing ulaw only, the Polycom
will fall back to ulaw.



Per peer, in your sip.conf:

disallow=all
allow=ulaw



------------------------------------------------------------------------

*From:* asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] *On Behalf Of *Jeremy Mann
*Sent:* Monday, April 14, 2008 14:39
*To:* Asterisk Users Mailing List - Non-Commercial Discussion
*Subject:* [asterisk-users] Zap Codec

Is there a way to force Zap channels to only use ulaw, and not even
attempt g729 negotiation?



My polycom 550 has G729,ulaw as priority, the Zap always fails b/c I'm
not licensed for the codec on the asterisk box.



------------------------------------------------------------------------

This e-mail, facsimile, or letter and any files or attachments
transmitted with it contains information that is confidential and
privileged. This information is intended only for the use of the
individual(s) and entity(ies) to whom it is addressed. If you are the
intended recipient, further disclosures are prohibited without proper
authorization. If you are not the intended recipient, any disclosure,
copying, printing, or use of this information is strictly prohibited and
possibly a violation of federal or state law and regulations. If you
have received this information in error, please notify Texas Health
Management Group immediately at 1-817-310-4999. Texas Health Management
Group, its subsidiaries, and affiliates hereby claim all applicable
privileges related to this information.


------------------------------------------------------------------------
This e-mail, facsimile, or letter and any files or attachments
transmitted with it contains information that is confidential and
privileged. This information is intended only for the use of the
individual(s) and entity(ies) to whom it is addressed. If you are the
intended recipient, further disclosures are prohibited without proper
authorization. If you are not the intended recipient, any disclosure,
copying, printing, or use of this information is strictly prohibited and
possibly a violation of federal or state law and regulations. If you
have received this information in error, please notify Texas Health
Management Group immediately at 1-817-310-4999. Texas Health Management
Group, its subsidiaries, and affiliates hereby claim all applicable
privileges related to this information.


------------------------------------------------------------------------

_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

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


--
Consulting for Asterisk, Polycom, Sangoma, Digium, Cisco, LAN, WAN, QoS,
T-1, PRI, Frame Relay, Linux, and network design. Based near
Birmingham, AL. Now accepting clients worldwide.
_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

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

This e-mail, facsimile, or letter and any files or attachments transmitted with it contains information that is confidential and privileged. This information is intended only for the use of the individual(s) and entity(ies) to whom it is addressed. If you are the intended recipient, further disclosures are prohibited without proper authorization. If you are not the intended recipient, any disclosure, copying, printing, or use of this information is strictly prohibited and possibly a violation of federal or state law and regulations. If you have received this information in error, please notify Texas Health Management Group immediately at 1-817-310-4999. Texas Health Management Group, its subsidiaries, and affiliates hereby claim all applicable privileges related to this information.
Back to top
eric at fnords.org
Guest





PostPosted: Tue Apr 15, 2008 8:47 am    Post subject: [asterisk-users] Zap Codec Reply with quote

If you are talking between two g729 endpoints, the Asterisk overhead is
very small.

Jeremy Mann wrote:
Quote:
So in other words, if I have G729 enabled on the phones, I must get G729 licenses to use Zap channels. Otherwise I have to use ULAW for everything?

I fail to understand why it'd be difficult to do codec negotiation on SIP-ZAP calls, Zap sends that it only supports ulaw, if the phone doesn't then the call is cancelled or forwarded to logic to translate.

I realize G729 is fairly cheap, but it's useless server overhead when the phone supports the codec it needs natively.

Is there any dialplan logic that can coerce the transaction to be ulaw only? Setting something in the SIP header perhaps?
-----Original Message-----
From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Eric Wieling
Sent: Tuesday, April 15, 2008 8:05 AM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] Zap Codec

The PSTN only allows ulaw or alaw (depending on your location). You
CANNOT send calls in any other codec over a PSTN line. Generally, if
you want to use G729 then you must buy a G729 license (with a few
exceptions).

Jeremy Mann wrote:
Quote:
But I want my polycom to attempt g729 on SIPPEER-SIPPEER calls, I only
want ulaw used when SIPPEER-ZAP is the case.



*From:* asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] *On Behalf Of *Darryl
Dunkin
*Sent:* Monday, April 14, 2008 9:01 PM
*To:* Asterisk Users Mailing List - Non-Commercial Discussion
*Subject:* Re: [asterisk-users] Zap Codec



This is SIP channel you need to limit. Forcing ulaw only, the Polycom
will fall back to ulaw.



Per peer, in your sip.conf:

disallow=all
allow=ulaw



------------------------------------------------------------------------

*From:* asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] *On Behalf Of *Jeremy Mann
*Sent:* Monday, April 14, 2008 14:39
*To:* Asterisk Users Mailing List - Non-Commercial Discussion
*Subject:* [asterisk-users] Zap Codec

Is there a way to force Zap channels to only use ulaw, and not even
attempt g729 negotiation?



My polycom 550 has G729,ulaw as priority, the Zap always fails b/c I'm
not licensed for the codec on the asterisk box.



------------------------------------------------------------------------

This e-mail, facsimile, or letter and any files or attachments
transmitted with it contains information that is confidential and
privileged. This information is intended only for the use of the
individual(s) and entity(ies) to whom it is addressed. If you are the
intended recipient, further disclosures are prohibited without proper
authorization. If you are not the intended recipient, any disclosure,
copying, printing, or use of this information is strictly prohibited and
possibly a violation of federal or state law and regulations. If you
have received this information in error, please notify Texas Health
Management Group immediately at 1-817-310-4999. Texas Health Management
Group, its subsidiaries, and affiliates hereby claim all applicable
privileges related to this information.


------------------------------------------------------------------------
This e-mail, facsimile, or letter and any files or attachments
transmitted with it contains information that is confidential and
privileged. This information is intended only for the use of the
individual(s) and entity(ies) to whom it is addressed. If you are the
intended recipient, further disclosures are prohibited without proper
authorization. If you are not the intended recipient, any disclosure,
copying, printing, or use of this information is strictly prohibited and
possibly a violation of federal or state law and regulations. If you
have received this information in error, please notify Texas Health
Management Group immediately at 1-817-310-4999. Texas Health Management
Group, its subsidiaries, and affiliates hereby claim all applicable
privileges related to this information.


------------------------------------------------------------------------

_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

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


--
Consulting for Asterisk, Polycom, Sangoma, Digium, Cisco, LAN, WAN, QoS,
T-1, PRI, Frame Relay, Linux, and network design. Based near
Birmingham, AL. Now accepting clients worldwide.


_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

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

This e-mail, facsimile, or letter and any files or attachments transmitted with it contains information that is confidential and privileged. This information is intended only for the use of the individual(s) and entity(ies) to whom it is addressed. If you are the intended recipient, further disclosures are prohibited without proper authorization. If you are not the intended recipient, any disclosure, copying, printing, or use of this information is strictly prohibited and possibly a violation of federal or state law and regulations. If you have received this information in error, please notify Texas Health Management Group immediately at 1-817-310-4999. Texas Health Management Group, its subsidiaries, and affiliates hereby claim all applicable privileges related to this information.

_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

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



--
Consulting for Asterisk, Polycom, Sangoma, Digium, Cisco, LAN, WAN, QoS,
T-1, PRI, Frame Relay, Linux, and network design. Based near
Birmingham, AL. Now accepting clients worldwide.
Back to top
tilghman at mail.jeffa...
Guest





PostPosted: Tue Apr 15, 2008 9:34 am    Post subject: [asterisk-users] Zap Codec Reply with quote

On Tuesday 15 April 2008 07:40:47 Jeremy Mann wrote:
Quote:
But I want my polycom to attempt g729 on SIPPEER-SIPPEER calls, I only want
ulaw used when SIPPEER-ZAP is the case.

Set(_SIP_CODEC=ulaw)
Dial(Zap/g0/...)

--
Tilghman
Back to top
eric at fnords.org
Guest





PostPosted: Tue Apr 15, 2008 9:42 am    Post subject: [asterisk-users] Zap Codec Reply with quote

That would work just spiffy if you are calling another SIP device, but
by the time the call gets to that point in the dialplan the codec of the
originating device has already been chosen and set in stone.

Tilghman Lesher wrote:
Quote:
On Tuesday 15 April 2008 07:40:47 Jeremy Mann wrote:
Quote:
But I want my polycom to attempt g729 on SIPPEER-SIPPEER calls, I only want
ulaw used when SIPPEER-ZAP is the case.

Set(_SIP_CODEC=ulaw)
Dial(Zap/g0/...)


--
Consulting for Asterisk, Polycom, Sangoma, Digium, Cisco, LAN, WAN, QoS,
T-1, PRI, Frame Relay, Linux, and network design. Based near
Birmingham, AL. Now accepting clients worldwide.
Back to top
jmann at txhmg.com
Guest





PostPosted: Tue Apr 15, 2008 9:51 am    Post subject: [asterisk-users] Zap Codec Reply with quote

Sadly you are correct:
-- Executing [8173104999 at from-sip:4] Set("SIP/156-083514c0", "_SIP_CODEC=ulaw") in new stack
-- Executing [8173104999 at from-sip:5] NoOp("SIP/156-083514c0", "4") in new stack
-- Executing [8173104999 at from-sip:6] NoOp("SIP/156-083514c0", """) in new stack
-- Executing [8173104999 at from-sip:7] Dial("SIP/156-083514c0", "") in new stack
[Apr 15 09:51:25] WARNING[17434]: channel.c:3265 ast_request: No translator path exists for channel type Zap (native 76) to 256
[Apr 15 09:51:25] WARNING[17434]: app_dial.c:1191 dial_exec_full: Unable to create channel of type 'Zap' (cause 58 - Bearer capability not available)
== Everyone is busy/congested at this time (1:0/0/1)
-- Executing [8173104999 at from-sip:8] Hangup("SIP/156-083514c0", "") in new stack

-----Original Message-----
From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Eric Wieling
Sent: Tuesday, April 15, 2008 9:43 AM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] Zap Codec

That would work just spiffy if you are calling another SIP device, but
by the time the call gets to that point in the dialplan the codec of the
originating device has already been chosen and set in stone.

Tilghman Lesher wrote:
Quote:
On Tuesday 15 April 2008 07:40:47 Jeremy Mann wrote:
Quote:
But I want my polycom to attempt g729 on SIPPEER-SIPPEER calls, I only want
ulaw used when SIPPEER-ZAP is the case.

Set(_SIP_CODEC=ulaw)
Dial(Zap/g0/...)


--
Consulting for Asterisk, Polycom, Sangoma, Digium, Cisco, LAN, WAN, QoS,
T-1, PRI, Frame Relay, Linux, and network design. Based near
Birmingham, AL. Now accepting clients worldwide.

_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

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

This e-mail, facsimile, or letter and any files or attachments transmitted with it contains information that is confidential and privileged. This information is intended only for the use of the individual(s) and entity(ies) to whom it is addressed. If you are the intended recipient, further disclosures are prohibited without proper authorization. If you are not the intended recipient, any disclosure, copying, printing, or use of this information is strictly prohibited and possibly a violation of federal or state law and regulations. If you have received this information in error, please notify Texas Health Management Group immediately at 1-817-310-4999. Texas Health Management Group, its subsidiaries, and affiliates hereby claim all applicable privileges related to this information.
Back to top
eric at fnords.org
Guest





PostPosted: Tue Apr 15, 2008 10:14 am    Post subject: [asterisk-users] Zap Codec Reply with quote

If you want to get a G729 call to go via Zap you must purchase a G729
license. No amount of discussion is going to change that.

Jeremy Mann wrote:
Quote:
Sadly you are correct:


-- Executing [8173104999 at from-sip:4] Set("SIP/156-083514c0", "_SIP_CODEC=ulaw") in new stack
-- Executing [8173104999 at from-sip:5] NoOp("SIP/156-083514c0", "4") in new stack
-- Executing [8173104999 at from-sip:6] NoOp("SIP/156-083514c0", """) in new stack
-- Executing [8173104999 at from-sip:7] Dial("SIP/156-083514c0", "") in new stack
[Apr 15 09:51:25] WARNING[17434]: channel.c:3265 ast_request: No translator path exists for channel type Zap (native 76) to 256
[Apr 15 09:51:25] WARNING[17434]: app_dial.c:1191 dial_exec_full: Unable to create channel of type 'Zap' (cause 58 - Bearer capability not available)
== Everyone is busy/congested at this time (1:0/0/1)
-- Executing [8173104999 at from-sip:8] Hangup("SIP/156-083514c0", "") in new stack

-----Original Message-----
From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Eric Wieling
Sent: Tuesday, April 15, 2008 9:43 AM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] Zap Codec

That would work just spiffy if you are calling another SIP device, but
by the time the call gets to that point in the dialplan the codec of the
originating device has already been chosen and set in stone.

Tilghman Lesher wrote:
Quote:
On Tuesday 15 April 2008 07:40:47 Jeremy Mann wrote:
Quote:
But I want my polycom to attempt g729 on SIPPEER-SIPPEER calls, I only want
ulaw used when SIPPEER-ZAP is the case.
Set(_SIP_CODEC=ulaw)
Dial(Zap/g0/...)


--
Consulting for Asterisk, Polycom, Sangoma, Digium, Cisco, LAN, WAN, QoS,
T-1, PRI, Frame Relay, Linux, and network design. Based near
Birmingham, AL. Now accepting clients worldwide.

_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

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

This e-mail, facsimile, or letter and any files or attachments transmitted with it contains information that is confidential and privileged. This information is intended only for the use of the individual(s) and entity(ies) to whom it is addressed. If you are the intended recipient, further disclosures are prohibited without proper authorization. If you are not the intended recipient, any disclosure, copying, printing, or use of this information is strictly prohibited and possibly a violation of federal or state law and regulations. If you have received this information in error, please notify Texas Health Management Group immediately at 1-817-310-4999. Texas Health Management Group, its subsidiaries, and affiliates hereby claim all applicable privileges related to this information.

_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

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



--
Consulting for Asterisk, Polycom, Sangoma, Digium, Cisco, LAN, WAN, QoS,
T-1, PRI, Frame Relay, Linux, and network design. Based near
Birmingham, AL. Now accepting clients worldwide.
Back to top
jmann at txhmg.com
Guest





PostPosted: Tue Apr 15, 2008 10:24 am    Post subject: [asterisk-users] Zap Codec Reply with quote

I guess that's my frustration, I don't want it g729, I want it ulaw, I just wish Zap did codec negotiation from the client. It'd be a nice option instead of automatically trying to translate if it's not ulaw. Could save some processor overhead(obviously at the expense of bandwidth).

-----Original Message-----
From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Eric Wieling
Sent: Tuesday, April 15, 2008 10:15 AM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] Zap Codec

If you want to get a G729 call to go via Zap you must purchase a G729
license. No amount of discussion is going to change that.

Jeremy Mann wrote:
Quote:
Sadly you are correct:


-- Executing [8173104999 at from-sip:4] Set("SIP/156-083514c0", "_SIP_CODEC=ulaw") in new stack
-- Executing [8173104999 at from-sip:5] NoOp("SIP/156-083514c0", "4") in new stack
-- Executing [8173104999 at from-sip:6] NoOp("SIP/156-083514c0", """) in new stack
-- Executing [8173104999 at from-sip:7] Dial("SIP/156-083514c0", "") in new stack
[Apr 15 09:51:25] WARNING[17434]: channel.c:3265 ast_request: No translator path exists for channel type Zap (native 76) to 256
[Apr 15 09:51:25] WARNING[17434]: app_dial.c:1191 dial_exec_full: Unable to create channel of type 'Zap' (cause 58 - Bearer capability not available)
== Everyone is busy/congested at this time (1:0/0/1)
-- Executing [8173104999 at from-sip:8] Hangup("SIP/156-083514c0", "") in new stack

-----Original Message-----
From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Eric Wieling
Sent: Tuesday, April 15, 2008 9:43 AM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] Zap Codec

That would work just spiffy if you are calling another SIP device, but
by the time the call gets to that point in the dialplan the codec of the
originating device has already been chosen and set in stone.

Tilghman Lesher wrote:
Quote:
On Tuesday 15 April 2008 07:40:47 Jeremy Mann wrote:
Quote:
But I want my polycom to attempt g729 on SIPPEER-SIPPEER calls, I only want
ulaw used when SIPPEER-ZAP is the case.
Set(_SIP_CODEC=ulaw)
Dial(Zap/g0/...)


--
Consulting for Asterisk, Polycom, Sangoma, Digium, Cisco, LAN, WAN, QoS,
T-1, PRI, Frame Relay, Linux, and network design. Based near
Birmingham, AL. Now accepting clients worldwide.

_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

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

This e-mail, facsimile, or letter and any files or attachments transmitted with it contains information that is confidential and privileged. This information is intended only for the use of the individual(s) and entity(ies) to whom it is addressed. If you are the intended recipient, further disclosures are prohibited without proper authorization. If you are not the intended recipient, any disclosure, copying, printing, or use of this information is strictly prohibited and possibly a violation of federal or state law and regulations. If you have received this information in error, please notify Texas Health Management Group immediately at 1-817-310-4999. Texas Health Management Group, its subsidiaries, and affiliates hereby claim all applicable privileges related to this information.

_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

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



--
Consulting for Asterisk, Polycom, Sangoma, Digium, Cisco, LAN, WAN, QoS,
T-1, PRI, Frame Relay, Linux, and network design. Based near
Birmingham, AL. Now accepting clients worldwide.

_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

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

This e-mail, facsimile, or letter and any files or attachments transmitted with it contains information that is confidential and privileged. This information is intended only for the use of the individual(s) and entity(ies) to whom it is addressed. If you are the intended recipient, further disclosures are prohibited without proper authorization. If you are not the intended recipient, any disclosure, copying, printing, or use of this information is strictly prohibited and possibly a violation of federal or state law and regulations. If you have received this information in error, please notify Texas Health Management Group immediately at 1-817-310-4999. Texas Health Management Group, its subsidiaries, and affiliates hereby claim all applicable privileges related to this information.
Back to top
ddunkin at netos.net
Guest





PostPosted: Tue Apr 15, 2008 1:37 pm    Post subject: [asterisk-users] Zap Codec Reply with quote

Asterisk builds two channels and bridges them together. If the codecs
mis-match then it must transcode, the negotiation on the Zap end is done
seperately from the SIP end, so it does not care what your handset
decided on.

If you want ulaw, use ulaw, not g729 (on any call leg). You won't be
able to mix and match codecs between calls, choose one for all calls and
stick with it.

-----Original Message-----
From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Jeremy
Mann
Sent: Tuesday, April 15, 2008 08:24
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] Zap Codec

I guess that's my frustration, I don't want it g729, I want it ulaw, I
just wish Zap did codec negotiation from the client. It'd be a nice
option instead of automatically trying to translate if it's not ulaw.
Could save some processor overhead(obviously at the expense of
bandwidth).

-----Original Message-----
From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Eric
Wieling
Sent: Tuesday, April 15, 2008 10:15 AM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] Zap Codec

If you want to get a G729 call to go via Zap you must purchase a G729
license. No amount of discussion is going to change that.

Jeremy Mann wrote:
Quote:
Sadly you are correct:


-- Executing [8173104999 at from-sip:4] Set("SIP/156-083514c0",
"_SIP_CODEC=ulaw") in new stack
Quote:
-- Executing [8173104999 at from-sip:5] NoOp("SIP/156-083514c0", "4")
in new stack
Quote:
-- Executing [8173104999 at from-sip:6] NoOp("SIP/156-083514c0", """)
in new stack
Quote:
-- Executing [8173104999 at from-sip:7] Dial("SIP/156-083514c0", "")
in new stack
Quote:
[Apr 15 09:51:25] WARNING[17434]: channel.c:3265 ast_request: No
translator path exists for channel type Zap (native 76) to 256
Quote:
[Apr 15 09:51:25] WARNING[17434]: app_dial.c:1191 dial_exec_full:
Unable to create channel of type 'Zap' (cause 58 - Bearer capability not
available)
Quote:
== Everyone is busy/congested at this time (1:0/0/1)
-- Executing [8173104999 at from-sip:8] Hangup("SIP/156-083514c0",
"") in new stack
Quote:

-----Original Message-----
From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Eric
Wieling
Quote:
Sent: Tuesday, April 15, 2008 9:43 AM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] Zap Codec

That would work just spiffy if you are calling another SIP device, but
by the time the call gets to that point in the dialplan the codec of
the
Quote:
originating device has already been chosen and set in stone.

Tilghman Lesher wrote:
Quote:
On Tuesday 15 April 2008 07:40:47 Jeremy Mann wrote:
Quote:
But I want my polycom to attempt g729 on SIPPEER-SIPPEER calls, I
only want
Quote:
Quote:
Quote:
ulaw used when SIPPEER-ZAP is the case.
Set(_SIP_CODEC=ulaw)
Dial(Zap/g0/...)


--
Consulting for Asterisk, Polycom, Sangoma, Digium, Cisco, LAN, WAN,
QoS,
Quote:
T-1, PRI, Frame Relay, Linux, and network design. Based near
Birmingham, AL. Now accepting clients worldwide.

_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

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

This e-mail, facsimile, or letter and any files or attachments
transmitted with it contains information that is confidential and
privileged. This information is intended only for the use of the
individual(s) and entity(ies) to whom it is addressed. If you are the
intended recipient, further disclosures are prohibited without proper
authorization. If you are not the intended recipient, any disclosure,
copying, printing, or use of this information is strictly prohibited and
possibly a violation of federal or state law and regulations. If you
have received this information in error, please notify Texas Health
Management Group immediately at 1-817-310-4999. Texas Health Management
Group, its subsidiaries, and affiliates hereby claim all applicable
privileges related to this information.
Quote:

_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

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



--
Consulting for Asterisk, Polycom, Sangoma, Digium, Cisco, LAN, WAN, QoS,
T-1, PRI, Frame Relay, Linux, and network design. Based near
Birmingham, AL. Now accepting clients worldwide.

_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

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

This e-mail, facsimile, or letter and any files or attachments
transmitted with it contains information that is confidential and
privileged. This information is intended only for the use of the
individual(s) and entity(ies) to whom it is addressed. If you are the
intended recipient, further disclosures are prohibited without proper
authorization. If you are not the intended recipient, any disclosure,
copying, printing, or use of this information is strictly prohibited and
possibly a violation of federal or state law and regulations. If you
have received this information in error, please notify Texas Health
Management Group immediately at 1-817-310-4999. Texas Health Management
Group, its subsidiaries, and affiliates hereby claim all applicable
privileges related to this information.

_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

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






PostPosted: Tue Apr 15, 2008 5:37 pm    Post subject: [asterisk-users] Zap Codec Reply with quote

In the sip peer definition,

disallow=all
allow=g729
allow=ulaw

SHOULD work. Asterisk can't transcode g729, so it should fall on ulaw
for the ZAP calls. But, when your polycoms talk with each other, as
long as all necessary REINVITEs happen, they should use the 729 codec I
believe. Remember however, that many options to the Dial application,
like t,w,m,k (or so) REQURE asterisk to remain in the media path.

moj

Jeremy Mann wrote:
Quote:
Is there a way to force Zap channels to only use ulaw, and not even attempt g729 negotiation?

My polycom 550 has G729,ulaw as priority, the Zap always fails b/c I'm not licensed for the codec on the asterisk box.

________________________________
This e-mail, facsimile, or letter and any files or attachments transmitted with it contains information that is confidential and privileged. This information is intended only for the use of the individual(s) and entity(ies) to whom it is addressed. If you are the intended recipient, further disclosures are prohibited without proper authorization. If you are not the intended recipient, any disclosure, copying, printing, or use of this information is strictly prohibited and possibly a violation of federal or state law and regulations. If you have received this information in error, please notify Texas Health Management Group immediately at 1-817-310-4999. Texas Health Management Group, its subsidiaries, and affiliates hereby claim all applicable privileges related to this information.


------------------------------------------------------------------------

_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

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

*Mojo Wentworth*
HORAN & COMPANY, LLC
403 Lincoln Street, Suite 210
Sitka, AK 99835
(907) 747-6666
(907) 747-7417 - Fax
mojo at horanappraisals.com
Back to top
ex.vitorino at gmail.com
Guest





PostPosted: Tue Apr 15, 2008 7:35 pm    Post subject: [asterisk-users] Zap Codec Reply with quote

On Tue, Apr 15, 2008 at 11:37 PM, Mojo with Horan & Company, LLC
<mojo at horanappraisals.com> wrote:
Quote:
In the sip peer definition,

disallow=all
allow=g729
allow=ulaw

SHOULD work. Asterisk can't transcode g729, so it should fall on ulaw
for the ZAP calls. But, when your polycoms talk with each other, as
long as all necessary REINVITEs happen, they should use the 729 codec I
believe. Remember however, that many options to the Dial application,
like t,w,m,k (or so) REQURE asterisk to remain in the media path.

moj

AFAICT, I say that in this case this will not work... Very unfortunatelly.
It's related to the way the current asterisk versions behave regarding
codec negotiation / renegotiation.

Your sip.conf entry will have the phone-asterisk leg be g729 and the other
leg, to the PSTN, will be a/u-law. When bridging, asterisk is not clever
enough (yet!) to renegotiate the SIP leg back to a/u-law and either a)
it transcodes or b) the call fails if no transcoder is available...

I've given this issue some testing with no sucessful results in the
recent past... (check last two/three months list archives)
Asterisk really needs a revamped media renegotiation algorithm !

Will we get one in 1.6 ?!... I guess not. Again, unfortunatelly, as this
is a very core, very important issue. (feel free to correct me and give
me the good news !!!)

Cheers,
--
exvito
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services