[OpenSER-Users] Openser is giving compile errors for avp_write and avp_pushto

Sandeep Ammaladinna sammaladinna at velankani.com
Wed Dec 5 13:32:58 CET 2007


Hi Henning,

   I commented out the "fifo" part and still the config file errs. When
i tried with openser -c option it says, config file OK. But when I
actually run the openser it cribs.

Attached is the log file.

Cheers,
-Sandeep


-----Original Message-----
From: users-bounces at lists.openser.org
[mailto:users-bounces at lists.openser.org] On Behalf Of
users-request at lists.openser.org
Sent: Wednesday, December 05, 2007 5:30 PM
To: users at lists.openser.org
Subject: Users Digest, Vol 31, Issue 11

Send Users mailing list submissions to
	users at lists.openser.org

To subscribe or unsubscribe via the World Wide Web, visit
	http://lists.openser.org/cgi-bin/mailman/listinfo/users
or, via email, send a message with subject or body 'help' to
	users-request at lists.openser.org

You can reach the person managing the list at
	users-owner at lists.openser.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Users digest..."


Today's Topics:

   1.  configure openser with cpl module (Martin Kardi)
   2. Re: Proxy with OpenSER (Andreas M.)
   3. Openser is giving compile errors for avp_write and
avp_pushto
      (Sandeep Ammaladinna)
   4. Re: Openser is giving compile errors for avp_write	and
      avp_pushto (Henning Westerholt)
   5. Re: uac_replace_from issues (Henning Westerholt)
   6. Could someone help me with WeSIP ? (Daniel Grotti)


----------------------------------------------------------------------

Message: 1
Date: Tue, 4 Dec 2007 04:15:18 -0800 (PST)
From: Martin Kardi <martin.kardos at pego.sk>
Subject: [OpenSER-Users]  configure openser with cpl module
To: users at lists.openser.org
Message-ID: <14149601.post at talk.nabble.com>
Content-Type: text/plain; charset=us-ascii


Hi,

 I installed openser with cpl module and other dependencies but I don't
know
how to configure it? Openser is functionally without cpl module. I am
beginner in this. Could somebody help me how to?

  thanks 
  Martin
-- 
View this message in context:
http://www.nabble.com/configure-openser-with-cpl-module-tf4942775.html#a
14149601
Sent from the OpenSER Users Mailing List mailing list archive at
Nabble.com.




------------------------------

Message: 2
Date: Wed, 05 Dec 2007 08:57:33 +0100
From: "Andreas M." <openser at breitenlee.net>
Subject: Re: [OpenSER-Users] Proxy with OpenSER
To: openser list user <users at lists.openser.org>
Message-ID: <475659ED.9060809 at breitenlee.net>
Content-Type: text/plain; charset=ISO-8859-1

Hello,
an IMS P-CSCF is not just a Proxy, there are a lot of routines and
functions inside, that could not
be done with an IETF SIP Proxy.

Take a look at www.openimscore.org, there are also config examples,
based on SER.

r,
Andreas M.

hammou moujane schrieb:
> Hello everybody,
> 
> I am new in this mailing list and new user of OpenSER. I would like to
> know  where can I find the doc which can help me to make OpenSER as a
> proxy server like P-CSCF of IMS core. what to be modified in
> openser.conf configuration file.
> 
> 
> 
> Bests Regards.
> -- 
> Hammou MOUJANE
> Tel: +212 62 46 33 89
>            INPT
> 
> 
>
------------------------------------------------------------------------
> 
> _______________________________________________
> Users mailing list
> Users at lists.openser.org
> http://lists.openser.org/cgi-bin/mailman/listinfo/users

-- 
g,
Andreas M.



------------------------------

Message: 3
Date: Wed, 5 Dec 2007 14:13:11 +0530
From: "Sandeep Ammaladinna" <sammaladinna at velankani.com>
Subject: [OpenSER-Users] Openser is giving compile errors for
	avp_write and	avp_pushto
To: <users at lists.openser.org>,	<devel at lists.openser.org>
Message-ID: <001b01c8371a$e14dd170$1010000a at blr.velankani.com>
Content-Type: text/plain; charset="us-ascii"

Hi,
 
   When I am compiling my openser.cfg, Openser is throwing errors for
