I am at Interop HotStage in Belmont, CA trying to deploy a 'unified communication' situation to demonstrate for the Interop Vegas show here in a few weeks. I am in charge of the OpenSER/Asterisk components and presence is giving me a huge headache.
> Apr 8 11:34:12 openser openser[23798]:
> ERROR:presence:handle_subscribe: Missing or unsupported event header
> field value Apr 8 11:34:12 openser openser[23798]:
> ERROR:presence:handle_subscribe: ^Ievent= message-summary
Hopefully someone out there can help me figure out what is going wrong.
I am running Openser v1.3.1 from tarball on Ubuntu Gutsy, no xcap server (haven't figured out if we really need one or not for our demo...)
I have loaded both presence and presence_xml. If you notice there is what I believe to be a 'tab' character in the event= message-summary error response. I wonder if this tab is causing the issue.
I see the Subscribe/Publish messages coming into openser and they are getting routed to the appropriate config block and processed as I have seen documented, but every so often the "Missing or unsupported event
header field value and ^Ievent= message-summary" error pops up.
Between two X-Lite softclients using 'presence agent' method, we never seem to get any presence notifications, I presume due to the error above, but I am unsure.
All dependencies on both presence.so and presence_xml.so seem to be met
(verified with ldd)
# ldd presence_xml.so
linux-gate.so.1 => (0xffffe000)
libxml2.so.2 => /usr/lib/libxml2.so.2 (0xb7e76000)
libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0xb7d2c000)
libdl.so.2 => /lib/tls/i686/cmov/libdl.so.2 (0xb7d27000)
libz.so.1 => /usr/lib/libz.so.1 (0xb7d12000)
libm.so.6 => /lib/tls/i686/cmov/libm.so.6 (0xb7ced000)
/lib/ld-linux.so.2 (0x80000000)
(identical for presence.so)
Here are the relevant portions of my config:
loadmodule "presence.so"
modparam("presence", "db_url", "mysql://XXX:XXX@localhost/openser")
modparam("presence", "max_expires", 60)
modparam("presence", "server_address", "sip:valid.ip.address:5060")
loadmodule "presence_xml.so"
modparam("presence_xml", "db_url","mysql://XXX:XXX@localhost/openser")
modparam("presence_xml", "force_active", 1)
...
if(is_method("PUBLISH|SUBSCRIBE")) {
route(2);
}
...
route[2] {
xlog("L_INFO", "Dealing with $rm F:$fu T:$tu\n");
sl_send_reply("100","trying");
if (!t_newtran()) {
sl_reply_error();
exit;
};
append_to_reply("Contact: <sip:valid.ip.address:5060>\r\n");
if(is_method("PUBLISH")) {
if($hdr(Sender)!= NULL) {
handle_publish("$hdr(Sender)");
} else {
handle_publish("");
}
t_release();
} else {
if( is_method("SUBSCRIBE")) {
handle_subscribe();
t_release();
}
}
exit;
}
If anyone wants to help me troubleshoot and make this work, I will make sure you get credit for assisting us here at Interop.
Jeremy McNamara
>
>
>
>
Hi all,
I got a job now, I need to build a call recording application, what
stores the rtp streams of the calls, what routed to the application.
There is an existing routing logic (special sip proxy) what decides if
the call should be recorded or not. If the call needs to be recorded,
this proxy will route the call to this recorder application. This app
needs to send through the call to the next sip hop, but it must store
the RTP streams on the fly.
What we have now:
- we have our own rtpproxy, we can modify it easily if we need to store
the streams.
- we have our own B2BUA what controls the rtpproxy
I just wondering if we can use SER + SEMS for this, or should we build
our own system ? What should be the most effective way ?
Can it be done with SEMS easily ?
Thanks for the suggestions, recommendations.
Misi
Hi,
I have googled and found some posts relating to this, but no definitive answers:
how can I downgrade from openser 1.2.x to openser 1.1.x - do I just
recompile openser 1.1 and it overwrites whatever is in 1.2? there
does not seem to be a make uninstall option for make in 1.2.
Recompiling does not give any errors, but wont there be modules, etc
that are still left over from 1.2.x?
Can anyone offer some advice?
Robert
Hello to all,
About SIP/UDP: Is there any way to specify the IP address for SIP responses,
in a similar fashion as port specified on top most Via HF?
Thanks in advance,
Víctor
Hi all,
I am using OpenXcap (0.99) and OpenSER (1.3), presence authorization is
working and users receive NOTIFYs when users subscribe to presence. But
after updating presence information with PUBLISH no NOTIFY are sent to
clients. The debug messages the server shows when the server receives a
PUBLISH are:
ERROR:presence_xml:get_final_notify_body: while extracting the
transformation node
ERROR:presence_xml:pres_apply_auth: in function get_final_notify_body
ERROR:presence:send_notify_request: in function apply_auth_nbody
ERROR:presence:notify: sending Notify not successful
ERROR:presence:publ_notify: Could not send notify for presence
Somebody could help me with this?
Thanks.
Gregorio
--
View this message in context: http://www.nabble.com/ERROR%3Apresence%3Apubl_notify%3A-Could-not-send-noti…
Sent from the OpenSER Users Mailing List mailing list archive at Nabble.com.
Hi all,
I am trying to run OpenSER 1.2 with WeSIP.
After the callee (shine_sip1) answer the call I get the following exception
and the call hangs up after a BYE message from the caller to the calee.
ExpressMessageChannel [ExpressMChannel[12]] - Done processing ACK
sip:shine_sip1@192.168.2.101:5070 SIP/2.0
ExpressMessageChannel [ExpressMChannel[12]] - peerAddress =
192.168.2.100/5060
SeasMessageEvent [ExpressMChannel[12]] - ERROR parsing a SEAS
message event!!!
java.lang.StringIndexOutOfBoundsException: String index out of range: -243
at java.lang.String.checkBounds(Unknown Source)
at java.lang.String.<init>(Unknown Source)
at com.voztele.javax.sip.header.Via.<init>(Via.java:112)
at com.voztele.javax.sip.header.ViaList.<init>(ViaList.java:43)
at
com.voztele.javax.sip.message.SIPMessage.createSIPHeader(SIPMessage.java:247)
at
com.voztele.javax.sip.message.SIPMessage.addSIPHeader(SIPMessage.java:230)
at
com.voztele.javax.sip.message.SIPMessage.<init>(SIPMessage.java:225)
at
com.voztele.javax.sip.message.SIPRequest.<init>(SIPRequest.java:154)
at
com.voztele.javax.sip.parser.StringMsgParser.parseSERMessage(StringMsgParser.java:355)
at
com.voztele.seas.SeasMessageEvent.getSIPMessage(SeasMessageEvent.java:136)
at
com.voztele.seas.SeasTransactionEvent.getSIPMessage(SeasTransactionEvent.java:70)
at
com.voztele.seas.ExpressMessageChannel.run(ExpressMessageChannel.java:301)
at java.lang.Thread.run(Unknown Source)
Exception in thread "ExpressMChannel[12]" java.lang.NullPointerException
at
com.voztele.seas.SeasMessageEvent.getSIPMessage(SeasMessageEvent.java:143)
at
com.voztele.seas.SeasTransactionEvent.getSIPMessage(SeasTransactionEvent.java:70)
at
com.voztele.seas.ExpressMessageChannel.run(ExpressMessageChannel.java:301)
at java.lang.Thread.run(Unknown Source)
SeasMessageEvent [SeasRouter] - New message received, from
192.168.2.100:5060 to 192.168.2.100:5060 over UDP
Please advice what can cause this exception.
Thanks in advance,
Shine
--
View this message in context: http://www.nabble.com/SeasMessageEvent----------ExpressMChannel-12-----ERRO…
Sent from the OpenSER Users Mailing List mailing list archive at Nabble.com.
hi all,
i am trying to do authentication using openser at the front end and
diameter as the back end.i have installed openser and opendiameter and
they are running fine independently.but when i send needed avp's from
openser towards opendiameter,the opendiameter client is clsing the
connection.i donot understand why this is happening.if any body have
any idea or if anybody provide me the refference to any study material
regarding the integration of openser and diameter client,it would
really help me a lot.
seeking ur help
regards
bhargav.b
Hi,
This is probably a simple one - I have tried googling, but am not
getting the answer to this. I am trying to catch what is displayed on
screen and put it into a text file using tee so I can look at it.
I can do 'free -h | tee dump.txt' and dump.txt is populated with data
I can do 'asterisk -cvvvv | tee dump.txt' and dump.txt is populated with data
when i try 'openser | tee dump.txt' and dump.txt does not get
populated with the screen info.
I have changed permissions to 666 on the dump.txt file incase that was
the issue.
Am I doing some silly? I thought that tee only copied what was
displayed on screen.
Thanks
Robert
Hello,
I want to announce the availability of the first version for openser
devel guide, online at:
http://www.asipto.com/pub/openser-devel-guide/
Written together with Elena-Ramona Modroiu, the tutorial approaches the
important components of openser: shared memory, locking,
pseudo-variables, transformations, mi commands, statistics, db api,
timer, module development a.s.o.
Hopefully, the guide will help new developers to understand easier the
internals of openser and contribute back new code or improvements to
existing code. Has a set of examples and references to the code to be
able to learn quicker how to use the APIs.
The document is under polishing process towards clean docbook and pretty
printing (pdf) format, then the sources will be included in the openser
repository to be more accessible for improvements. It will be a
continuing work-in-progress document, please report any error you find
there.
It is also mirrored at:
http://www.openser.org/docs/openser-devel-guide/
Cheers,
Daniel
--
http://www.asipto.com