Quote from: azrobert on July 13, 2014, 10:57:34 AM
I'm not 100% sure, but I think {(1?xxx1xx.):} is working as designed. I believe the caller will hear ringing, but nothing will happen on the OBi. After the set number of rings PP will send the call to VM.
Further testing shows that you are absolutely correct.
Quote from: azrobertI send calls to my CC account, but I don't have a DID. I send the call to my CC account number like this:
{(1?xxx1xx.):sp4(17771234567@in.callcentric.com;ua=$1)}
ua=$1 will include the inbound callerid.
Your syntax looks correct, so I suspect you can't send a call via URI to a CC DID.
Edit:
Maybe it's not working because you're not sending the callerid.
You got me wondering, so I checked my CC call log. It does indeed show that the call is hitting the CC server, but it's not liking something it sees (w/ or w/o the ua=$1), as it shows
Incoming: Error in the Destination column. I also proved that I can place a normal SIP call to the CC DID by temporarily changing my F9 DID destination to the CC DID via SIP, and it worked as expected.
At this point, the answer is academic as I stumbled upon an alternate solution. While I was copy/pasting different strings into sp1's X_InboundCallRoute, I accidentally used the example number from your post (17771234567) as the destination. It turns out that is an
actual number on Callcentric... to FREE 411! Since my intent was only to keep the obvious CID manipulators from ringing my phone or getting to voice mail, this works quite nicely. So now, I simply have:
{(1?xxx1xx.):sp3(17771234567)},{>(7147654321):ph}}
On a related topic, going through my call logs and CID stored in the phone, I noticed some
PRIVATE CALLER entries in the number field. I know I can add them to InboundCallRoute, and I've read the OBi Device Admin Guide re the @ element ("A wildcard character that matches any alphanumeric character except #"), but it's not clear to me if that includes the
space character. So, would the correct syntax be
(1?xxx1xx.|PRIVATE@@.) or
(1?xxx1xx.|PRIVATE' '@@.) ?