Skip to main content

\s"inbound route in MTE"""

Posted by jihadbek on Thu, 06/11/2009

in the default tenant ( Thirdlane ) there is a default inbound route (s) works if there is no DID.
when i create a new tenant , there is no such default inbound route even if this tenant was created as clone of thirdlane ...
when i try to create a custom inbound route for the new tenant it will require DID , and i want a route same as "s" ....


Submitted by eeman on Thu, 06/11/2009 Permalink

you can't.. 's' is only there in the odd cases where ITSP's use different sip headers to specify the DID. There are scripts that you assign to 's' and re-route back into from-outside based on this new header. Not understanding this means you're missing some concepts here and there. 's' does not mean 'match anything' .. it means 'match when nothing is specified'.

Submitted by jihadbek on Fri, 06/12/2009 Permalink

well ...

ok , let us consider that we dont need the "s" router ...

i am trying to add a inbound sip trunk to one tenant ... after configuring the trunk correctly we need to configure inbound route for this trunk ... when i try to add one it need to chose DID ...

i want the ivr of the tenant to be played when any body dial this sip account for this inbound trunk , but i dont know how i can do it ..

please help

Submitted by justdave on Fri, 06/12/2009 Permalink

You could use _. for the route. The _ at the begining tells it that it contains wildcards, the . matches any number of digits. Note that I've never used MTE, I don't know how the tenant routes interact with each other. You might hose your other tenants by using that if the routes are global. _. is generally considered dangerous anyway, because it really does match anything, and that can have unexpected consequences.

If it's the case where your tenant has a block of 100 DIDs but they're not using them all yet, but you want them all to default to their main IVR if they get called and the one they called hasn't been defined yet, then you would want to do something like _80055512XX for the route. Again, _ at the beginning says "this contains wildcards", and the X matches any single digit.