Re: [asterisk-users] Multiple phones on same PJSIP account

2023-06-21 Thread TTT
Thanks was it!  Upping max_contacts to 5 solved it.  

-Original Message-
From: asterisk-users [mailto:asterisk-users-boun...@lists.digium.com] On Behalf 
Of Antony Stone
Sent: Wednesday, June 21, 2023 12:02 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion 

Subject: Re: [asterisk-users] Multiple phones on same PJSIP account

On Wednesday 21 June 2023 at 17:52:16, TTT wrote:

> Ok I've got multiple phone sets registered with the same extension/secret.
> 
> However, this causes a strange problem.  If I have 3 phone sets 
> registered on extension 123, and I then call extension 123 (from 
> extension 456), only a SINGLE phone set will ring.

What values do you have for "max_contacts" and "replace_existing" in pjsip.conf?

Antony.

--
Neurotics build castles in the sky;
Psychotics live in them;
Psychiatrists collect the rent.


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

-- 
_
-- 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


-- 
_
-- 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

Re: [asterisk-users] Multiple phones on same PJSIP account

2023-06-21 Thread Carlos Chavez
    Are you using PJSIP_DIAL_CONTACTS in your dialplan?  You need to 
use that in the Dial command and not just PJSIP/XXX for all extensions 
to ring.


On 21/06/23 9:52, TTT wrote:

Ok I've got multiple phone sets registered with the same extension/secret.

However, this causes a strange problem.  If I have 3 phone sets registered on 
extension 123, and I then call extension 123 (from extension 456), only a 
SINGLE phone set will ring.

Is this by design or a bug?  Does only the most recently registered phone set 
ring when I call the extension?  Seems odd...is there a way to change it so ALL 
phones on the same extension will ring?  (I'm using SNOM + PANASONIC + Aastra 
phones)

Thanks
Brian

-Original Message-
From: asterisk-users [mailto:asterisk-users-boun...@lists.digium.com] On Behalf 
Of Antony Stone
Sent: Monday, June 19, 2023 10:47 AM
To: Asterisk Users Mailing List - Non-Commercial Discussion 

Subject: Re: [asterisk-users] Multiple phones on same PJSIP account

On Monday 19 June 2023 at 16:26:05, TTT wrote:


That begs another interesting question...with analog phones picking up
two extensions on the same "line" allow multiple people to participate
on the call (without a "conference" feature)

Does this become possible with multiple phones on the same PJSIP account?

No.


Antony.

--
There are 10 types of people in the world:
those who understand binary notation,
and those who don't.

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

--
_
-- 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



--
Telecomunicaciones Abiertas de México S.A. de C.V.
Carlos Chávez
+52 (55)8116-9161


--
_
-- 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

Re: [asterisk-users] Multiple phones on same PJSIP account

2023-06-21 Thread Joshua C. Colp
On Wed, Jun 21, 2023 at 12:53 PM TTT  wrote:

> Ok I've got multiple phone sets registered with the same extension/secret.
>
> However, this causes a strange problem.  If I have 3 phone sets registered
> on extension 123, and I then call extension 123 (from extension 456), only
> a SINGLE phone set will ring.
>
> Is this by design or a bug?  Does only the most recently registered phone
> set ring when I call the extension?  Seems odd...is there a way to change
> it so ALL phones on the same extension will ring?  (I'm using SNOM +
> PANASONIC + Aastra phones)
>

For dialing all contacts you have to use the PJSIP_DIAL_CONTACTS dialplan
function[1] which returns a string you pass to Dial(). For example:

Dial(${PJSIP_DIAL_CONTACTS(alice)})

To dial all registered contacts for "alice".

[1]
https://wiki.asterisk.org/wiki/display/AST/Asterisk+20+Function_PJSIP_DIAL_CONTACTS

-- 
Joshua C. Colp
Asterisk Project Lead
Sangoma Technologies
Check us out at www.sangoma.com and www.asterisk.org
-- 
_
-- 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

Re: [asterisk-users] Multiple phones on same PJSIP account

2023-06-21 Thread Antony Stone
On Wednesday 21 June 2023 at 17:52:16, TTT wrote:

> Ok I've got multiple phone sets registered with the same extension/secret.
> 
> However, this causes a strange problem.  If I have 3 phone sets registered
> on extension 123, and I then call extension 123 (from extension 456), only
> a SINGLE phone set will ring.

