Hello to all,
need help or guidelines for a project.
Working with asterisk need to transfer incoming call to sip client based on gps position.
What I have done so far :
I have a database (external) with sip id and gps position
I have a clients database with phone number and gps position
What I need to do
Client with phone xxx will call asterisk pbx
Asterisk will pass callerid on external web server (example.com/callerid.php=xxx
php will request database and locate closer internal sip account. callerid.php will return internal sip id for example 200 (no need help for this part, already done)
pbx will redirect incoming call from xxx to 200.
Any idea how to do this or where to read for help?