Multiple Phones On Same PJSIP Account
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)?
Thanks
Brian (ast newb)
9 thoughts on - Multiple Phones On Same PJSIP Account
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
—
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.
—
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-bounces@lists.digium.com] 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.
—
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.
—
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-bounces@lists.digium.com] 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.
—
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.
—
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
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.
—
Telecomunicaciones Abiertas de México S.A. de C.V. Carlos Chávez
+52 (55)8116-9161
—
Thanks was it! Upping max_contacts to 5 solved it.
—–Original Message—–
From: asterisk-users [mailto:asterisk-users-bounces@lists.digium.com] 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.
—