Re: [asterisk-users] Out-Going Calleriid

2008-05-08 Thread Alastair Battrick
Tim Guy wrote:
 It's a ISDN30 PRI on NTL(Virgin) in the UK
 
 I currently have a Mitel 3300 connected happily sending CallerID's so I
 know it the teleco supports it. 
 
 The Mitel is set to send 01926xx so that's what I'm trying to get
 Asterisk to send.
 
 Running an Openvox D210E that runs with wct4xxp drivers.
 
 It definitely work before so it must be something I've done, OR, a
 certain driver / zaptel version
 
 Caller id in-coming is fine, just won't send out.

If you view the asterisk debug for an outgoing call, what do you see 
your system sending out?

My ISDN30 PRI with NTL/Virgin only sends the last 4 digits:

[EMAIL PROTECTED]:10] Set(IAX2/255-8, USEROUTCID=Alastair 
Battrick 0255) in new stack
[EMAIL PROTECTED]:23] NoOp(IAX2/255-2, CallerID set to 
Alastair Battrick 0255) in new stack
-- 
Alastair Battrick

___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] PRI hangup certain outgoing calls

2008-05-01 Thread Alastair Battrick
Steve Totaro wrote:
 It's worth a shot, you should be running the latest 1.4.x code anyways
 right?  Bugs can manifest themselves in different ways, or possibly
 the poster did not explain the issue accurately.  I think the bug fits
 your problem more than any other explanation.

Steve, the issue appears fixed after a upgrade and reboot, though I do 
not know if the remote party have changed their setup.

Thanks for your help
-- 
Alastair Battrick

___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


[asterisk-users] PRI hangup certain outgoing calls

2008-04-28 Thread Alastair Battrick
I have a problem calling a certain number from our PRI line. Calling the 
number from a separate PSTN phone works fine.

The remote number seems to have some funny call redivert setup, when you 
call it, it answers immediately, makes some kind of beep and then starts 
to ring.

Our PRI is in the UK from Telewest/NTL/Virgin Media and most outgoing 
calls work without a problem. The server is trixbox based with a Digium 
TE410P PRI interface. Trixbox 2.6, Asterisk 1.4.18-3, FreeBPX 2.4.

I'm no expert, but the PRI trace shows that the outgoing call is 
proceeding, and then seems to show that my end of the connection has 
disconnected the call, but I cannot work out why - it has already agreed 
to setup the call!

What is causing this disconnect? Is there some tone detection going on 
behind the scenes?


[zaptel]
span=1,1,0,ccs,hdb3,crc4
bchan=1-15,17-31
dchan=16
loadzone= uk
defaultzone = uk

[zapata]
[channels]
language=en
context=from-zaptel-custom
usecallerid=yes
hidecallerid=no
restrictcid=no
usecallingpres=yes
overlapdial=yes
echocancel=64
echocancelwhenbridged=no
echotraining=yes
rxgain=0.0
txgain=0.0
immediate=no
faxdetect=no
busydetect=no
callprogress=no
pridialplan=local
prilocaldialplan=local

group=1
switchtype = euroisdn
signalling = pri_cpe
channel = 1-8

PRI Trace

 [ 02 01 01 2b ]

 Supervisory frame:
 SAPI: 00  C/R: 1 EA: 0
  TEI: 000EA: 1
 Zero: 0 S: 0 01: 1  [ RR (receive ready) ]
 N(R): 021 P/F: 1
 0 bytes of data
-- ACKing all packets from 20 to (but not including) 21
-- Since there was nothing left, stopping T200 counter
-- Stopping T203 counter since we got an ACK
-- Nothing left, starting T203 counter
-- Unsolicited RR with P/F bit, responding
Sending Receiver Ready (23)

  [ 02 01 01 2f ]

  Supervisory frame:
  SAPI: 00  C/R: 1 EA: 0
   TEI: 000EA: 1
  Zero: 0 S: 0 01: 1  [ RR (receive ready) ]
  N(R): 023 P/F: 1
  0 bytes of data
