> register => USERNAME: [email protected]/USERNAME


You haven't got a space between the colon and the password, have you?

 

Tom

 

 

From: Aaron Sarginson [mailto:[email protected]] 
Sent: 17 July 2013 17:01
To: AstLinux Users Mailing List
Subject: Re: [Astlinux-users] Manual Configuration of SIP Trunk Confusion -
sipgate.co.uk

 

Brackets now removed.

Unfortunately, the trunk still isn't active, answering or acting any
differently.

Thanks for answering

 

On 17 Jul 2013, at 15:12, David Kerr <[email protected]> wrote:





Maybe you shouldn't have square brackets around the context?  Here is what I
have...

 

 

register => <userid>:<password>@sipgate.co.uk/<userid>

 

[sipgate]

type = peer

dtmfmode = auto

insecure = invite

context = DID_sipgate

host = sipgate.co.uk <http://sipgate.co.uk/> 

fromdomain = sipgate.co.uk <http://sipgate.co.uk/> 

outboundproxy=proxy.live.sipgate.co.uk <http://proxy.live.sipgate.co.uk/> 

defaultuser = userid

fromuser = <userid>

authuser = <userid>

secret = <password>

disallow = all

allow = ulaw,alaw

canreinvite = no

qualify = 4000

 

On Wed, Jul 17, 2013 at 9:20 AM, Aaron Sarginson <[email protected]>
wrote:

Hi,

I'm trying to set up a sipgate.co.uk <http://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 <http://sipgate.co.uk/> ]
type = friend
insecure = port,invite
context = [from-sipgate]
fromuser = USERNAME
username = USERNAME
defaultuser = USERNAME
secret = SECRET
host = sipgate.co.uk <http://sipgate.co.uk/> 
fromdomain = sipgate.co.uk <http://sipgate.co.uk/> 
dtmfmode = rfc2833
canreinvite = no
disallow = all
allow = alaw
allow = ulaw
nat = yes
qualify = yes
outboundproxy=proxy.live.sipgate.co.uk <http://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 <http://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
<http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
> &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].

 

----------------------------------------------------------------------------
--
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
<http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________>
&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].

 

------------------------------------------------------------------------------
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