Beginner Help In Configuring

Help
2012-05-30
2013-05-30
  • Paul Rowell

    Paul Rowell - 2012-05-30

    I have tried to implement all the relevant advice in this forum but forgive me if I have missed something. I'm using MS dialer to test:

    my manager.conf looks like this:

    secret = xxxxxxx
    deny=0.0.0.0/0.0.0.0
    permit=127.0.0.1/255.255.255.0
    permit=192.168.0.0/255.255.255.0
    read = system,call,log,verbose,command,agent,user,config,command,dtmf,reporting,cdr,dialplan,originate
    write = system,call,log,verbose,command,agent,user,config,command,dtmf,reporting,cdr,dialplan,originate

    When I dial I get the following log file:

    05/30/12 21:35:59  INFO   Connect(192.168.0.6,5038,admin,xxxxx)
    05/30/12 21:35:59  TRACE  ASTProvider::SendCommand =>
    Action: Challenge
    AuthType: MD5
    ActionID: 7

    05/30/12 21:35:59  TRACE  ASTProvider::ReaderProc
    05/30/12 21:35:59  TRACE  Asterisk protocol header: Asterisk Call Manager/1.1
    05/30/12 21:35:59  TRACE   <== asterisk protocol response__________________________
    05/30/12 21:35:59  TRACE  ASTProvider::SendCommand =>
    Action: Login
    AuthType: MD5
    UserName: admin
    Key: 1457e5c79bfc4d8860405079887cda47
    ActionID: 7

    05/30/12 21:35:59  TRACE  Connect() returns ok
    05/30/12 21:35:59  TRACE  ASTCstaProvider::OpenMonitor device = 103 => 103
    05/30/12 21:35:59  TRACE    first monitor for this device: {103,4}
    05/30/12 21:35:59  TRACE  AddTapiLine xref=4 htapiLine=0x10201 pTapiLine=0x3631f68
    05/30/12 21:35:59  TRACE  TSPI_lineGetNumAddressIDs hdLine=00000004
    05/30/12 21:35:59  TRACE  TSPI_lineMakeCall() hdLine=0x4, htCall=0x101ef, phdCall=0x37a7b68, calledDevice=T104
    05/30/12 21:35:59  TRACE    filtered calledDevice T104 => 104
    05/30/12 21:35:59  TRACE   Reading NOANSWERTIMEOUT 0
    05/30/12 21:35:59  TRACE   UserData not found
    05/30/12 21:35:59  TRACE   creating TapiCall 0x3631e18 with htCall 0x101ef
    05/30/12 21:35:59  TRACE  ASTTapiProvider::AddTapiCall pNewTapiCall=0x3631e18 callId=5, htapicall=0x101ef, callerId=103, calledId=104 userData=
    05/30/12 21:35:59  TRACE    first TapiCall for this callid:  => 0x3631e18
    05/30/12 21:35:59  TRACE   Executing MakeCall
    05/30/12 21:35:59  TRACE  AddConnectionToCallModel {5, 103} => INITIALIZED
    05/30/12 21:35:59  TRACE   done, now CALL map has 1 items
    05/30/12 21:35:59  TRACE  ASTProvider::Originate call 5 channel:Local/103@from-internal callerId:103 to calledExtension:104 in context:from-internal, callerIdName=       timeout=30
    05/30/12 21:35:59  TRACE  ASTProvider::SendCommand =>
    Action: Originate
    Channel: Local/103@from-internal/n
    Exten: 104
    Priority: 1
    Callerid:       #Id=5 <103>
    Context: from-internal
    Variable: originating=103
    ActionID: 8
    Timeout: 30000
    Async: 1

    05/30/12 21:36:00  TRACE   <== asterisk protocol response__________________________
    05/30/12 21:36:00  INFO   Socket recv code = -1
    05/30/12 21:36:00  INFO   Error code 10054, The virtual circuit was reset by the remote side executing a hard or abortive close. The application should close the socket as it is no longer usable. On a UPD-datagram socket this error would indicate that a previous send operation resulted in an ICMP 'Port Unreachable' message.
    05/30/12 21:36:00  WARN   Unexpected Link Down…
    05/30/12 21:36:00  TRACE  Sending all signals after linkdown for all pending invokeid
    05/30/12 21:36:00  TRACE  Signals sended = 1
    05/30/12 21:36:00  TRACE  Switch machine to other threads
    05/30/12 21:36:00  TRACE    generic_failure
    05/30/12 21:36:00  WARN     MakeCall failed, returning LINEERR_OPERATIONUNAVAIL
    05/30/12 21:36:00  TRACE  ASTTapiProvider::RemoveTapiCall hdrivercall=0x3631e18
    05/30/12 21:36:00  TRACE    call had callid=5
    05/30/12 21:36:00  TRACE      …with 1 associated hdrvrcalls
    05/30/12 21:36:00  TRACE    delete htcall 0x101ef and hdrvCall 0x3631e18
    05/30/12 21:36:00  TRACE    deleted the last htapicall and the set of callid 5
    05/30/12 21:36:00  TRACE  OnLinkDown
    05/30/12 21:36:00  TRACE    sent LINE_CLOSE to htapiline=0x10201
    05/30/12 21:36:00  TRACE  TSPI_lineClose() hdLine=0x4
    05/30/12 21:36:00  TRACE  RemoveTapiLine hdrvLine=0x4
    05/30/12 21:36:00  TRACE    was 103
    05/30/12 21:36:00  TRACE  ASTCstaProvider::CloseMonitor xref = 4
    05/30/12 21:36:00  TRACE    erase xref map entry
    05/30/12 21:36:00  TRACE      erase extension map entry
    05/30/12 21:36:00  TRACE    return 1!
    05/30/12 21:36:00  TRACE  ASTProvider::ReaderProc EXITS
    05/30/12 21:36:00  INFO   Disconnect socked and clear callmaps because no line is open.
    05/30/12 21:36:00  TRACE   CallMapCleanup() cleaning maps
    05/30/12 21:36:31  TRACE  TSPI_lineOpen() dwDeviceID=0x5 htLine=0x1019a

    Any advice gratefully received!

    Paul

     
  • Frank Belter

    Frank Belter - 2013-01-31

    I have the exact same problem.  Any solution to this?

     
  • Lebets

    Lebets - 2013-05-14

    I also have the same problem :)

     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks