Hello,

append_hf is in textops - add
loadmodule "/usr/local/lib/ser/modules/textops.so"

BR
Stefan

Liza Przyllas wrote:
Hello,

FYI - We are trying to make SER and SEMS to communicate in that way we can 
establish a conference call communication.
We are using ser 0.9.6 and SEMS 1.1.1

We made the changes recommended, but are getting the following errors:

We are trying to make SER and SEMS to communicate in that way we can establish 
a conference call communication.
We are using ser 0.9.6 and SEMS 1.1.1
We are getting errors:
0(5411) : <core> [cfg.y:2613]: *** PARSE ERROR *** (86,36-37): unknown command, 
missing loadmodule?

0(5411) DEBUG: <core> [mem/q_malloc.c:411]: qm_malloc(0x820bd60, 24) returns 
address 0x8244e40 frag. 0x8244e28 (size=24) on 1 -th hit
ERROR: bad config file (2 errors)

One of the error is showing in the line :                                  
append_hf("P-App-Name: conference\r\n");

>                 if (uri=~"^sip:[0]")
                                {
                         append_hf("P-App-Name: conference\r\n");
                         t_relay_to_udp("172.16.100.193","5060");
                           break;
                             }

What module area is missing?
These are our modules in ser.cfg

loadmodule "/usr/local/lib/ser/modules/sl.so"
loadmodule "/usr/local/lib/ser/modules/tm.so"
loadmodule "/usr/local/lib/ser/modules/rr.so"
loadmodule "/usr/local/lib/ser/modules/maxfwd.so"
loadmodule "/usr/local/lib/ser/modules/usrloc.so"
loadmodule "/usr/local/lib/ser/modules/registrar.so"

modparam("usrloc", "db_mode",   0)
modparam("rr", "enable_full_lr", 1)
modparam("tm", "fr_inv_timer", 15000)        # time we will wait for an invite 
to be replied (non-provisional response is received)
modparam("tm", "fr_timer", 10000)        # provision

Any suggestions?  Thank you for assistance in advance.


Thanks - Liza

________________________________________
From: Stefan Sayer [[email protected]]
Sent: Tuesday, February 23, 2010 7:42 AM
To: Liza Przyllas
Cc: [email protected]
Subject: Re: [Sems] Need help with sems

Hello,

Liza Przyllas wrote:
Hello,

We are running SER.CFG and we are using SEMS 1.1.1.  How can we make the two 
communicate?  Do we use forwarding to the port - rewrite host port or do we 
need to add in SER.CFG that module sipctrl.so ?

We are a little confused as to how to make the two programs communicate with 
each other.  Since we are no longer using ser_sems.cfg

Any suggestions?????

assuming that you run SEMS on the same server on port 5080, just use
something like:

         if (uri=~"sip:3.*") {
                 append_hf("P-App-Name: conference\r\n");
                 t_relay_to_udp("127.0.0.1","5080");
                 break;
         }

in ser.cfg. If you run SEMS on another server or port, change the
server IP/port in t_relay_to_udp.

hth
Stefan

Thanks - Liza
_______________________________________________
Sems mailing list
[email protected]
http://lists.iptel.org/mailman/listinfo/sems



--
Stefan Sayer
VoIP Services Consulting and Development

Warschauer Str. 24
10243 Berlin

tel:+491621366449
sip:[email protected]
email/xmpp:[email protected]





--
Stefan Sayer
VoIP Services Consulting and Development

Warschauer Str. 24
10243 Berlin

tel:+491621366449
sip:[email protected]
email/xmpp:[email protected]


_______________________________________________
Sems mailing list
[email protected]
http://lists.iptel.org/mailman/listinfo/sems

Reply via email to