Inbound rules are giving me a headache :)

Status
Not open for further replies.

jh81

New Member
Mar 22, 2023
19
1
3
43
So, ive spend the better part of the weekend and monday and today to get inbound rules to work :)

When i follow the tutorials, i enter my dialplan destination number as 08XXXXXXXX32 the regex inthe inbound rule becomes ^(08XXXXXXXX32)$ however this always fails. it turns out my regex in the inbound rule needs to be ^(<USERNAME>)$ And then the call comes through.

In fact, nothing of the auto generated inbound rule works, i have to set it up like so:
condition destination_number ^(<USERNAME>)$
action transfer 101 XML default

This is in fact the only thing that works. if i use the default dialplan destination to send it to a group, instead of "101 XML default" it sets "group/<groupname>@<domain>" which then also fails miserably.

Does anyone reckognize this? How can i make it send to a group without failing? Ive read the docs, ive watched the youtube videos, but i'm beginning to think im too stupid for this :D Are there provider specific things i should be seeing?
 
i managed to figure it out :)

I have to do everything through the diaplan > destinations, then afterwards i have to edit the inbound rule, destination_number i must set to the username of the sip trunk.

Next step, IVR menus!
 
Status
Not open for further replies.