Telium Technical Support
2018-Apr-11 01:22 UTC
[asterisk-users] Pass through registration / proxy
I need to create a SIP proxy to be placed in front of a legacy PBX. When a phone registers with the proxy, I would like Asterisk to register with the PBX behind it. (To tell the PBX to send calls to the proxy and then to the SIP phone). Can I use Asterisk to create a proxy like this? Is there a way to cause the Asterisk to register with another host when it receives a successfully registration? Thanks! -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20180410/2b7b8f21/attachment.html>
Hi You could use kamailio +asterisk On Tue, Apr 10, 2018, 9:25 PM Telium Technical Support <support at telium.ca> wrote:> I need to create a SIP proxy to be placed in front of a legacy PBX. When > a phone registers with the proxy, I would like Asterisk to register with > the PBX behind it. (To tell the PBX to send calls to the proxy and then to > the SIP phone). > > > > Can I use Asterisk to create a proxy like this? Is there a way to cause > the Asterisk to register with another host when it receives a successfully > registration? > > > > Thanks! > -- > _____________________________________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > > Check out the new Asterisk community forum at: > https://community.asterisk.org/ > > New to Asterisk? Start here: > https://wiki.asterisk.org/wiki/display/AST/Getting+Started > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20180411/63a6b9af/attachment.html>
Telium Technical Support
2018-Apr-11 12:28 UTC
[asterisk-users] Pass through registration / proxy
I?ve been tasked with building the whole thing in just Asterisk (as an exercise). Trying to figure out how/if Asterisk alone can do thi. From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Carlos Rojas Sent: Tuesday, April 10, 2018 9:30 PM To: Asterisk Users Mailing List - Non-Commercial Discussion <asterisk-users at lists.digium.com> Subject: Re: [asterisk-users] Pass through registration / proxy Hi You could use kamailio +asterisk On Tue, Apr 10, 2018, 9:25 PM Telium Technical Support <support at telium.ca <mailto:support at telium.ca> > wrote: I need to create a SIP proxy to be placed in front of a legacy PBX. When a phone registers with the proxy, I would like Asterisk to register with the PBX behind it. (To tell the PBX to send calls to the proxy and then to the SIP phone). Can I use Asterisk to create a proxy like this? Is there a way to cause the Asterisk to register with another host when it receives a successfully registration? Thanks! -- _____________________________________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- Check out the new Asterisk community forum at: https://community.asterisk.org/ New to Asterisk? Start here: https://wiki.asterisk.org/wiki/display/AST/Getting+Started asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20180411/0a830e1f/attachment.html>
On Tue, Apr 10, 2018 at 09:22:02PM -0400, Telium Technical Support wrote:> I need to create a SIP proxy to be placed in front of a legacy PBX. When a > phone registers with the proxy, I would like Asterisk to register with the > PBX behind it. (To tell the PBX to send calls to the proxy and then to the > SIP phone). > > Can I use Asterisk to create a proxy like this? Is there a way to cause the > Asterisk to register with another host when it receives a successfully > registration?You can, but maybe you should use a sip proxy (like kamailio) for this task instead of a back to back user agent like asterisk. You can listen to events triggered on registration to asterisk and with realtime intergration add the register to the PBX (or manipulate sip.conf). This still might be easier to implement compared to (for example) kamailio if you are new to that.
Telium Technical Support
2018-Apr-11 16:04 UTC
[asterisk-users] Pass through registration / proxy
OK - I'll have to rethink how to solve this problem. Maybe I made some assumptions...here's what I'm trying to accomplish: I've been given a legacy PBX with SIP capabilities. I need to have SIP phones connect to Asterisk (for other features, part of the next step) which passes the calls through to the legacy PBX. And conversely, calls to that extension number on the legacy PBX have to ring the SIP phone connected to Asterisk. Maybe proxy is the wrong word I chose. Asterisk is something like a peer to the legacy PBX. I thought about setting up individual SIP accounts on the Asterisk box to connect to the legacy PBX, or maybe a SIP trunk to the legacy PBX (assuming it can route calls through the SIP trunk to a peer to reach a phone). The legacy PBX is a Nortel in case that matters. I'm supposed to figure this out and present options but having trouble figuring out if Asterisk would be a peer, or pretend to be many sip agents registering on the legacy Sip pbx, etc. I think I'm stuck at the conceptual level. (Still a beginner in training - but having fun learning Asterisk) -----Original Message----- From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Daniel Tryba Sent: Wednesday, April 11, 2018 9:27 AM To: Asterisk Users Mailing List - Non-Commercial Discussion <asterisk-users at lists.digium.com> Subject: Re: [asterisk-users] Pass through registration / proxy On Tue, Apr 10, 2018 at 09:22:02PM -0400, Telium Technical Support wrote:> I need to create a SIP proxy to be placed in front of a legacy PBX. > When a phone registers with the proxy, I would like Asterisk to > register with the PBX behind it. (To tell the PBX to send calls to > the proxy and then to the SIP phone). > > Can I use Asterisk to create a proxy like this? Is there a way to > cause the Asterisk to register with another host when it receives a > successfully registration?You can, but maybe you should use a sip proxy (like kamailio) for this task instead of a back to back user agent like asterisk. You can listen to events triggered on registration to asterisk and with realtime intergration add the register to the PBX (or manipulate sip.conf). This still might be easier to implement compared to (for example) kamailio if you are new to that. -- _____________________________________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- Check out the new Asterisk community forum at: https://community.asterisk.org/ New to Asterisk? Start here: https://wiki.asterisk.org/wiki/display/AST/Getting+Started asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users