Asterisk
Setup an outbound trunk without registration for the OBi110:
Peer Details:
type=peer
username=OBi110
host=192.168.1.110 (IP Addr and OBi110)
port=5061 (Port of SP2)
fromuser=OBi110
canreinvite=no
insecure=invite,port
qualify=yes
Setup an outbound route for above trunk
Setup an inbound route for 900 (See OBi110 Line inbound route)
OBi110
SP2 must be defined as an SIP trunk to send/receive to/from Asterisk.
If SP2 is not defined, setup a dummy SIP definition like this:
Service Providers -> ITSP Profile B -> SIP -> ProxyServer: 127.0.0.1
Voice Services -> SP2 Service -> AuthUserName: OBi110
Voice Services -> SP2 Service -> X_RegisterEnable: (unchecked)
Voice Services -> SP2 Service -> X_ServProvProfile: B
Pass CallerID to Asterisk
Service Providers -> ITSP Profile B -> SIP -> X_SpoofCallerID: Checked
Route outbound calls from Asterisk to Line
Voice Services -> SP2 Service -> X_InboundCallRoute: {OBi110>(Mli):li},{ph}
Route inbound Line calls to Asterisk
Physical Interfaces ->Line Port -> InboundCallRoute:
sp2(900@192.168.1.100:5060) (Asterisk IP address and port)
This setup is from my Raspberry Pi.
I believe it's the exact setup as my PIAF.
I don't use PIAF anymore.
If you want me to check PIAF, it would take some minor changes to fire it up and access it.
Edit:
I added X_SpoofCallerID