Нello ! I need of help (it is important for me)
Canaanite !
Я использую SER Sip EXpress Router 0.9.6), пока в режиме теста. Он у меня работает как: - Location Server (+ Auth); - Proxy Server; Используется MySQL.
Вопрос (question) ! Как мне сделать так, чтобы SER ограничивал колличество вызовов по номеру и/или по имени !?
Пример: number(E164) 8121111111 - 5 lines number(E164) 8122222222 - 3 lines number(E164) 8123333333 - 1 line username "Sergey" ------ 2 lines username "Alexey" ------ 9 lines
Если можно, то приведите пример ser.cfg
Спасибо.
Нello ! I need of help (it is important for me)
Я использую SER Sip EXpress Router 0.9.6), пока в режиме теста. Он у меня работает как: - Location Server (+ Auth); - Proxy Server; Используется MySQL.
Вопрос (question) ! Как мне сделать так, чтобы SER ограничивал колличество вызовов по номеру и/или по имени !?
Пример: number(E164) 8121111111 - 5 lines number(E164) 8122222222 - 3 lines number(E164) 8123333333 - 1 line username "Sergey" ------ 2 lines username "Alexey" ------ 9 lines
Если можно, то приведите пример ser.cfg
Спасибо.
_____________________________________________ Tatarskiy Sergey
Нello ! I need of help (it is important for me)
Я использую SER Sip EXpress Router 0.9.6), пока в режиме теста. Он у меня работает как: - Location Server (+ Auth); - Proxy Server; Используется MySQL.
Вопрос (question) ! Как мне сделать так, чтобы SER ограничивал колличество вызовов по номеру или по URL !?
Пример: number(E164) 8121111111@test_ru - 5 lines number(E164) 8122222222@test_ru - 3 lines number(E164) 8123333333@test_ru - 1 line username "Sergey@test_ru" ------ 2 lines username "Alexey"test_ru" ------ 9 lines
Если можно, то приведите пример ser.cfg
Спасибо.
_____________________________________________ Tatarskiy Sergey
Hi
i'm interresting too by it but i don't understand russian. i think i'm not alone in this case.
please write in english.
Simon
Le Wed, 5 Mar 2008 16:01:11 +0300, tatarskiy@severen.net a écrit :
Нello ! I need of help (it is important for me)
Canaanite !
Я использую SER Sip EXpress Router 0.9.6), пока в режиме теста. Он у меня работает как:
- Location Server (+ Auth);
- Proxy Server;
Используется MySQL.
Вопрос (question) ! Как мне сделать так, чтобы SER ограничивал колличество вызовов по номеру и/или по имени !?
Пример: number(E164) 8121111111 - 5 lines number(E164) 8122222222 - 3 lines number(E164) 8123333333 - 1 line username "Sergey" ------ 2 lines username "Alexey" ------ 9 lines
Если можно, то приведите пример ser.cfg
Спасибо.
Serusers mailing list Serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
Translation below:
I am using SER Sip EXpress Router 0.9.6), but in test mode for now. The whole thing works like this: - Location Server (+ Auth); - Proxy Server; MySQL support enabled
Question: How can I set up my SER so that it limits the number of calls based on URI and/or display name?
Example: number(E164) 8121111111 - 5 lines number(E164) 8122222222 - 3 lines number(E164) 8123333333 - 1 line username "Sergey" ------ 2 lines username "Alexey" ------ 9 lines
If possible, could you give me an example of ser.cfg?
Thanx.
On Wed, Mar 5, 2008 at 8:38 PM, simon sim@ovh.net wrote:
Hi
i'm interresting too by it but i don't understand russian. i think i'm not alone in this case.
please write in english.
Simon
Le Wed, 5 Mar 2008 16:01:11 +0300, tatarskiy@severen.net a écrit :
Нello ! I need of help (it is important for me)
Canaanite !
Я использую SER Sip EXpress Router 0.9.6), пока в режиме теста. Он у меня работает как:
- Location Server (+ Auth);
- Proxy Server;
Используется MySQL.
Вопрос (question) ! Как мне сделать так, чтобы SER ограничивал колличество вызовов по номеру и/или по имени !?
Пример: number(E164) 8121111111 - 5 lines number(E164) 8122222222 - 3 lines number(E164) 8123333333 - 1 line username "Sergey" ------ 2 lines username "Alexey" ------ 9 lines
Если можно, то приведите пример ser.cfg
Спасибо.
Serusers mailing list Serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
Serusers mailing list Serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
P.S. - I think i tranlated this wrong:
"How can I set up my SER so that it limits the number of calls based on URI and/or display name?"
New translation: How can I set up my SER so that it limits the number of calls based on a number or username?
Translation below:
I am using SER Sip EXpress Router 0.9.6), but in test mode for now. The whole thing works like this:
- Location Server (+ Auth);
- Proxy Server;
MySQL support enabled
Question: How can I set up my SER so that it limits the number of calls based on URI and/or display name?
Example:
number(E164) 8121111111 - 5 lines number(E164) 8122222222 - 3 lines number(E164) 8123333333 - 1 line username "Sergey" ------ 2 lines username "Alexey" ------ 9 lines
If possible, could you give me an example of ser.cfg?
Thanx.
Translation below:
I am using SER Sip EXpress Router 0.9.6), but in test mode for now. The whole thing works like this: - Location Server (+ Auth); - Proxy Server; MySQL support is also enabled
Question: How can I set up my SER so that it limits the number of calls based on a number or username?
Example: number(E164) 8121111111 - 5 lines number(E164) 8122222222 - 3 lines number(E164) 8123333333 - 1 line username "Sergey" ------ 2 lines username "Alexey" ------ 9 lines
If possible, could you give me an example of ser.cfg?
Thanx.
On Wed, Mar 5, 2008 at 8:38 PM, simon sim@ovh.net wrote:
Hi
i'm interresting too by it but i don't understand russian. i think i'm not alone in this case.
please write in english.
Simon
Le Wed, 5 Mar 2008 16:01:11 +0300, tatarskiy@severen.net a écrit :
Нello ! I need of help (it is important for me)
Canaanite !
Я использую SER Sip EXpress Router 0.9.6), пока в режиме теста. Он у меня работает как:
- Location Server (+ Auth);
- Proxy Server;
Используется MySQL.
Вопрос (question) ! Как мне сделать так, чтобы SER ограничивал колличество вызовов по номеру и/или по имени !?
Пример: number(E164) 8121111111 - 5 lines number(E164) 8122222222 - 3 lines number(E164) 8123333333 - 1 line username "Sergey" ------ 2 lines username "Alexey" ------ 9 lines
Если можно, то приведите пример ser.cfg
Спасибо.
Serusers mailing list Serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
Serusers mailing list Serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
Hello All!
05.03.08, tatarskiy@severen.nettatarskiy@severen.net написал(а):
Нello ! I need of help (it is important for me)
Canaanite !
Я использую SER Sip EXpress Router 0.9.6), пока в режиме теста. Он у меня работает как:
- Location Server (+ Auth);
- Proxy Server;
Используется MySQL.
Вопрос (question) ! Как мне сделать так, чтобы SER ограничивал колличество вызовов по номеру и/или по имени !?
We use self-written module with connection to database to rewrite all incoming call for purposes of call limitations for users.
Just FYI - easy example (w/o many necessary details)
=========================================== static int rewrite_address(struct sip_msg* m, char* foo, char* bar) {
char from[256]; char to[256]; char result[256];
struct action a;
if (parse_headers(m, HDR_TO_F|HDR_FROM_F, 1) != 0){ printf ("destination_rewrite: can't parse headers!\n"); return 0; }
sprintf (from, "%.*s", ((m->from)->body).len, ((m->from)->body).s); sprintf (to, "%.*s", ((m->to)->body).len, ((m->to)->body).s);
get_new_dest_from_db (result, from, to);
a.type = SET_URI_T; a.p1_type = STRING_ST; a.p1.string = result; a.next = NULL;
do_action (&a, m);
return 1; } ===========================================
In case user from overcomes its call limits you need to forward calls somethere to sip:sems#notaccepted_here@youraddress.com where ypou may setup SEMS (for example) which tell user that he runs out of call lines.