avp_write and avp_pushto.
   The syntax I am using is as follows:
 
     avp_write("$ruri", "i:10");
     avp_pushto("$ruri", "i:10");
 
      What could be the issue; I am following the syntax from the cook
book. Attached is my .cfg 
 
 Thanks in advance.
 
Cheers
-Sandeep
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://lists.openser.org/pipermail/users/attachments/20071205/e3151225/a
ttachment.html 
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: openser.cfg.txt
Url:
http://lists.openser.org/pipermail/users/attachments/20071205/e3151225/a
ttachment-0001.txt 

------------------------------

Message: 4
Date: Wed, 5 Dec 2007 09:58:53 +0100
From: Henning Westerholt <henning.westerholt at 1und1.de>
Subject: Re: [OpenSER-Users] Openser is giving compile errors for
	avp_write	and avp_pushto
To: users at lists.openser.org
Cc: Sandeep Ammaladinna <sammaladinna at velankani.com>
Message-ID: <200712050958.54093.henning.westerholt at 1und1.de>
Content-Type: text/plain;  charset="utf-8"

On Wednesday 05 December 2007, Sandeep Ammaladinna wrote:
> Hi,
>
>    When I am compiling my openser.cfg, Openser is throwing errors for
> avp_write and avp_pushto.
>    The syntax I am using is as follows:
>
>      avp_write("$ruri", "i:10");
>      avp_pushto("$ruri", "i:10");
>
>       What could be the issue; I am following the syntax from the cook
> book. Attached is my .cfg

Hi Sandeep,

the config you've attached give no error for the AVP operations. The
"fifo" 
stuff is the culprit. This core parameter is obselete. 

You can check your config with "openser -c" for errors, this gives you
the 
exact line of the problem.

Cheers,

Henning



------------------------------

Message: 5
Date: Wed, 5 Dec 2007 10:19:03 +0100
From: Henning Westerholt <henning.westerholt at 1und1.de>
Subject: Re: [OpenSER-Users] uac_replace_from issues
To: users at lists.openser.org
Message-ID: <200712051019.03429.henning.westerholt at 1und1.de>
Content-Type: text/plain;  charset="ansi_x3.4-1968"

On Tuesday 04 December 2007, Alex Hermann wrote:
> Hello,
>
> I have 2 issues with uac_replace_from.
>
> 1) Can someone add a big fat warning to the documentation
> that "append_fromtag" from the rr module MUST be enabled for automatic
> restore to function? I got random memory locations copied into the To:
or
> From: header when it was disabled.

Hi Alex,

this qualifies clearly as a bug for me, can you please open a report for
this 
issue on the tracker? 

http://sourceforge.net/tracker/?group_id=139143&atid=743020

> 2) I get the message "ERROR:uac:restore_from: new URI shorter than old
> URI".
>
> Is there a limitation to what I can replace or what it can be replaced
> with?
>
> Can I safely remove this limitation in modules/uac/from.c ?

No clue about this, sorry.

Cheers,

Henning



------------------------------

Message: 6
Date: Wed, 05 Dec 2007 10:59:04 +0100
From: Daniel Grotti <d.grotti at gmail.com>
Subject: [OpenSER-Users] Could someone help me with WeSIP ?
To: users at lists.openser.org
Message-ID: <47567668.30701 at gmail.com>
Content-Type: text/plain; charset=ISO-8859-15; format=flowed

Hi all,
I'm trying to use WeSIP but I don't be able to connect to "Manager"
link.
I receive a 500 Http error.
This is my server.xml file:
where I hide Proxy IP Address with PROXY_IP
and in OpenserSER I have setted modparam("seas", 
"listen_sockets","localhost:5080")


************************************************************************
*****************
<Server port="8005" shutdown="SHUTDOWN" debug="0">
        <Service name="Tomcat-Standalone">
                <Connector 
className="org.apache.catalina.connector.http.HttpConnector"
                        port="8080" minProcessors="5" maxProcessors="75"
                        enableLookups="true" address="PROXY_IP" 
acceptCount="10" debug="0" />

                <Connector 
