[asterisk-users] IAX softphone fails through PRI trunks with Hangup

2007-01-25 Thread Patrick W. Foster
I've a call center using IAX softphones provided by a third party.  
We've observed problems where the IAX phones seem unable to use our PRI 
trunks.  A sample anonymized call is provided below with the PRI debug 
calls embedded.  Any thoughts,
comments or suggestions would be welcome.  In anonymizing it, I preseved 
the format

and number of digits sent.

   -- Accepting AUTHENTICATED call from 192.168.1.164:
   requested format = alaw,
   requested prefs = (),
   actual format = ulaw,
   host prefs = (ulaw|alaw|gsm),
   priority = mine
   -- Executing Set(IAX2/4427-1, EMERGENCYROUTE=YES) in new stack
   -- Executing Macro(IAX2/4427-1, dialout-trunk|1|6167X||) in 
new stack

   -- Executing GotoIf(IAX2/4427-1, 1?3:2) in new stack
   -- Goto (macro-dialout-trunk,s,3)
   -- Executing Macro(IAX2/4427-1, user-callerid) in new stack
   -- Executing GotoIf(IAX2/4427-1, 0?report) in new stack
   -- Executing GotoIf(IAX2/4427-1, 0?start) in new stack
   -- Executing Set(IAX2/4427-1, REALCALLERIDNUM=4427) in new stack
   -- Executing NoOp(IAX2/4427-1, REALCALLERIDNUM is 4427) in new stack
   -- Executing Set(IAX2/4427-1, AMPUSER=4427) in new stack
   -- Executing Set(IAX2/4427-1, AMPUSERCIDNAME=USER18-IAX) in new 
stack

   -- Executing GotoIf(IAX2/4427-1, 0?report) in new stack
   -- Executing Set(IAX2/4427-1, CALLERID(all)=USER18-IAX 4427) 
in new stack
   -- Executing NoOp(IAX2/4427-1, Using CallerID USER18-IAX 
4427) in new stack

   -- Executing Macro(IAX2/4427-1, record-enable|4427|OUT) in new stack
   -- Executing GotoIf(IAX2/4427-1, 0  0?2:4) in new stack
   -- Goto (macro-record-enable,s,4)
   -- Executing AGI(IAX2/4427-1, 
recordingcheck|20070125-102531|1169738731.2435) in new stack

   -- Launched AGI Script /var/lib/asterisk/agi-bin/recordingcheck
 recordingcheck|20070125-102531|1169738731.2435: Outbound recording not 
enabled

   -- AGI Script recordingcheck completed, returning 0
   -- Executing NoOp(IAX2/4427-1, No recording needed) in new stack
   -- Executing Macro(IAX2/4427-1, outbound-callerid|1) in new stack
   -- Executing GotoIf(IAX2/4427-1, 1?start) in new stack
   -- Goto (macro-outbound-callerid,s,3)
   -- Executing NoOp(IAX2/4427-1, REALCALLERIDNUM is 4427) in new stack
   -- Executing Set(IAX2/4427-1, USEROUTCID=8xx-6xx-) in new 
stack

   -- Executing Set(IAX2/4427-1, EMERGENCYCID=) in new stack
   -- Executing Set(IAX2/4427-1, TRUNKOUTCID=Business Name 
5xx-6xx-) in new stack

   -- Executing GotoIf(IAX2/4427-1, 0?trunkcid) in new stack
   -- Executing GotoIf(IAX2/4427-1, 1?trunkcid) in new stack
   -- Goto (macro-outbound-callerid,s,11)
   -- Executing GotoIf(IAX2/4427-1, 0?usercid) in new stack
   -- Executing Set(IAX2/4427-1, CALLERID(all)=Business Name 
5xx-6xx-) in new stack

   -- Executing GotoIf(IAX2/4427-1, 0?report) in new stack
   -- Executing Set(IAX2/4427-1, CALLERID(all)=8xx-6xx-) in 
new stack
   -- Executing NoOp(IAX2/4427-1, CallerID set to  8xx6xx) 
in new stack

   -- Executing Set(IAX2/4427-1, GROUP()=OUT_1) in new stack
   -- Executing GotoIf(IAX2/4427-1, 0?108) in new stack
   -- Executing Set(IAX2/4427-1, DIAL_NUMBER=6167X) in new stack
   -- Executing Set(IAX2/4427-1, DIAL_TRUNK=1) in new stack
   -- Executing AGI(IAX2/4427-1, fixlocalprefix) in new stack
   -- Launched AGI Script /var/lib/asterisk/agi-bin/fixlocalprefix
   -- AGI Script fixlocalprefix completed, returning 0
   -- Executing Set(IAX2/4427-1, OUTNUM=6167X) in new stack
   -- Executing Set(IAX2/4427-1, custom=ZAP/g1) in new stack
   -- Executing GotoIf(IAX2/4427-1, 0?16) in new stack
   -- Executing Dial(IAX2/4427-1, ZAP/g1/6167X|150|r) in new stack
