January 04, 2022, 08:08:59 am *
Welcome, Guest. Please login or register.
News:
 
   Forum Home   Search Login Register OBiTALK  
Pages: [1]
  Print  
Author Topic: Spoof different callerid when different numbers are dialed.  (Read 6772 times)
litensten
Newbie
*
Posts: 18


« on: June 15, 2013, 03:40:32 pm »

I have the following working. Can someone check if I could run into potential problems?

I am trying to achieve:

1. When 911 is dialed, callerid is spoofed to 12223334444
2. When voip.ms e911 test number is dialed (15555550911), callerid is spoofed to 12223334444
3. When any other regular numbers are dialed, callerid is spoofed to be 17778889999

Under Phone Port>OutboundCallRoute
{([1-9]x?*(Mpli)):pp},{(<#:>):ph2},{(<**82:>(Mbt2)):bt2},{(<**81:>(Mbt)):bt},{(<**8:>(Mbt)):bt},{**0:aa},{***:aa2},{(<**1:>(Msp1)):sp1},{(<**2:>(Msp2)):sp2},{(<**3:>(Msp3)):sp3},{(<**4:>(Msp4)):sp4},{(<**9:>(Mpp)):pp},{(911):pli(12223334444>$2)},{(15555550911):pli(12223334444>$2)},{(Mpli):pli(17778889999>$2)}

Logged
ianobi
Hero Member & Beta Tester
*****
Posts: 1831


« Reply #1 on: June 16, 2013, 02:44:55 am »

I can see nothing that will cause you problems. As it is working you must have already realised that you need a voip provider that accepts CallerID spoofing. Also in the OBi you need to set:

Service Providers -> ITSP Profile X -> SIP -> X_SpoofCallerID : checked


I would make a few minor changes:

{911:pli(12223334444>)},{15555550911:pli(12223334444>)},{([1-9]x?*(Mpli)):pp},{(<#:>):ph2},{(<**82:>(Mbt2)):bt2},{(<**81:>(Mbt)):bt},{(<**8:>(Mbt)):bt},{**0:aa},{***:aa2},{(<**1:>(Msp1)):sp1},{(<**2:>(Msp2)):sp2},{(<**3:>(Msp3)):sp3},{(<**4:>(Msp4)):sp4},{(<**9:>(Mpp)):pp},{(Mpli):pli(17778889999>)}

Some of the parentheses are not required - they do no harm.
If you leave out the $2 OBi will assume it.
I prefer to see emergency numbers at the beginning of the OutboundCallRoute. The rules are processed from left to right, so your emergency numbers get looked at first.
I would replace pli in the first two emergency rules with the actual trunk (sp1, sp2 etc) to avoid any confusion if you make future changes.

Anyhow, all minor things - your version should work fine.

Logged
kevmeist
Jr. Member
**
Posts: 34


« Reply #2 on: June 16, 2013, 04:32:24 am »

Why would one want to do this?
Logged
giqcass
Hero Member & Beta Tester
*****
Posts: 1438


« Reply #3 on: June 16, 2013, 08:04:37 pm »

Correctly identifying an address for a 911 call may depend on caller ID in some cases.   You also want to make sure  911 can return your call if the phone gets disconnected during the call. 

You may want to route other callers to a different number for convenience, privacy, or because it is less expensive.  With all of the options available the reasons can be numerous.
Logged

Long live our new ObiLords!
litensten
Newbie
*
Posts: 18


« Reply #4 on: June 17, 2013, 12:07:24 am »

One example.

Your caller id could be spoofed as your cellphone number.
But when you dial 911, you would want to spoof a different caller id that's registered with e911.
Logged
kevmeist
Jr. Member
**
Posts: 34


« Reply #5 on: June 17, 2013, 02:36:07 am »

Ah, OK. Thanks.

Kevin
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC

Advertisement
Advertisement