Cannot see ASTPP logs.

615 views
Skip to first unread message

ASTPP/FreeSWITCH

unread,
May 21, 2014, 10:10:38 AM5/21/14
to as...@googlegroups.com
Hi. I try to setup FreeSWITCH with ASTPP billing. Followed by instructions i have configured freeswitch and ASTPP(Can register phones, can do internal calls), but i cant do external calls with defined gateways. Now i am trying to debug ASTPP but don't see any logs except astpp.csv. 

ASTPP CONF:

; ASTPP Database Connection Information
dbhost = 127.0.0.1
dbname = astpp
dbuser = root
dbpass = pwd
astpp_dbengine = MySQL
debug = 1


in System Settings from web interface i was enable debug->1 and set correctly path to logfile.
Any ideas?

Hardik Patel

unread,
May 21, 2014, 10:20:12 AM5/21/14
to as...@googlegroups.com
Hi
Please change environment variable in index.php file and then check it
change environment production to development and then check it in log.


--
You received this message because you are subscribed to the Google Groups "ASTPP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to astpp+un...@googlegroups.com.
To post to this group, send email to as...@googlegroups.com.
Visit this group at http://groups.google.com/group/astpp.
To view this discussion on the web visit https://groups.google.com/d/msgid/astpp/0b97f041-82b8-4ff4-95cb-d297ab8b7c5d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
Thanks,
Hardik Patel

Samir Doshi

unread,
May 21, 2014, 3:52:53 PM5/21/14
to as...@googlegroups.com
Hi,

Once you enable debug log from system configuration then you should be able to get astpp call logs from apache logs.

Thanks,
Samir Doshi


Andrey Storchak

unread,
May 22, 2014, 2:02:23 AM5/22/14
to as...@googlegroups.com
Hi. Thanks for reply. Now i can see all debug output in apache logs. Is the are some complete guide to configure freeswitch gateways with ASTPP?

--
You received this message because you are subscribed to a topic in the Google Groups "ASTPP" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/astpp/ONpmUv2IYh8/unsubscribe.
To unsubscribe from this group and all its topics, send an email to astpp+un...@googlegroups.com.

To post to this group, send email to as...@googlegroups.com.
Visit this group at http://groups.google.com/group/astpp.

Andrey Storchak

unread,
May 22, 2014, 2:05:30 AM5/22/14
to as...@googlegroups.com
I saw this post: https://groups.google.com/forum/#!topic/astpp/9Vfa56qbP00 
But not understand(i am noob in VOIP). 
In first step i need to configure Routing but i dont have one in ASTPP Routing menu.

Снимок экрана 2014-05-22 в 09.03.40.png

Samir Doshi

unread,
May 22, 2014, 2:36:15 PM5/22/14
to as...@googlegroups.com
Hi Andrey,

You can simply configure your gateway under Routing -> Gateways menu.

You can find field explanation from here,
https://wiki.freeswitch.org/wiki/Clarification:gateways#conf.2Fsip_profiles.2Fexternal.2Fexample.xml

Thanks,
Samir Doshi


Andrey Storchak

unread,
May 23, 2014, 5:47:34 AM5/23/14
to as...@googlegroups.com
Si Samir, thank for your reply. I have already configured freeswitch, but without astpp. Now i trying to take them works together.


Andrey Storchak

unread,
May 23, 2014, 6:33:11 AM5/23/14
to as...@googlegroups.com
*Hi. I got it work but now i get message 
 2014-05-23 13:31:58.517626 [DEBUG] switch_ivr_originate.c:2069 Parsing global variables
2014-05-23 13:31:58.517626 [ERR] mod_sofia.c:5045 Invalid Profile

Andrey Storchak

unread,
May 23, 2014, 7:06:25 AM5/23/14
to as...@googlegroups.com
Ok. I got it work. The are one more question. Can ASTPP provide per second tarification? We need ASTPP update balance state when call is ended. How can i do this?

Andrey Storchak

unread,
May 23, 2014, 8:27:36 AM5/23/14
to as...@googlegroups.com
Ok i see that mod_xml_cdr provide this functions, but when  try apt-get install freeswitch-mod-xml-cdr i got error:
fter this operation, 45.1 kB of additional disk space will be used.
Err http://files.freeswitch.org/repo/deb/debian/ wheezy/main freeswitch-mod-xml-cdr amd64 1.2.23~1-1~wheezy+1
  404  Not Found
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

Andrey Storchak

unread,
May 26, 2014, 3:02:38 AM5/26/14
to as...@googlegroups.com
Hi Samir. Got it work. But broke internal calls :)
Phone->Zoiper = Success
Zoiper->Phone = Fail 


Samir Doshi

unread,
May 26, 2014, 3:16:37 AM5/26/14
to as...@googlegroups.com
Hi,

Please capture call log and send me.

Thanks,
Samir Doshi


Andrey Storchak

unread,
May 26, 2014, 3:55:10 AM5/26/14
to as...@googlegroups.com
Hi Samir. Thank you for your reply. I have changed my softphone and it works. Thanks.



Reply all
Reply to author
Forward
0 new messages