[Asterisk-Users] dlink104S->asterisk->OH323->OpenPhone

Eric Wieling eric at fnords.org
Tue Sep 23 07:17:04 MST 2003


4 = G.711 u-law
256 = G.729A audio

So what Asterisk is saying is that the H323 device is using G729 and the
MGCP device is using ulaw/G711.

Since Asterisk can't translate between those two codecs unless you have
a G729 license installed the call fails.

Do you specify the allowed codecs in your mgcp.conf file?

If the H323 device and the MGCP device both talk G729 I can't see why
Asterisk would need to transcode the CODEC part, but it might be an
issue because Asterisk is converting from H323 to MGCP.


On Tue, 2003-09-23 at 08:41, Max Speransky wrote:
> On Tue, Sep 23, 2003 at 04:27:50PM +0300, Michael Manousos wrote:
> >Max Speransky wrote:
> >>Hi
> >>
> >>A have a setup like this:
> >>
> >>dlink104S->asterisk->OH323->OpenPhone
> >>
> >>And I have a codec problem with Dlink. When I make call from OpenPhone to
> >>dlink using G711 codec all works fine, but when I set g729 coded in
> >>OpenPhone, Asterisk tell me that cannot convert audio. So I need to setup
> >
> >What are the exact messages of Asterisk?
> 
> Here it is:
> 
> *CLI> WrapH323Connection::WrapH323Connection: WrapH323Connection created.
>     -- Executing SetMusicOnHold("H323:20221", "default") in new stack
>     -- Executing ResponseTimeout("H323:20221", "20") in new stack
>     -- Set Response Timeout to 20
>     -- Executing Dial("H323:20221", "MGCP/aaln/1 at dlinkgw|20|c") in new stack
>     -- Called aaln/1 at dlinkgw
>     -- MGCP/aaln/1 at dlinkgw is ringing
>     -- MGCP/aaln/1 at dlinkgw answered H323:20221
> PAsteriskAudioDelay::PAsteriskAudioDelay: Object initialized.
> PAsteriskAudioDelay::PAsteriskAudioDelay: Object initialized.
> PAsteriskSoundChannel::PAsteriskSoundChannel: Object initialized.
> PAsteriskAudioDelay::PAsteriskAudioDelay: Object initialized.
> PAsteriskAudioDelay::PAsteriskAudioDelay: Object initialized.
> PAsteriskSoundChannel::PAsteriskSoundChannel: Object initialized.
> WARNING[1163287]: File channel.c, Line 1631 (ast_channel_make_compatible):
> No pa
> th to translate from H323:20221(256) to MGCP/aaln/1 at dlinkgw(4)
> WARNING[1163287]: File channel.c, Line 1982 (ast_channel_bridge): Can't make
> H323:20221 and MGCP/aaln/1 at dlinkgw compatible
> WARNING[1163287]: File res_parking.c, Line 209 (ast_bridge_call): Bridge
> failed
> on channels H323:20221 and MGCP/aaln/1 at dlinkgw
>   == Spawn extension (mgcp, 103, 3) exited non-zero on 'H323:20221'
> ClearCallThread::ClearCallThread: Object initialized.
>     -- Hungup 'H323:20221'
> 2:01:29.782         H225 Answer:8105018 H225    Read error (0):
> PAsteriskSoundChannel::PAsteriskSoundChannel: Object deleted.
> PAsteriskAudioDelay::PAsteriskAudioDelay: Object deleted.
> PAsteriskAudioDelay::PAsteriskAudioDelay: Object deleted.
> PAsteriskSoundChannel::PAsteriskSoundChannel: Object deleted.
> PAsteriskAudioDelay::PAsteriskAudioDelay: Object deleted.
> PAsteriskAudioDelay::PAsteriskAudioDelay: Object deleted.
> 2:01:29.853                H323 Cleaner H323    Connection
> ip$62.244.62.23:1274/
> 20221 terminated.
> WrapH323Connection::WrapH323Connection: WrapH323Connection deleted.
> ClearCallThread::ClearCallThread: Object deleted.
> 
> 
> 
> >
> >>g729 codec in dlink. I type 
> >>
> >>set coding 2 codec_type g729ab (is it similar to g729a ? )
> >>set coding 2 usage voice on
> >>set coding 2 encap rtp
> >>
> >>and nothing works ... May be somebody just configured dlink for using g729
> >>codec ? Please, help me ;)
> >>
> >
> >
> >Michael.
> >
> >_______________________________________________
> >Asterisk-Users mailing list
> >Asterisk-Users at lists.digium.com
> >http://lists.digium.com/mailman/listinfo/asterisk-users
-- 
Sample configs and more: http://www.fnords.org/~eric/asterisk/

BTEL Consulting
+1-850-484-4535 x2111 (Pensacola)
+1-504-595-3916 x2111 (New Orleans)
+1-877-677-9643 x2111 (Toll Free)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sanitizer.log
Type: text/sanitizer-log
Size: 503 bytes
Desc: not available
Url : http://lists.digium.com/pipermail/asterisk-users/attachments/20030923/10b7f90c/sanitizer.bin


More information about the asterisk-users mailing list