Re: [SR-Users] Server_id expects number only

2018-10-08 Thread Brandon Armstead
Err I'm sorry I didn't pay close enough attention to your int, the network
address for 192.168.100.100 would be ... 3232261220

On Mon, Oct 8, 2018 at 4:10 AM Brandon Armstead  wrote:

> Sorry for late reply - however ; yes -- if it will accept this int - i've
> not tried it.
>
> On Mon, Oct 1, 2018 at 7:26 AM Denys Pozniak 
> wrote:
>
>> Do you mean like  server_id="192.168.100.100" -->  server_id=192168100100
>> ?
>> Generally I use similar logic to recover IP from number.
>>
>> пн, 1 окт. 2018 г. в 16:52, Brandon Armstead :
>>
>>> You could try using network address for the ip?
>>>
>>> On Mon, Oct 1, 2018 at 6:48 AM Denys Pozniak 
>>> wrote:
>>>
 Hello!

 I need to separate Kamailio's dmq_usrloc by server_id and will be much
 easily if server_id can accept string values also, like:
 server_id="192.168.100.100"

 But currently it accepts only integer:
 https://www.kamailio.org/wiki/cookbooks/5.1.x/core#server_id

 Syslog:
  0(11488) CRITICAL:  [core/cfg.y:3447]: yyerror_at(): parse error
 in config file /etc/kamailio/global.cfg, line 126, column 11-24: syntax
 error
  0(11488) CRITICAL:  [core/cfg.y:3447]: yyerror_at(): parse error
 in config file /etc/kamailio/global.cfg, line 126, column 11-24: number
 expected


 --

 BR,
 Denys Pozniak


 ___
 Kamailio (SER) - Users Mailing List
 sr-users@lists.kamailio.org
 https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users

>>> --
>>> Sent from Gmail Mobile
>>> ___
>>> Kamailio (SER) - Users Mailing List
>>> sr-users@lists.kamailio.org
>>> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>>>
>>
>>
>> --
>>
>> BR,
>> Denys Pozniak
>>
>>
>> ___
>> Kamailio (SER) - Users Mailing List
>> sr-users@lists.kamailio.org
>> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>>
>
>
> --
> Sincerely,
> Brandon Armstead
> CTO / CRYY.com
>


-- 
Sincerely,
Brandon Armstead
CTO / CRYY.com
___
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] Server_id expects number only

2018-10-08 Thread Brandon Armstead
Sorry for late reply - however ; yes -- if it will accept this int - i've
not tried it.

On Mon, Oct 1, 2018 at 7:26 AM Denys Pozniak 
wrote:

> Do you mean like  server_id="192.168.100.100" -->  server_id=192168100100 ?
> Generally I use similar logic to recover IP from number.
>
> пн, 1 окт. 2018 г. в 16:52, Brandon Armstead :
>
>> You could try using network address for the ip?
>>
>> On Mon, Oct 1, 2018 at 6:48 AM Denys Pozniak 
>> wrote:
>>
>>> Hello!
>>>
>>> I need to separate Kamailio's dmq_usrloc by server_id and will be much
>>> easily if server_id can accept string values also, like:
>>> server_id="192.168.100.100"
>>>
>>> But currently it accepts only integer:
>>> https://www.kamailio.org/wiki/cookbooks/5.1.x/core#server_id
>>>
>>> Syslog:
>>>  0(11488) CRITICAL:  [core/cfg.y:3447]: yyerror_at(): parse error
>>> in config file /etc/kamailio/global.cfg, line 126, column 11-24: syntax
>>> error
>>>  0(11488) CRITICAL:  [core/cfg.y:3447]: yyerror_at(): parse error
>>> in config file /etc/kamailio/global.cfg, line 126, column 11-24: number
>>> expected
>>>
>>>
>>> --
>>>
>>> BR,
>>> Denys Pozniak
>>>
>>>
>>> ___
>>> Kamailio (SER) - Users Mailing List
>>> sr-users@lists.kamailio.org
>>> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>>>
>> --
>> Sent from Gmail Mobile
>> ___
>> Kamailio (SER) - Users Mailing List
>> sr-users@lists.kamailio.org
>> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>>
>
>
> --
>
> BR,
> Denys Pozniak
>
>
> ___
> Kamailio (SER) - Users Mailing List
> sr-users@lists.kamailio.org
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>


