Not able to send the verification number

Discussion in 'General' started by piyush_rahate, Jul 30, 2009.

  1. piyush_rahate

    Joined:
    Jul 30, 2009
    Messages:
    7
    Likes Received:
    0
    Hi,
    I am newbie to VOIP and asterisk. We have installed Elastix for a automated registration service. The issue I am facing is, I generate a random verification code and a phone number which i need to send to the automated system. The system than makes a call to the number and asks the receiver to type in the "Random" verification code.

    However, currently I am unable to do so.
    Following is the code I am using on the call genearting file
    and this code is the caller file
    can anyone provide some pointers for the same?
     
  2. bmacias

    Joined:
    Sep 27, 2007
    Messages:
    205
    Likes Received:
    0
    Hi,

    hmm

    I see that use directly socket.

    In elastix, path /var/lib/asterisk/agi-bin/ exists the file: phpagi-asmanager.php. With this file implement the conecction and originate as a funcions.

    I recomend you review this file.

    Regards.
     
  3. bmacias

    Joined:
    Sep 27, 2007
    Messages:
    205
    Likes Received:
    0
    Also recomend, review the module address book en elastix (Agenda). Review the /var/www/html/modules/address_book/index.php file and /var/www/html/modules/address_book/libs/paloSantoAdressBook.class.php. In this module there is a implementation with orginate.

    ;)
     
  4. piyush_rahate

    Joined:
    Jul 30, 2009
    Messages:
    7
    Likes Received:
    0
    Thanks bmacias,
    the files were very helpful

    though I later found out the error was in my db :S
     

Share This Page