I have successfully set things up on my Obi202 so that all my calls also ring my Android phone with CSipSimple and a Sip2Sip account... although my only complaint is that the CallerID always shows my Sip2Sip username and not the actual caller... I tried enabling X_SpoofCallerID and it effectively stops my Android from receiving the calls after that; whether I have registration enabled or not.
Anyways, I cannot, for the life of me, make outgoing calls from CSipSimple. I have done this in the past, can't get it to work now. Here is what I did:
Voice Service > SP2 Service > X_InboundCallRoute:
Quote{(Mcot)>(<**7**1:>(Msp1)),(Mcot)>(<**1:>(Msp1)):sp1},{(Mcot)>(<**7**2:>(Msp2)),(Mcot)>(<**2:>(Msp2)):sp2},{(Mcot)>(<**7**3:>(Msp3)),(Mcot)>(<**3:>(Msp3)):sp3},{(Mcot)>(<**7**4:>(Msp4)),(Mcot)>(<**4:>(Msp4)):sp4},{(Mcot)>(<**7**9:>(Mpp)),(Mcot)>(<**9:>(Mpp)):pp},{(Mcot)>(<**7:>(**0)),(Mcot)>**0:aa},{(Mcot)>(<**7:>(***)),(Mcot)>***:aa2},{(Mcot)>(<**7:>(Msp1)),(Mcot)>(Msp1):sp1},{(Mcot)>(<**7:>(0)),(Mcot)>0:ph,ph2},{ph,ph2}
SP1 is my default. SP2 (obviously) is where I want to receive the calls from the Android in order to use SP1 (one voip service) and SP3 (another voip service).
User Settings > User Defined DigitMaps > User Defined Digit Map2 > Label:
cot
User Settings > User Defined DigitMaps > User Defined Digit Map2 > DigitMap:
(aaaaaa's')
(Where
aaaaaa's' is my username... which ends in an s... and apparently
s is a used character).
In CSipSimple, my Sip2Sip account is successfully registered. I have the STUN server enabled, and in order to add a prefix and suffix:
Settings > Filters > Sip2Sip > Add Filter / rewrite rule
Changed Can't Call to Rewrite
Changed Starts with to All
Changed Replace match by to Prefix by (and then Suffix with when making the separate suffix rule)
I added **7 as a prefix and @username.no-ip.org:5081 (my X_UserAgentPort for SP2 is 5081... which I also forwarded on my router). My public ip address is also updated with my ddns, and I also have X_DiscoverPublicAddress in Profile B SIP).
Yet, when I dial out, no matter what I dial, I right away get the error "404 / User not found." And nothing shows up in my Obi history.
It seems like the call isn't even attempting to go out on CSipSimple... not even for the Obi to reject it or something. Any ideas?
In case anybody is wondering, I went through all this a couple of years ago:
https://www.obitalk.com/forum/index.php?topic=4682.0