Ring the same extensions in multiple location at same time in asterisk


I have to ring the same extension registered in different locations.
how can i do that in asterisk?


If you are using PJSIP you should use special function for it

exten => _6XXX, 1 ,Dial(${PJSIP_DIAL_CONTACTS(${EXTEN})})


Thank you for your answer and wow it works but it throws error as

WARNING[29249][C-0000000f]: res_rtp_asterisk.c:2939 __rtp_recvfrom: PJ ICE Rx error status code: 370401 ‘Unauthorized’.


I see this for first time in my life. In my opinion this is related with ICE and last part of message is “Unauthorized”. So I assumed you should check your ICE server configuration, check credentials to ICE servers. But one more time. I am not sure to this.


Ok i will check with this @przeqpiciel

Thanks for the response