[Gelöst] freepbx setup for fritzbox as trunk

vortex1

Neuer User
Mitglied seit
1 Mrz 2010
Beiträge
96
Punkte für Reaktionen
0
Punkte
0
i would like to setup fritzbox 7170(Firmware version 58.04.84) as trunk (fxo) to the freepbx (elastix 2.3.0).
my setup is an asterisk server with IP 192.168.178.100
the fritzbox has an ip 192.168.178.150 and it has a setup 'get internet from LAN 1'.
bot the fritz and the server are seeing each other through a router 192.168.178.1

on the fritzbox the fxs ports have an extension registered to freepbx. the fritzbox acts only as ATA.
i have created a new telephony device through IP with username 620 and password 123456.
on the freepbx i have created a new sip trunk and i have the following:
peer details

registration string
620:[email protected]/620

Code:
localhost*CLI> sip show registry
Host                                    dnsmgr Username       Refresh State                Reg.Time
192.168.178.100:5060                    N      620                120 No Authentication
1 SIP registration.
localhost*CLI>

the problem is that i cannot register the trunk at all. any hints?
 
Zuletzt bearbeitet von einem Moderator:
sorry this is a typo.
is the config correct?
apart from the registration string what else do ihave to put on the context/peer/trunk details?
 
Hi.
in peer details i do have
context=from-pstn
type=peer
insecure=very
qualify=yes
dtmf=rfc2833
username=620
secret=123456
host=192.168.178.150
disallow=all
allow=ulaw&g729


still no success in registration of fritzbox as a trunk to asterisk
 
You could try 'sip set debug on' and then 'sip reload' to see what's going on in detail. Disable all other peers and sip clients before you do so, because you'll get buckets of useless stuff otherwise.
 
hi.
i do have a solution. the thread can close now.

thanks a lot
 
Would you be so kind to tell us your solution? Just in case anyone suffers the same issue.

Please change the thread title prefix to "Gelöst" (=solved) yourself.
 
Hm, where do i change it?
 
You have to edit the very first post in advanced mode (Bearbeiten -> Erweitert in the german profile).

And don't forget to tell us your solution ;-)
 
solution

i had a space in the registration string.
 
Hi. i am bringing this thread up, since i do have a similar issue. is there a way to register a trunk between fritz 7170 that gets an isdn with 4 numbers in total and freepbx. But only one registration to be?
I am looking for a solution to apart from having 4 different sip trunks, one for each of the isdn numbers.
 
Kostenlos!

Statistik des Forums

Themen
249,052
Beiträge
2,309,531
Mitglieder
378,850
Neuestes Mitglied
IchBinEsDoch