Avatar of lbeg
lbegFlag for United States of America

asked on 

TRIXBOX, connecting an sip phone over wan using sip?

using trixbox, how do i connect a grandstream gxp2000 to the server via a wan connection using an sip account?

I'm using 2 linksys routers on either end.
IP TelephonyLinuxVoice Over IP

Avatar of undefined
Last Comment
richardsimnett
ASKER CERTIFIED SOLUTION
Avatar of toddr123
toddr123

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
Avatar of richardsimnett
richardsimnett

You need to setup the extension first in your sip.conf (this can be found in /etc/asterisk on linux). In the file you will create something like this that defines the parameters of your extension and device:


[123] ; this is your extension number
context=to-callcentric ;this defines what context OUTBOUND calls from this device are handled by (defined in extensions.conf)
type=friend ; this defines the type of connection
secret=1234 ; this is the password for your extension
qualify=yes
port=5060 ; the port SIP requests should be answered on
nat=yes ; are you traversing nat?
mailbox=123@default ; corresponds to your voicemailbox as defined in voicemail.conf
host=dynamic ; the type of host your device is
dtmfmode=rfc2833 ; keytone modes typically leave it at this setting
dial=SIP/123 ;
canreinvite=no;
callerid=device <123> ;your devices caller id


For more information also check out this link, it is as close to a complete asterisk users guide as you will get, and its FREE and published by O'Reilly. I highly recommend it.

http://www.nufone.net/downloads/asteriskdocs/AsteriskTFOT.zip

Hope this helps.

Linux
Linux

Linux is a UNIX-like open source operating system with hundreds of distinct distributions, including: Fedora, openSUSE, Ubuntu, Debian, Slackware, Gentoo, CentOS, and Arch Linux. Linux is generally associated with web and database servers, but has become popular in many niche industries and applications.

71K
Questions
--
Followers
--
Top Experts
Get a personalized solution from industry experts
Ask the experts
Read over 600 more reviews

TRUSTED BY

IBM logoIntel logoMicrosoft logoUbisoft logoSAP logo
Qualcomm logoCitrix Systems logoWorkday logoErnst & Young logo
High performer badgeUsers love us badge
LinkedIn logoFacebook logoX logoInstagram logoTikTok logoYouTube logo