PhonePower SIP / Asterisk
mikewis:
Ok.. I have Phonepower setup through my Obi110. Works great but now I want to use my phonepower account as a trunk on my Freepbx/Asterisk Server. With phonepower you can use SIP credentials but I cannot get it to work as a trunk on my Asterisk server. Anybody use Phonepower with Asterisk?
I register my Obi110 as a Extension on my Asterisk server but would like to use PhonePower as my outbound Trunk.
Any help appreciated
Thanks
Mike
Taoman:
If you are subscribing to one of the PhonePower "OBi" plans you can only register an OBi device or the PP softphone. And PhonePower requires registration for an outbound call.
Edit: This string appears to register a line and make it available in Asterisk. I am unclear whether this method will work for an "OBi" PhonePower plan, however. I was fairly certain only an OBi device could register on an "OBi" PhonePower subscription.
Quote
register =>[[Auth ID]]:[SIP Password]]@[[Proxy]]/[[SIP User ID]]
Have you followed this guide?
http://www.phonepower.com/wiki/Configuring_Asterisk_To_Use_SIP_Credentials
azrobert:
If Taoman's suggestion doesn't work, leave Phonepower defined on the OBi110 and access it from Asterisk.
Setup an Asterisk trunk without registration:
Trunk Name: OBi110
PEER Details:
type=peer
username=mikewis
host=192.168.1.110
port=5061
canreinvite=no
insecure=invite,port
qualify=yes
Host = IP address of the OBi110
Port = port number of SP2
Setup an Asterisk outbound route for the OBi110 trunk.
OBi110
Setup a dummy SIP definition on SP2 like this:
Service Providers -> ITSP Profile B -> SIP -> ProxyServer: 127.0.0.1
Service Providers -> ITSP Profile B -> SIP -> X_SpoofCallerid: Checked
Voice Services -> SP2 Service -> AuthUserName: anything
Voice Services -> SP2 Service -> X_RegisterEnable: unchecked
Voice Services -> SP2 Service -> X_ServProvProfile: B
Voice Services -> SP2 Service -> X_InboundCallRoute: {mikewis>(xx.):sp1}
Route inbound SP1 calls to the OBi110 phone port and Asterisk
Voice Services -> SP1 Service -> X_InboundCallRoute:
ph,sp2(1000@xx.xx.xx.xx:5060)
xx.xx.xx.xx:5060 is the IP address and port of Asterisk.
In Asterisk setup an inbound route with DID = 1000
mikewis:
Well it shows Registered in PhonePower.. My freepbx shows Registered. When I dial out on the trunk it says all circuits busy.
I did follow the Guide Taomans suggested but I am not sure what I am missing as it doesn't work.
@azrobert
So if I did what you said would I be able to get incoming calls from Phonepower on Obi and pass to asterisk?
I have GV working on Freepbx but I want to use Phonepower as it provides Caller ID name and not Just number.
Thanks
Mike
Quote from: azrobert on June 09, 2015, 10:04:25 pm
If Taoman's suggestion doesn't work, leave Phonepower defined on the OBi110 and access it from Asterisk.
Setup an Asterisk trunk without registration:
Trunk Name: OBi110
PEER Details:
type=peer
username=mikewis
host=192.168.1.110
port=5061
canreinvite=no
insecure=invite,port
qualify=yes
Host = IP address of the OBi110
Port = port number of SP2
Setup an Asterisk outbound route for the OBi110 trunk.
OBi110
Setup a dummy SIP definition on SP2 like this:
Service Providers -> ITSP Profile B -> SIP -> ProxyServer: 127.0.0.1
Service Providers -> ITSP Profile B -> SIP -> X_SpoofCallerid: Checked
Voice Services -> SP2 Service -> AuthUserName: anything
Voice Services -> SP2 Service -> X_RegisterEnable: unchecked
Voice Services -> SP2 Service -> X_ServProvProfile: B
Voice Services -> SP2 Service -> X_InboundCallRoute: {mikewis>(xx.):sp1}
Route inbound SP1 calls to the OBi110 phone port and Asterisk
Voice Services -> SP1 Service -> X_InboundCallRoute:
ph,sp2(1000@xx.xx.xx.xx:5060)
xx.xx.xx.xx:5060 is the IP address and port of Asterisk.
In Asterisk setup an inbound route with DID = 1000
azrobert:
Quote
So if I did what you said would I be able to get incoming calls from Phonepower on Obi and pass to asterisk?
Yes, see the last 5 lines of my post.
Quote
I have GV working on Freepbx but I want to use Phonepower as it provides Caller ID name and not Just number.
You can setup Superfecta on FreePBX to get CallerID Name on your GV trunk.
I use Raspbx and had to install SuperFecta using Admin/Module Admin.
You have to configure Superfecta under Admin/CID Superfecta.
I modified the Default Scheme by unselecting everything then selecting OpenCNAM.
At the bottom of the page you have to agree to license terms and save.
You can also setup the Asterisk Phonebook and make that the primary CNAM lookup.
I also had to install the Asterisk Phonebook module.
On your inbound route for GV enable Superfecta.
The free OpenCNAM allows 10 queries per hour.
See: https://www.opencnam.com/pricing
I think using the Asterisk Phonebook will limit the number lookups you do.
In the Superfecta config there is a test function where you enter a phone number and see the result of the lookup.
Navigation
[0] Message Index
[#] Next page