[asterisk-users] Asterisk trunking between two location

Gopalakrishnan N gopalakrishnan.an at gmail.com
Tue Jul 2 15:04:30 CDT 2013


[servera]
type=friend
username=servera
secret=servera
host=10.30.2.5
port=5060
context=Manila
insecure=port,invite
dtmfmode=rfc2833
relaxdtmf=yes
directmedia=no
qualify=yes
disallow=all
allow=g729
allow=ulaw
allow=alaw
deny=0.0.0.0/0.0.0.0
permit=10.30.2.5/255.255.255.0

If i use host=dynamic, it wont communicate each other and will result to
unmonitored....


and the IP segment is two different segment. where am able to ping each
other.



On Wed, Jul 3, 2013 at 1:29 AM, Asghar Mohammad <asghar144 at gmail.com> wrote:

> hi,
> paste server a trunk also, if you want register why you are not using
> host=dynamic?
> both servers are on 10.10.10.0 ? if no then check your deny permit seting.
>
>
> On Tue, Jul 2, 2013 at 9:53 PM, Gopalakrishnan N <
> gopalakrishnan.an at gmail.com> wrote:
>
>> Also tried one more scenario, particularly from one IP to other IP not
>> registering.
>>
>> For example like 10.10.10.5 to 10.20.10.5
>>
>> If it is 10.10.10.5 to 10.30.2.5 - working
>> If it is 10.30.2.5 to 10.20.10.4 works fine.
>>
>> really strange... I suspect some issue on the network side...
>>
>> Problem is there is no packet loss.. with mtr it is fine, tracepath is
>> fine, ping is fine... :(
>>
>>
>> On Wed, Jul 3, 2013 at 1:05 AM, Gopalakrishnan N <
>> gopalakrishnan.an at gmail.com> wrote:
>>
>>> Am using Asterisk 11.2 in one location and 11.1 in another location.
>>>
>>> when I trunk between two servers, the status is unreachable.
>>>
>>> But with different server with 11.2 and 11.2 it works fine.
>>>
>>> I tried both IAX and SIP.
>>>
>>> the trunk in sip.conf what i have is,
>>> [serverb]
>>> type=friend
>>> username=serverb
>>> secret=serverb
>>> host=10.10.10.5
>>> port=5060
>>> context=default
>>> insecure=port,invite
>>> dtmfmode=rfc2833
>>> relaxdtmf=yes
>>> directmedia=no
>>> qualify=3000
>>> nat=force_rport,comedia
>>> disallow=all
>>> allow=g729
>>> allow=ulaw
>>> allow=alaw
>>> deny=0.0.0.0/0.0.0.0
>>> permit=10.10.10.5/255.255.255.0
>>>
>>> Is there any issue with 11.1?
>>>
>>
>>
>> --
>> _____________________________________________________________________
>> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>> New to Asterisk? Join us for a live introductory webinar every Thurs:
>>                http://www.asterisk.org/hello
>>
>> asterisk-users mailing list
>> To UNSUBSCRIBE or update options visit:
>>    http://lists.digium.com/mailman/listinfo/asterisk-users
>>
>
>
> --
> _____________________________________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> New to Asterisk? Join us for a live introductory webinar every Thurs:
>                http://www.asterisk.org/hello
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20130703/a19a066d/attachment.htm>


More information about the asterisk-users mailing list