Quote from: azrobert on March 06, 2015, 07:08:12 AM
Quote from: 202Owner on March 06, 2015, 05:51:28 AM
And, I don't understand the need to specify the userID = the mapped CallerID number, $1. Calling tf.callwithus.com requires no account and no user authentication credentials.
You are supplying the callerid to CallWithUs then CWU will pass it to NoMoRobo. If you don't do this, all calls will be rejected by NoMoRobo.
Makes sense. I'm just not following the syntax. From my notes:
*****
Format: TK(uri;ui=userid[:password];op=[ i ][ m ][ n ][ s ])
Option flags: i=ice, m=symmetric-rtp, n=use-natted-address, s=stun
Examples:
Speed Dial = sp1(xxx-xxx-xxxxx@sip.inum.net;ui=1000:xyz;op=sm)
Voice Gateway AccessNumber = sp1(sip.inum.net;ui=1000;op=imns)
Notes:
1. ui=userid[:password] overwrites any Voice Gateway AuthUserID and AuthPassword setting.
2. If SPn stun is disabled, then the stun client is disabled and attempting s=stun may crash.
And for inbound call routes:
terminal-list = terminal,terminal,.... (comma-separated list of 0 or more terminal objects)
terminal = PHn OR AAn OR LIn(arg) OR SPn(arg) OR PPn(arg) n=1,2,3,4 where applicable
arg = cid>target
cid = spoofed-caller-number OR $1
target = number-to-call OR $2
An empty arg object implies the arg with the target $2 and no cid. The () can be omitted.
An empty cid object implies no CallerID spoofing when making the call on the specified trunk. The > can be omitted.
An empty target object implies the target $2, which means to call the original called number after applying any necessary digit map transformation implied by the rule. The > cannot be omitted if the cid is not empty.
Spoofed-caller-number and number-to-call are literal strings.
$1 is an internal variable containing the value of the caller number of this inbound call, after any digit map transformation in the matched caller object of the matched peering object in the peering-list.
$2 is an internal variable containing the called number of this inbound call, after any digit map transformation in the matched callee object of the matched peering object in the peering-list.
***
So given the suggested fork to sp2(18661234567@tf.callwithus.com;ui=$1), I don't follow setting the userid, ui, equal to the inbound cid, $1. I understand wanting to route/fork the inbound CID to Nomorobo, but I don't understand using the userid paramenter to do this.
I also ask, shouldn't the inbound CID follow the fork route without assistance? Maybe the OBi breaks this. I should go find and read the other thread mentioned.