From: mike@midnighteng.com
To: doug@crompton.com
Subject: RE: [App_rpt-users] Dial plan question
Date: Fri, 15 Nov 2013 22:04:57 -0700
You must route the incoming digits to the other server.
I used this method for my phone patch. I trunked it to my phone pbx (asterisk) for outgoing calls.
You just need to make a iax connection to/from each system and check that it is functional with a route in your dialplan to the other server.
As far as early dial ? -not sure if you can achieve what I think you mean by that without a bunch of script but you could start off with a prefix dial for route to the other server. That is how I make phone patches and give myself access to the radiopbx via phonepbx/inbound or sip.
...mike/kb8jnm
-------- Original Message --------
Subject: Re: [App_rpt-users] Dial plan question
From: Doug Crompton <
doug@crompton.com>
Date: Fri, November 15, 2013 11:30 pm
To: "
app_rpt-users@ohnosec.org" <
app_rpt-users@ohnosec.org>
Further info...
What I want to achieve here is called "early dial" when connecting a sip phone to Asterisk. Each digit is sent to the server and if it does not match a dial plan it looks for the next digit until it finally finds a match. Is there a way to do this between servers to achieve what I asked in the prior message?
73 Doug
WA3DSP
http://www.crompton.com/hamradio
From:
doug@crompton.comTo:
app_rpt-users@ohnosec.orgDate: Fri, 15 Nov 2013 22:04:33 -0500
Subject: [App_rpt-users] Dial plan question
I have been using Asterisk for years but I just ran into a problem that I am sure there is a way to fix but I can't figure it out.
I am connecting my Allstar server to my PBX asterisk server via IAX2. The connection works fine but I need some help on passing the extension. I want to pass the variable length extension to my pbx server. Extensions could be any combination of 3 digits up to a full phone number length. The actual extensions are processed in the PBX.
Here is the Allstar extension snippet -
[pbx_server]
exten => _xxx,1,Answer
exten => _xxx,n,noop("${EXTEN}")
exten => _xxx,n,Wait(2)
exten => _xxx,n,Dial(IAX2/pbx/${EXTEN})
exten => _xxx,n,Playback(vm-nobodyavail)
exten => ,n,Hangup
in rpt.conf
61=autopatchup,context=pbx_server,noct=1,farenddisconnect=1,dialtime=20000,quiet=1 ; Autopatch up
0=autopatchdn ; Autopatch down
In the example I have put a 3 digit extension. So if I dial *61522 - 522 is passed to the pbx server. This works fine but I want to pass any length extension. If I put something like _x! - it just hits on the first digit. Maybe I could use waitexten() to capture it and pass to the pbx. Any ideas?
The Allstar Asterisk and pbx Asterisk are obviously different machines on the same network. 73 Doug
WA3DSP
http://www.crompton.com/hamradio
_______________________________________________ App_rpt-users mailing list
App_rpt-users@ohnosec.org http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-users
_______________________________________________
App_rpt-users mailing list
App_rpt-users@ohnosec.org
http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-users