Re: [asterisk-users] Forcing SIP trunk matching order?

2012-07-11 Thread Olle E. Johansson
11 jul 2012 kl. 00:26 skrev James Lamanna: > On Mon, Jul 2, 2012 at 12:13 AM, Olle E. Johansson wrote: > >> No. >> >> This is probably because you are using phone numbers as names of devices >> with type=friend in sip.conf. >> That's generally a bad idea. >> >> The SIP channel matches an inc

Re: [asterisk-users] Forcing SIP trunk matching order?

2012-07-10 Thread James Lamanna
On Mon, Jul 2, 2012 at 12:13 AM, Olle E. Johansson wrote: > No. > > This is probably because you are using phone numbers as names of devices with > type=friend in sip.conf. > That's generally a bad idea. > > The SIP channel matches an incoming call this way: > > 1. Take the From: user name and m

Re: [asterisk-users] Forcing SIP trunk matching order?

2012-07-02 Thread Olle E. Johansson
28 jun 2012 kl. 23:25 skrev Duncan Turnbull: > Hi James > > On 29/06/2012, at 6:19 AM, James Lamanna wrote: > >> Hi, >> I have a bunch of different customers on an Asterisk Box (the PBX). >> This Asterisk Box is behind another Asterisk box that provides a PSTN >> connection. >> Up to this point

Re: [asterisk-users] Forcing SIP trunk matching order?

2012-06-28 Thread Duncan Turnbull
Hi James On 29/06/2012, at 6:19 AM, James Lamanna wrote: > Hi, > I have a bunch of different customers on an Asterisk Box (the PBX). > This Asterisk Box is behind another Asterisk box that provides a PSTN > connection. > Up to this point I've been using IAX between the 2 Asterisk boxes, but > I w

[asterisk-users] Forcing SIP trunk matching order?

2012-06-28 Thread James Lamanna
Hi, I have a bunch of different customers on an Asterisk Box (the PBX). This Asterisk Box is behind another Asterisk box that provides a PSTN connection. Up to this point I've been using IAX between the 2 Asterisk boxes, but I would like to use SIP instead. After doing some testing I have the follo