On Thu 16 Dec 2010 at 11:36:51 -0200, Jorge Merlino wrote:

> Ok, this was useful. I found the problem now. The issue is that
> sflphone-callto looks for the account number in the sflphonedrc but my
> version of sflphone needs the account number from sflphoned.yml (I guess
> I have the sflphonedrc from an older version because the account numbers
> are different)

Your sflphoned uses a .yml configuration file with account numbers
different from the account numbers in the sflphonedrc file used by
sflphone-callto. So a couple of choices:

1. Change the account numbers in sflphonedrc to match those in
   sflphoned.yml. Leave sflphone-callto as it is.

2. Alter the sflphone-callto script to grep for 'order' (rather than
   Accounts.order) in sflphoned.yml. RESFILE needs changing .
 
> I can make a patch to the script so that it looks first for the
> sflphoned.yml file and then looks for sflphonedrc if the former is not
> found. I guess the same grep | sed approach can be used although I'm not
> sure about the idea of searching for the first account. In my case it is
> the IP2IP account and that cannot be changed from the user interface.

Depends what you mean by 'user interface'. I find vim a good one to use. :)

_______________________________________________
SFLphone mailing list
[email protected]
http://lists.savoirfairelinux.net/mailman/listinfo/sflphone

Reply via email to