What values do you have for "max_contacts" and "replace_existing" in 
pjsip.conf?

Antony.

-- 
Neurotics build castles in the sky;
Psychotics live in them;
Psychiatrists collect the rent.


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

-- 
_
-- 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

Re: [asterisk-users] Multiple phones on same PJSIP account

2023-06-21 Thread TTT
Ok I've got multiple phone sets registered with the same extension/secret.

However, this causes a strange problem.  If I have 3 phone sets registered on 
extension 123, and I then call extension 123 (from extension 456), only a 
SINGLE phone set will ring.

Is this by design or a bug?  Does only the most recently registered phone set 
ring when I call the extension?  Seems odd...is there a way to change it so ALL 
phones on the same extension will ring?  (I'm using SNOM + PANASONIC + Aastra 
phones)

Thanks
Brian

-Original Message-
From: asterisk-users [mailto:asterisk-users-boun...@lists.digium.com] On Behalf 
Of Antony Stone
Sent: Monday, June 19, 2023 10:47 AM
To: Asterisk Users Mailing List - Non-Commercial Discussion 

Subject: Re: [asterisk-users] Multiple phones on same PJSIP account

On Monday 19 June 2023 at 16:26:05, TTT wrote:

> That begs another interesting question...with analog phones picking up 
> two extensions on the same "line" allow multiple people to participate 
> on the call (without a "conference" feature)
> 
> Does this become possible with multiple phones on the same PJSIP account? 

No.


Antony.

--
There are 10 types of people in the world:
those who understand binary notation,
and those who don't.

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

--
_
-- 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


-- 
_
-- 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

Re: [asterisk-users] Multiple phones on same PJSIP account

2023-06-19 Thread Antony Stone
On Monday 19 June 2023 at 16:26:05, TTT wrote:

> That begs another interesting question...with analog phones picking up two
> extensions on the same "line" allow multiple people to participate on the
> call (without a "conference" feature)
> 
> Does this become possible with multiple phones on the same PJSIP account? 

No.


Antony.

-- 
There are 10 types of people in the world:
those who understand binary notation,
and those who don't.

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

-- 
_
-- 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

Re: [asterisk-users] Multiple phones on same PJSIP account

2023-06-19 Thread TTT
That begs another interesting question...with analog phones picking up two 
extensions on the same "line" allow multiple people to participate on the call 
(without a "conference" feature)

Does this become possible with multiple phones on the same PJSIP account?  Or 
would the first phone answered need to somehow conference in the other phone?

-Original Message-
From: asterisk-users [mailto:asterisk-users-boun...@lists.digium.com] On Behalf 
Of Antony Stone
Sent: Monday, June 19, 2023 10:00 AM
To: Asterisk Users Mailing List - Non-Commercial Discussion 

Subject: Re: [asterisk-users] Multiple phones on same PJSIP account

On Monday 19 June 2023 at 15:09:44, TTT wrote:

> I am creating a dialplan where a single user (Alice) has two offices.  
> Both of her phones should ring if her extension is called.
> 
> I could use a ring group, but I'm wondering can both phones use the 
> same PJSIP extension account (username/secret)?

Yes.  This is one of the major advantages to using PJSIP instead of chan_sip.

(Other than the quality of the code and whether it's maintained.)


Antony.

--
"It wouldn't be a good idea to talk about him behind his back in front of him."

 - murble

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

--
_
-- 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


-- 
_
-- 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

Re: [asterisk-users] Multiple phones on same PJSIP account

2023-06-19 Thread Antony Stone
On Monday 19 June 2023 at 15:09:44, TTT wrote:

> I am creating a dialplan where a single user (Alice) has two offices.  Both
> of her phones should ring if her extension is called.
> 
> I could use a ring group, but I'm wondering can both phones use the same
> PJSIP extension account (username/secret)?

Yes.  This is one of the major advantages to using PJSIP instead of chan_sip.

(Other than the quality of the code and whether it's maintained.)


Antony.

-- 
"It wouldn't be a good idea to talk about him behind his back in front of 
him."

 - murble

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

-- 
_
-- 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

Re: [asterisk-users] Multiple phones on same PJSIP account

2023-06-19 Thread Doug Lytle
>>> I am creating a dialplan where a single user (Alice) has two offices.  Both 
>>> of her phones should ring if her extension is called.

On my home Asterisk, I have created a home queue and made both of my phones a 
member.  The first phone that picks up get that call.

Doug

-- 
_
-- 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