Ok, channel switching for voice calls are working just fine, but I have also a faxing application trying to perform outbound calls...
Originally I had this faxing app on a T1 connected directly to the PSTN and worked just fine.
Now that I have two T1s connected to a local PBX, I have to ask the PBX for an outside line before faxing out... and this is what's not working  
 
 In order to get an outside line I have to dial this:
- 8880 to get a double tone, which means "enter authorization code"
- 2787 which is the authorization code itself
- 9 to get the outside line
- 10-digit fax number, as in (809) 227-3277
So, I tried the Fax Send step with "8880w278798092273277", but it fails:
Code:
[25] Fax Send                                                                   
   Rings before TIMEOUT is '10'                                                 
   Telephone number '@pTestNumber' evaluates to '8880w278798092273277'          
   File to send '@pDestDirectory\@vFaxFile' evaluates to                        
     'F:\IVR-Fax40\TIFF\11010000010269_8096160098_A_C_20091230.tif'             
   Adding file 'F:\IVR-Fax40\TIFF\11010000010269_8096160098_A_C_20091230.tif'   
   Open port 40                                                                 
      Board: 0 stream: 4 slot: 40                                               
   NMS Services:                                                                
      0. NCC, ADIMGR, 0, 4:40, 15                                               
      1. ADI, ADIMGR, 0, 4:40, 15                                               
      2. SWI, SWIMGR, 0, 4:40, 15                                               
      3. VCE, VCEMGR, 0, 4:40, 15                                               
      4. FXM, ADIMGR, 0, 4:40, 15                                               
      5. NFX, NFXMGR, 0, 4:40, 15                                               
      6. FAX, FAXMGR, 0, 4:40, 15                                               
      Event: CTAEVN_OPEN_SERVICES_DONE, Finished                                
   Using 'isd0' protocol...                                                     
   Echo canceller not started                                                   
      Event: NCCEVN_START_PROTOCOL_DONE, CTA_REASON_FINISHED                    
   Setting ISDN overriding timeout (63000 ms)                                   
      Event: NCCEVN_PLACING_CALL                                                
      Event: NCCEVN_CALL_PROCEEDING                                             
      Event: NCCEVN_EXTENDED_CALL_STATUS_UPDATE, NCC_X_STATUS_INFO_PROGRESSDESCR
    u-Event: NCCEVN_EXTENDED_CALL_STATUS_UPDATE, NCC_X_STATUS_INFO_PROGRESSDESCR
      Event: NCCEVN_CALL_DISCONNECTED, NCC_DIS_REORDER                          
   Cancel override timeout (disconnect event)                                   
   Setting system variable '@CALLOUT_RESULT' to 'BUSY'                          
   Setting system variable '@CALLOUT_REASON' to 'REORDER'                       
      Event: NCCEVN_CALL_RELEASED                                               
    u-Event: NCCEVN_CALL_RELEASED                                               
      Event: NCCEVN_STOP_PROTOCOL_DONE, CTA_REASON_FINISHED                     
      Event: CTAEVN_DESTROY_CONTEXT_DONE, Finished                              
   BUSY
Then the PBX guys tell me that I must first issue the 8880 to get the double tone and then issue the rest of the digits, because that's the way it's supposed to work...
So, I try a Place Call step dialing out "8880" to get a connection and leave the rest of the digits to the Fax Send step... The Place Call step finishes with @CALLOUT_RESULT = 'FAILURE', @CALLOUT_REASON = 'DIALTONE' and goes no further...
If I force the Failure path from the Place Call step to go to the Fax Send step anyway, the Fax Send step fails with @CALLOUT_REASON = 'DISCONNECT' because the Place Call could not connect...
It seems that the double tone that asks for an authorization code is not being recognized as a successfull dial-out connection and the call is disconnected completely.
I also tried this:
Code:
[85] Place Call                   
   Telephone Number is '8880,2787'
...
   Place call to 8880,2787    
   and wait for up to 10 rings
   Connect on CED             
   Connect on SIT             
...
   Setting ISDN overriding timeout (63000 ms)                                   
      Event: NCCEVN_PLACING_CALL                                                
      Event: NCCEVN_CALL_PROCEEDING                                             
      Event: NCCEVN_EXTENDED_CALL_STATUS_UPDATE, NCC_X_STATUS_INFO_PROGRESSDESCR
    u-Event: NCCEVN_EXTENDED_CALL_STATUS_UPDATE, NCC_X_STATUS_INFO_PROGRESSDESCR
      Event: NCCEVN_CALL_DISCONNECTED, NCC_DIS_REMOTE_NOANSWER                  
   Cancel override timeout (disconnect event)                                   
   Setting system variable '@CALLOUT_RESULT' to 'NOANSWER'                      
   Setting system variable '@CALLOUT_REASON' to 'MAX_RINGS'                     
      Event: NCCEVN_CALL_RELEASED                                               
    u-Event: NCCEVN_CALL_RELEASED                                               
      Event: NCCEVN_STOP_PROTOCOL_DONE, CTA_REASON_FINISHED                     
      Event: CTAEVN_DESTROY_CONTEXT_DONE, Finished                              
   Setting system variable '@SYS_CALL_DIRECTION' to 'OUT'                       
   TIMEOUT                                                                      
So, as this attempt also gets NCCEVN_CALL_DISCONNECTED, the Fax Send step also fails with @CALLOUT_REASON = 'DISCONNECT'.
I'd like to only use the Fax Send step so as to keep the call control (recognition of the destination answer as voice or fax machine), but it's OK if I have to use two steps to accomplish and connect the outbound call and blindly execute the Fax Send assuming a remote fax was connected.
Any suggestions?