HelloI have a little project and I need to find the ip address from my SIP
phone. How can I find my ip addres of the phone?Have you a command or a service
whith this functions? Thanks for help !!!Best regards,Constantin___
SIP Express Router (SER) and K
On 10/22/12 9:37 PM, Juha Heinanen wrote:
Daniel-Constantin Mierla writes:
I am not sure anymore the reason of the debate here. Saving two optional
bytes which are not allocated if not used in a db varchar field?
it started because there is three different lengths of ip address field
in three
Daniel-Constantin Mierla writes:
> I am not sure anymore the reason of the debate here. Saving two optional
> bytes which are not allocated if not used in a db varchar field?
it started because there is three different lengths of ip address field
in three different tables, which does not make an
On 10/22/12 9:01 PM, Juha Heinanen wrote:
Daniel-Constantin Mierla writes:
many times the management system sits between chair and keyboard :-) ,
being able to read/add human representation is really crucial in this
case.
leaving out square brackets, which are not specified in ipv6 address
rfc
Daniel-Constantin Mierla writes:
> many times the management system sits between chair and keyboard :-) ,
> being able to read/add human representation is really crucial in this
> case.
leaving out square brackets, which are not specified in ipv6 address
rfc, should not be an overwhelming task f
On 10/22/12 8:36 PM, Juha Heinanen wrote:
Daniel-Constantin Mierla writes:
I gave the link to show the ipv4 representation. Square brackets are
commonly used in ipv6 representations, specially in url/uri -- wikipedia
link you provided mentions that..
yes, but when they are used in url, square
Daniel-Constantin Mierla writes:
> text representation can use ipv4 format for last 4 bytes:
>
> http://tools.ietf.org/html/rfc4291#page-4
>
> common for cases when tunneling ipv4 over ipv6.
>
> That is:
>
> (6 * 4 + 5) + 1 + (4 * 3 + 3) = 45
>
> Then add 3 for the square brackets and th
On 10/22/12 8:19 PM, Juha Heinanen wrote:
Olle E. Johansson writes:
It's hard to judge the max length of IPv6, since there are many
notations. With IPv4 embedded IPv6 the text is expanded. With scoped
addresses where the interface name is added, it grows again.
ipv6 is even bigger mesh than w
Daniel-Constantin Mierla writes:
> I gave the link to show the ipv4 representation. Square brackets are
> commonly used in ipv6 representations, specially in url/uri -- wikipedia
> link you provided mentions that..
yes, but when they are used in url, square brackets are not part of the
address.
On 10/22/12 14:19, Juha Heinanen wrote:
> to me it makes sense to store addresses only in canonical format to
> database in order to make sure that address comparison can be made
> uniquely.
Using the string representation of an address for anything other than to
provide a human readable version
On 10/22/12 8:23 PM, Juha Heinanen wrote:
Daniel-Constantin Mierla writes:
Then add 3 for the square brackets and the ending 0.
where are square brackets specifies? there is nothing about them in
http://tools.ietf.org/html/rfc4291.
I gave the link to show the ipv4 representation. Square brac
Daniel-Constantin Mierla writes:
> Then add 3 for the square brackets and the ending 0.
where are square brackets specifies? there is nothing about them in
http://tools.ietf.org/html/rfc4291.
-- juha
___
SIP Express Router (SER) and Kamailio (OpenSER
Olle E. Johansson writes:
> It's hard to judge the max length of IPv6, since there are many
> notations. With IPv4 embedded IPv6 the text is expanded. With scoped
> addresses where the interface name is added, it grows again.
ipv6 is even bigger mesh than what i ever thought.
as i wrote, there i
On 10/22/12 14:14, Juha Heinanen wrote:
> Richard Fuchs writes:
>
>> If you use 4-in-6 mapped format, omit zeroes compression and add square
>> brackets, you get 47 characters:
>>
>> [::::::123.123.123.123]
>
> why would someone use such a format when there is canonical fo
Richard Fuchs writes:
> If you use 4-in-6 mapped format, omit zeroes compression and add square
> brackets, you get 47 characters:
>
> [::::::123.123.123.123]
why would someone use such a format when there is canonical format
specified in http://tools.ietf.org/html/rfc595
On 10/22/12 7:59 PM, Juha Heinanen wrote:
Daniel-Constantin Mierla writes:
For safety, i would use 48, to allow zero termination
why 48 when max length of ipv6 addr is 39 chars? did you mean 40?
text representation can use ipv4 format for last 4 bytes:
http://tools.ietf.org/html/rfc4291#pa
22 okt 2012 kl. 19:59 skrev Juha Heinanen :
> Daniel-Constantin Mierla writes:
>
>> For safety, i would use 48, to allow zero termination
>
> why 48 when max length of ipv6 addr is 39 chars? did you mean 40?
It's hard to judge the max length of IPv6, since there are many notations. With
IPv4
On 10/22/12 13:59, Juha Heinanen wrote:
> Daniel-Constantin Mierla writes:
>
>> For safety, i would use 48, to allow zero termination
>
> why 48 when max length of ipv6 addr is 39 chars? did you mean 40?
If you use 4-in-6 mapped format, omit zeroes compression and add square
brackets, you get 4
Daniel-Constantin Mierla writes:
> For safety, i would use 48, to allow zero termination
why 48 when max length of ipv6 addr is 39 chars? did you mean 40?
-- juha
___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@li
On 10/22/12 4:11 PM, Juha Heinanen wrote:
lcr_gw table has:
ip_addr varchar(47)
trusted table has:
src_ip varchar(50)
address table has:
ip_addr varchar(48)
why is it that they are not all the same? also, why the common length
is not 8 * 4 + 7 = 39
(http://en.wikipedia.org/wiki/IPv6#Addr
lcr_gw table has:
ip_addr varchar(47)
trusted table has:
src_ip varchar(50)
address table has:
ip_addr varchar(48)
why is it that they are not all the same? also, why the common length
is not 8 * 4 + 7 = 39
(http://en.wikipedia.org/wiki/IPv6#Address_format)?
-- juha
__
Hello,
On 1/18/12 2:44 PM, Uri Shacked wrote:
still
13(11851) ERROR: exec [exec.c:86]: cmd nc -u -w0 10.2.0.54 514 <<<
",denied_calls-0,dos-green" failed. exit_status=-1, errno=32: Broken pipe
this is different story, is because of the communication through the
pipe between kamailio and e
still
13(11851) ERROR: exec [exec.c:86]: cmd nc -u -w0 10.2.0.54 514 <<<
",denied_calls-0,dos-green" failed. exit_status=-1, errno=32: Broken pipe
On Wed, Jan 18, 2012 at 11:22 AM, Daniel-Constantin Mierla <
mico...@gmail.com> wrote:
> Hello,
>
> ok, looked in the sources the rtimer modu
Hello,
ok, looked in the sources the rtimer module had its own internal faked
msg, so my previous patch didn't apply for it.
I just committed a patch to rtimer, so now it uses the common faked
msg. Can you cherry pick commit 6c829c1794fb79fbce213238e88346522f584fcf
and try again?
Cheers,
Daniel hi,
a little late but, here is the level 3 debug log
Jan 18 07:36:23 kamailiolabroute /usr/local/sbin/kamailio[2387]: DEBUG:
[usr_avp.c:644]: DEBUG:destroy_avp_list: destroying list (nil)
Jan 18 07:36:23 kamailiolabroute /usr/local/sbin/kamailio[2388]: DEBUG: tm
[t_reply.c:1509]: DEBUG
no, i get it every 10 sec (like the rtimer i set) the first 3 times are the
first line and afterwards the second line apears.
i notice that after a while it cycles again... 3 times etc
i did :
git pull origin
git cherry-pick -x 62e5680c9dd4eccb0f177415b7624af832c87693
make all
make install
r
Hello,
On 1/12/12 11:07 AM, Uri Shacked wrote:
Hi,
now i get at start:
9(5006) : exec [../../parser/../ip_addr.h:688]: BUG: ip_addr2sbuf:
unknown address family 0
do you mean you get it once, at kamailio startup?
and after 3 time the following is added:
ERROR: exec [exec.c:86]: cmd nc -u -w
Hi,
now i get at start:
9(5006) : exec [../../parser/../ip_addr.h:688]: BUG: ip_addr2sbuf: unknown
address family 0
and after 3 time the following is added:
ERROR: exec [exec.c:86]: cmd nc -u -w0 10.2.0.54 514 <<<
",denied_calls-0,dos-green" failed. exit_status=-1, errno=32: Broken pipe
any id
Hello,
On 1/11/12 7:12 PM, Uri Shacked wrote:
no, only the lines you see.
strange ... anyhow, I pushed a patch to master branch to set src/dst ip
to 127.0.0.1:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=62e5680c9dd4eccb0f177415b7624af832c87693
if you installed from g
no, only the lines you see.
On Wed, Jan 11, 2012 at 7:40 PM, Daniel-Constantin Mierla wrote:
> Looking into the source, exec_msg() does not access receive info
> (source/destination address). Is there any other action in timer route
> accessing source IP or destination IP (like xlog printing $si
Looking into the source, exec_msg() does not access receive info
(source/destination address). Is there any other action in timer route
accessing source IP or destination IP (like xlog printing $si)?
Cheers,
Daniel
On 1/11/12 6:05 PM, Uri Shacked wrote:
Thanks, will be waiting :-)
On 1/11/12
Thanks, will be waiting :-)
On 1/11/12, Daniel-Constantin Mierla wrote:
> Hello,
>
> On 1/11/12 11:36 AM, Uri Shacked wrote:
>> Hi,
>> i am doing this command in a timer under kamailio:
>> $var(log)='"'+'denied_calls-'+$stat(denied_calls)+',dos-'+$shv(dos)+'"';
>> exec_msg("nc -u -w0 10.2.0.54 5
Hello,
On 1/11/12 11:36 AM, Uri Shacked wrote:
Hi,
i am doing this command in a timer under kamailio:
$var(log)='"'+'denied_calls-'+$stat(denied_calls)+',dos-'+$shv(dos)+'"';
exec_msg("nc -u -w0 10.2.0.54 514 <<< $var(log)");
each time the command is executed, i get the following error:
9(19302
Hi,
i am doing this command in a timer under kamailio:
$var(log)='"'+'denied_calls-'+$stat(denied_calls)+',dos-'+$shv(dos)+'"';
exec_msg("nc -u -w0 10.2.0.54 514 <<< $var(log)");
each time the command is executed, i get the following error:
9(19302) : exec [../../parser/../ip_addr.h:688]: BUG:
Thank you - that does make sense, of course :-)
Best regards,
Bernhard
-Ursprüngliche Nachricht-
Von: Klaus Darilion [mailto:klaus.mailingli...@pernau.at]
Gesendet: Freitag, 14. Januar 2011 09:55
An: Bernhard Suttner
Cc: sr-users@lists.sip-router.org
Betreff: Re: [SR-Users] IP Address
Am 14.01.2011 08:54, schrieb Bernhard Suttner:
Hi,
I have a very short question: Kamailio does listen to many IP Addresses and
does forward messages to the peer with t_relay. Which IP address will kamailio
use for the outgoing traffic as source-ip, if there are many IP addresses on
the inte
Hi,
I have a very short question: Kamailio does listen to many IP Addresses and
does forward messages to the peer with t_relay. Which IP address will kamailio
use for the outgoing traffic as source-ip, if there are many IP addresses on
the interface? Is it possible to specify this somehow?
Th
37 matches
Mail list logo