Hello,
can you capture and send the network trace for such case (using ngrep or
wireshark)?
Cheers,
Daniel
On 04/06/07 04:28, Eddie wrote:
> Hi Daniel,
> Thank you very much for your advise.
> I captured packets by ethereal, but there is no reply for the first
> PUBLISH message.
> To implement PUBLISH module, I just followed the README in
> /openser..../modules/presence
> Is there anything else shoule be considerd?
> Thanks so much!
> Brs,
> Eddie
>
> 在2007-04-05,"Daniel-Constantin Mierla" <daniel(a)voice-system.ro> 写道:
>
> Hello,
>
> seems that this is a retransmission of PUBLISH. Check the log above the
> pasted messages. There should be the messages of processing the initial
> PUBLISH. Check there to see if the reply was sent (you can use
> ngrep/wireshark to watch the SIP traffic, therefore, you can see wheter
> reply is sent or not).
>
> Cheers,
> Daniel
>
>
> On 04/03/07 10:58, Eddie wrote:
> > Hi all,
> > I am a new to openser. I am using openser-1.2.0-notls. I met a issue
> > when I setup a presence server.
> > I use a UDP testing tool to send PUBLISH message :
> > PUBLISH sip:111@sip.comverse.com <mailto:111@sip.comverse.com> SIP/2.0
> > To: <sip:111@sip.comverse.com <mailto:111@sip.comverse.com>>
> > From: <sip:111@sip.comverse.com <mailto:111@sip.comverse.com>>;tag=aa0e9e60
> > Via: SIP/2.0/UDP
> > 172.19.1.190:5060;branch=z9hG4bK-d87543-4f7005092661b51b-1--d87543-;rport
> > Call-ID: dd2288324976454c@UG9ja2V0X1BD
> > <mailto:dd2288324976454c@UG9ja2V0X1BD>
> > CSeq: 4444 PUBLISH
> > Contact: <sip:111@172.19.1.190 <mailto:111@172.19.1.190>:5060>
> > Expires: 3600
> > Max-Forwards: 70
> > Content-Type: application/pidf+xml
> > Event: presence
> > Content-Length: 549
> > <?xml version="1.0" encoding="UTF-8" ?>
> > <presence xmlns="urn:ietf:params:xml:ns:pidf"
> > xmlns:rpid="urn:ietf:params:xml:ns:pidf:rpid"
> > xmlns:dm="urn:ietf:params:xml:ns:pidf:data-model"
> > xmlns:op="urn:oma:params:xml:ns:pidf:oma-pres"
> > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instan
> > <tuple id="t0001">
> > <status>
> > <basic>open</basic>
> > </status>
> > <op:overriding-willingness>
> > <op:basic>open</op:basic>
> > </op:overriding-willingness>
> > </tuple>
> > </presence>
> > but no 200 OK return back from the server. and I set debug level to 7,
> > the log is as followed:
> > 4(5485) method: <PUBLISH>
> > 4(5485) uri: <sip:111@sip.comverse.com <mailto:111@sip.comverse.com>>
> > 4(5485) version: <SIP/2.0>
> > 4(5485) parse_headers: flags=2
> > 4(5485) DEBUG:parse_to:end of header reached, state=10
> > 4(5485) DBUG:parse_to: display={}, ruri={sip:111@sip.comverse.com <mailto:111@sip.comverse.com>}
> > 4(5485) DEBUG: get_hdr_field: <To> [28]; uri=[sip:111@sip.comverse.com <mailto:111@sip.comverse.com>]
> > 4(5485) DEBUG: to body [<sip:111@sip.comverse.com <mailto:111@sip.comverse.com>>
> >
> > 4(5485) Found param type 232, <branch> =
> > <z9hG4bK-d87543-4f7005092661b51b-1--d87543->; state=6
> > 4(5485) Found param type 235, <rport> = <n/a>; state=17
> > 4(5485) end of header reached, state=5
> > 4(5485) parse_headers: Via found, flags=2
> > 4(5485) parse_headers: this is the first via
> > 4(5485) After parse_msg...
> > 4(5485) preparing to run routing scripts...
> > 4(5485) parse_headers: flags=100
> > 4(5485) get_hdr_field: cseq <CSeq>: <4445> <PUBLISH>
> > 4(5485) DEBUG:maxfwd:is_maxfwd_present: value = 70
> > 4(5485) DEBUG: add_param: tag=aa0e9e60
> > 4(5485) DEBUG:parse_to:end of header reached, state=29
> > 4(5485) DBUG:parse_to: display={}, ruri={sip:111@sip.comverse.com <mailto:111@sip.comverse.com>}
> > 4(5485) parse_headers: flags=200
> > 4(5485) DEBUG: get_hdr_body : content_length=549
> > 4(5485) found end of header
> > 4(5485) find_first_route: No Route headers found
> > 4(5485) loose_route: There is no Route HF
> > 4(5485) grep_sock_info - checking if host==us: 16==12 &&
> > [sip.comverse.com] == [172.19.1.170]
> > 4(5485) grep_sock_info - checking if port 5060 matches port 5060
> > 4(5485) grep_sock_info - checking if host==us: 16==12 &&
> > [sip.comverse.com] == [172.19.1.170]
> > 4(5485) grep_sock_info - checking if port 5060 matches port 5060
> > 4(5485) DEBUG: t_newtran: T on entrance=0xffffffff
> > 4(5485) parse_headers: flags=ffffffffffffffff
> > 4(5485) parse_headers: flags=78
> > 4(5485) t_lookup_request: start searching: hash=29736, isACK=0
> > 4(5485) DEBUG: RFC3261 transaction matched,
> > tid=-d87543-4f7005092661b51b-1--d87543-
> > 4(5485) DEBUG:tm:REF_UNSAFE: after is 1
> > 4(5485) DEBUG: t_lookup_request: transaction found (T=0xb6148f48)
> > 4(5485) DEBUG:tm:t_retransmit_reply: nothing to retransmit
> > 4(5485) DEBUG:tm:UNREF_UNSAFE: after is 0
> > 4(5485) DEBUG:destroy_avp_list: destroying list (nil)
> > 4(5485) receive_msg: cleaning up
> > 5(5488) PRESENCE: msg_watchers_clean:cleaning pending subscriptions
> > 5(5488) PRESENCE: msg_active_watchers_clean:cleaning expired watcher
> > information
> > 5(5488) PRESENCE:msg_presentity_clean:cleaning expired presentity
> > information
> > I am confused about the issue, and I am not sure whether it is caused
> > by configuration files or mysql database.
> > Please help me. Thanks so much !
> > Brs,
> > Eddie
> >
> >
> > ------------------------------------------------------------------------
> > 每天上班第一件要做的事情是? 马上看看>> <http://www.126.com/>
> > ------------------------------------------------------------------------
> >
> > _______________________________________________
> > Users mailing list
> > Users(a)openser.org <mailto:Users@openser.org>
> > http://openser.org/cgi-bin/mailman/listinfo/users
> >
>
>
>
>
> ------------------------------------------------------------------------
> 每天上班第一件要做的事情是? 马上看看>> <http://www.126.com/>
Dear coleagues,
I need help to translate an OpenSER eBook (building a SIP provider) from portuguese to english. I'm willing paying US$75,00 (paypal) per chapter.
If any of you have interest, please contact me at flavio(a)asteriskguide.com
Regards,
Flavio E. Goncalves
Hi There.
Can SER extract info from request uri? For example, If I have this uri:
INVITE sip:123456#0159559432@my.sip.domain
How can I get data before "#" (123456)? I dont want to "strip" this
information, just want to get it for further utilization.
Is that possible? If it can be done, can be done using variable number
of digits? For example:
INVITE sip:123#0159559432@my.sip.domain
INVITE sip:1234567#0159559432@my.sip.domain
Thanks in advanced.
Regards,
Gustavo
We are looking to find support to implement multi leg call accounting in our 0.9.6 ser configuration.
We use radius accounting.
Any consultant interested supporting us may submit a quotation to this email.
Reagrds
Rosario
Hi everybody,
I have installed ser-0.9.6 and now i want to uninstall it to new install in
correctly way because it works not property.
how can i complete uninstall old version.
thanks in advance
T.
Here is the answer:
http://lists.iptel.org/pipermail/serusers/2007-April/032657.html
or
http://lists.iptel.org/pipermail/serusers/2007-April/032655.html
You need to download stable or earlier version of SER 2.1 because of
temporary broken database API.
Lada
Tuan Nguyen wrote:
> Hi Andel,
>
> I do not see anywhere say that "2 posts before question".
>
> I am newbie by SER, I have many problem to try to run it, how can
> solve this problem without question? and what is "Support for users of
> the SIP Express Router" in http://lists.iptel.org/mailman/listinfo/ ?
>
> Please tell me what should i do to solve my problem when i don`t find
> answer in archive?
> thanks,
> T.
> On 4/5/07, *Ladislav Andel* <ladaan(a)iptel.org
> <mailto:ladaan@iptel.org>> wrote:
>
> Hi,
> Have you been reading the serusers mailing list ?
> Just 2 posts before your question you will find the answer.
>
> It is for everybody. Read and search the list before asking.
>
> Peace :),
> Lada
>
>
>
hi everyone,
when i compile new version i get follow error:
make[1]: Entering directory `/net/u/ntm/Desktop/ser-
2.1.0+cvs20070404/modules/auth_db'
make[1]: Leaving directory `/net/u/ntm/Desktop/ser-
2.1.0+cvs20070404/modules/auth_db'
make[1]: Entering directory `/net/u/ntm/Desktop/ser-
2.1.0+cvs20070404/modules/auth_db'
gcc -fPIC -DPIC -g -O9 -funroll-loops -Wcast-align -minline-all-stringops
-falign-loops -ftree-vectorize -mtune=athlon64 -Wall -DNAME='"ser"'
-DVERSION='"2.1.0+cvs20070404"' -DARCH='"i386"' -DOS='linux_'
-DOS_QUOTED='"linux"' -DCOMPILER='"gcc 4.1.2"' -D__CPU_i386 -D__OS_linux
-DSER_VER=2001000 -DCFG_DIR='"/usr/local/etc/ser/"' -DPKG_MALLOC -DSHM_MEM
-DSHM_MMAP -DDNS_IP_HACK -DUSE_IPV6 -DUSE_MCAST -DUSE_TCP -DDISABLE_NAGLE
-DHAVE_RESOLV_RES -DUSE_DNS_CACHE -DUSE_DNS_FAILOVER -DUSE_DST_BLACKLIST
-DDBG_QM_MALLOC -DUSE_TLS -DTLS_HOOKS -DFAST_LOCK -DADAPTIVE_WAIT
-DADAPTIVE_WAIT_LOOPS=1024 -DCC_GCC_LIKE_ASM -DHAVE_GETHOSTBYNAME2
-DHAVE_UNION_SEMUN -DHAVE_SCHED_YIELD -DHAVE_MSG_NOSIGNAL
-DHAVE_MSGHDR_MSG_CONTROL -DHAVE_ALLOCA_H -DHAVE_TIMEGM -DHAVE_EPOLL
-DHAVE_SIGIO_RT -DSIGINFO64_WORKARROUND -DHAVE_SELECT -c authdb_mod.c -o
authdb_mod.o
In file included from authdb_mod.c:49:
authdb_mod.h:57: error: expected '=', ',', ';', 'asm' or '__attribute__'
before 'auth_dbf'
authdb_mod.c:106: error: expected '=', ',', ';', 'asm' or '__attribute__'
before 'auth_dbf'
authdb_mod.c: In function 'child_init':
authdb_mod.c:165: error: 'auth_dbf' undeclared (first use in this function)
authdb_mod.c:165: error: (Each undeclared identifier is reported only once
authdb_mod.c:165: error: for each function it appears in.)
authdb_mod.c: In function 'mod_init':
authdb_mod.c:180: warning: implicit declaration of function 'bind_dbmod'
authdb_mod.c:180: error: 'auth_dbf' undeclared (first use in this function)
authdb_mod.c: In function 'destroy':
authdb_mod.c:206: error: 'auth_dbf' undeclared (first use in this function)
authdb_mod.c: In function 'authdb_fixup':
authdb_mod.c:226: error: 'auth_dbf' undeclared (first use in this function)
authdb_mod.c:231: warning: implicit declaration of function 'table_version'
make[1]: *** [authdb_mod.o] Error 1
make[1]: Leaving directory `/net/u/ntm/Desktop/ser-
2.1.0+cvs20070404/modules/auth_db'
make: *** [modules] Error 1
anyone know why and how correct it.
thanks
T.
Hello,
following some discussions started during first OpenSER Summit, we are
happy to announce that first Advanced Programming Course will happen
very soon. Courtesy of INRIA (many thanks to Philippe Sultan) we have
the room and a good connected location. There will be three full days of
deep analysis and survey of internal architecture and structures, best
practices to add new features, optimizations and OpenSER's specific
components (memory manager, locking system, ...).
The course is dedicated to people willing to develop OpenSER extensions.
It will be a class of 14 persons. The participation fee will be just to
cover the logistic required for this event, estimated to be about
150-200Euro per person, for the full course (mainly is subject of how
many participants will be registered).
Teachers will be Bogdan-Andrei Iancu and Daniel-Constantin Mierla, from
OpenSER development team, and the primary goal is to attract more
developers to core components of OpenSER and build a higher development
squad. Also, there will be open discussions to improve existing code and
functionalities.
If the interest for this event is high, the primary selection criteria
will include the level of contributions so far and willingness to
contribute in the future. New similar events will be scheduled if the
number of people showing interest is enough for another one or more
classes. For this one, we expect to have people with pretty good
knowledge of SIP and OpenSER operation, to avoid long introduction lessons.
If you are interested in this course, please send an email to
team(a)openser.org. <mailto:team@openser.org.>
News link:
http://www.openser.org/mos/view/News/NewsItem/Advanced-OpenSER-Programming-…
Cheers,
Daniel
Hi all,
I am a new to openser. I am using openser-1.2.0-notls. I met a issue when I setup a presence server.
I use a UDP testing tool to send PUBLISH message :
PUBLISH sip:111@sip.comverse.com SIP/2.0
To: <sip:111@sip.comverse.com>
From: <sip:111@sip.comverse.com>;tag=aa0e9e60
Via: SIP/2.0/UDP 172.19.1.190:5060;branch=z9hG4bK-d87543-4f7005092661b51b-1--d87543-;rport
Call-ID: dd2288324976454c@UG9ja2V0X1BD
CSeq: 4444 PUBLISH
Contact: <sip:111@172.19.1.190:5060>
Expires: 3600
Max-Forwards: 70
Content-Type: application/pidf+xml
Event: presence
Content-Length: 549
<?xml version="1.0" encoding="UTF-8" ?>
<presence xmlns="urn:ietf:params:xml:ns:pidf" xmlns:rpid="urn:ietf:params:xml:ns:pidf:rpid" xmlns:dm="urn:ietf:params:xml:ns:pidf:data-model" xmlns:op="urn:oma:params:xml:ns:pidf:oma-pres" xmlns:xsi="<A href="http://www.w3.org/2001/XMLSchema-instan">http://www.w3.org/2001/XMLSchema-instan</A><BR> <tuple id="t0001"><BR> <status><BR> <basic>open</basic><BR> </status><BR> <op:overriding-willingness><BR> <op:basic>open</op:basic><BR> </op:overriding-willingness><BR> </tuple><BR></presence></DIV>
<DIV> </DIV>
<DIV>but no 200 OK return back from the server. and I set debug level to 7, the log is as followed: </DIV>
<DIV> </DIV>
<DIV>4(5485) method: <PUBLISH><BR> 4(5485) uri: <sip:111@sip.comverse.com><BR> 4(5485) version: <SIP/2.0><BR> 4(5485) parse_headers: flags=2<BR> 4(5485) DEBUG:parse_to:end of header reached, state=10<BR> 4(5485) DBUG:parse_to: display={}, ruri={sip:111@sip.comverse.com}<BR> 4(5485) DEBUG: get_hdr_field: <To> [28]; uri=[sip:111@sip.comverse.com]<BR> 4(5485) DEBUG: to body [<sip:111@sip.comverse.com><BR><BR> 4(5485) Found param type 232, <branch> = <z9hG4bK-d87543-4f7005092661b51b-1--d87543->; state=6<BR> 4(5485) Found param type 235, <rport> = <n/a>; state=17<BR> 4(5485) end of header reached, state=5<BR> 4(5485) parse_headers: Via found, flags=2<BR> 4(5485) parse_headers: this is the first via<BR> 4(5485) After parse_msg...<BR> 4(5485) preparing to run routing scripts...<BR> 4(5485) parse_headers: flags=100<BR> 4(5485) get_hdr_field: cseq <CSeq>: <4445> <PUBLISH><BR> 4(5485) DEBUG:maxfwd:is_maxfwd_present: value = 70<BR> 4(5485) DEBUG: add_param: tag=aa0e9e60<BR> 4(5485) DEBUG:parse_to:end of header reached, state=29<BR> 4(5485) DBUG:parse_to: display={}, ruri={sip:111@sip.comverse.com}<BR> 4(5485) parse_headers: flags=200<BR> 4(5485) DEBUG: get_hdr_body : content_length=549<BR> 4(5485) found end of header<BR> 4(5485) find_first_route: No Route headers found<BR> 4(5485) loose_route: There is no Route HF<BR> 4(5485) grep_sock_info - checking if host==us: 16==12 && [sip.comverse.com] == [172.19.1.170]<BR> 4(5485) grep_sock_info - checking if port 5060 matches port 5060<BR> 4(5485) grep_sock_info - checking if host==us: 16==12 && [sip.comverse.com] == [172.19.1.170]<BR> 4(5485) grep_sock_info - checking if port 5060 matches port 5060<BR> 4(5485) DEBUG: t_newtran: T on entrance=0xffffffff<BR> 4(5485) parse_headers: flags=ffffffffffffffff<BR> 4(5485) parse_headers: flags=78<BR> 4(5485) t_lookup_request: start searching: hash=29736, isACK=0<BR> 4(5485) DEBUG: RFC3261 transaction matched, tid=-d87543-4f7005092661b51b-1--d87543-<BR> 4(5485) DEBUG:tm:REF_UNSAFE: after is 1<BR> 4(5485) DEBUG: t_lookup_request: transaction found (T=0xb6148f48)<BR> 4(5485) DEBUG:tm:t_retransmit_reply: nothing to retransmit<BR> 4(5485) DEBUG:tm:UNREF_UNSAFE: after is 0<BR> 4(5485) DEBUG:destroy_avp_list: destroying list (nil)<BR> 4(5485) receive_msg: cleaning up<BR> 5(5488) PRESENCE: msg_watchers_clean:cleaning pending subscriptions<BR> 5(5488) PRESENCE: msg_active_watchers_clean:cleaning expired watcher information<BR> 5(5488) PRESENCE:msg_presentity_clean:cleaning expired presentity information</DIV>
<DIV> </DIV>
<DIV>I am confused about the issue, and I am not sure whether it is caused by configuration files or mysql database.</DIV>
<DIV> </DIV>
<DIV>Please help me. Thanks so much !</DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV>Brs,</DIV>
<DIV> </DIV>
<DIV>Eddie</DIV>
<DIV> </DIV>