PLA Forums
Other Stuff That Has Little To Do With PLA => General Discussions => Topic started by: ravenmaddox on November 18, 2008, 05:43:29 PM
-
Anyone here have any experience setting up Asterisk?
I've got it installed and from the console you can dial and work thru the default prompts but I am having trouble connecting my sip phone (which connects fine to voxalot) and I am trying to follow the directions here (http://www.rootsecure.net/?p=reports/callerid_spoofing) to setup cidspoof.
My eventual goal is to get a DID assigned inward and let it route with $poofcard-like prompts to change the cid. Basically to make a free spoofing service for select individuals and to be able to host non-$kype conferences.
-
I have used Asterisk quite a bit.
Have you added your SIP phone to sip.conf? You're entry should look something like this:
[201]
type=friend
host=dynamic
username=201
secret=password
canreinvite=no
nat=yes
context=myphone
dtmfmode=rfc2833
allow=all
Then you just need a "myphone" context in extensions.conf, like:
[myphone]
exten => 102,1,Answer()
exten => 102,2,Playback(demo-echotest)
exten => 102,3,Echo
exten => 102,4,Playback(demo-echodone)
exten => 102,5,Hangup
Or you can just change the context= in sip.conf to a context that already exists in extensions.conf
-
EDIT: Ok I was able to connect with a software phone (X-Lite) ... I seem to be having problems with my N95 as a Sip phone... was working perfect on voxalot but now giving me issues...
Also I don't think my agi is running when I dial an extension... is there a certain folder I should place the agi into?
-
Finally I have learned Asterisk (well enough to be a moderate hack at it :nonsense: )
Turns out the agi did need to be in a certain folder and not the one that the forums claimed. I finally just opened up the console and watched for the errors. It then told me where it was looking for the agi. Then when it *STILL* didn't want to work and I threatened it with physical destruction by sledge hammer I realized, heh, I never chmod my script. Dumass...
Of course then I started looking at the script, and I thought I could do it better in extensions.conf using just asterisk commands... Now here we are 4 days and 5 hours since my mission began and *TA DA* It Werks!! I now have a DID I can call where it will ask me for a number to $poof (10 digits) and then give me a dial tone to dial whomever I wish to prank! w00t!!
I've already figured out how to add some cheap auth using VMAuthenticate and I have a ton more ideas of how to tweak it on out. Plus Ima write a how-to in the next couple of days... but for now its late and I'm just happy it werks!!!