-- Making new call for cr 33745
   -- Requested transfer capability: 0x00 - SPEECH
 Protocol Discriminator: Q.931 (8)  len=46
 Call Ref: len= 2 (reference 977/0x3D1) (Originator)
 Message type: SETUP (5)
 [04 03 80 90 a2]
 Bearer Capability (len= 5) [ Ext: 1  Q.931 Std: 0  Info transfer 
capability: Speech (0)
  Ext: 1  Trans mode/rate: 64kbps, 
circuit-mode (16)

  Ext: 1  User information layer 1: u-Law (34)
 [18 03 a9 83 84]
 Channel ID (len= 5) [ Ext: 1  IntID: Implicit, PRI Spare: 0, 
Exclusive Dchan: 0

ChanSel: Reserved
   Ext: 1  Coding: 0   Number Specified   Channel 
Type: 3

   Ext: 1  Channel: 4 ]
 [1e 02 80 83]
 Progress Indicator (len= 4) [ Ext: 1  Coding: CCITT (ITU) standard 
(0) 0: 0   Location: User (0)
   Ext: 1  Progress Description: Calling 
equipment is non-ISDN. (3) ]

 [6c 0c 21 81 38 30 30 36 39 35 39 38 39 37]
 Calling Number (len=14) [ Ext: 0  TON: National Number (2)  NPI: 
ISDN/Telephony Numbering Plan (E.164/E.163) (1)
   Presentation: Presentation permitted, user 
number passed network screening (1) '8xx6xx' ]

 [70 0b 80 36 31 36 37 38 34 32 37 36 37]
 Called Number (len=13) [ Ext: 1  TON: 

[asterisk-users] IAX2 softphones can't (won't?) use PRI trunks....

2007-01-16 Thread Patrick W. Foster
I have call center PCs that switch between an IBEAM SIP softphone and a NEBU 
IAX softphone (for reasons
that aren't germane here).   The SIP softphones work fine, but the IAX 
softphones get a fast busy unless I give
them an IAX trunk to use, instead of the PRI trunks that all the other phones 
are using.  I am using Asterisk 1.2.3.
svn rev 47264.

I've appended a sample call trace.   The call fails through all the configured 
PRI trunks to the IAX trunk with a CHANUNAVAIL error, whilst
the SIP phones are actively calling out on those same PRI trunks.   The numbers 
dialed are 10 digits with no prefix.  I am hopeful that
someone will recognize the issue and give me a pointer on where to look for the 
problem.

- Registered IAX2 '4414' (AUTHENTICATED) at 192.168.1.102:4569
-- Accepting AUTHENTICATED call from 192.168.1.102:
requested format = alaw,
requested prefs = (),
actual format = ulaw,
host prefs = (ulaw|alaw|gsm),
priority = mine
-- Executing Set(IAX2/4414-6, EMERGENCYROUTE=YES) in new stack
-- Executing Macro(IAX2/4414-6, dialout-trunk|4|xxxnnn||) in new 
stack
-- Executing GotoIf(IAX2/4414-6, 1?3:2) in new stack
-- Goto (macro-dialout-trunk,s,3)
-- Executing Macro(IAX2/4414-6, user-callerid) in new stack
-- Executing GotoIf(IAX2/4414-6, 0?report) in new stack
-- Executing GotoIf(IAX2/4414-6, 0?start) in new stack
-- Executing Set(IAX2/4414-6, REALCALLERIDNUM=4414) in new stack
-- Executing NoOp(IAX2/4414-6, REALCALLERIDNUM is 4414) in new stack
-- Executing Set(IAX2/4414-6, AMPUSER=4414) in new stack
-- Executing Set(IAX2/4414-6, AMPUSERCIDNAME=User32-IAX) in new stack
-- Executing GotoIf(IAX2/4414-6, 0?report) in new stack
-- Executing Set(IAX2/4414-6, CALLERID(all)=User32-IAX 4414) in new 
stack
-- Executing NoOp(IAX2/4414-6, Using CallerID User32-IAX 4414) in 
new stack
-- Executing Macro(IAX2/4414-6, record-enable|4414|OUT) in new stack
-- Executing GotoIf(IAX2/4414-6, 0  0?2:4) in new stack
-- Goto (macro-record-enable,s,4)
-- Executing AGI(IAX2/4414-6, 
recordingcheck|20070115-121440|1168881280.2233) in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/recordingcheck
  recordingcheck|20070115-121440|1168881280.2233: Outbound recording not enabled
-- AGI Script recordingcheck completed, returning 0
-- Executing NoOp(IAX2/4414-6, No recording needed) in new stack
-- Executing Macro(IAX2/4414-6, outbound-callerid|4) in new stack
-- Executing GotoIf(IAX2/4414-6, 1?start) in new stack
-- Goto (macro-outbound-callerid,s,3)
-- Executing NoOp(IAX2/4414-6, REALCALLERIDNUM is 4414) in new stack
-- Executing Set(IAX2/4414-6, USEROUTCID=Business Name 
xxx-nnn-) in new stack
-- Executing Set(IAX2/4414-6, EMERGENCYCID=) in new stack
-- Executing Set(IAX2/4414-6, TRUNKOUTCID=Business Name 
xxx-nnn-) in new stack
-- Executing GotoIf(IAX2/4414-6, 0?trunkcid) in new stack
-- Executing GotoIf(IAX2/4414-6, 1?trunkcid) in new stack
-- Goto (macro-outbound-callerid,s,11)
-- Executing GotoIf(IAX2/4414-6, 0?usercid) in new stack
-- Executing Set(IAX2/4414-6, CALLERID(all)=Business Name 
xxx-nnn-) in new stack
-- Executing GotoIf(IAX2/4414-6, 0?report) in new stack
-- Executing Set(IAX2/4414-6, CALLERID(all)=Business Name 
xxx-nnn-) in new stack
-- Executing NoOp(IAX2/4414-6, CallerID set to Business Name 
xxx-nnn-) in new stack
-- Executing Set(IAX2/4414-6, GROUP()=OUT_4) in new stack
-- Executing GotoIf(IAX2/4414-6, 0?108) in new stack
-- Executing Set(IAX2/4414-6, DIAL_NUMBER=xxxnnn) in new stack
-- Executing Set(IAX2/4414-6, DIAL_TRUNK=4) in new stack
-- Executing AGI(IAX2/4414-6, fixlocalprefix) in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/fixlocalprefix
-- AGI Script fixlocalprefix completed, returning 0
-- Executing Set(IAX2/4414-6, OUTNUM=xxxnnn) in new stack
-- Executing Set(IAX2/4414-6, custom=ZAP/g0) in new stack
-- Executing GotoIf(IAX2/4414-6, 0?16) in new stack
-- Executing Dial(IAX2/4414-6, ZAP/g0/xxxnnn|120|r) in new stack
  == Everyone is busy/congested at this time (1:0/0/1)
-- Executing Goto(IAX2/4414-6, s-CHANUNAVAIL|1) in new stack
-- Goto (macro-dialout-trunk,s-CHANUNAVAIL,1)
-- Executing NoOp(IAX2/4414-6, Dial failed due to CHANUNAVAIL) in new 
stack___
--Bandwidth and Colocation provided by Easynews.com --

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


[Asterisk-Users] Directory by name access inside of voicemail

2006-05-11 Thread Patrick W. Foster
Is there a way, when forwarding a voicemail to another extension, to 
access to the directory
by name, or, is it better advised simply to have some extension-by-name 
labels for my users

to forward their messages to?

Patrick W. Foster

___
--Bandwidth and Colocation provided by Easynews.com --

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


[Asterisk-Users] Call recordings management

2006-05-09 Thread Patrick W. Foster



Hello,

I have been asked if it is possible for recorded 
calls to be flagged with a decriptive title automatically and 
filed.
The application is a third party call center 
operation, where certain customers that engage the call center want 

all calls recorded and then a submission of call 
samples at the end of the calling period. This is being done
by hand at the moment.

I fully expect that I will have to write something 
to accomplish this, but thought I would poll you all to see if

a) Someone has done this 
already.

b) If not (a), is there anything that might 
be adapted to do this job.

c) If not (a) or (b), then some pointers on 
where I should start.

Any thoughts, questions, or pointers would be 
greatly appreciated.

Thanks in advance,

Patrick W. Foster
[EMAIL PROTECTED]
Haverhill, MA 01835
___
--Bandwidth and Colocation provided by Easynews.com --

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


[Asterisk-Users] Replicating functionality from our prior PBX

2006-02-28 Thread Patrick W. Foster
We have just installed Asterisk in our new office and we have some 
teething problems, but so far nothing we did not
expect/could not handle.  However, our CEO was very attached to a 
function in our old Nortel PBX that I am not sure
how to approach.   If someone could point me in the right direction, I 
would be most grateful.


The function is this:

CEO records message, then specifies a list of extensions for that 
message to be sent to


Any thoughts, questions, comments would be appreciated.

Thanks,

Patrick Foster
___
--Bandwidth and Colocation provided by Easynews.com --

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