SIP client card, as intercom

Thank you very much. The issue of outdoor units calling multiple indoor units (100,101,102) has been resolved. It is through dial group. If it is an indoor unit that broadcasts to the other two indoor units, how can this be achieved? For example, 100 voice broadcasts to 101 and 102 are ready for meals.

Here is the syntax for my dial group

exten => 1,1,Set(DIALGROUP(mygroup,add)=PJSIP/100)
exten => 1,n,Set(DIALGROUP(mygroup,add)=PJSIP/101)
exten => 1,n,Dial(${DIALGROUP(mygroup)})

Again, first hit google => asterisk broadcast > Asterisk 18 Application_Broadcast - Asterisk Project - Asterisk Project Wiki

Plus us it, google is a handy tool, do you know it ? :+)

Thanks @pergola.fabio for your help and @TECHFox for creating this. With some inspiration from someone else on Discord I now have a great working intercom.

I don’t know enough about Asterisk to get it working properly so have done a workaround with my intercom using a webhook. Process is:

  • Create a lovelace view with the SIP card on it and a video feed that comes from an outside camera.
  • Intercom creates a webhook when the button is pressed.
  • Webhook triggers an automation which gives an actionable notification on my phone which takes me to the lovelace view.
  • On the view I can dial the intercom which auto-answers and opens the separate camera view.

This workaround gives me exactly the features I was looking for!

2 Likes

I have the same problem. Did you manage to solve?

did you manage to solve?

Hi, can you please help me, I did everything like in your post, but in doorbird I always get error 408.

I never got it to work.

Show your config and log

anyone knows how to use the nabucasa SSL certificates? i got the following certificates on cloud folder:
SIP1

which one belongs where?
SIP2

also, should i use the nabucasa URL in the SIP card?

I don’t believe nabucasa can work, since it actually doesn’t point to your IP?

Where do I set my destination SIP device? When I set a person at extesions, there must be a setting where I set up the IP SIP device which I wanna call. For example: “sip:192.168.4.88”.

You can create custom buttons for numbers you want to dial in the card

Well yes, for numbers. But the device I wanna call is “sip:192.168.4.88”.

Make a button for a number, and call that specific number in your Dialplan in asterisk itself?

The input field alows only numbers.

Yes, just configure a number, but change the Dialplan in asterisk to call whatever number you want if you dial 1234 for example

Ok, I understand: Asterisk is the SIP server, where all extension numbers are registered. When I want to connect a doorbell, I need to enter the SIP server information on the doorbell webgui. What information do I need to enter there? The IP of the home assistant instance? I also need to enter user information. Where do I create a user in asterisk?

I entered the IP of the home assistant instance. That should work, but I got an “Unauthorized” error message. So I need to enter an appropiate username and password. But where do I create such a user in asterisk? Where do I set the numbers (extensions) in asterisk?

Hi,

have a look in the sip wiki of the addon, there is explained how to create users

yes if using asterisk as addon, its the same IP

Hello And thank you for the information shared .

Can you please let me know how to add this sub domain in the cloudflare, and the other question is regarding the point4. How to access using samba to update de cert?

Thank you in advance for your support and best regards