|
I'll post some details later today when I'm back home. That should make it crystal clear.
My next step is to bring this up on voxilla, but, alas, have been busy doing 'real' work for the past few days. Now that I have my second SPA-3000, I'm _really_ interested in getting past this hurdle. Hopefully it's something Sipura will address or clarify.
Unfortuately the few specific messages I've come across so far seem to flatly state, "it's not possible" (even phoneboy said that I think), "not by design," "resource constrained" ... blah blah. I, optimistically, don't believe it but haven't come across an "offical" response from Sipura one way or the other. My hunch is they could do it, rather easily, since it's 99% of the way there (see below).
Through further experimentation I AM able to make caller-ID work, but then came across another stumbling block for the overall plan.
The caller-ID info CAN and WILL be passed to the final SIP destination, before "answering" the PSTN line IF:
1. Caller-ID was supplied on the original call (of course)
2. <PSTN CID For VoIP CID> = Yes
3. <PSTN-To-VoIP Gateway Enable> = No
Here's where it gets tricky:
If, in the User 1 tab, <Cfwd Sel1 Caller> set to the <user id> of the PSTN line, and <Cfwd Sel1 Dest> set to an extension in the asterisk context for the PSTN line ... works ONLY when there's no caller-ID supplied/received or passed-on from PSTN.
The selective forwarding works at this point because it matches the <user ID> of the PSTN line, but the caller-ID passed to the SIP extension is the PSTN line's <user ID> in this case.
To work past that, make sure that <PSTN Ring Thru Delay> is set high enough (i.e. 3 or 4 secs in US) to allow for complete reception of FSK transmission from telco, before ringing thru AND ... here's the kicker ... you CAN'T selective forward on the <user ID> anymore because it's now the CALLER-ID!!!!
So you have to call-forward "always" to make it work now. You can do things like call-forward-selective on, say, 516*, which might help out some folks.
I haven't done anything past this right now, but maybe there's something more that can be done with the wildcard matching in the call-forward fields and tricky digit strip/replace dial-plans or some such ... time will tell.
Keen observer will then say ... but what if I want to use <Line 1> for "regular" SIP/FXS functions. That's the rub ... you CAN'T since it'll always be forwarded.
So close, yet so far.
|