PJSIP - Many contacts on AOR


I use Asterisk 16.15.1 Long time ago, when I used classic sip, I was able to link many softphones on same account and on ringing, all rang at same time. Now, I pass to PJSIP. I’m able to have 2 or more softphones on same account (2 Contacts on 1 AOR), but it’s only contact1 who receive call, not others.

I also try to have 2 AORs on 1 Endpoint, but I couldn’t. It seem to mismatch Endpoint’s name and AOR’s name.

The workaround was created 2 endpoints with 1 AOR and 1 Contact on each.

Did you successful created 2 or more Contacts on 1 AOR?
Did you successful created 2 AORs on 1 Endpoint?


How are you dialing? The use of the PJSIP_DIAL_CONTACTS dialplan function[1] is needed to call all registered contacts.

[1] https://wiki.asterisk.org/wiki/display/AST/Asterisk+16+Function_PJSIP_DIAL_CONTACTS?src=search


I’m using same => n,Dial(PJSIP/alice, 30 ) so now I’ll try PJSIP_DIAL_CONTACTS.

ref. Dialing PJSIP Channels - Asterisk Project - Asterisk Project Wiki

Thanks, I’ll document results here.

Hi @jcolp

Thanks you so much, I successful fix it.

I notice it must have minimum 1 Endpoint must match with username otherwise it doesn’t works, but another Endpoint may user same username as Endpoint1. Well I still to understand matching names.

Thanks again.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.