[asterisk-users] AGI and some informations

Olivier Saulnier steganux at steganux.com
Tue Nov 28 14:23:24 MST 2006


Anton Frolov a écrit :

>When registering the softphone:
>  
>
OK, in which file do i do that??

>SoftPhonesDB.insert("olivier", $ip);
>
>  
>
Could you explain me what means "SoftPhonesDB.insert"?? It's not an AGI 
commande, how can i use it??

>In extensions.conf:
>exten => 302,s,agi,script.rb,${EXTEN}
>
>  
>
OK, i understand

>In script.rb:
>$ip = SoftPhonesDB.select("olivier");
>Dial(SIP/$ip, $arg);
>
>  
>
Hummm...Does Dial working with Ip adress?? Or should i write ine the 
database the softphone number too??

Best regards,
Olivier S



More information about the asterisk-users mailing list