VoIP Mailing List Archives
Mailing list archives for the VoIP community |
|
View previous topic :: View next topic |
Author |
Message |
joshdmetzger at gmail.com Guest
|
Posted: Thu May 08, 2014 9:06 am Post subject: [asterisk-users] Multicast RTP |
|
|
I'm currently working with Asterisk 11.8.1 trying to get Multicast RTP working (it's not) with some Polycom phones, and I'm really trying to determine if Asterisk or the phones are the issue. I THINK it's Asterisk...
In extensions.conf I have a simple: "Page(MulticastRTP/basic/x.x.x.x:xxxx) line, and when I dial that extension I get:
-- Called MulticastRTP/basic/x.x.x.x:5555
-- MulticastRTP/0x7f8b4000f898 answered SIP/XXXXXXX-0000004c
After connecting and hearing the "beep" the line stays open and I can talk and press buttons and so on, but the phones aren't getting anything. I ran "rtp set debug on" and if I call extension to extension I see all of the "got RTP packet from" and "Sent RTP packet to" messages as expected, but doing the same thing when calling my Multicast Page extension only shows me "Got RTP packet from" messages. Shouldn't I see the "Sent RTP packet to" messages with the Multicast address/port displayed? I've also run a wireshark capture and all I see is the RTP stream from my phone to the server - nothing going back out. What am I missing, here?
Thanks,
Josh |
|
Back to top |
|
|
kevin.larsen at pionee... Guest
|
Posted: Thu May 08, 2014 9:23 am Post subject: [asterisk-users] Multicast RTP |
|
|
Quote: | From: Josh Metzger <joshdmetzger@gmail.com>
|
Quote: | I'm currently working with Asterisk 11.8.1 trying to get Multicast
RTP working (it's not) with some Polycom phones, and I'm really
trying to determine if Asterisk or the phones are the issue. I
THINK it's Asterisk...
|
Quote: | In extensions.conf I have a simple: "Page(MulticastRTP/basic/
x.x.x.x:xxxx) line, and when I dial that extension I get:
-- Called MulticastRTP/basic/x.x.x.x:
5555
-- MulticastRTP/0x7f8b4000f898 answered SIP/XXXXXXX-0000004c
|
Quote: | After connecting and hearing the "beep" the line stays open and I
can talk and press buttons and so on, but the phones aren't getting
anything. I ran "rtp set debug on" and if I call extension to
extension I see all of the "got RTP packet from" and "Sent RTP
packet to" messages as expected, but doing the same thing when
calling my Multicast Page extension only shows me "Got RTP packet
from" messages. Shouldn't I see the "Sent RTP packet to" messages
with the Multicast address/port displayed? I've also run a
wireshark capture and all I see is the RTP stream from my phone to
the server - nothing going back out. What am I missing, here?
|
See here: http://community.polycom.com/t5/VoIP/Asterisk-1-8-Multicast/td-p/10918
It refers to Asterisk 1.8, but the situation remains the same. Polycom phones, to my knowledge, do not work with any kind of multicast stream that is supported by Asterisk. They need the whole SIP signalling to set up the call. We use Polycom phones and the way we worked it out was to build a dialgroup with all the active phones and then page that dialgroup.
Here is the code I am using:
exten => s,1,SIPAddHeader(Alert-Info: Ring Answer)
same => n,Gosub(sub_active_phones,${EXTEN},1(page))
same => n,Set(CALLERID(name)=Emergency Page)
same => n,Page(${DIALGROUP(page)},is)
same => n,Hangup()
The sub-routine I call goes through all our extensions and builds a dialgroup of only those that are currently reachable and not on a call.
On the Polycom side, they are set to auto answer when they see the Alert-Info: Ring Answer header. Yes, this does mean that I am generating one call for every phone I am paging and yes it is less ideal (by far) than using multicast rtp. We did tests to determine that in an emergency it put an acceptable load on Asterisk and that it wouldn't cause it all to crash and burn. |
|
Back to top |
|
|
joshdmetzger at gmail.com Guest
|
Posted: Thu May 08, 2014 3:13 pm Post subject: [asterisk-users] Multicast RTP |
|
|
On Thu, May 8, 2014 at 10:22 AM, Kevin Larsen <kevin.larsen@pioneerballoon.com (kevin.larsen@pioneerballoon.com)> wrote:
Quote: | > From: Josh Metzger <joshdmetzger@gmail.com (joshdmetzger@gmail.com)>
Quote: | I'm currently working with Asterisk 11.8.1 trying to get Multicast
RTP working (it's not) with some Polycom phones, and I'm really
trying to determine if Asterisk or the phones are the issue. I
THINK it's Asterisk...
|
Quote: | In extensions.conf I have a simple: "Page(MulticastRTP/basic/
x.x.x.x:xxxx) line, and when I dial that extension I get:
-- Called MulticastRTP/basic/x.x.x.x:
5555
-- MulticastRTP/0x7f8b4000f898 answered SIP/XXXXXXX-0000004c
|
Quote: | After connecting and hearing the "beep" the line stays open and I
can talk and press buttons and so on, but the phones aren't getting
anything. I ran "rtp set debug on" and if I call extension to
extension I see all of the "got RTP packet from" and "Sent RTP
packet to" messages as expected, but doing the same thing when
calling my Multicast Page extension only shows me "Got RTP packet
from" messages. Shouldn't I see the "Sent RTP packet to" messages
with the Multicast address/port displayed? I've also run a
wireshark capture and all I see is the RTP stream from my phone to
the server - nothing going back out. What am I missing, here?
|
See here: http://community.polycom.com/t5/VoIP/Asterisk-1-8-Multicast/td-p/10918
It refers to Asterisk 1.8, but the situation remains the same. Polycom phones, to my knowledge, do not work with any kind of multicast stream that is supported by Asterisk. They need the whole SIP signalling to set up the call. We use Polycom phones and the way we worked it out was to build a dialgroup with all the active phones and then page that dialgroup.
Here is the code I am using:
exten => s,1,SIPAddHeader(Alert-Info: Ring Answer)
same => n,Gosub(sub_active_phones,${EXTEN},1(page))
same => n,Set(CALLERID(name)=Emergency Page)
same => n,Page(${DIALGROUP(page)},is)
same => n,Hangup()
The sub-routine I call goes through all our extensions and builds a dialgroup of only those that are currently reachable and not on a call.
On the Polycom side, they are set to auto answer when they see the Alert-Info: Ring Answer header. Yes, this does mean that I am generating one call for every phone I am paging and yes it is less ideal (by far) than using multicast rtp. We did tests to determine that in an emergency it put an acceptable load on Asterisk and that it wouldn't cause it all to crash and burn. |
Interesting. I thought the latest Polycom software supported multicast, but that Polycom forum link says otherwise. What DOES work is using the built-in paging feature, so maybe the solution, in this case, is to do it without Asterisk at all. We currently have a setup similar to what you have which works, but isn't as optimal as doing it multicast (lots of phones leads to the message getting chopped for some phones). In any case, thanks for the info! |
|
Back to top |
|
|
EWieling at nyigc.com Guest
|
Posted: Thu May 08, 2014 3:17 pm Post subject: [asterisk-users] Multicast RTP |
|
|
I believe Polycom phones support Multicast for paging and intercom without any Asterisk involvement. Check the Admin Guide.
-----Original Message-----
From: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Josh Metzger
Sent: Thursday, May 08, 2014 4:13 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] Multicast RTP
On Thu, May 8, 2014 at 10:22 AM, Kevin Larsen <kevin.larsen@pioneerballoon.com> wrote:
> From: Josh Metzger <joshdmetzger@gmail.com>
> I'm currently working with Asterisk 11.8.1 trying to get Multicast
> RTP working (it's not) with some Polycom phones, and I'm really
> trying to determine if Asterisk or the phones are the issue. I
> THINK it's Asterisk...
> In extensions.conf I have a simple: "Page(MulticastRTP/basic/
> x.x.x.x:xxxx) line, and when I dial that extension I get:
>
> -- Called MulticastRTP/basic/x.x.x.x:
> 5555
> -- MulticastRTP/0x7f8b4000f898 answered SIP/XXXXXXX-0000004c
> After connecting and hearing the "beep" the line stays open and I
> can talk and press buttons and so on, but the phones aren't getting
> anything. I ran "rtp set debug on" and if I call extension to
> extension I see all of the "got RTP packet from" and "Sent RTP
> packet to" messages as expected, but doing the same thing when
> calling my Multicast Page extension only shows me "Got RTP packet
> from" messages. Shouldn't I see the "Sent RTP packet to" messages
> with the Multicast address/port displayed? I've also run a
> wireshark capture and all I see is the RTP stream from my phone to
> the server - nothing going back out. What am I missing, here?
See here: http://community.polycom.com/t5/VoIP/Asterisk-1-8-Multicast/td-p/10918 <http://community.polycom.com/t5/VoIP/Asterisk-1-8-Multicast/td-p/10918>
It refers to Asterisk 1.8, but the situation remains the same. Polycom phones, to my knowledge, do not work with any kind of multicast stream that is supported by Asterisk. They need the whole SIP signalling to set up the call. We use Polycom phones and the way we worked it out was to build a dialgroup with all the active phones and then page that dialgroup.
Here is the code I am using:
exten => s,1,SIPAddHeader(Alert-Info: Ring Answer)
same => n,Gosub(sub_active_phones,${EXTEN},1(page))
same => n,Set(CALLERID(name)=Emergency Page)
same => n,Page(${DIALGROUP(page)},is)
same => n,Hangup()
The sub-routine I call goes through all our extensions and builds a dialgroup of only those that are currently reachable and not on a call.
On the Polycom side, they are set to auto answer when they see the Alert-Info: Ring Answer header. Yes, this does mean that I am generating one call for every phone I am paging and yes it is less ideal (by far) than using multicast rtp. We did tests to determine that in an emergency it put an acceptable load on Asterisk and that it wouldn't cause it all to crash and burn.
Interesting. I thought the latest Polycom software supported multicast, but that Polycom forum link says otherwise. What DOES work is using the built-in paging feature, so maybe the solution, in this case, is to do it without Asterisk at all. We currently have a setup similar to what you have which works, but isn't as optimal as doing it multicast (lots of phones leads to the message getting chopped for some phones). In any case, thanks for the info!
--
_____________________________________________________________________
-- 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 |
|
|
kevin.larsen at pionee... Guest
|
Posted: Thu May 08, 2014 3:43 pm Post subject: [asterisk-users] Multicast RTP |
|
|
Quote: | From: Josh Metzger <joshdmetzger@gmail.com>
|
Quote: | Interesting. I thought the latest Polycom software supported
multicast, but that Polycom forum link says otherwise. What DOES
work is using the built-in paging feature, so maybe the solution, in
this case, is to do it without Asterisk at all. We currently have a
setup similar to what you have which works, but isn't as optimal as
doing it multicast (lots of phones leads to the message getting
chopped for some phones). In any case, thanks for the info!
|
If I recall correctly, the only reason we didn't like the built in paging feature is that it would put a paging soft button on every phone where we enabled it. It was unacceptable to the powers that be to have that button there, but we still needed to be able to page from all the phones in an emergency. Thus we went with the Asterisk paging solution using a dialgroup. In our setup we are paging around 100 phones and everything is able to stand up to the load. A much larger setup, though, and it likely would not work as well. It does take our Asterisk server to between 40 and 60 per cent cpu usage while the paging is occurring, where it normally runs less than 5%. Audio quality remains normal. As it is emergency only, that was deemed acceptable. |
|
Back to top |
|
|
joshdmetzger at gmail.com Guest
|
Posted: Fri May 09, 2014 8:11 am Post subject: [asterisk-users] Multicast RTP |
|
|
On Thu, May 8, 2014 at 4:42 PM, Kevin Larsen <kevin.larsen@pioneerballoon.com (kevin.larsen@pioneerballoon.com)> wrote:
Quote: | > From: Josh Metzger <joshdmetzger@gmail.com (joshdmetzger@gmail.com)>
If I recall correctly, the only reason we didn't like the built in paging feature is that it would put a paging soft button on every phone where we enabled it. It was unacceptable to the powers that be to have that button there, but we still needed to be able to page from all the phones in an emergency. Thus we went with the Asterisk paging solution using a dialgroup. In our setup we are paging around 100 phones and everything is able to stand up to the load. A much larger setup, though, and it likely would not work as well. It does take our Asterisk server to between 40 and 60 per cent cpu usage while the paging is occurring, where it normally runs less than 5%. Audio quality remains normal. As it is emergency only, that was deemed acceptable.
--
|
It's annoying that Polycom seems to not include obvious features like allowing someone to hide the softkey for paging so only certain phones have the ability to do it. I guess the same goes for accepting true multicast RTP. In any case, I'm at a new job and I'm thinking the Asterisk server may be a bit under-powered for paging a bit north of 100 users. This is more for day-to-day paging and not just emergencies, so it gets a bit more use, but right now I'm looking into this as something to do more than a pressing need, so maybe tweaks can be made elsewhere or hardware can/should be updated since we'll probably be sticking with the Asterisk-based solution unless I get really crazy and capture the packets the Polycoms are sending out for their paging feature and see if I can't implement that within Asterisk to have Polycom-compliant multicast. |
|
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
|