Hi,

I'm trying to set up a sipgate.co.uk inbound trunk in Astlinux.
It shows as 'OK' but under SIP Peer Status and is not shown under SIP Trunk 
Registrations in the GUI.
The 'sip show registry' command shows other trunks but not this one.

 All other trunks, extensions and dial plan info were entered via the Asterisk 
GUI.

Could someone help me with this please?







Here are the modifications I made for sipgate.

The relevant sections of sip.conf:

[general]
context = default  ;default context for incoming calls
bindport = 5060
bindaddr = 0.0.0.0
srvlookup = yes
disallow = all  ;disallow all codecs
allow = alaw  ;except alaw (1st pref)
allow = ulaw  ;and ulaw (second pref)


register => USERNAME: [email protected]/USERNAME
[sipgate.co.uk]
type = friend
insecure = port,invite
context = [from-sipgate]
fromuser = USERNAME
username = USERNAME
defaultuser = USERNAME
secret = SECRET
host = sipgate.co.uk
fromdomain = sipgate.co.uk
dtmfmode = rfc2833
canreinvite = no
disallow = all
allow = alaw
allow = ulaw
nat = yes
qualify = yes
outboundproxy=proxy.live.sipgate.co.uk

-----------------
extensions.conf: (not sure if it matters where this goes in the extensions.conf 
file…)

; Trunk from sipgate [sipgate.co.uk]
[from-sipgate]
exten => USERNAME,1,Noop(Incoming SIP call from ${CALLERID(all)} @ sipgate 
calling ${EXTEN})
exten => USERNAME,n,SetCallerID(Via SipGate <${CALLERID(num)}>)
exten => USERNAME,n,Dial(SIP/101)

; USERNAME = trunk login username


------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________
Astlinux-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/astlinux-users

Donations to support AstLinux are graciously accepted via PayPal to 
[email protected].

Reply via email to