Spoofing Extension

In this HOW-TO, we will make an extension to spoof our outgoing phone number over a voip trunk.

edit extensions.conf in your favorite editor




[spoof]
exten => 420,1,Wait(1)
;always use a password - dont be a moron
exten => 420,n,Authenticate(12345678901234567890|j|20)
; enter in 10 digit number that you are spoofing
exten => 420,n,Background(enter-phone-number10)
exten => 420,n,Read(SPOOF||10|i|2|30)
exten => 420,n,NoOp(${SPOOF})
exten => 420,n,Set(CALLERID(num)=${SPOOF})
exten => 420,n,NoOp(${CALLERID(num)})
exten => 420,n,Set(CALLERID(name)="Spoofed Name")
exten => 420,n,NoOp(${CALLERID(name)})
exten => 420,n,Wait(2)
; enter in the number you are dialing
exten => 420,n,Background(enter-phone-number10)
exten => 420,n,Read(SPOOFDIAL||11|i|2|30)
exten => 420,n,NoOp(${SPOOFDIAL})
exten => 420,n,Wait(1)
exten => 420,n,Background(pls-wait-connect-call)
exten => 420,n,Dial(SIP/voip_provider/${SPOOFDIAL}|30)
exten => 420,n,Hangup()
; just dial "spoof" :-D
exten => spoof,Goto(spoof|420|1)




Just remember, don't defraud someone with this or you will end up with the feds knocking on your door. It is however fun to freak your friends out with weird caller id infoz


I am also in no way responsible for what you do with this code



This page has 10065 hits



In this HOW-TO, we will make an extension to spoof our outgoing phone number over a voip trunk.

edit extensions.conf in your favorite editor




[spoof]
exten => 420,1,Wait(1)
;always use a password - dont be a moron
exten => 420,n,Authenticate(12345678901234567890|j|20)
; enter in 10 digit number that you are spoofing
exten => 420,n,Background(enter-phone-number10)
exten => 420,n,Read(SPOOF||10|i|2|30)
exten => 420,n,NoOp(${SPOOF})
exten => 420,n,Set(CALLERID(num)=${SPOOF})
exten => 420,n,NoOp(${CALLERID(num)})
exten => 420,n,Set(CALLERID(name)="Spoofed Name")
exten => 420,n,NoOp(${CALLERID(name)})
exten => 420,n,Wait(2)
; enter in the number you are dialing
exten => 420,n,Background(enter-phone-number10)
exten => 420,n,Read(SPOOFDIAL||11|i|2|30)
exten => 420,n,NoOp(${SPOOFDIAL})
exten => 420,n,Wait(1)
exten => 420,n,Background(pls-wait-connect-call)
exten => 420,n,Dial(SIP/voip_provider/${SPOOFDIAL}|30)
exten => 420,n,Hangup()
; just dial "spoof" :-D
exten => spoof,Goto(spoof|420|1)




Just remember, don't defraud someone with this or you will end up with the feds knocking on your door. It is however fun to freak your friends out with weird caller id infoz


I am also in no way responsible for what you do with this code



This page has 10065 hits



Created by: kFuQ, Last modification: Fri 30 of Jan, 2009 (20:57 UTC)
Please update this page with new information, just login and click on the "Edit" or "Discussion" tab. Get a free login here: Register Thanks! - Find us on Google+