Recommended Trunk Settings (freepbx)

535 views
Skip to first unread message

doc

unread,
Jul 26, 2016, 9:48:30 PM7/26/16
to ASTPP

Hello

Apologies for the basic question but I've been having trouble making calls from from freepbx via astpp. I'd appreciate it if somebody could give me an example of a trunk config for freepbx to connect to astpp.

...Thanks....

Hardik Patel

unread,
Jul 27, 2016, 2:38:55 AM7/27/16
to as...@googlegroups.com
For that you can configure one of the device of FreePBX as a gateway in ASTPP, this will route the call through ASTPP and it will bill the call by ASTPP.

If you need any training then you can contact us on sa...@inextrix.com

Thanks,
Hardik Patel
iNextrix Technologies Pvt Ltd.
www.inextrix.com


--
=====================================================================
Documentation : https://astppdoc.atlassian.net/
Please contact at sa...@inextrix.com for commercial support.
---
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 https://groups.google.com/group/astpp.
To view this discussion on the web visit https://groups.google.com/d/msgid/astpp/3e37b39b-0bdb-41d5-8bfd-76d1d654b333%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

doc

unread,
Jul 27, 2016, 7:49:29 AM7/27/16
to ASTPP
Hi thanks for the response. I did have it working a few weeks ago but freepbx got corrupted (no backup).
Could somebody confirm if the following should work for outgoing calls via astpp (I take it the Register String on incoming does need anything)?

Freepbx astpp Trunk

Outgoing 

 PEER Details

username=Sip Device Username
secret=Sip Device password
host=astpp ip address
type=peer
insecure=very
nat=yes
canreinvite=no
dtmfmode=rfc2833
context=from-trunk
qualify=yes

Samir Doshi

unread,
Jul 27, 2016, 9:03:13 AM7/27/16
to ASTPP
Please configure register string as well in your asterisk sip.conf. 


Best Regards
--
Samir Doshi
iNextrix Technologies Pvt. Ltd.
http://www.inextrix.com



Disclaimer:
The information contained in this communication is confidential and may be legally privileged. It is intended solely for the use of the individual or entity to whom it is addressed and others authorised to receive it. If you are not the intended recipient you are hereby notified that any disclosure, copying, distribution or taking action in reliance of the contents of this information is strictly prohibited and may be unlawful.

doc

unread,
Jul 27, 2016, 11:12:42 AM7/27/16
to ASTPP
Thanks Samir, done.

I checked freeswitch and this warning comes up

2016-07-27 13:52:51.290690 [WARNING] sofia_reg.c:2852 Can't find user [6737603033@astpp.ip.address] from freepbx.ip.address
You must define a domain called 'astpp.ip.address' in your directory and add a user with the id="6737603033" attribute and you must configure your device to use the proper domain in it's authentication credentials.
2016-07-27 13:52:53.410697 [WARNING] switch_core_state_machine.c:572 64235126-54 01-11e6-a38d-3709f466abae sofia/internal/50@astpp.ip.address Abandoned

Samir Doshi

unread,
Jul 27, 2016, 11:32:41 AM7/27/16
to as...@googlegroups.com
By looking at logs it looks like that extension is not avaliable in your astpp. Please confirm.

If that is exist and giving problem then try with from user parameter in asterisk config. 

For more options, visit https://groups.google.com/d/optout.


--
Sent from my iPhone

doc

unread,
Jul 27, 2016, 2:46:50 PM7/27/16
to as...@googlegroups.com
Yes it does exist. And I just tried 

fromuser=6737603033

same warning message and I also tried another sip device.
To unsubscribe from this group and stop receiving emails from it, send an email to astpp+unsubscribe@googlegroups.com.

To post to this group, send email to as...@googlegroups.com.
Visit this group at https://groups.google.com/group/astpp.
To view this discussion on the web visit https://groups.google.com/d/msgid/astpp/86b8a317-476c-4a22-9335-6b6256046cb6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Samir Doshi

unread,
Jul 28, 2016, 9:29:14 AM7/28/16
to ASTPP
Run show registration command in your fs and confirm if that extension is registered or not. 


Best Regards
--
Samir Doshi
iNextrix Technologies Pvt. Ltd.
http://www.inextrix.com



Disclaimer:
The information contained in this communication is confidential and may be legally privileged. It is intended solely for the use of the individual or entity to whom it is addressed and others authorised to receive it. If you are not the intended recipient you are hereby notified that any disclosure, copying, distribution or taking action in reliance of the contents of this information is strictly prohibited and may be unlawful.

On Thu, Jul 28, 2016 at 12:16 AM, doc <testb...@gmail.com> wrote:
Yes it does exist. And I just tried 

fromuser=6737603033

same warning message



--
Sent from my iPhone

--
=====================================================================
Documentation : https://astppdoc.atlassian.net/
Please contact at sa...@inextrix.com for commercial support.
---
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 https://groups.google.com/group/astpp.

doc

unread,
Aug 4, 2016, 9:56:04 AM8/4/16
to ASTPP
Hello Samir

Because of all the problems I decided to install astpp 3.0 instead.
Its working now with a minor issue, I'll make a new post about it.
To unsubscribe from this group and stop receiving emails from it, send an email to astpp+unsubscribe@googlegroups.com.

To post to this group, send email to as...@googlegroups.com.
Visit this group at https://groups.google.com/group/astpp.
To view this discussion on the web visit https://groups.google.com/d/msgid/astpp/86b8a317-476c-4a22-9335-6b6256046cb6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


--
Sent from my iPhone
Reply all
Reply to author
Forward
0 new messages