<div dir="ltr"><div>Hi,</div><div><br></div><div>If your remote PBX support path header, then easiest way would be to use Path module of Kamailio:</div><div><br></div><div><a href="https://www.kamailio.org/docs/modules/devel/modules/path.html">https://www.kamailio.org/docs/modules/devel/modules/path.html</a></div><div><br></div><div><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">Jurijs<br></div></div></div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, May 21, 2021 at 5:09 PM Antony Stone <<a href="mailto:Antony.Stone@kamailio.open.source.it">Antony.Stone@kamailio.open.source.it</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi.<br>
<br>
I think maybe I asked this question at a busy time, when people were dealing <br>
with other questions.<br>
<br>
Can anyone point me at the appropriate documentation on how to get Kamailio <br>
set up to pass client registrations through to a remote PBX?<br>
<br>
I'm assuming this is a pretty basic use case, but I haven't yet found a simple <br>
guide.<br>
<br>
<br>
Thanks in advance.<br>
<br>
On Tuesday 18 May 2021 at 12:51:21, Antony Stone wrote:<br>
<br>
> On Saturday 15 May 2021 at 22:49:01, Mojtaba wrote:<br>
> > Absolutely yes, In Kamailio with specific module you could do it. Some<br>
> > related module for doing this scenario are:<br>
> > presence, presence_xml, presence_dialoginfo, pua, pua_dialoginfo<br>
> > You could know more about them by referring to its documentation.<br>
> <br>
> Thanks for the confirmation; I'm sure the details you provide will make<br>
> more sense to me once I'm at a stage where I can use them.<br>
> <br>
> In the meantime, I assume that the other part of my requirement - getting<br>
> Kamailio to pass through client registrations from Asterisk to a remote PBX<br>
> - is a far more standard setup - where can I find configuration guidelines<br>
> on how to do this, given that I've never implemented Kamailio so far?<br>
> <br>
> <br>
> Thanks,<br>
> <br>
> > On Sat, May 15, 2021 at 5:52 PM Antony Stone wrote:<br>
> > > Hi.<br>
> > > <br>
> > > I've been aware of Kamailio, and on this list, for several years, but<br>
> > > so far I have not implemented Kamailio for any purpose.<br>
> > > <br>
> > > I wonder if it could be a suitable tool for the following scenario.<br>
> > > <br>
> > > I currently use Asterisk to register as a client, with username and<br>
> > > password, to other SIP PBXs in order to receive calls.  As far as the<br>
> > > other PBX is concerned, Asterisk looks like a SIP telephone on a<br>
> > > particular extension.<br>
> > > <br>
> > > However, Asterisk's SIP client capabilities are limited to handling<br>
> > > phone calls only, and it specifically cannot receive presence<br>
> > > information about the state of other extensions from the remote PBX.<br>
> > > <br>
> > > So, could Kamailio be used in the path between Asterisk and the remote<br>
> > > PBX so that the registration on the PBX comes from Kamailio (with any<br>
> > > incoming calls being passed to Asterisk), but with Kamailio also<br>
> > > receiving presence information from the remote PBX and making this<br>
> > > available to some script or application (which I would expect to have<br>
> > > to write)?<br>
> > > <br>
> > > The main point is that I don't want to have two things registering to<br>
> > > the remote PBX, one for calls and one for presence, so I'm looking for<br>
> > > a way to register with something which understands presence, and can<br>
> > > also pass calls on to Asterisk.<br>
> > > <br>
> > > Can anyone suggest whether Kamailio could do this, and if so, point me<br>
> > > at some resources to help me get started; or alternatively suggest<br>
> > > ideas on some other tool which might be more appropriate than<br>
> > > Kamailio?<br>
> > > <br>
> > > <br>
> > > Thanks for any ideas,<br>
> > > <br>
> > > <br>
> > > Antony.<br>
<br>
-- <br>
Pavlov is in the pub enjoying a pint.<br>
The barman rings for last orders, and Pavlov jumps up exclaiming "Damn!  I <br>
forgot to feed the dog!"<br>
<br>
                                                   Please reply to the list;<br>
                                                         please *don't* CC me.<br>
<br>
__________________________________________________________<br>
Kamailio - Users Mailing List - Non Commercial Discussions<br>
  * <a href="mailto:sr-users@lists.kamailio.org" target="_blank">sr-users@lists.kamailio.org</a><br>
Important: keep the mailing list in the recipients, do not reply only to the sender!<br>
Edit mailing list options or unsubscribe:<br>
  * <a href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" rel="noreferrer" target="_blank">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a><br>
</blockquote></div>