VoIP Mailing List Archives
Mailing list archives for the VoIP community |
|
View previous topic :: View next topic |
Author |
Message |
jleed at me.com Guest
|
Posted: Wed Mar 18, 2015 7:42 am Post subject: [asterisk-users] Asterisk switching bridge to native_rtp eve |
|
|
Hey guys,
have issues with reinvite, no matter what endpoint is calling asterisk always tries switch simple_bridge to native_rtp
Bridge 0422bfa0-9d22-4bba-9108-a3f14d7d1cab: switching from simple_bridge technology to native_rtp
in endpoints table “direct_media” sets to “no” on all endpoints but it doesn’t help.
if native_rtp not work for some reason I have oneway audio. how can I fix this? if I add mix_monitor it works, but it’s not a right way to fix this issues.
Asterisk 13.2.0 |
|
Back to top |
|
|
mjordan at digium.com Guest
|
Posted: Wed Mar 18, 2015 7:48 am Post subject: [asterisk-users] Asterisk switching bridge to native_rtp eve |
|
|
On Wed, Mar 18, 2015 at 7:41 AM, Nick Awesome <jleed@me.com> wrote:
Quote: | Hey guys,
have issues with reinvite, no matter what endpoint is calling asterisk
always tries switch simple_bridge to native_rtp
Bridge 0422bfa0-9d22-4bba-9108-a3f14d7d1cab: switching from simple_bridge
technology to native_rtp
in endpoints table “direct_media” sets to “no” on all endpoints but it
doesn’t help.
if native_rtp not work for some reason I have oneway audio. how can I fix
this? if I add mix_monitor it works, but it’s not a right way to fix this
issues.
|
A native_rtp bridge is used for more than direct media. It is also
used for local native bridging, that is, when you have two RTP capable
channels in a bridge and Asterisk does not require the media to flow
through its core. The bridge then just performs a packet to packet
swap between the two RTP capable channels.
Note that on verbosity 4, Asterisk will tell you if the bridge is
locally or remotely bridging the two channels.
--
Matthew Jordan
Digium, Inc. | Director of Technology
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
Check us out at: http://digium.com & http://asterisk.org
--
_____________________________________________________________________
-- 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 |
|
Back to top |
|
|
jleed at me.com Guest
|
Posted: Wed Mar 18, 2015 9:54 am Post subject: [asterisk-users] Asterisk switching bridge to native_rtp eve |
|
|
Well, it breaks audio for all NAT endpoints, how can I fix this? Quote: | On 18 Mar 2015, at 15:48, Matthew Jordan <mjordan@digium.com (mjordan@digium.com)> wrote:
On Wed, Mar 18, 2015 at 7:41 AM, Nick Awesome <jleed@me.com (jleed@me.com)> wrote: Quote: | Hey guys,have issues with reinvite, no matter what endpoint is calling asteriskalways tries switch simple_bridge to native_rtpBridge 0422bfa0-9d22-4bba-9108-a3f14d7d1cab: switching from simple_bridgetechnology to native_rtpin endpoints table “direct_media” sets to “no” on all endpoints but itdoesn’t help.if native_rtp not work for some reason I have oneway audio. how can I fixthis? if I add mix_monitor it works, but it’s not a right way to fix thisissues. | A native_rtp bridge is used for more than direct media. It is alsoused for local native bridging, that is, when you have two RTP capablechannels in a bridge and Asterisk does not require the media to flowthrough its core. The bridge then just performs a packet to packetswap between the two RTP capable channels.Note that on verbosity 4, Asterisk will tell you if the bridge islocally or remotely bridging the two channels.-- Matthew JordanDigium, Inc. | Director of Technology445 Jan Davis Drive NW - Huntsville, AL 35806 - USACheck us out at: http://digium.com & http://asterisk.org-- _____________________________________________________________________-- 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/helloasterisk-users mailing listTo UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
|
|
|
Back to top |
|
|
mjordan at digium.com Guest
|
Posted: Wed Mar 18, 2015 10:26 am Post subject: [asterisk-users] Asterisk switching bridge to native_rtp eve |
|
|
On Wed, Mar 18, 2015 at 9:53 AM, Nick Awesome <jleed@me.com> wrote:
Quote: | Well, it breaks audio for all NAT endpoints, how can I fix this?
|
Local (packet to packet) bridging should not do that. Remote (direct
media) can do that.
Can you confirm - by looking at a verbose level 4 log - how Asterisk
is bridging the two channels?
--
Matthew Jordan
Digium, Inc. | Director of Technology
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
Check us out at: http://digium.com & http://asterisk.org
--
_____________________________________________________________________
-- 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 |
|
Back to top |
|
|
jleed at me.com Guest
|
Posted: Thu Mar 19, 2015 1:48 am Post subject: [asterisk-users] Asterisk switching bridge to native_rtp eve |
|
|
NAT endpoint calling local endpount - switching to native_rtp then no audio, both of them have direct_media=no, Verbose log:
-- Executing [99@dialmap:1] AGI("PJSIP/304-00000022", "/pbx/agi.php") in new stack
-- Launched AGI Script /pbx/agi.php
-- AGI Script Executing Application: (Dial) Options: (PJSIP/99/sip:99@192.168.1.73 (99@192.168.1.73):5060,20)
-- Called PJSIP/99/sip:99@192.168.1.73 (99@192.168.1.73):5060
-- PJSIP/99-00000023 is ringing
-- PJSIP/99-00000023 answered PJSIP/304-00000022
-- Channel PJSIP/304-00000022 joined 'simple_bridge' basic-bridge <da8840bc-9b71-4ca6-b1d8-9565bf8e5e28>
-- Channel PJSIP/99-00000023 joined 'simple_bridge' basic-bridge <da8840bc-9b71-4ca6-b1d8-9565bf8e5e28>
Quote: | Bridge da8840bc-9b71-4ca6-b1d8-9565bf8e5e28: switching from simple_bridge technology to native_rtp
Locally RTP bridged 'PJSIP/99-00000023' and 'PJSIP/304-00000022' in stack
Locally RTP bridged 'PJSIP/99-00000023' and 'PJSIP/304-00000022' in stack
0x7f4b50145420 -- Probation passed - setting RTP source address to 194.204.157.200:8972
0x7f4b5014f140 -- Probation passed - setting RTP source address to 192.168.1.73:5004
| -- Channel PJSIP/304-00000022 left 'native_rtp' basic-bridge <da8840bc-9b71-4ca6-b1d8-9565bf8e5e28>
-- Channel PJSIP/99-00000023 left 'native_rtp' basic-bridge <da8840bc-9b71-4ca6-b1d8-9565bf8e5e28>
-- <PJSIP/304-00000022>AGI Script /pbx/agi.php completed, returning 4
Quote: | On 18 Mar 2015, at 18:26, Matthew Jordan <mjordan@digium.com (mjordan@digium.com)> wrote:
On Wed, Mar 18, 2015 at 9:53 AM, Nick Awesome <jleed@me.com (jleed@me.com)> wrote: Quote: | Well, it breaks audio for all NAT endpoints, how can I fix this? | Local (packet to packet) bridging should not do that. Remote (directmedia) can do that.Can you confirm - by looking at a verbose level 4 log - how Asteriskis bridging the two channels?-- Matthew JordanDigium, Inc. | Director of Technology445 Jan Davis Drive NW - Huntsville, AL 35806 - USACheck us out at: http://digium.com & http://asterisk.org-- _____________________________________________________________________-- 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/helloasterisk-users mailing listTo UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
|
|
|
Back to top |
|
|
mjordan at digium.com Guest
|
Posted: Thu Mar 19, 2015 3:08 pm Post subject: [asterisk-users] Asterisk switching bridge to native_rtp eve |
|
|
On Thu, Mar 19, 2015 at 1:47 AM, Nick Awesome <jleed@me.com> wrote:
Quote: | NAT endpoint calling local endpount - switching to native_rtp then no audio,
both of them have direct_media=no, Verbose log:
-- Executing [99@dialmap:1] AGI("PJSIP/304-00000022", "/pbx/agi.php") in
new stack
-- Launched AGI Script /pbx/agi.php
-- AGI Script Executing Application: (Dial) Options:
(PJSIP/99/sip:99@192.168.1.73:5060,20)
-- Called PJSIP/99/sip:99@192.168.1.73:5060
-- PJSIP/99-00000023 is ringing
-- PJSIP/99-00000023 answered PJSIP/304-00000022
-- Channel PJSIP/304-00000022 joined 'simple_bridge' basic-bridge
<da8840bc-9b71-4ca6-b1d8-9565bf8e5e28>
-- Channel PJSIP/99-00000023 joined 'simple_bridge' basic-bridge
<da8840bc-9b71-4ca6-b1d8-9565bf8e5e28>
Quote: | Bridge da8840bc-9b71-4ca6-b1d8-9565bf8e5e28: switching from
| simple_bridge technology to native_rtp
Quote: | Locally RTP bridged 'PJSIP/99-00000023' and 'PJSIP/304-00000022' in
| stack
Quote: | Locally RTP bridged 'PJSIP/99-00000023' and 'PJSIP/304-00000022' in
| stack
Quote: | 0x7f4b50145420 -- Probation passed - setting RTP source address to
| 194.204.157.200:8972
Quote: | 0x7f4b5014f140 -- Probation passed - setting RTP source address to
| 192.168.1.73:5004
-- Channel PJSIP/304-00000022 left 'native_rtp' basic-bridge
<da8840bc-9b71-4ca6-b1d8-9565bf8e5e28>
-- Channel PJSIP/99-00000023 left 'native_rtp' basic-bridge
<da8840bc-9b71-4ca6-b1d8-9565bf8e5e28>
-- <PJSIP/304-00000022>AGI Script /pbx/agi.php completed, returning 4
|
Correct - and per the log, they shouldn't be in a direct media bridge:
Quote: | Locally RTP bridged 'PJSIP/99-00000023' and
| 'PJSIP/304-00000022' in stack
Quote: | Locally RTP bridged 'PJSIP/99-00000023' and
| 'PJSIP/304-00000022' in stack
Locally RTP bridged means media is still flowing through Asterisk, it
just isn't being decoded and passed through the core.
--
Matthew Jordan
Digium, Inc. | Director of Technology
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
Check us out at: http://digium.com & http://asterisk.org
--
_____________________________________________________________________
-- 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 |
|
Back to top |
|
|
jleed at me.com Guest
|
Posted: Sun Mar 22, 2015 11:43 pm Post subject: [asterisk-users] Asterisk switching bridge to native_rtp eve |
|
|
Ok, if this is normal why I have oneway audio when nat endpoint calling to local.
if mixmonitor or srtp is enabled audio is ok.
Issues with native_rtp for sure
Sent from my iPhone
Quote: | On 19 Mar 2015, at 23:08, Matthew Jordan <mjordan@digium.com> wrote:
Quote: | On Thu, Mar 19, 2015 at 1:47 AM, Nick Awesome <jleed@me.com> wrote:
NAT endpoint calling local endpount - switching to native_rtp then no audio,
both of them have direct_media=no, Verbose log:
-- Executing [99@dialmap:1] AGI("PJSIP/304-00000022", "/pbx/agi.php") in
new stack
-- Launched AGI Script /pbx/agi.php
-- AGI Script Executing Application: (Dial) Options:
(PJSIP/99/sip:99@192.168.1.73:5060,20)
-- Called PJSIP/99/sip:99@192.168.1.73:5060
-- PJSIP/99-00000023 is ringing
-- PJSIP/99-00000023 answered PJSIP/304-00000022
-- Channel PJSIP/304-00000022 joined 'simple_bridge' basic-bridge
<da8840bc-9b71-4ca6-b1d8-9565bf8e5e28>
-- Channel PJSIP/99-00000023 joined 'simple_bridge' basic-bridge
<da8840bc-9b71-4ca6-b1d8-9565bf8e5e28>
Quote: | Bridge da8840bc-9b71-4ca6-b1d8-9565bf8e5e28: switching from
| simple_bridge technology to native_rtp
Quote: | Locally RTP bridged 'PJSIP/99-00000023' and 'PJSIP/304-00000022' in
| stack
Quote: | Locally RTP bridged 'PJSIP/99-00000023' and 'PJSIP/304-00000022' in
| stack
Quote: | 0x7f4b50145420 -- Probation passed - setting RTP source address to
| 194.204.157.200:8972
Quote: | 0x7f4b5014f140 -- Probation passed - setting RTP source address to
| 192.168.1.73:5004
-- Channel PJSIP/304-00000022 left 'native_rtp' basic-bridge
<da8840bc-9b71-4ca6-b1d8-9565bf8e5e28>
-- Channel PJSIP/99-00000023 left 'native_rtp' basic-bridge
<da8840bc-9b71-4ca6-b1d8-9565bf8e5e28>
-- <PJSIP/304-00000022>AGI Script /pbx/agi.php completed, returning 4
|
Correct - and per the log, they shouldn't be in a direct media bridge:
Quote: | Locally RTP bridged 'PJSIP/99-00000023' and
| 'PJSIP/304-00000022' in stack
Quote: | Locally RTP bridged 'PJSIP/99-00000023' and
| 'PJSIP/304-00000022' in stack
Locally RTP bridged means media is still flowing through Asterisk, it
just isn't being decoded and passed through the core.
--
Matthew Jordan
Digium, Inc. | Director of Technology
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
Check us out at: http://digium.com & http://asterisk.org
--
_____________________________________________________________________
-- 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 |
|
Back to top |
|
|
|
|
|
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
|