<HTML>
<HEAD>
<TITLE>Re: [asterisk-users] Asterisk and Siemens Legacy PBX</TITLE>
</HEAD>
<BODY>
<FONT FACE="Verdana, Helvetica, Arial"><SPAN STYLE='font-size:12.0px'>Hi Jon, thanks for the reply, good to know I am on the right track!<BR>
<BR>
I have actually already tried your suggestion, but using :<BR>
<BR>
_. To try and match what the siemens was sending, but this did not work, I know this is not advisable in ‘production’, but I was just trying to get something working before I came up with the proper solution.<BR>
<BR>
I also tried just using s , this again did not work. I assumed the ‘Extension ‘’ in context’ part of my debug meant that the siemens is not sending, or asterisk can’t work out, what extension is being sent.... If that makes sense....<BR>
<BR>
Also to help me get my head around this, the ‘extension’ referred to that should be being sent from the siemens, is this going to be the number the siemens is dialing, if not, how do I get ‘access’ to that number?<BR>
<BR>
My goal is to just allow the siemens to make any call it wants via the span 1 on the asterisk box, which is connected to a ‘real’ ISDN PRI.<BR>
<BR>
James<BR>
<BR>
On 5/8/06 20:30, "Jon Farmer" <jon@bctech.co.uk> wrote:<BR>
<BR>
</SPAN></FONT><BLOCKQUOTE><FONT FACE="Verdana, Helvetica, Arial"><SPAN STYLE='font-size:12.0px'><BR>
<BR>
<BR>
James Arscott wrote:<BR>
> Hi, thanks to the original poster, I redid all the cabling and immediately<BR>
> got the span to go OK between asterisk and the siemens legacy PBX. Only<BR>
> problem now is working out how to handle the calls from the siemens....<BR>
> Worth pointing out at this stage I have no access to the siemens<BR>
> configuration, so I could be shooting blind.<BR>
><BR>
> I put span2 (which is connected to the siemens) into its own context<BR>
> (inbound-from-siemens) and then tried to few simple attempts at Œreceiving¹<BR>
> the calls that the siemens is trying to make. However whatever I put all I<BR>
> get via the asterisk console is :<BR>
><BR>
> -- Extension '' in context 'inbound-from-siemens' from 'xxxxxx' does not<BR>
> exist. Rejecting call on channel 0/31, span 2<BR>
><BR>
> That comes up each time a call is attempted from the siemens, the xxxxxx<BR>
> shows as whichever direct dial number tried to dial out on the siemens,<BR>
> which I initially was pleased to see, however I am now stumped at how I<BR>
> should try to get asterisk to deal with these calls, am I barking up the<BR>
> wrong tree ?<BR>
<BR>
No you are slowing barking up the right tree :-)<BR>
<BR>
The call is getting accepted by Asterisk in the context<BR>
inbound-from-siemens. However it can't work out what to do with the<BR>
call. You need to match the xxxxxx number with a extension number which<BR>
is in the inbound-from-siemens context or another context included in<BR>
it. For instance if the xxxxxxx number is 123456 you could use.<BR>
<BR>
[inbound-from-siemens]<BR>
<BR>
exten => 123456,1,Dial(SIP/101)<BR>
<BR>
to dial SIP phone 101<BR>
<BR>
or if the numbers from the siemens follow a pattern ie they all start<BR>
with 12 then you could use<BR>
<BR>
exten => _12XXXX,1,Dial(SIP/101)<BR>
<BR>
<BR>
If you check the extensions.conf page at<BR>
<BR>
www.voip-info.org/wiki<BR>
<BR>
you will see loads of examples on how to construct a dialplan<BR>
<BR>
HTH<BR>
<BR>
<BR>
Jon<BR>
<BR>
<BR>
--<BR>
Jon Farmer<BR>
Telford, Shropshire, UK<BR>
_______________________________________________<BR>
--Bandwidth and Colocation provided by Easynews.com --<BR>
<BR>
asterisk-users mailing list<BR>
To UNSUBSCRIBE or update options visit:<BR>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-users">http://lists.digium.com/mailman/listinfo/asterisk-users</a><BR>
<BR>
</SPAN></FONT></BLOCKQUOTE><FONT FACE="Verdana, Helvetica, Arial"><SPAN STYLE='font-size:12.0px'><BR>
</SPAN></FONT>
</BODY>
</HTML>