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
On Wed, Apr 11, 2018 at 12:04:18PM -0400, Telium Technical Support wrote:> 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)One of my first integrations was similar but with a Siemens. Easiest might be a SIP trunk (peer) between Asterisk/Nortel and have different prefixes for the Norted (1xx) and Asterisk (2xx) and route these to the other. The SIP endpoints simply register to Asterisk.
The challenge is that calls to extensions on the Nortel have to ring the nortel phone AND the sip phone connected to 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 4:26 PM To: 'Asterisk Users Mailing List - Non-Commercial Discussion' <asterisk-users at lists.digium.com> Subject: Re: [asterisk-users] Pass through registration / proxy On Wed, Apr 11, 2018 at 12:04:18PM -0400, Telium Technical Support wrote:> 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 casethat 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)One of my first integrations was similar but with a Siemens. Easiest might be a SIP trunk (peer) between Asterisk/Nortel and have different prefixes for the Norted (1xx) and Asterisk (2xx) and route these to the other. The SIP endpoints simply register to Asterisk. -- _____________________________________________________________________ -- 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