Jump to content

Doorphone internal dialplan only


McFone

Recommended Posts

Hello,

a customer has a door phone system on his old telephone system which is operated on an analog port.

We want to use a Cisco SPA 122 as gateway and make the phone number DID available only for internal use.

So that the extension number cannot be reached externally, we want to set the following in the routing of the SIPTRUNK, the "198" is the door intercom system.

For inbound routing we wanted to use the following pattern

!(5555555198$)!0!t!([0-9]{3}$)!\2!t!0

Routing:

If  incoming number 5555555198 then routing to 0 and for DID with 3 digits strip the last digits ANI if not found route all to 0

For the dial plan we want to set the following

https://drive.google.com/file/d/14zRPJF4E7VmpD1get6k0JfE8NPBorFyo/view?usp=drivesdk

It is not possible to deactivate the SIPTRUNK Ecotel in the dialplan or delete it after saving the entry is back again, how to delete or deactivate the trunk from the dialplan

For a internal dial plan it is correctly entered with the pattern * and target 198 (ANI intern)

The door opens when you enter the code #61 during a call, the Vodia sends it this way or we have to set something.

We can also place DTMF codes on a button to open the door at the push of a button

thanks

 

Link to comment
Share on other sites

The pattern does not make any sense to me... If you want to get the last 3 digits after the prefix try 

!555198([0-9]{3}$)!\1!t!0

Dial plans answer the question on which trunk an outbound call should end up and what number to dial. There is no way to do additional things like enabling trunks. 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...