Trixbox 1.1- Einrichten eines SIP Providers

cohibnig

Neuer User
Mitglied seit
24 Mrz 2006
Beiträge
156
Punkte für Reaktionen
0
Punkte
0
Hallo!

Ich habe heute eine Trixbox 1.1. installiert. Mit der PBXFree Oberflöche habe ich dann die Nebenstellen konfiguriert. Funktioniert alles super. Ich habe jetzt nur das Problem mit dem Providern. Kann mir wer sagen wie man zB Sipagte in der FreePBX konfiguriert. ICh habe schon den Asterisk-Kurs von Betateilchen durchgemacht, aber der bezieht sich ja mehr oder weniger auf Asterisk.

Danke.

Gruß

Juergen
 
So geht's bei mir:

sip.conf
Code:
[general]
port = 5060           ; Port to bind to (SIP is 5060)
bindaddr = 0.0.0.0    ; Address to bind to (all addresses on machine)
localnet=192.168.178.0/255.255.255.0
externip=meinedomain.dyndns.com
srvlookup=yes
language=de
nat=yes
disallow=all
allow=ulaw
allow=alaw
; If you need to answer unauthenticated calls, you should change this
; next line to 'from-trunk', rather than 'from-sip-external'.
; You'll know this is happening if when you call in you get a message
; saying "The number you have dialed is not in service. Please check the
; number and try again."
context = from-sip-external ; Send unknown SIP callers to this context
callerid = Unknown
tos=0x68

; #, in this configuration file, is NOT A COMMENT. This is exactly
; how it should be.
#include sip_nat.conf
#include sip_custom.conf
#include sip_additional.conf

sip_additional.conf
Code:
register=58xxxxx:[email protected]/58xxxxx


[sipgate]
username=58xxxxx
type=peer
secret=password
qualify=true
nat=yes
host=sipgate.de
fromuser=58xxxxx
fromdomain=sipgate.de

[sipgate-in]
username=58xxxxx
type=friend
secret=password
nat=yes
insecure=very
host=sipgate.de
fromuser=58xxxxx
fromdomain=sipgate.de
context=from-pstn

asterisk -vvvvvr zeigt

Code:
asterisk1*CLI> sip show registry
Host                            Username       Refresh State
sipgate.de:5060                 58xxxxx            105 Registered

asterisk1*CLI> sip show peers
Name/username              Host            Dyn Nat ACL Port     Status
sipgate-in/58xxxxx         217.10.79.9          N      5060     Unmonitored
sipgate/58xxxxx            217.10.79.9          N      5060     Unmonitored
 
Kostenlos!

Statistik des Forums

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