[asterisk-users] asterisk12.2.0 PJSIP2.2.0 codec translation problem

Rainer Piper rainer.piper at soho-piper.de
Wed May 7 00:58:37 CDT 2014


perhaps a silly question ...

if a channel switches from simple_bridge to native_bridge ... is the 
channel switching to direct_media between the endpoints ?

if so, why doesn't turn direct_media = no and 
disable_direct_media_on_nat = yes switching to native_bridge off ?

my pjsip.conf endpoint 7000 and 7001

[7000]
type=endpoint
context=outgoing
disallow=all
allow=alaw,ulaw,g722
transport=transport-udp
auth=auth7000
aors=7000
direct_media = no
disable_direct_media_on_nat = yes

[auth7000]
type=auth
auth_type=userpass
password=xxxxxxxxxxxxxxxxxxxxxxxxx
username=7000

[7000]
type=aor
max_contacts=10
qualify_frequency=60

[7001]
type=endpoint
context=outgoing
disallow=all
allow=g722,alaw,ulaw
transport=transport-udp
auth=auth7001
aors=7001
direct_media = no
disable_direct_media_on_nat = yes

[auth7001]
type=auth
auth_type=userpass
password=xxxxxxxxxxxxxxxxxxxxxxxxx
username=7001

[7001]
type=aor
max_contacts=10
qualify_frequency=60




Am 07.05.2014 07:35, schrieb Rainer Piper:
> that's funny
>
> I recompiled asterisk without bridge_native_rtp.so
> to force asterisk to go to simple_bridge and not to native_bridge...
>
> !!! AND THE CODEC TRANSLATION IN ASTERISK IS WORKING AGAIN !!! juhu
>
>
>
>
> Am 07.05.2014 07:11, schrieb Rainer Piper:
>> PS.
>>
>> if I configure both extension 7000 and 7001 to,
>>
>> disallow=all
>> allow=alaw
>> or
>> disallow=all
>> allow=g722
>>
>> everything is fine. as long as the allowed codec is equal in both 
>> extensions.
>>
>>
>>
>> Am 07.05.2014 07:00, schrieb Rainer Piper:
>>> Hi!
>>>
>>> my asterisk-12.2.0 with pjsip-2.2.0  does not translate codecs any 
>>> more. I tried every combination. silent on both sides.
>>>
>>> I compiled pjsip with no resample in pjsip.
>>> ./configure --prefix=/usr --enable-shared --disable-sound*--disable-resample*  --disable-video --disable-opencore-amr
>>> is there a way to force asterisk back to do the codec translation?
>>>
>>> Attachment:
>>> sip show channel of the calling A-Leg 7001 NativeFormats: (g722) to 
>>> the B-Leg 7000 NativeFormats: (alaw)
>>>
>>>
>>> -- 
>>> *Rainer Piper*
>>> Integration engineer
>>> Koeslinstr. 56
>>> 53123 BONN
>>> GERMANY
>>>
>>> ------------------------------------------------------------------------
>>> ------------------------------------------------------------------------
>>>
>>>
>>
>>
>> -- 
>> *Rainer Piper*
>> Integration engineer
>> Koeslinstr. 56
>> 53123 BONN
>> GERMANY
>> www.soho-piper.de <http://www.soho-piper.de>
>> ------------------------------------------------------------------------
>>
>> ------------------------------------------------------------------------
>>
>>
>
>
> -- 
>


-- 
*Rainer Piper*
Integration engineer
Koeslinstr. 56
53123 BONN
GERMANY
Phone: +49 228 97167161
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20140507/e99dca3e/attachment.html>


More information about the asterisk-users mailing list