plivo freeswitch setup

588 views
Skip to first unread message

Dhairya Vora

unread,
Jan 29, 2013, 2:46:13 AM1/29/13
to plivo...@googlegroups.com
I have installed freeswitch using below steps given at http://docs.plivo.org/get-started/
After installing freeswitch i added a new external sip_profiles at /usr/local/freeswitch/conf/sip_profiles/external/ and did sofia profile external rescan reloadxml and found added sip profile as REGED.

Then I installed plivo same steps given at http://docs.plivo.org/get-started/
When i open http://serverIP:8088/ in browser, browser cannot connect to that page. On and old working plivo freeswitch server http://serverOldServerIP:8088/ I get 401 Unauthorized. So, somehow new server is not running perfectly. When I try to generate call using plivohelper.php, it gives curl could not connect error. 

Am i missing some step?

virendra singh

unread,
Jan 29, 2013, 2:55:59 AM1/29/13
to plivo...@googlegroups.com
have maintain your plivo default.conf proper please see on that file and also see line Answer url in that configuration file.
please connect us sure have some small error is going on there. please mail screen short of error 

--
You received this message because you are subscribed to the Google Groups "Plivo Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to plivo-users...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 



--
VIRENDRA SINGH
 Assistent Project Manager
 agropedia, R#3, Media Lab, IIT Kanpur 208016 INDIA
 Tel. +91 512 2594005 Mobile +91 9305686464
 Skype, Gtalk : virendra.singh281
URL: agropedia.netvkvk.inagropedialabs.iitk.ac.in/extension

Dhairya Vora

unread,
Jan 29, 2013, 3:04:57 AM1/29/13
to plivo...@googlegroups.com

In /usr/local/plivo/etc/plivo/default.conf, I have changed 

DEFAULT_ANSWER_URL = http://127.0.0.1/inbound.php

AUTH_ID = myid
AUTH_TOKEN = mytoken

ALLOWED_IPS = 127.0.0.1,server1IP,server2IP

HTTP_ADDRESS = 0.0.0.0:8088

and service plivo restart after making those changes. 

My old working plivo freeswitch server had this configs. But old server had old version of plivo and fs. So, I am trying to setup new versions on new server. I dont remember if i am missing some step.

About errorws: I don't see any errors in log file. I am trying to call curl from php and getting curl could not connect error and also i cannot find anything in /usr/local/plivo/tmp/plivo-rest.log file after INFO: Connected to FreeSWITCH
Reply all
Reply to author
Forward
0 new messages