Roger Schreiter
2007-Oct-19 10:23 UTC
[asterisk-users] Howto get origin IP address from SIP call reliably
Hi, incoming SIP calls have a channel name in the form of: SIP/<ip-adresss-of-peer>-<handle> This is a way to get fetch the IP address of the remote side of a SIP call - in most cases. However, sometimes, instead of the IP address, there is a host name in the channel name. I assume, this value in the channel name is not the real IP address, but just a field filled in by the remote SIP client. Thus, this is not a reliable way to check the origin of a SIP call. What is a reliable way to read the real IP address of the origin of a SIP call? Regards, Roger.
asterisk at nicox.org
2007-Oct-19 11:09 UTC
[asterisk-users] XXX Missing handling for mandatory IE 8 (cs0, Cause) XXX
Hi, I'm running some Asterisk-machines, and on one of them i get this errors in the CLI, but i don't know what that means. Hardware: Digium 4-Port E1 Card with HWEC Intel Pentium D 3 GHz 2 GB RAM SATA Harddisk Supermicro Mainboard Software: latest libpri/zaptel/asterisk of version 1.2 I tried also asterisk version 1.4.x, but there the problem occurs every 10 calls, on asterisk 1.2 its about every 100 calls. any ideas on this? Thanks a lot Nico
Philipp Kempgen
2007-Oct-19 11:10 UTC
[asterisk-users] Howto get origin IP address from SIP call reliably
Roger Schreiter wrote:> What is a reliable way to read the real IP address of the origin > of a SIP call?Maybe SIPCHANINFO(peerip) or SIPCHANINFO(recvip)? Regards, Philipp Kempgen -- amooma GmbH - Bachstr. 126 - 56566 Neuwied - http://www.amooma.de Let's use IT to solve problems and not to create new ones. Asterisk? -> http://www.das-asterisk-buch.de Gesch?ftsf?hrer: Stefan Wintermeyer Handelsregister: Neuwied B 14998