Hi,
Is it possible to create a "click to call" button (from a contact web list
for example) with SER since I know that the current user as as SIP device
already registered ? Which module must be used ? Is there any examples / URL
on this subject ?
Thanks,
Christophe
Hi Gustavo,
if you have fixed content, it's even simpler. Use the textops module to
add the headers. See the append_hf() function:
http://www.openser.org/docs/modules/1.1.x/textops.html#AEN189
regards,
bogdan
Gustavo García Bernardo wrote:
>Hi Bogdan, thx for your response
>
>I need to put two fixed route headers, like these:
>
>Route: user(a)as.domain.com
>Route: user(a)cscf.domain.com
>
>Can I do that with AVPops module? I think is not suitable for this task.
>
>BR,
>
>G.
>
>-----Mensaje original-----
>De: Bogdan-Andrei Iancu [mailto:bogdan@voice-system.ro]
>Enviado el: jueves, 10 de noviembre de 2005 0:28
>Para: Gustavo García Bernardo
>CC: users(a)openser.org
>Asunto: Re: [Users] How to add Route headers?
>
>Hi Gustavo,
>
>you can generate the body of the Route header(s) into AVP(s) be loading
>them from database of by building them via avpops functions (like
>avp_printf()).
>then just set the AVP(s) into Route header(s) via the avp_pushto() function:
>http://www.voice-system.ro/docs/avpops/ar01s06.html#avp_pushto
>
>mostly depends of the content you want to push into the headers.
>
>regards,
>bogdan
>
>Gustavo García Bernardo wrote:
>
>
>
>>Hi,
>>
>>Is posible to add more route headers to a request before relaying it?
>>
>>I’m trying to implement the IMS mechanism before relaying a request to
>>an application server, which consists in adding two route headers.
>>
>>Thx in advance.
>>
>>G.
>>
>>------------------------------------------------------------------------
>>
>>_______________________________________________
>>Users mailing list
>>Users(a)openser.org
>>http://openser.org/cgi-bin/mailman/listinfo/users
>>
>>
>>
>>
>
>
>
>
Hi all
I compile and install Openser-1.0.1-tls.tar.gz successfully. But in the
documentation, i can't find how i can run and use it?
Can you tell me?
regards!
Serge MESSA
Hi all,
I need to parse the header field Referred-By, can any one tell
me. How can I do this? For example, which files I must to edit because the
SER-0.9.0 can NOT parse this header field.
Thanks in advance,
Ing. Francisco Talavera
Dpto. Investigación y Desarrollo
Conexión S.A.
Hi all,
I am compile openser-1.0.0-tls on
Red Hat Linux 3.2.3-52
openssl-0.9.7a-33.17
openssl-devel-0.9.7a-33.17
It's show error :
gcc -g -O9 -funroll-loops -Wcast-align -Wall -minline-all-stringops -malign-double -falign-loops -mcpu=athlon -DNAME='"openser"' -DVERSION='"1.0.0-tls"' -DARCH='"i386"' -DOS='"linux"' -DCOMPILER='"gcc 3.2"' -D__CPU_i386 -D__OS_linux -DCFG_DIR='"/usr/local/etc/openser/"' -DPKG_MALLOC -DSHM_MEM -DSHM_MMAP -DDNS_IP_HACK -DUSE_IPV6 -DUSE_MCAST -DUSE_TCP -DDISABLE_NAGLE -DHAVE_RESOLV_RES -DF_MALLOC -DUSE_TLS -DFAST_LOCK -DADAPTIVE_WAIT -DADAPTIVE_WAIT_LOOPS=1024 -DHAVE_GETHOSTBYNAME2 -DHAVE_UNION_SEMUN -DHAVE_SCHED_YIELD -DHAVE_MSG_NOSIGNAL -DHAVE_MSGHDR_MSG_CONTROL -DHAVE_ALLOCA_H -I/usr/local/ssl/include -c main.c -o main.o
In file included from /usr/include/openssl/ssl.h:179,
from tls/tls_init.h:27,
from main.c:112:
/usr/include/openssl/kssl.h:72:18: krb5.h: No such file or directory
In file included from /usr/include/openssl/ssl.h:179,
from tls/tls_init.h:27,
from main.c:112:
/usr/include/openssl/kssl.h:134: syntax error before "krb5_enctype"
/usr/include/openssl/kssl.h:136: syntax error before '*' token
/usr/include/openssl/kssl.h:137: syntax error before '}' token
/usr/include/openssl/kssl.h:149: syntax error before "kssl_ctx_setstring"
/usr/include/openssl/kssl.h:149: syntax error before '*' token
/usr/include/openssl/kssl.h:150: syntax error before '*' token
/usr/include/openssl/kssl.h:151: syntax error before '*' token
/usr/include/openssl/kssl.h:151: syntax error before '*' token
/usr/include/openssl/kssl.h:152: syntax error before '*' token
/usr/include/openssl/kssl.h:153: syntax error before "kssl_ctx_setprinc"
/usr/include/openssl/kssl.h:153: syntax error before '*' token
/usr/include/openssl/kssl.h:155: syntax error before "kssl_cget_tkt"
/usr/include/openssl/kssl.h:155: syntax error before '*' token
/usr/include/openssl/kssl.h:157: syntax error before "kssl_sget_tkt"
/usr/include/openssl/kssl.h:157: syntax error before '*' token
/usr/include/openssl/kssl.h:159: syntax error before "kssl_ctx_setkey"
/usr/include/openssl/kssl.h:159: syntax error before '*' token
/usr/include/openssl/kssl.h:161: syntax error before "context"
/usr/include/openssl/kssl.h:162: syntax error before "kssl_build_principal_2"
/usr/include/openssl/kssl.h:162: syntax error before "context"
/usr/include/openssl/kssl.h:165: syntax error before "kssl_validate_times"
/usr/include/openssl/kssl.h:165: syntax error before "atime"
/usr/include/openssl/kssl.h:167: syntax error before "kssl_check_authent"
/usr/include/openssl/kssl.h:167: syntax error before '*' token
/usr/include/openssl/kssl.h:169: syntax error before "enctype"
In file included from tls/tls_init.h:27,
from main.c:112:
/usr/include/openssl/ssl.h:909: syntax error before "KSSL_CTX"
/usr/include/openssl/ssl.h:931: syntax error before '}' token
make: *** [main.o] Error 1
Could you help me fix this problem ?
Thank in advance!
Best Regard.
Please copy the list.
If you use a vanilla onsip.org config, it's pretty thoroughly tested by now, so I would be tempted to say that there is something wrong with the client or the setup of the client.
g-)
----- Original Message -----
From: rajesh volluru
To: Greger V. Teigre
Sent: Wednesday, November 09, 2005 2:04 AM
Subject: Re: [Serusers] problem with rtpproxy
hi
Thanks for your reply. I did configure ser.cfg as said at onsip.org for rtp proxy. But, i still get below exception when I am behind NAT.
net.java.sip.communicator.media.MediaException: Incorrect SDP data!
at net.java.sip.communicator.media.MediaManager.openMediaStreams(MediaManager.java:307)
at net.java.sip.communicator.SipCommunicator.callStateChanged(SipCommunicator.java:758)
at net.java.sip.communicator.sip.Call.fireCallStatusChangedEvent(Call.java:250)
at net.java.sip.communicator.sip.Call.setState(Call.java:156)
at net.java.sip.communicator.sip.CallProcessing.processAck(CallProcessing.java:566)
at net.java.sip.communicator.sip.SipManager.processRequest(SipManager.java:1532)
at gov.nist.javax.sip.EventScanner.deliverEvent(EventScanner.java:204)
at gov.nist.javax.sip.EventScanner.run(EventScanner.java:352)
at java.lang.Thread.run(Unknown Source)
Caused by: javax.sdp.SdpParseException: Could not parse message
at javax.sdp.SdpFactory.createSessionDescription(SdpFactory.java:114)
at net.java.sip.communicator.media.MediaManager.openMediaStreams(MediaManager.java:302)
... 8 more
Please let me know the possible reason for this error. When I start ser, it shows the message ' RTP proxy found. support for RTP enabled'.
Thanks
Rajesh
"Greger V. Teigre" <greger(a)teigre.com> wrote:
Are you using the configs from onsip.org? If not, you may find some help there ;-)
g-)
----- Original Message -----
From: rajesh volluru
To: Sip Users
Sent: Tuesday, November 08, 2005 12:37 AM
Subject: [Serusers] problem with rtpproxy
hi
I had installed ser with media and rtp proxy. Below is the output that i get when I start ser. However, iam not able receive any audio transmission when I connect through sip communicator when iam behind NAT. I am able to register with the server.
0(0) fixing /usr/local/lib/ser/modules/maxfwd.so mf_process_maxfwd_header
0(0) fixing /usr/local/lib/ser/modules/sl.so sl_send_reply
0(0) fixing /usr/local/lib/ser/modules/sl.so sl_send_reply
0(0) fixing /usr/local/lib/ser/modules/mediaproxy.so client_nat_test
0(0) fixing /usr/local/lib/ser/modules/textops.so search
0(0) module - fixing ^Record-Route:
0(0) fixing /usr/local/lib/ser/modules/mediaproxy.so fix_contact
0(0) fixing /usr/local/lib/ser/modules/nathelper.so fix_nated_sdp
0(0) fixing /usr/local/lib/ser/modules/rr.so record_route
0(0) fixing /usr/local/lib/ser/modules/rr.so loose_route
0(0) fixing /usr/local/lib/ser/modules/textops.so append_hf
0(0) fixing /usr/local/lib/ser/modules/textops.so append_hf
0(0) fixing /usr/local/lib/ser/modules/registrar.so lookup
0(0) get_connection(): Connection not found in the pool
0(0) preload_udomain():! Table is empty
0(0) release_connection(): Removing connection from the pool
0(0) fixing /usr/local/lib/ser/modules/auth_db.so www_authorize
0(0) get_connection(): Connection not found in the pool
0(0) release_connection(): Removing connection from the pool
0(0) fixing /usr/local/lib/ser/modules/auth.so www_challenge
0(0) fixing /usr/local/lib/ser/modules/registrar.so save
0(0) get_connection(): Connection not found in the pool
0(0) release_connection(): Removing connection from the pool
0(0) fixing /usr/local/lib/ser/modules/textops.so append_hf
0(0) fixing /usr/local/lib/ser/modules/registrar.so lookup
0(0) fixing /usr/local/lib/ser/modules/sl.so sl_send_reply
0(0) fixing /usr/local/lib/ser/modules/textops.so append_hf
0(0) fixing /usr/local/lib/ser/modules/textops.so search
0(0) module - fixing ^Route:
0(0) fixing /usr/local/lib/ser/modules/sl.so sl_send_reply
0(0) fixing /usr/local/lib/ser/modules/mediaproxy.so use_media_proxy
0(0) fixing /usr/local/lib/ser/modules/tm.so t_on_reply
0(0) fixing /usr/local/lib/ser/modules/tm.so t_relay
0(0) fixing /usr/local/lib/ser/modules/sl.so sl_reply_error
0(0) fixing /usr/local/lib/ser/modules/mediaproxy.so fix_contact
0(0) fixing /usr/local/lib/ser/modules/mediaproxy.so use_media_proxy
0(0) fixing /usr/local/lib/ser/modules/mediaproxy.so client_nat_test
0(0) fixing /usr/local/lib/ser/modules/mediaproxy.so fix_contact
0(0) INFO: udp_init: SO_RCVBUF is initially 110592
0(0) DEBUG: udp_init: trying SO_RCVBUF: 221184
0(0) DEBUG: setting SO_RCVBUF; set=221184,verify=221184
0(0) DEBUG: udp_init: trying SO_RCVBUF: 223232
0(0) DEBUG: setting SO_RCVBUF; set=223232,verify=221184
0(0) DEBUG: setting SO_RCVBUF has no effect
0(0) INFO: udp_init: SO_RCVBUF i! s finally 221184
0(0) DBG: open_uac_fifo: opening fifo...
0(0) DEBUG: FIFO created @ /tmp/ser_fifo
0(0) DEBUG: fifo /tmp/ser_fifo opened, mode=432
0(0) init_unixsock_socket: No unix domain socket will be opened
2(0) INFO: fifo process starting: 19946
2(0) DEBUG: init_mod_child (-2): tm
2(0) DEBUG: callid: '57b7f7f7-0(a)69.229.23.57'
2(0) DEBUG: init_mod_child (-2): usrloc
2(0) get_connection(): Connection not found in the pool
0(19941) DEBUG: init_mod_child (1): tm
0(19941) DEBUG: callid: '57b7f7f7-19941(a)69.229.23.57'
0(19941) DEBUG: init_mod_child (1): usrloc
0(19941) get_connection(): Connection not found in the pool
1(0) DEBUG: init_mod_child (-1): tm
1(19945) DEBUG: callid: '57b7f7f7-19945(a)69.229.23.57'
1(19945) DEBUG: init_mod_child (-1): usrloc
1(19945) get_connection(): Connection not found in the pool
0(19941) DEBUG: init_mod_child (1): auth_db
0(19941) get_connection(): Connection not found in the pool
1(19945) DEBUG: init_mod_child (-1): auth_db
1(19945) get_connection(): Connection not found in the pool
0(19941) DEBUG: init_mod_child (1): domain
0(19941) get_connection(): Connection found in the pool
0(19941) DEBUG: init_mod_child (1): nathelper
2(19946) DEBUG: init_mod_child (-2): auth_db
2(19946) get_connection(): Connection not found in the pool
1(19945) DEBUG: init_mod_child (-1): domain
1(19945) DEBUG: init_mod_child (-1): nathelper
0(19941) rtpp_test: RTP proxy found, support for it enabled
1(19945) rtpp_test: RTP proxy found, support for it enabled
2(19946) DEBUG: init_mod_child (-2): domain
2(19946) DEBUG: init_mod_child (-2): nathelper
2(19946) rtpp_test: RTP proxy found, support for it enabled
2(19946) SER: open_uac_fifo: fifo server up at /tmp/ser_fifo...
2(19946) DEBUG: register_fifo_cmd: new command (print) registered
2(19946) DEBUG: register_fifo_cmd: new command (uptime) registered
2(19946) DEBUG: register_fifo_cmd: new command (version) registered
2(19946) DEBUG: register_fifo_cmd: new command (pwd) registered
2(19946) DEBUG: register_fifo_cmd: new command (arg) registered
2(19946) DEBUG: register_fifo_cmd: new command (which) registered
2(19946) DEBUG: register_fifo_cmd: new command (ps) registered
2(19946) DEBUG: register_fifo_cmd: new command (kill) registered
2(19946) WARNING: no fifo_db_url given - fifo DB commands disabled!
Let me know if you find any configuration error in SER.
Please let me if you need any more information. I am trying to configure SER from long time. Please help me.
Thanks
Rajesh
--------------------------------------------------------------------------
Enjoy this Diwali with Y! India Click here
--------------------------------------------------------------------------
Enjoy this Diwali with Y! India Click here
--------------------------------------------------------------------------
_______________________________________________
Serusers mailing list
serusers(a)lists.iptel.org
http://lists.iptel.org/mailman/listinfo/serusers
------------------------------------------------------------------------------
Enjoy this Diwali with Y! India Click here
Hi all.
I've a problem with a call using mediaproxy. The call
got established, but after a few seconds got disconnected and
I obtain the following errors. The problem appears
with several clients. Please
can someone enlighten me on where I err?
TIA
Nov 8 23:43:20 fw /usr/sbin/openser[11625]: ERROR: parse_via: invalid
port number <12797rport>
Nov 8 23:43:20 fw /usr/sbin/openser[11625]: ERROR: parse_via on:
<SIP/2.0/UDP 213.144.x.x:12797rport;branch=z9hG4bK510915090^M Route:
<sip:213.215.x.x;ftag=274138964;lr=on>^M From:
<sip:marco@domain>;tag=274138964^M To:
<sip:000000@voip.domain>;tag=5E97045-71F^M Call-ID:
408923322(a)213.144.x.x^M CSeq: 21 ACK^M Contact:
<sip:marco@213.144.x.x:12797^M Max-Forwards: 5^M User-Agent:
Linphone-1.0.1/eXosip^M Content-Length: 0^M ^M >
Nov 8 23:43:20 fw /usr/sbin/openser[11625]: ERROR: parse_via parse
error, parsed so far:<SIP/2.0/UDP
213.144.80.48:12797rport;branch=z9hG4bK510915090^M >
Nov 8 23:43:20 fw /usr/sbin/openser[11625]: ERROR: get_hdr_field: bad
via
Nov 8 23:43:20 fw /usr/sbin/openser[11625]: ERROR: bad header field
Nov 8 23:43:20 fw /usr/sbin/openser[11625]: ERROR: parse_msg:
message=<ACK sip:0000000@10.10.10.10:53429 SIP/2.0^M Via: SIP/2.0/UDP
213.144.x.x:12797rport;branch=z9hG4bK510915090^M Route:
<sip:213.215.x.x;ftag=274138964;lr=on>^M From:
<sip:marco@domain>;tag=274138964^M To:
<sip:000000@voip.domain>;tag=5E97045-71F^M Call-ID:
408923322(a)213.144.x.x^M CSeq: 21 ACK^M Contact:
<sip:marco@213.144.x.x:12797^M Max-Forwards: 5^M User-Agent:
Linphone-1.0.1/eXosip^M Content-Length: 0^M ^M >
--
In general, an implementation must be conservative in its sending
behavior,
and liberal in its receiving behavior.
- Jon Postel (1943-1998)
Hi,
Is posible to add more route headers to a request before relaying it?
Im trying to implement the IMS mechanism before relaying a request to an
application server, which consists in adding two route headers.
Thx in advance.
G.