I've been playing around with this idea for a bit now and I've now got 2 additional questions:
1) I can get the call forwarding correctly using essentially this method, however when OBi1 calls OBi2 over the ObiTALK network, regardless of the peer number I set, OBi2 treats the call from OBi1 as though I'm not spoofing at all. In other words, this scenario:
OBi1 has an OBiTALK # of 111 111 111
OBi2 has a # of 222 222 222
OBi1 SP1 has an inbound call route of {ph,pp(333333333>ob222222222)}
OBi2 OBiTALK has an inbound call route of {111111111:aa},{333333333:ph}
If I were to call into OBi1's SP1, OBi2's call log would show 333333333 but would go to AA (the rule for 111111111, not the rule for 333333333).
Why is that?
2) I can't seem to get the $1 variable to work. For example, if I use the following inbound call route:
{ph,pp($1>ob111111111)}, the call log on that OBi will show a call from "$1" instead of the caller's number. Why?
Thanks!