<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Linux Forum &mdash; Asterisk]]></title>
	<link rel="self" href="https://linuxforum.ru/extern.php?action=feed&amp;tid=20087&amp;type=atom" />
	<updated>2012-02-09T16:50:34Z</updated>
	<generator>PunBB</generator>
	<id>https://linuxforum.ru/viewtopic.php?id=20087</id>
		<entry>
			<title type="html"><![CDATA[Re: Asterisk]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=249653#p249653" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>GoUpInSmoke пишет:</cite><blockquote><p>я наверно забыл предупредить что пытаюсь состыковать линксис 1202 и сервер астериска (шлюз и номер провайдера без регистрации привязка по маку порту и ip)</p></blockquote></div><p>Я полагаю, что надо в описании транка определить не только fromuser, но и username. А так же посмотреть, есть ли требования провайдера на параметр registration.</p>]]></content>
			<author>
				<name><![CDATA[Cruiser78]]></name>
				<uri>https://linuxforum.ru/profile.php?id=631</uri>
			</author>
			<updated>2012-02-09T16:50:34Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=249653#p249653</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Asterisk]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=249314#p249314" />
			<content type="html"><![CDATA[<p>я наверно забыл предупредить что пытаюсь состыковать линксис 1202 и сервер астериска (шлюз и номер провайдера без регистрации привязка по маку порту и ip)</p>]]></content>
			<author>
				<name><![CDATA[GoUpInSmoke]]></name>
				<uri>https://linuxforum.ru/profile.php?id=1594</uri>
			</author>
			<updated>2012-02-08T08:16:18Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=249314#p249314</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Asterisk]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=249313#p249313" />
			<content type="html"><![CDATA[<p><em>sip.conf</em><br /></p><div class="codebox"><pre><code>    [general]
    port = 5060
    bindaddr = 0.0.0.0
    allow=alaw            
    context = bogon-calls
        
    [2001]
    type=friend
    username=2001
    secret=dima
    host=dynamic
    context=sip
    canreinvite=no
    insecure=very
    
    [phone-out]
    type=friend
    host= ip провайдера
    fromuser=495ХХХХХХ
    fromdomain= ip провайдера
    insecure=very
    nat=yes
    context=sip
    qualify=no
    canreinvite=no
    reinvite=no
    dtmfmode=rfc2833
    restrictcid=no
    insecure=very
    amaflags=default
    
 extensions.conf
   
    [general]
    static=yes
    writeprotect=yes
    
    [bogon-calls]
    exten =&gt; _X.,1,Congestion
    
    [sip]
    exten =&gt; _8.,1,Answer
    exten =&gt; _8.,2,Dial(SIP/${EXTEN:1}@phone-out,30,r)
    exten =&gt; _8.,3,Hangup
    exten =&gt; 495ХХХХХ,1,Answer()
    exten =&gt; 495ХХХХХ,2,Dial(SIP/2001,20)
    exten =&gt; 495ХХХХХ,3,Hangup

extensions.conf

    [default]
    include =&gt; sip</code></pre></div>]]></content>
			<author>
				<name><![CDATA[GoUpInSmoke]]></name>
				<uri>https://linuxforum.ru/profile.php?id=1594</uri>
			</author>
			<updated>2012-02-08T08:13:25Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=249313#p249313</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Asterisk]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=249194#p249194" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>GoUpInSmoke пишет:</cite><blockquote><p>Даже и не знаю какие конфиги показывать...</p></blockquote></div><p>Вот то, что настраивал, то и показывай. А именно - /etc/asterisk/sip.conf в той части, где ты свои транки определяешь. Ну и то, что говорит провайдер об правильной регистрации. У тебя же тривиально неверно юзер (имя) определен. Оно должно быть определено как в описании твоего транка, так и в строке&nbsp; &nbsp;его регистрации у провайдера. <br />А вообще то, по астериску настоятельно рекомендую специализированную конфу: <a href="http://www.asteriskforum.ru">www.asteriskforum.ru</a>.<br />Ну и последнее - собственно непонятно, что это за провайдер, который без регистрации SIP раздает. Это же через него кто угодно и куда угодно звонить сможет.... Бери - не хочу, халява...</p>]]></content>
			<author>
				<name><![CDATA[Cruiser78]]></name>
				<uri>https://linuxforum.ru/profile.php?id=631</uri>
			</author>
			<updated>2012-02-07T17:06:48Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=249194#p249194</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Asterisk]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=249184#p249184" />
			<content type="html"><![CDATA[<p>Доброго времени суток! установил астериск есть линия провайдера без регистрации по ip и port вроде всё настроил но выдаёт такую ошибку<br />[Jan&nbsp; 7 09:10:43] NOTICE[2097]: chan_sip.c:12654 sip_reg_timeout:&nbsp; &nbsp; -- Registration for &#039;@91.211.216.11&#039; timed out, trying again (Attempt #6)<br />&nbsp; &nbsp; -- Got SIP response 400 &quot;INVALID USER NAME&quot; back from 91.211.216.11:5060<br />Даже и не знаю какие конфиги показывать...</p>]]></content>
			<author>
				<name><![CDATA[GoUpInSmoke]]></name>
				<uri>https://linuxforum.ru/profile.php?id=1594</uri>
			</author>
			<updated>2012-02-07T16:19:54Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=249184#p249184</id>
		</entry>
</feed>
