Hi,
I already have SER running on my PC but I couldn't go further to establish
a communication between two sip phones (softphones on my system).
I tried using EKIGA softphone and LINPHONE in UBUNTU but futile.
Questions:
1. Can I use SER without specifying "LISTEN=XX.XX.XX.XX" because it was
not included in the ser.cfg file which i recently downloaded?
2. Do I need to get NAT transversal inplace before communication can be
established despite the use of 2 softphone on my PC?
3. I did the required modification to ser.cfg in order to use Mediaproxy
but I keep getting "1 error" each time I restart SER.
The modification made was this:
modparam("mediaproxy", "mediaproxy-socket", "/var/run/mediaproxy.sock")
changed to
modparam("mediaproxy", "mediaproxy-select", "/var/run/proxydispatcher.sock")
KINDLY HELP OUT.
MIKE
Hello,
here is my network architecture :
user (private IP ) ------- NAT(user) -------
(INTERNET) ------- SIPserver
|
|
NAT(OpenSER)
|
|
OpenSER
transparent proxy
or in a few words :
- user is behind a NAT
- OpenSER proxy is behind another NAT (public IP of the NAT : 82.x.x.x
, private IP of the OpenSER proxy : 192.168.y.y)
- the SIP server has a public IP address (51.z.z.z)
The user NAT redirects traffic destinated to SIPserver (protocol UDP,
port 5060) to the public IP of the OpenSER NAT, which of course
redirects it to the private OpenSER proxy address
I'd like to configure OpenSER as a transparent proxy server, just adding
a field in the header of register messages during the forward to the
SIPserver :
so here are the important parts of the openser.cfg :
****************************************
listen=192.168.y.y:5060
route {
...
if (method=="REGISTER") {
append_hf("Field : value");
route(2)
return;
}
...
}
route[2] {
# -----------------------------------------------------------------
# REGISTER Message Handler
if(!t_relay("udp:51.z.z.z:5060")) {
sl_reply_error();
};
exit;
}
***************************************
unfortunatly, the "Via" field added by OpenSER contains its private
address : i'd like OpenSER to use the IP address of its NAT instead :
Via: SIP/2.0/UDP 192.168.y.y;.... ---> Via: SIP/2.0/UDP
82.x.x.x:5060;.....
so that the SIPserver will respond through my OpenSER proxy to the user
is there any way to do this ?
it that can help, i'm running openser 1.2.0 from debian packages
available from openser.org
in the case openSER cannot do this, do you know any other software i
don't know which could do the same things ?
Regards,
Jérôme
hi,
did someone check auth_identity module. I have a problem with it:
in ser configuration file, for authorizer service, need 4 parameters:
# -- Authorizer Service parameters ----------
#-- privatekey_path ------------------------
modparam("auth_identity","privatekey_path",".../etc/CertAuth/private/m1key.pem")
#--- certificate_path -----------------------
modparam("auth_identity","certificate_path","var/www/ssl/m1cert.crt")
#--- certificate_url ------------------------
modparam("auth_identity","certificate_url","http://..../m1cert.crt")
#--- msg_timeout ----------------------------
modparam("auth_identity","msg_timeout",600)
when i run it, there is error:
WARNING: no fork mode
0(9496) init_tcp: using epoll_lt as the io watch method (auto detected)
0(9496) Maxfwd module- initializing
0(9496) AUTH_INDENTITY:mod_init: unable to open certificate 'No such file
or directory'
0(9496) init_mod(): Error while initializing module auth_identity
ERROR: error while initializing modules
I have checked the path of this certificate (that I had created):
mml@kaneway:/var/www/ssl$ ls
m1cert.crt
I don't know why unable to open certificate with 'No such file or
directory'.
Can someone tell me what is my problem here.
Thanks in advance
Tuan.
Hi all.
Please, I have a problem forwarding to voicemail when busy.
I have this in my failure route to forward to voicemail server:
failure_route[1] {
revert_uri();
rewritehostport("xx.xxx.xxx.xxx:5070");
append_branch();
t_relay();
break;
}
When A is busy talking with B, and C calls A then C is forwarded to voicemail. The forwarding works fine, but the call between A and B ends.
Please, what am I doing wrong?
Any help ¿?
Thanks, Rosa.
_________________________________________________________________
Descubre Live.com - tu propia página de inicio, personalizada para ver rápidamente todo lo que te interesa en un mismo sitio.
http://www.live.com/getstarted
Hello all,
Thanx for the answers. I have my SEMS IVR run now.
But I have new problems here. ;b
I can't connect to IMAP inbox as written on script below:
avp_write("Mailbox-URL=imap://user:password@imapserver:143/INBOX", "$mailbox_url");
Then I try to install courier-imap as IMAP server to store the voicemail and configure MailboxURL.py to match the URL. Still can't work though. I didn't know what I was configured there. Please some advise.
Thanx
Regards,
Meidiana
---------------------------------
Ahhh...imagining that irresistible "new car" smell?
Check outnew cars at Yahoo! Autos.
I am sorry I do not know this Redhat package. However as I remember you
can use following:
$ make prefix=/opt/ser modules
$ make prefix=/opt/ser
$ su
# make prefix=/opt/ser install
All you need to compile and install SER is in INSTALL file.
You will try cvs version of SER 2.0 also. I tried it on Fedora Core 5
and it works well for my simple test. You probably will have to install
several development packages.
One more think is good to remember -- do not use CVS trunk in these days
and use tag rel_2_0_0 instead. So checkout ser this way:
$ cvs co -r rel_2_0_0 sip_router
Libor
Mukesh Prajapati wrote:
> thnks for your response.
> I have downloaded SER setup from http://ftp.iptel.org/pub/ser/0.9.6
> it is ser-0.9.6_linux_i386.tar.gz
>
> i installed it on RadHat system, so in current directory usr is
> created. i found binaries at usr/local/sbin directory.
>
> now the problem is i can't start the ser server.
> so, would u please help me in this regards.
>
> thanks
> Mukesh
>
> */Libor Chocholaty <libor_ml1(a)mts.cz>/* wrote:
>
> Mukesh Prajapati wrote:
> > Hi all,
> > I am new to SER
> > I m trying to install n start SER on RadHat Linux. So, please
> guide me
> > how to find SER source n install.
> > n how can I start SER.
> > waiting for reply.
> $ export CVSROOT=:pserver:anonymous@cvs.berlios.de:/cvsroot/ser
> $ cvs login
> Logging in to :pserver:anonymous@cvs.berlios.de:2401/cvsroot/ser
> CVS password: <<-- do not pass any password, only press enter -->>
> $ cvs co sip_router
> ---snip---
> $ cd sip_router
> $ less INSTALL
>
> Libor
>
>
> ------------------------------------------------------------------------
> Ahhh...imagining that irresistible "new car" smell?
> Check out new cars at Yahoo! Autos.
> <http://us.rd.yahoo.com/evt=48245/*http://autos.yahoo.com/new_cars.html;_ylc…>
Hi guys!
I have a question about "Proxy Route Processing"
I have following request comes to my OpenSER (xxx.xxx.xxx.xxx is IP of
this OpenSER):
PRACK sip:1111@xxx.xxx.xxx.xxx:5060;nat=yes SIP/2.0
Via: SIP/2.0/UDP 192.168.100.77:5060;branch=z9hG4bK_00179A52BC45_T59048F1A
From: "Vit-Horosho"
<sip:vit-horosho@xxx.xxx.xxx.xxx>;tag=00179A52BC45_T1304371222
To: <sip:1111@xxx.xxx.xxx.xxx:5060>;tag =0015E9A0D47D_T1002915332
Call-ID: CALL_ID3_00179A52BC45_T2098965184(a)192.168.100.77
RAck: 1909013112 135588358 INVITE
CSeq: 135588359 PRACK
Contact: <sip:vit-horosho@192.168.100.77:5060>
Route: <sip:xxx.xxx.xxx.xxx;lr=on;ftag=00179A52BC45_T1304371222>
Content-Length: 0
As we reading in RFC3261 "16.12 Summary of Proxy Route Processing" part:
1. Request-URI must be rewrited based on location service
2. Route header must be removed because it indicate this proxy
3. Proxy will forward the request to the resource indicated
by the URI in the topmost Route header field value (but we have not this
Route after step 2) or in the Request-URI if no Route header field is
present (so it must be forwarded to URI getted on step 1)
But when I inspect OpenSER debug messages I found the following:
0(99796) parse_headers: flags=200
0(99796) is_preloaded: No
0(99796) grep_sock_info - checking if host==us: 11==11 &&
[xxx.xxx.xxx.xxx] == [xxx.xxx.xxx.xxx]
0(99796) grep_sock_info - checking if port 5060 matches port 5060
0(99796) after_strict: Next hop:
'sip:xxx.xxx.xxx.xxx;lr=on;ftag=00179A52BC45_T1304371222' is loose router
0(99796) parse_headers: flags=ffffffffffffffff
0(99796) rewrite_uri: Rewriting Request-URI with
'sip:xxx.xxx.xxx;lr=on;ftag=00179A52BC45_T1304371222'
0(99796) after_strict: The last route URI:
'sip:xxx.xxx.xxx.xxx;lr=on;ftag=00179A52BC45_T1304371222'
0(99796) parse_headers: flags=ffffffffffffffff
So request is not forwarded as I expect
Is it my misconfiguration or my misunderstood of RFC3261 ?
(the part of openser.cfg followed):
----------- cut here ----------------
# we record-route all messages -- to make sure that
# subsequent messages will go through our proxy; that's
# particularly good if upstream and downstream entities
# use different transport protocol
record_route();
#xdbg("\n\troute[0]: before loose_route() ou=$ou; ru=$ru\n");
# subsequent messages withing a dialog should take the
# path determined by record-routing
if ( loose_route() ) {
# mark routing logic in request
append_hf("P-hint: rr-enforced\r\n");
# route(1);
};
force_rport();
[ request processing with lookup() and actually route(1) followed ]
----------- /cut here ----------------
Hi all,
I am new to SER
I m trying to install n start SER on RadHat Linux. So, please guide me how to find SER source n install.
n how can I start SER.
waiting for reply.
Thanks
Mukesh
---------------------------------
Ahhh...imagining that irresistible "new car" smell?
Check outnew cars at Yahoo! Autos.
Hi Atle!
I knew it had to be sth with append_branch, but all (the few) examples
I looked at had
append_branch with a full sip uri as parameter ... I will try this,
but I am sure this will work :)
Cesc
On 4/19/07, Atle Samuelsen <clona(a)cyberhouse.no> wrote:
>
> Hi Cesc :)
>
> In this case I think I would write something like :
> if(!message="REGISTER"){record_route()};
>
> if(method=="MESSAGE"){
> t_on_reply("5");
> rewritehostport("SER3");
> append_branch();
> rewritehostport("SER2");
> t_relay();
> }
>
> - atle
>
> * Cesc <cesc.santa(a)gmail.com> [070419 19:26]:
> > With some ser-ish routing code ... what i do now:
> >
> > if ( MESSAGE ) {
> > t_on_reply("5");
> > rewritehostport( SER3);
> > forward("IP_MCAST_LOC");
> >
> >
> > rewritehostport( SER2 );
> > route( ROUTE_RELAY_DO_TRELAY );
> > break;
> > };
> >
> > On 4/19/07, Cesc <cesc.santa(a)gmail.com> wrote:
> > >Hi,
> > >
> > >Me = using ser 0.9.6
> > >
> > >It is not very clear for me what I need to do, so bear with me :)
> > >
> > >I have a setup such:
> > >
> > >phone ..... SER1 ........ SER 2
> > > | ................. SER3
> > >So, one ser being frontend of the other 2 ... now, let say that phone
> > >sends MESSAGE msgs, which I want both (ser 2 and 3 ) to receive them.
> > >So, forking, right?
> > >In a previous setup, it sort of work by doing t_newtran() and then
> > >sequentially forward(ser2_ip) and t_forward_nonack(ser3_ip_port) ...
> > >not done by me, the setup, i mean. But eventhough I set t_on_reply()
> > >routes, I don't see the OK/errors msgs when coming back.
> > >Why?
> > >Even better, if I could set a different on_reply for ser2 and for ser3 ...
> > >
> > >Regards,
> > >
> > >Cesc
> > >
> > _______________________________________________
> > Serdev mailing list
> > Serdev(a)lists.iptel.org
> > http://lists.iptel.org/mailman/listinfo/serdev
>