| Author |
Message |
biknit
Joined: Mar 05, 2008
Posts: 25
Status: Offline
|
| Posted:
Apr 11, 2008 - 06:10 AM |
|
|
Hello,
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.
Can you please help? Thanks! |
|
|
|
 |
biknit
Joined: Mar 05, 2008
Posts: 25
Status: Offline
|
| Posted:
Apr 28, 2008 - 03:32 AM |
|
|
Guys!
I'm completely stuck with this issue. I need to enable call forwarding from my phone provider and use it with asterisk. The only way IS to use and dial this *05 number.. I can't figure out what's wrong and why do I get this forbidden response when I dial it!
Please help !
Thanks! |
|
|
|
 |
x-console
Site Admin
Joined: Aug 01, 2006
Posts: 1134
Location: Leeds UK
Status: Offline
|
| Posted:
Apr 28, 2008 - 08:25 AM |
|
|
you need to take a sip trace for us to be able to help you any further.. ngrep -lqtt -W byline port 5060 (on the asterisk box) |
|
|
|
 |
biknit
Joined: Mar 05, 2008
Posts: 25
Status: Offline
|
| Posted:
Apr 28, 2008 - 10:52 AM |
|
|
Thanks for your answer and for giving me the command line. The only thing is, it appears I don't have the corresponding library installed. It says: ngrep: command not found.
I'm logged as admin in my asteriskNOW server.
Cheers |
|
|
|
 |
x-console
Site Admin
Joined: Aug 01, 2006
Posts: 1134
Location: Leeds UK
Status: Offline
|
| Posted:
Apr 28, 2008 - 11:11 AM |
|
|
see if you have tshark, tethereal, or tcpdump. they all do the same thing for the purposes of this task (or install ngrep). |
|
|
|
 |
biknit
Joined: Mar 05, 2008
Posts: 25
Status: Offline
|
| Posted:
Apr 29, 2008 - 02:52 AM |
|
|
Hi,
I do have tshark but nut sure how to use it. When I type tshark -lqtt -W byline port 5060, I get: Invalid time stamp type "t". As I don't really know how it works, it's hard to see what's wrong, could you help?
Thx ! |
|
|
|
 |
biknit
Joined: Mar 05, 2008
Posts: 25
Status: Offline
|
| Posted:
May 07, 2008 - 02:49 AM |
|
|
No help about how to trace my SIP?
I'm still having the "forbidden" response problem, any idea why? |
|
|
|
 |
ianplain
Site Admin
Joined: Jul 05, 2004
Posts: 2673
Location: Bath UK
Status: Offline
|
| Posted:
May 07, 2008 - 08:38 AM |
|
|
Hi try
tcpdump -n -i eth0 -w /tmp/wireshark.pcap -s 2000 udp port 5060
then copy the file to a machine that has wireshark on it and see what it has to say
Ian |
|
|
|
 |
biknit
Joined: Mar 05, 2008
Posts: 25
Status: Offline
|
| Posted:
May 08, 2008 - 04:44 AM |
|
| ianplain : | Hi try
tcpdump -n -i eth0 -w /tmp/wireshark.pcap -s 2000 udp port 5060
then copy the file to a machine that has wireshark on it and see what it has to say
Ian |
Thanks Ian for your help. Here is what I get using your command line and wireshark.
Does it help?
Thanks |
|
|
|
 |
|