-- 
Sincerely,
Brandon Armstead
CTO / CRYY.com
___
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] Server_id expects number only

2018-10-01 Thread Denys Pozniak
Do you mean like  server_id="192.168.100.100" -->  server_id=192168100100 ?
Generally I use similar logic to recover IP from number.

пн, 1 окт. 2018 г. в 16:52, Brandon Armstead :

> You could try using network address for the ip?
>
> On Mon, Oct 1, 2018 at 6:48 AM Denys Pozniak 
> wrote:
>
>> Hello!
>>
>> I need to separate Kamailio's dmq_usrloc by server_id and will be much
>> easily if server_id can accept string values also, like:
>> server_id="192.168.100.100"
>>
>> But currently it accepts only integer:
>> https://www.kamailio.org/wiki/cookbooks/5.1.x/core#server_id
>>
>> Syslog:
>>  0(11488) CRITICAL:  [core/cfg.y:3447]: yyerror_at(): parse error
>> in config file /etc/kamailio/global.cfg, line 126, column 11-24: syntax
>> error
>>  0(11488) CRITICAL:  [core/cfg.y:3447]: yyerror_at(): parse error
>> in config file /etc/kamailio/global.cfg, line 126, column 11-24: number
>> expected
>>
>>
>> --
>>
>> BR,
>> Denys Pozniak
>>
>>
>> ___
>> Kamailio (SER) - Users Mailing List
>> sr-users@lists.kamailio.org
>> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>>
> --
> Sent from Gmail Mobile
> ___
> Kamailio (SER) - Users Mailing List
> sr-users@lists.kamailio.org
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>


-- 

BR,
Denys Pozniak
___
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] Server_id expects number only

2018-10-01 Thread Brandon Armstead
You could try using network address for the ip?

On Mon, Oct 1, 2018 at 6:48 AM Denys Pozniak 
wrote:

> Hello!
>
> I need to separate Kamailio's dmq_usrloc by server_id and will be much
> easily if server_id can accept string values also, like:
> server_id="192.168.100.100"
>
> But currently it accepts only integer:
> https://www.kamailio.org/wiki/cookbooks/5.1.x/core#server_id
>
> Syslog:
>  0(11488) CRITICAL:  [core/cfg.y:3447]: yyerror_at(): parse error in
> config file /etc/kamailio/global.cfg, line 126, column 11-24: syntax error
>  0(11488) CRITICAL:  [core/cfg.y:3447]: yyerror_at(): parse error in
> config file /etc/kamailio/global.cfg, line 126, column 11-24: number
> expected
>
>
> --
>
> BR,
> Denys Pozniak
>
>
> ___
> Kamailio (SER) - Users Mailing List
> sr-users@lists.kamailio.org
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>
-- 
Sent from Gmail Mobile
___
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


[SR-Users] Server_id expects number only

2018-10-01 Thread Denys Pozniak
Hello!

I need to separate Kamailio's dmq_usrloc by server_id and will be much
easily if server_id can accept string values also, like:
server_id="192.168.100.100"

But currently it accepts only integer:
https://www.kamailio.org/wiki/cookbooks/5.1.x/core#server_id

Syslog:
 0(11488) CRITICAL:  [core/cfg.y:3447]: yyerror_at(): parse error in
config file /etc/kamailio/global.cfg, line 126, column 11-24: syntax error
 0(11488) CRITICAL:  [core/cfg.y:3447]: yyerror_at(): parse error in
config file /etc/kamailio/global.cfg, line 126, column 11-24: number
expected


-- 

BR,
Denys Pozniak
___
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users