-- Restarting T203 counter
-- Restarting T203 counter
 -- Accepting AUTHENTICATED call from 10.1.0.46:
 requested format = gsm,
 requested prefs = (),
 actual format = alaw,
 host prefs = (ulaw|alaw|gsm),
 priority = mine
 -- Executing [EMAIL PROTECTED]:1] Macro(IAX2/255-4, 
user-callerid|SKIPTTL|) in new stack
 -- Executing [EMAIL PROTECTED]:1] NoOp(IAX2/255-4, 
user-callerid: device 255) in new stack
 -- Executing [EMAIL PROTECTED]:2] Set(IAX2/255-4, 
AMPUSER=255) in new stack
 -- Executing [EMAIL PROTECTED]:3] GotoIf(IAX2/255-4, 
0?report) in new stack
 -- Executing [EMAIL PROTECTED]:4] ExecIf(IAX2/255-4, 
0|Set|REALCALLERIDNUM=255) in new stack
 -- Executing [EMAIL PROTECTED]:5] NoOp(IAX2/255-4, 
REALCALLERIDNUM is 255) in new stack
 -- Executing [EMAIL PROTECTED]:6] Set(IAX2/255-4, 
AMPUSER=255) in new stack
 -- Executing [EMAIL PROTECTED]:7] Set(IAX2/255-4, 
AMPUSERCIDNAME=Alastair Battrick) in new stack
 -- Executing [EMAIL PROTECTED]:8] GotoIf(IAX2/255-4, 
0?report) in new stack
 -- Executing [EMAIL PROTECTED]:9] Set(IAX2/255-4, 
AMPUSERCID=255) in new stack
 -- Executing [EMAIL PROTECTED]:10] Set(IAX2/255-4, 
CALLERID(all)=Alastair Battrick 255) in new stack
 -- Executing [EMAIL PROTECTED]:11] Set(IAX2/255-4, 
REALCALLERIDNUM=255) in new stack
 -- Executing [EMAIL PROTECTED]:12] ExecIf(IAX2/255-4, 
0|Set|CHANNEL(language)=) in new stack
 -- Executing [EMAIL PROTECTED]:13] NoOp(IAX2/255-4, TTL: 
ARG1: SKIPTTL) in new stack
 -- Executing [EMAIL PROTECTED]:14] GotoIf(IAX2/255-4, 
1?continue) in new stack
 -- Goto (macro-user-callerid,s,23)
 -- Executing [EMAIL PROTECTED]:23] NoOp(IAX2/255-4, Using 
CallerID Alastair Battrick 255) in new stack
 -- Executing [EMAIL PROTECTED]:2] Set(IAX2/255-4, 
_NODEST=) in new stack
 -- Executing [EMAIL PROTECTED]:3] Macro(IAX2/255-4, 
record-enable|255|OUT|) in new stack
 -- Executing [EMAIL PROTECTED]:1] GotoIf(IAX2/255-4, 
0?2:4) in new stack
 -- Goto (macro-record-enable,s,4)
 -- Executing [EMAIL PROTECTED]:4] AGI(IAX2/255-4, 
recordingcheck|20080428-134020|1209386420.22) in new stack
 -- Launched AGI Script /var/lib/asterisk/agi-bin/recordingcheck
   recordingcheck|20080428-134020|1209386420.22: Outbound recording not 
enabled
 -- AGI Script recordingcheck completed, returning 0
 -- Executing [EMAIL PROTECTED]:5] NoOp(IAX2/255-4, No 
recording needed) in new stack
 -- Executing [EMAIL PROTECTED]:4] Macro(IAX2/255-4, 
dialout-trunk|1|02081237722||) in new stack
 -- Executing [EMAIL PROTECTED]:1] Set(IAX2/255-4, 
DIAL_TRUNK=1) in new stack
 -- Executing [EMAIL PROTECTED]:2] ExecIf(IAX2/255-4, 
0|Authenticate|) in new stack
 -- Executing [EMAIL PROTECTED]:3] GotoIf(IAX2/255-4, 
0?disabletrunk|1) in new stack
 -- Executing [EMAIL PROTECTED]:4] Set(IAX2/255-4, 
DIAL_NUMBER=02081237722) in new stack

Re: [asterisk-users] PRI hangup certain outgoing calls

2008-04-28 Thread Alastair Battrick
Steve Totaro wrote:
 On Mon, Apr 28, 2008 at 9:29 AM, Alastair Battrick [EMAIL PROTECTED] wrote:
 I have a problem calling a certain number from our PRI line. Calling the
  number from a separate PSTN phone works fine.

  The remote number seems to have some funny call redivert setup, when you
  call it, it answers immediately, makes some kind of beep and then starts
  to ring.

  Our PRI is in the UK from Telewest/NTL/Virgin Media and most outgoing
  calls work without a problem. The server is trixbox based with a Digium
  TE410P PRI interface. Trixbox 2.6, Asterisk 1.4.18-3, FreeBPX 2.4.

 
 Is this Trixbox/FreePBX?  What version of Asterisk?

Yes, Trixbox 2.6, Asterisk 1.4.18-3, FreeBPX 2.4.

 This is the section to focus on.  Sorry I cannot be of much help.  Can
 you dial other numbers, it is just an issue with one in particular?

I can dial out to other numbers without issue. I don't think it is to do
with the bug that you quoted as I do not need to reboot the server to
start making calls to other numbers once this busy message has been
experienced.
-- 
Alastair Battrick


___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users