Re: [asterisk-users] Asterisk to asterisk IAX trunk

2011-10-12 Thread Jonathan Archer
Thanks for your quick replies guys, I'll give your suggestions a try


On Tue, 2011-10-11 at 15:02 +0100, Roger Burton West wrote:
 On Tue, Oct 11, 2011 at 02:53:26PM +0100, Jonathan Archer wrote:
 
 How can I get the 5 to stay where it is so that lookups work correctly?
 is it part of the outbound CID?
 
 My trunking (prefix 9 to get trunk access from either side of the link)
 includes things like:
 
 exten = _9NX.,1,Set(CALLERID(num)=9${CALLERID(num)})
 exten = _9NX.,n,Dial(IAX2/remoteserver/${EXTEN:1},,wW)
 
 R
 
 --
 _
 -- 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


[asterisk-users] Asterisk to asterisk IAX trunk

2011-10-11 Thread Jonathan Archer
Hi guys,
This may be a fairly simple answer but here's my problem

I have 2 Asterisk servers on 2 sites connected via an IAX trunk

If user 1001 on site a wants to call user 1001 on site b they will dial
51001

This is taken care of by a 5| dialing rule on the outbound route.
The problem I'm having is that when the call ends up at site b it looks
like user 1001 is being called by 1001 (i.e. themselves) 

How can I get the 5 to stay where it is so that lookups work correctly?
is it part of the outbound CID?

Cheers

Jon


--
_
-- 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] Asterisk to asterisk IAX trunk

2011-10-11 Thread Danny Nicholas
It seems to me as though this is happening:
Asterisk A 
Exten = 5,1,Dial(IAX/${EXTEN:1})

So the call goes to Asterisk B as 
Exten = 5,1,Dial(IAX/1001)

So you need to change the IAX dial out command on Asterisk A to not truncate
the 5 and set up 5 on Asterisk B's inbound context so you have an
apples to apples correlation.

-Original Message-
From: asterisk-users-boun...@lists.digium.com
[mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Jonathan
Archer
Sent: Tuesday, October 11, 2011 8:53 AM
To: asterisk-users@lists.digium.com
Subject: [asterisk-users] Asterisk to asterisk IAX trunk

Hi guys,
This may be a fairly simple answer but here's my problem

I have 2 Asterisk servers on 2 sites connected via an IAX trunk

If user 1001 on site a wants to call user 1001 on site b they will dial
51001

This is taken care of by a 5| dialing rule on the outbound route.
The problem I'm having is that when the call ends up at site b it looks like
user 1001 is being called by 1001 (i.e. themselves) 

How can I get the 5 to stay where it is so that lookups work correctly?
is it part of the outbound CID?

Cheers

Jon


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


Re: [asterisk-users] Asterisk to asterisk IAX trunk

2011-10-11 Thread Roger Burton West
On Tue, Oct 11, 2011 at 02:53:26PM +0100, Jonathan Archer wrote:

How can I get the 5 to stay where it is so that lookups work correctly?
is it part of the outbound CID?

My trunking (prefix 9 to get trunk access from either side of the link)
includes things like:

exten = _9NX.,1,Set(CALLERID(num)=9${CALLERID(num)})
exten = _9NX.,n,Dial(IAX2/remoteserver/${EXTEN:1},,wW)

R

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