Jeremy Isherwood Posted December 7, 2011 Report Posted December 7, 2011 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?? Quote
Vodia support Posted December 7, 2011 Report Posted December 7, 2011 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 Quote
Vodia PBX Posted December 7, 2011 Report Posted December 7, 2011 The alternative would be "!44121XXX7([0-9]{3})!\1!u!777!". Quote
gotvoip Posted December 7, 2011 Report Posted December 7, 2011 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. Quote
Jeremy Isherwood Posted December 8, 2011 Author Report Posted December 8, 2011 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. Quote
Jeremy Isherwood Posted December 8, 2011 Author Report Posted December 8, 2011 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. Quote
Recommended Posts
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.