SearchSearch  Log in to check your private messagesLog in to check your private messages  recent posts Recent Posts
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
biknitOffline



Joined: Mar 05, 2008
Posts: 25

Status: Offline
Posted: Apr 11, 2008 - 06:10 AM Reply with quote Back to top
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!
View user's profile Send private message
biknitOffline



Joined: Mar 05, 2008
Posts: 25

Status: Offline
Posted: Apr 28, 2008 - 03:32 AM Reply with quote Back to top
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!
View user's profile Send private message
x-consoleOffline
Site Admin


Joined: Aug 01, 2006
Posts: 1134
Location: Leeds UK
Status: Offline
Posted: Apr 28, 2008 - 08:25 AM Reply with quote Back to top
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)
View user's profile Send private message Yahoo Messenger
biknitOffline



Joined: Mar 05, 2008
Posts: 25

Status: Offline
Posted: Apr 28, 2008 - 10:52 AM Reply with quote Back to top
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
View user's profile Send private message
x-consoleOffline
Site Admin


Joined: Aug 01, 2006
Posts: 1134
Location: Leeds UK
Status: Offline
Posted: Apr 28, 2008 - 11:11 AM Reply with quote Back to top
see if you have tshark, tethereal, or tcpdump. they all do the same thing for the purposes of this task (or install ngrep).
View user's profile Send private message Yahoo Messenger
biknitOffline



Joined: Mar 05, 2008
Posts: 25

Status: Offline
Posted: Apr 29, 2008 - 02:52 AM Reply with quote Back to top
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 !
View user's profile Send private message
biknitOffline



Joined: Mar 05, 2008
Posts: 25

Status: Offline
Posted: May 07, 2008 - 02:49 AM Reply with quote Back to top
No help about how to trace my SIP?

I'm still having the "forbidden" response problem, any idea why?
View user's profile Send private message
ianplainOffline
Site Admin


Joined: Jul 05, 2004
Posts: 2673
Location: Bath UK
Status: Offline
Posted: May 07, 2008 - 08:38 AM Reply with quote Back to top
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
View user's profile Send private message
biknitOffline



Joined: Mar 05, 2008
Posts: 25

Status: Offline
Posted: May 08, 2008 - 04:44 AM Reply with quote Back to top
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.
Image
Does it help?

Thanks
View user's profile Send private message


View previous topic Printable version Log in to check your private messages View next topic

Post new topic   Reply to topic
Forum Rules and Guidelines | About VoIP User | Privacy Policy


All logos and trademarks in this site are property of their respective owner.
Comments and posts are property of the poster, all the rest (c) 2003-2006 VoIP User.

No part of this site may be reproduced without our prior consent.