When I dial a number starting with *, I get a strange answer from asterisk and a busy tone: WARNING[2582]: chan_sip.c:12198 handle_response_invite: Received response: “Frobidden” from “Jack”…
I’m trying to set the call forwarding of my phone provider, and in order to do that, I need to dial *05 + the number to forward calls to… Well, as each time I dial a number starting with *, it fails, I cannot forward my calls!
In my dial plan: exten=_101XXXXXXXX,1,Dial(SIP/*059${EXTEN:3}@101), and it fails for example.
Well, I did modify my dial plan to do some tests, but it didn’t work. Even, if I directly dial a number starting with *.
For example: exten=1212,1,Dial(SIP/*05996133555@101)
On my phone, I just dial 1212, and it calls this number *05996133555. In the CLI, i can see that the number called is the right one, starting with *, but I still receive this forbidden response.
Ok, I tried using this line in my extensions.conf :
exten=_*05.,1,dial(SIP/${EXTEN:0}@101)
Now, when I dial a number starting with *05, I get that as an answer:
chan_sip.c:13885 handle_request_invite: Call from ‘75’ to extension ‘*05’ rejected because extension not found.
It looks like it doesn’t even try to dial all the digits I input after the *05, it just reads *05 and stops.
Do you have any idea why do I get this as an answer?
Any idea why asterisk doesn’t take the whole number but stops after *05 and tries to find the corresponding extension? Which of course doesn’t exist as my goal is to dial *05 + “my number” on my PSTN line…
[quote=“biknit”]Ok, I tried using this line in my extensions.conf :
exten=_*05.,1,dial(SIP/${EXTEN:0}@101)
Now, when I dial a number starting with *05, I get that as an answer:
chan_sip.c:13885 handle_request_invite: Call from ‘75’ to extension ‘*05’ rejected because extension not found.[/quote]
It looks like your dialplan can’t find a channel labeled with 101 to dial out. Do you have such a channel?