[asterisk-users] friend, peer confusion in sip.conf

2010-11-15 Thread Adrian Marsh
Hi,

 

I'm trying to create a link between two PBXs.  One is Asterisk 1.4.15,
the other is an unknown 3rd party PBX.

 

In my internal testing, beween two A*k servers, I found that if I
created two sip accounts from the same IP, one as peer and one as user
(intending to give an -IN and -OUT setup), then inbound calls always
seemed to route via the -OUT account and failed.  My fix was to use
type=friend, which seemed to make sense and be ok.

 

Now with the 3rd party PBX, if I set type=friend, then we get an error
of Peer is not supposed to register.   If I then set type=peer, it
registers ok... But I thought that friend=peer+user ??

 

Thanks,

 

Adrian

 

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

Re: [asterisk-users] friend, peer confusion in sip.conf

2010-11-15 Thread John Novack

I suggest you up Asterisk to something near current.
I remember that 1.4 had many broken versions between 1.4.13 and 1.4.21, 
especially with sip, with lots of other fixes beyond.

you may find all works as expected without further effots

John Novack


Adrian Marsh wrote:


Hi,

I'm trying to create a link between two PBXs.  One is Asterisk 1.4.15, 
the other is an unknown 3^rd party PBX.


In my internal testing, beween two A*k servers, I found that if I 
created two sip accounts from the same IP, one as peer and one as user 
(intending to give an --IN and --OUT setup), then inbound calls always 
seemed to route via the --OUT account and failed.  My fix was to use 
type=friend, which seemed to make sense and be ok.


Now with the 3^rd party PBX, if I set type=friend, then we get an 
error of Peer is not supposed to register.   If I then set 
type=peer, it registers ok... But I thought that friend=peer+user ??


Thanks,

Adrian



--

Dog is my Co-pilot

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

Re: [asterisk-users] friend, peer confusion in sip.conf

2010-11-15 Thread klitzing
Hi!

 Now with the 3rd party PBX, if I set type=friend, then we get an error
 of Peer is not supposed to register. If I then set type=peer, it
 registers ok... But I thought that friend=peer+user ?? 

This is because you do not have host=dynamic set.

Philipp

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