Jump to content

How to set up DID


Jeremy Isherwood
 Share

Recommended Posts

Hi, I'm using a spitfire trunk with a 10 number DID range;

 

The numbers are 0121XXX7890 - 7899

 

Currently I have sent the incoming trunk with !([0-9]{3}$)!\1!u!777 set in the SEND CALL TO EXTENSION field

 

I have set up aliases for extensions so

 

extension 100 has an alias of 890 i.e.

 

100 890 44121XXX7890

101 891 44121XXX7891

102 892 44121XXX7892

 

etc

 

But it won't work.

 

In the system log it shows

 

Domain trunk Spitfire@XXX.XXX.XXX.XXX could not identify user for 44121XXX7860

 

What have I missed??

Link to comment
Share on other sites

trying using !([0-9]{3}$)!\1!t!777 the "t"

 

By default, the PBX uses the number in the Request-URI field for matching. But !([0-9]*)!\1!t!777 will force the PBX to use the To field instead (the 3rd field contains a “t”).

 

Check this article for explanation.

 

 

http://wiki.snomone.com/index.php?title=Inbounds_Calls

Link to comment
Share on other sites

trying using !([0-9]{3}$)!\1!t!777 the "t"

 

By default, the PBX uses the number in the Request-URI field for matching. But !([0-9]*)!\1!t!777 will force the PBX to use the To field instead (the 3rd field contains a “t”).

 

Check this article for explanation.

 

 

http://wiki.snomone.com/index.php?title=Inbounds_Calls

 

 

Worked perfectly, thanks for your help.

Link to comment
Share on other sites

The alias field isn't used to match the inbound calls you have to set the account number field for that. So if your account number is 40 and your DID is 5551212 you would put 40 5551212 in the account number field.

 

Tried that before and it didn't work, thanks for the suggestion. I've found the solution from this thread.

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.

 Share

×
×
  • Create New...