Did you reload your sip configuration in Asterisk after making changes to the 
.conf file?

Am 17.07.2013 um 18:03 schrieb Aaron Sarginson <[email protected]>:

> Brackets now removed…
> Unfortunately, the trunk still isn't active, answering or acting any 
> differently.
> Commenting out the proxy setting hasn't changed matters either.
> Thanks for answering
> 
> On 17 Jul 2013, at 15:10, Michael Keuter <[email protected]> wrote:
> 
>> 
>> Am 17.07.2013 um 15:20 schrieb Aaron Sarginson <[email protected]>:
>> 
>>> 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]
>> 
>> Delete the braces around the context!
>> 
>>> 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
>> 
>> 
>> I have some customers in Germany with similar settings as you (except 
>> outbound proxy).
>> 
>> Michael
>> 
>> http://www.mksolutions.info
>> 
>> 
>> 
>> 
>> ------------------------------------------------------------------------------
>> 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].
> 
> 
> ------------------------------------------------------------------------------
> 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].



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