Hi,

If your remote PBX support path header, then easiest way would be to use Path module of Kamailio:

https://www.kamailio.org/docs/modules/devel/modules/path.html

Jurijs


On Fri, May 21, 2021 at 5:09 PM Antony Stone <Antony.Stone@kamailio.open.source.it> wrote:
Hi.

I think maybe I asked this question at a busy time, when people were dealing
with other questions.

Can anyone point me at the appropriate documentation on how to get Kamailio
set up to pass client registrations through to a remote PBX?

I'm assuming this is a pretty basic use case, but I haven't yet found a simple
guide.


Thanks in advance.

On Tuesday 18 May 2021 at 12:51:21, Antony Stone wrote:

> On Saturday 15 May 2021 at 22:49:01, Mojtaba wrote:
> > Absolutely yes, In Kamailio with specific module you could do it. Some
> > related module for doing this scenario are:
> > presence, presence_xml, presence_dialoginfo, pua, pua_dialoginfo
> > You could know more about them by referring to its documentation.
>
> Thanks for the confirmation; I'm sure the details you provide will make
> more sense to me once I'm at a stage where I can use them.
>
> In the meantime, I assume that the other part of my requirement - getting
> Kamailio to pass through client registrations from Asterisk to a remote PBX
> - is a far more standard setup - where can I find configuration guidelines
> on how to do this, given that I've never implemented Kamailio so far?
>
>
> Thanks,
>
> > On Sat, May 15, 2021 at 5:52 PM Antony Stone wrote:
> > > Hi.
> > >
> > > I've been aware of Kamailio, and on this list, for several years, but
> > > so far I have not implemented Kamailio for any purpose.
> > >
> > > I wonder if it could be a suitable tool for the following scenario.
> > >
> > > I currently use Asterisk to register as a client, with username and
> > > password, to other SIP PBXs in order to receive calls.  As far as the
> > > other PBX is concerned, Asterisk looks like a SIP telephone on a
> > > particular extension.
> > >
> > > However, Asterisk's SIP client capabilities are limited to handling
> > > phone calls only, and it specifically cannot receive presence
> > > information about the state of other extensions from the remote PBX.
> > >
> > > So, could Kamailio be used in the path between Asterisk and the remote
> > > PBX so that the registration on the PBX comes from Kamailio (with any
> > > incoming calls being passed to Asterisk), but with Kamailio also
> > > receiving presence information from the remote PBX and making this
> > > available to some script or application (which I would expect to have
> > > to write)?
> > >
> > > The main point is that I don't want to have two things registering to
> > > the remote PBX, one for calls and one for presence, so I'm looking for
> > > a way to register with something which understands presence, and can
> > > also pass calls on to Asterisk.
> > >
> > > Can anyone suggest whether Kamailio could do this, and if so, point me
> > > at some resources to help me get started; or alternatively suggest
> > > ideas on some other tool which might be more appropriate than
> > > Kamailio?
> > >
> > >
> > > Thanks for any ideas,
> > >
> > >
> > > Antony.

--
Pavlov is in the pub enjoying a pint.
The barman rings for last orders, and Pavlov jumps up exclaiming "Damn!  I
forgot to feed the dog!"

                                                   Please reply to the list;
                                                         please *don't* CC me.

__________________________________________________________
Kamailio - Users Mailing List - Non Commercial Discussions
  * sr-users@lists.kamailio.org
Important: keep the mailing list in the recipients, do not reply only to the sender!
Edit mailing list options or unsubscribe:
  * https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users