> I understand that this module isn't intended to be used to share variables
> with PHP?
>   
No, this was not the purpose of this module.

> I want to use this module to use a php script to process each call
>
> If I do this:
>
> avp_db_query("select something from table", $avp(i:986));
>
> can I retrieve the results on my $avp(i:986) ?
>
> What I must have In my script.php to treat this request and make the
> exchange ?
>   
I don't know PHP but what you have to do is build a 200 OK HTTP reply 
containing the body:

string
answer

After this $avp(i:986) will contain "answer".

-- 
Andrei Dragus
www.voice-system.ro 


_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to