className="com.voztele.sipservlet.connector.SipConnector"
                        minProcessors="5" maxProcessors="75"
                        enableLookups="true" acceptCount="10" debug="0"
                        addresses="PROXY_IP:5060" pathName="com.voztele"

protocol="udp" >
                                <ExtraProperties>
                                        <Property 
key="com.voztele.javax.sip.SER_ADDRESS" value="localhost" />   
                                        <Property 
key="com.voztele.javax.sip.SER_PORT" value="5080" />          
                                        <Property 
key="com.voztele.STATISTICS" value="false" />
                                        <Property 
key="javax.sip.STACK_NAME" value="app_server_one" />
                                        <Property 
key="javax.sip.THREAD_POOL_SIZE" value="100" />
                                        <Property 
key="com.voztele.javax.sip.THREAD_POOL_SIZE" value="100" />
                                        <Property 
key="com.voztele.javax.sip.REENTRANT_LISTENER" value="true" />
                                        <Property 
key="javax.sip.AUTOMATIC_DIALOG_SUPPORT" value="false" />
                                        <Property 
key="com.voztele.javax.sip.TRACE_LEVEL" value="0" />
                                </ExtraProperties>
                </Connector>

        <Engine name="Standalone" defaultHost="PROXY_IP" debug="0" 
className="com.voztele.sipservlet.core.ConvergedEngine">

                        <Mapper 
className="org.apache.catalina.core.StandardEngineMapper" 
protocol="HTTP/1.1"/>
                        <Mapper 
className="org.apache.catalina.core.StandardEngineMapper" 
protocol="HTTP/1.0"/>
                        <Mapper 
className="com.voztele.sipservlet.core.EngineSipMapper"
protocol="SIP/2.0"/>
                        <Logger 
className="org.apache.catalina.logger.FileLogger" timestamp="true"/>
                        <Realm 
className="org.apache.catalina.realm.MemoryRealm" />

                        <Host name="PROXY_IP" nameSip="PROXY_IP_5060" 
debug="0"  appBase="wesipapps" port="5060" 
className="com.voztele.sipservlet.core.ConvergedHost" unpackWARs="true">

                                <Logger 
className="org.apache.catalina.logger.FileLogger" timestamp="true"/>
                                <Mapper 
className="com.voztele.sipservlet.core.SipHostMapper"
protocol="SIP/2.0"/>
                                <Mapper 
className="org.apache.catalina.core.HttpHostMapper"
protocol="HTTP/1.1"/>
                                <Mapper 
className="org.apache.catalina.core.HttpHostMapper"
protocol="HTTP/1.0"/>
                                <!--
                                <DefaultContext useNaming="true" 
reloadable="true">
                                        <Resource name="pool" 
auth="WeSIP"  type="javax.sql.DataSource"/>
                                        <ResourceParams name="pool">
                                                <parameter>
                                                        
<name>username</name>
                                                        
<value>[USERNAME_DATABASE]</value>
                                                </parameter>
                                                <parameter>
                                                        
<name>password</name>
                                                        
<value>[PASSWORD_DATABASE]</value>
                                                </parameter>
                                                <parameter>
                                                        
<name>driverClassName</name>
                                                
<value>[DRIVER_CLASSNAME]</value>
                                                </parameter>
                                                <parameter>
                                                        <name>url</name>
 
<value>[URL]</value>
                                                </parameter>
                                                <parameter>
                                                        
<name>maxActive</name>
                                                        <value>1</value>
                                                </parameter>
                                                <parameter>
 
<name>maxIdle</name>
                                                        <value>2</value>
                                                </parameter>
                                        </ResourceParams>
                                 </DefaultContext>
                                 -->
                </Host>

                </Engine>
        </Service>
</Server>
                                                                     
************************************************************************
*************************************


Regards,
daniel



------------------------------

_______________________________________________
Users mailing list
Users at lists.openser.org
http://lists.openser.org/cgi-bin/mailman/listinfo/users


End of Users Digest, Vol 31, Issue 11
*************************************
-------------- next part --------------
A non-text attachment was scrubbed...
Name: log_file.doc
Type: application/msword
Size: 1098 bytes
Desc: not available
Url : http://lists.kamailio.org/pipermail/users/attachments/20071205/aad2e28d/attachment.doc 


More information about the Users mailing list