I've noticed this in both kamailio 3.1.5 and 3.2.x. I've configured to receive on udp 9090 port. This sip message will be forwarded to a asterisk box listening on 5060 port. Now what i'm trying to achieve is , When kamailio will receive the sip message on udp 9090 port it will forward the message to asterisk using source port 5060, not 9090. How can i configure this?Thanks in advance.
With Best Regards
Ariful Hossain Tuhin
email: 1. etothepowerpi(a)gmail.com 2. etothepowerpi(a)hotmail.com 3.etothepowerpi(a)yahoo.com
skype: freeburn1986
I'm using dispatcher module for load balancnig purposes I read
active/inactive nodes from the database
So I define on my kamailio.cfg:
modparam("dispatcher", "db_url", "mysql://openser:openserrw@
<DB_IP>/openser")
Then, on my route(DISPATCH) I call:
* ds_select_dst("1", "4");*
* t_relay();*
*
*
My question is: Which *set of addresses is using **ds_select_dst *to
choose destination. Will it do a query on the db each time updating active
and inactive nodes on each ds_select_dst call? If not, when is the list of
addresses to choose updated? (on kamaiilio restart, periodically...)
I say this because I would like to update active and inactive nodes from a
3rd party application modifying the flags column but I need to know also
how many time will it take for the change to be applied.
BR
Albert
--
Albert
Hello,
the master branch has a new feature that allow setting number of worker
processes to handle received traffic per listen socket.
So far there were global parameters that were applied to all sockets
(e.g., 'children' value set the number of workers for all udp sockets).
So far each UDP and SCTP socket had its own pool of workers (e.g.,
children=4 and 2 udp sockets resulted in 8 processes), while for tcp and
tls was a single pool of workers (e.g., having children (or
tcp_children) set 8, resulted in 8 processes no matter how many tcp/tls
sockets).
The new features is based on using a new config parameter, named
"socket_workers", before a "listen" parameter. The value of
socket_workers will overwrite the value of *children parameter. For UDP
and SCTP will result in creating a number of "socket_workers" processes.
For TCP and TLS will add an extra set of "socket_workers" processes,
that will handle traffic only on those specific sockets.
The value of "socket_workers" is reset with the next listen socket
added. If "socket_workers" is not set, the value of "*children"
parameter is used in backward compatible fashion.
Some typical scenarios where this feature may become handy:
- set a lower number for loopback or internal/replication sockets, as
the traffic there is low (e.g, maybe for keepalive monitoring on
loopback, or it is only REGISTER requests replication done over the
replication sockets)
- set a dedicated group of tcp/tls workers for handling http/xmlrpc/xcap
traffic - handling such traffic may be time consuming, in this way you
avoid delays on routing SIP over tcp/tls
- fine tune the number of over all forked processes by a SIP server
instance, thus controlling better the resources used from the physical
server (e.g., overall private memory used by sip server is a matter of
how many forked processes are there)
You can see details about the new parameter and examples on the wiki page:
* http://www.kamailio.org/wiki/cookbooks/devel/core?&#socket_workers
Cheers,
Daniel
--
Daniel-Constantin Mierla -- http://www.asipto.comhttp://linkedin.com/in/miconda -- http://twitter.com/miconda
Hi,
i am doing this command in a timer under kamailio:
$var(log)='"'+'denied_calls-'+$stat(denied_calls)+',dos-'+$shv(dos)+'"';
exec_msg("nc -u -w0 10.2.0.54 514 <<< $var(log)");
each time the command is executed, i get the following error:
9(19302) : exec [../../parser/../ip_addr.h:688]: BUG: ip_addr2sbuf: unknown
address family 0
9(19302) ERROR: exec [exec.c:86]: cmd nc -u -w0 10.2.0.54 514 <<<
",denied_calls-0,dos-green" failed. exit_status=-1, errno=32: Broken pipe
any idea?
the syslog server gets the message....
thanks,
Uri
hi,
i am manging dialogs in memory only. no DB.
i would like to set a timeout for a dialog and when the timeout is reached,
to send "bye" to the parties.
today i know how to timeout the dialog, and using the dlg_bye function is
understood.
but, how do i activate the dlg_bye when the time out is executed and whith
which parameters in order to disconnect the right session?
the explenation about the "route" to perform is not clear?
please,
thanks,
Uri
I upgraded from Kamailio 3.1 to Kamailio 3.2 (x86_64/linux) 31c991 recently. Since upgrading, my LCR does not work. The "load_gws" command always returns a 2 (meaning no routes found).
When I do a "sercmd lcr.dump_rules", I get the following error:
# sercmd lcr.dump_rules
error: 500 - Internal server error: out of memory
I've tried increasing "binrpc_max_body_size" and "binrpc_struct_max_body_size", but this doesn't help.
-H
Hi All
We are using plain text passwords for authentication, for the obvious
reasons we want to change to hashed passwords so first I executed the
following on the SQL server :
update subscriber set ha1 = md5(concat(username, ':', domain, ':',
password)), ha1b = md5(concat(username, '@', domain, ':', domain, ':',
password))
The related config is :
# ----- auth_db params -----
#!ifdef WITH_AUTH
modparam("auth_db", "db_url", DBURL)
modparam("auth_db", "calculate_ha1", yes)
modparam("auth_db", "password_column", "ha1")
modparam("auth_db", "load_credentials", "")
modparam("auth_db", "use_domain", MULTIDOMAIN)
and
# ----- auth_db params -----
#!ifdef WITH_AUTH
modparam("auth_db", "db_url", DBURL)
modparam("auth_db", "calculate_ha1", yes)
modparam("auth_db", "password_column", "ha1")
modparam("auth_db", "load_credentials", "")
modparam("auth_db", "use_domain", 1)
But I keep getting unauthorized, what did I miss here.
Regards
Congrats so now RTPproxy issue has been resolved and Kamailio is saying
that support for it has been enables.
Next thing is ...ignore the reverse resolving of IPv6 IP !! thats not an
issue at all for now.
The error you are receiving is due to sip PUBLISH method ... that can be a
bug in Kamailio or anything on which I can't comment any better than you.
I hope some other gy take over the thread from here and see if this _IS_
really an issue or not, if so why is this here then !!
Regards,
Sammy.
On Fri, Jan 6, 2012 at 3:37 PM, nunu abe <nunu_abe(a)yahoo.com> wrote:
> Hi,
>
> I commented out the unix socket in the modparam as instructed and there is
> still no change.
>
> 1. The rtpproxy was listening to port 7722, but to make sure I stopped it
> and restarted it with the command:
> xxx@DualStackCS:~$ sudo netstat -pln |grep rtpp
> udp 0 0 127.0.0.1:7722 0.0.0.0:*
> 860/rtpproxy
>
> xxx@DualStackCS:~$ sudo /etc/init.d/rtpproxy restart
> Restarting RTP relay: rtpproxy.
>
> xxxxx@DualStackCS:~$ sudo netstat -pln |grep rtpp
> udp 0 0 127.0.0.1:7722 0.0.0.0:*
> 2303/rtpproxy
>
> xxxx@DualStackCS:~$ sudo /etc/init.d/rtpproxy stop
> Stopping RTP relay: rtpproxy.
>
> xxxxx@DualStackCS:~$ sudo netstat -pln |grep rtpp
> xxxxx@DualStackCS:~$ sudo rtpproxy -F -l 10.10.10.10 -6
> /3001:0:0:1::10 -s udp:127.0.0.1:7722
> xxxxx@DualStackCS:~$ sudo netstat -pln |grep rtpp
> udp 0 0 127.0.0.1:7722 0.0.0.0:*
> 2366/rtpproxy
>
> 2.Kamailio service started without error message but with this warning:
> 0(1549) WARNING: <core> [socket_info.c:1275]: WARNING: fix_hostname:
> could not rev. resolve 3001:0:0:1:0:0:0:10
>
> 16(2422) DEBUG: <core> [sr_module.c:892]: DEBUG: init_mod_child
> (11): nathelper
> 16(2422) DEBUG: <core> [sr_module.c:892]: DEBUG: init_mod_child
> (11): rtpproxy
> 15(2421) INFO: rtpproxy [rtpproxy.c:1415]: rtp proxy
> <udp:localhost:7722> found, support for it enabled
>
> 3.As soon as clients register, these errors appear in the logs
> (similar errors appear even more frequently while making a call, shown in
> the attachment):
> 7(2407) DEBUG: <core> [parser/msg_parser.c:630]: method: <PUBLISH>
> 7(2407) DEBUG: <core> [parser/msg_parser.c:632]: uri: <sip:300@
> [3001:0:0:1::10]>
> 7(2407) DEBUG: <core> [parser/msg_parser.c:634]: version: <SIP/2.0>
> 7(2407) DEBUG: <core> [parser/parse_via.c:1288]: Found param type 232,
> <branch> = <z9hG4bK3847>; state=16
> 7(2407) DEBUG: <core> [parser/parse_via.c:2563]: end of header reached,
> state=5
> 7(2407) DEBUG: <core> [parser/msg_parser.c:515]: parse_headers: Via
> found, flags=2
> 7(2407) DEBUG: <core> [parser/msg_parser.c:517]: parse_headers: this is
> the first via
> 7(2407) DEBUG: <core> [receive.c:147]: After parse_msg...
> 7(2407) DEBUG: <core> [receive.c:188]: preparing to run routing scripts...
> 7(2407) ERROR: *** cfgtrace: c=[/usr/local/etc/kamailio/kamailio.cfg]
> l=464 a=6 n=route
> 7(2407) ERROR: *** cfgtrace: c=[/usr/local/etc/kamailio/kamailio.cfg]
> l=573 a=17 n=if
> 7(2407) ERROR: *** cfgtrace: c=[/usr/local/etc/kamailio/kamailio.cfg]
> l=568 a=26 n=mf_process_maxfwd_header
>
> 6(2406) ERROR: *** cfgtrace: c=[/usr/local/etc/kamailio/kamailio.cfg]
> l=744 a=26 n=is_method
> 6(2406) ERROR: *** cfgtrace: c=[/usr/local/etc/kamailio/kamailio.cfg]
> l=767 a=25 n=consume_credentials
> 6(2406) ERROR: *** cfgtrace: c=[/usr/local/etc/kamailio/kamailio.cfg]
> l=780 a=3 n=return
> 6(2406) ERROR: *** cfgtrace: c=[/usr/local/etc/kamailio/kamailio.cfg]
> l=489 a=26 n=remove_hf
> 6(2406) ERROR: *** cfgtrace: c=[/usr/local/etc/kamailio/kamailio.cfg]
> l=500 a=6 n=route
> 6(2406) ERROR: *** cfgtrace: c=[/usr/local/etc/kamailio/kamailio.cfg]
> l=704 a=27 n=sl_send_reply
>
> 4(2458) ERROR: *** cfgtrace: c=[/usr/local/etc/kamailio/kamailio.cfg]
> l=467 a=6 n=route
> 4(2458) ERROR: *** cfgtrace: c=[/usr/local/etc/kamailio/kamailio.cfg]
> l=789 a=17 n=if
> 4(2458) ERROR: *** cfgtrace: c=[/usr/local/etc/kamailio/kamailio.cfg]
> l=789 a=57 n=force_rport
> 4(2458) ERROR: *** cfgtrace: c=[/usr/local/etc/kamailio/kamailio.cfg]
> l=799 a=17 n=if
> 4(2458) ERROR: *** cfgtrace: c=[/usr/local/etc/kamailio/kamailio.cfg]
> l=790 a=26 n=nat_uac_test
> 4(2458) ERROR: *** cfgtrace: c=[/usr/local/etc/kamailio/kamailio.cfg]
> l=795 a=17 n=if
> 4(2458) ERROR: *** cfgtrace: c=[/usr/local/etc/kamailio/kamailio.cfg]
> l=791 a=26 n=is_method
> 4(2458) ERROR: *** cfgtrace: c=[/usr/local/etc/kamailio/kamailio.cfg]
> l=792 a=25 n=fix_nated_register
> 4(2458) ERROR: *** cfgtrace: c=[/usr/local/etc/kamailio/kamailio.cfg]
> l=796 a=40 n=setflag
> 4(2458) ERROR: *** cfgtrace: c=[/usr/local/etc/kamailio/kamailio.cfg]
> l=799 a=3 n=return
> 4(2458) ERROR: *** cfgtrace: c=[/usr/local/etc/kamailio/kamailio.cfg]
> l=470 a=6 n=route
> 4(2458) ERROR: *** cfgtrace: c=[/usr/local/etc/kamailio/kamailio.cfg]
> l=617 a=17 n=if
> 4(2458) ERROR: *** cfgtrace: c=[/usr/local/etc/kamailio/kamailio.cfg]
> l=582 a=25 n=has_totag
>
> So still lost in this issue.
> Thanks for your help!
>
> Regards,
> Maedot
> ------------------------------
> *From:* Sammy Govind <govoiper(a)gmail.com>
> *To:* nunu abe <nunu_abe(a)yahoo.com>; SIP Router - Kamailio (OpenSER) and
> SIP Express Router (SER) - Users Mailing List <
> sr-users(a)lists.sip-router.org>
> *Sent:* Friday, January 6, 2012 10:06 AM
>
> *Subject:* Re: [SR-Users] RTPproxy on Kamailio 3.2.1 difficulty.
>
> Don't forget to change the modparams for RTPproxy as
>
> modparam("rtpproxy", "rtpproxy_sock", "udp:localhost:7722")
> # modparam("rtpproxy", "rtpproxy_sock",
> "unix:/var/run/rtpproxy/rtpproxy.sock")
>
>
> On Fri, Jan 6, 2012 at 2:05 PM, Sammy Govind <govoiper(a)gmail.com> wrote:
>
> Hi,
>
> Kamailio is trying to communicate to RTproxy using port 7722 , execute
> the command
>
> # netstat -pln | grep rtpp
>
> and see if your rtpproxy is even listening on that interface, which it
> isn't for sure.
>
> No if above is true then stop rtpproxy and start rtpproxy using the b/m
> command
>
> #sudo rtpproxy -F -l 10.10.10.10 -6 /3001:0:0:1::10 -s udp:127.0.0.1:7722
>
> confirm using the netstat command that RTPproxy is indeed listening on
> 7722 port, if yes restart Kamailio and make sure you don't see kamailio
> complaining about not connecting to RTPproxy anymore.
>
>
> Regards,
> Sammy.
>
> On Fri, Jan 6, 2012 at 1:31 PM, nunu abe <nunu_abe(a)yahoo.com> wrote:
>
> Hi,
>
> I have already posted this message but it was sent only to Sammy Govind
> somehow, not to the mailing list. So I am posting it again to the list. I
> am sorry if this is double posting or if this is not the right way to do it.
>
> **Original message***
>
>
> Hi Sammy
> These are the params from my kamilio cfg file. Just a reminder, the
> whole cfg file is copied from the link:
> http://kb.asipto.com/kamailio:kamailio-mixed-ipv4-ipv6, i just edited the
> IP addresses and DB_URL line to fit my settings.
> #!ifdef WITH_NAT
> # ----- rtpproxy params -----
> # modparam("rtpproxy", "rtpproxy_sock", "udp:localhost:7722")
> modparam("rtpproxy", "rtpproxy_sock",
> "unix:/var/run/rtpproxy/rtpproxy.sock")
>
> # ----- nathelper params -----
> modparam("nathelper", "natping_interval", 30)
> modparam("nathelper", "ping_nated_only", 1)
> modparam("nathelper", "sipping_bflag", FLB_NATSIPPING)
> modparam("nathelper", "sipping_from", "sip:pinger@kamailio.org")
>
> # params needed for NAT traversal in other modules
> modparam("nathelper|registrar", "received_avp", "$avp(RECEIVED)")
> modparam("usrloc", "nat_bflag", FLB_NATB)
> #!endif
> I have tried to use both unix and UDP sockets each at a time.I removed the
> square braces from the IP addresses in the rtpproxy default files and its
> no more complainig about the "rtpproxy: setbindhost: No addressassociated with hostname"
> but still have the same messages in the logs.
> Thank you four your help.
> Regards,
> Maedot
>
> *From:* Sammy Govind <govoiper(a)gmail.com>
>
> *To:* nunu abe <nunu_abe(a)yahoo.com>; SIP Router - Kamailio (OpenSER) and
> SIP Express Router (SER) - Users Mailing List <
> sr-users(a)lists.sip-router.org>
> *Sent:* Thursday, January 5, 2012 8:13 PM
>
> *Subject:* Re: [SR-Users] RTPproxy on Kamailio 3.2.1 difficulty.
>
> hi,
>
> quick look at your logs,
>
> 14(1596) ERROR: rtpproxy [rtpproxy.c:1466]: can't connect to RTP proxy
> 15(1597) DEBUG: <core> [sr_module.c:892]: DEBUG: init_mod_child (10): nathelper
> 14(1596) ERROR: rtpproxy [rtpproxy.c:1538]: proxy <unix:/var/run/rtpproxy/rtpproxy.sock> does not respond, disable it
> 5(1584) DEBUG: db_mysql [km_my_con.c:123]: server version is 5.1.41-3ubuntu12.10
> 14(1596) WARNING: rtpproxy [rtpproxy.c:1395]: can't get version of the RTP proxy
> 14(1596) WARNING: rtpproxy [rtpproxy.c:1432]: support for RTP proxy <unix:/var/run/rtpproxy/rtpproxy.sock> has been disabled temporarily
> 14(1596) DEBUG: <core> [sr_module.c:892]: DEBUG: init_mod_child (9): debugger
> 5(1584) DEBUG: <core> [sr_module.c:892]: DEBUG: init_mod_child (5): nathelper
> 14(1596) DEBUG: debugger [debugger_mod.c:124]: rank is (9)
> 5(1584) DEBUG: <core> [sr_module.c:892]: DEBUG: init_mod_child (5): rtpproxy
> 5(1584) ERROR: rtpproxy [rtpproxy.c:1466]: can't connect to RTP proxy
> 5(1584) ERROR: rtpproxy [rtpproxy.c:1538]: proxy <unix:/var/run/rtpproxy/rtpproxy.sock> does not respond, disable it
> 5(1584) WARNING: rtpproxy [rtpproxy.c:1395]: can't get version of the RTP proxy
> 5(1584) WARNING: rtpproxy [rtpproxy.c:1432]: support for RTP proxy <unix:/var/run/rtpproxy/rtpproxy.sock> has been disabled temporarily
> 5(1584) DEBUG: <core> [sr_module.c:892]: DEBUG: init_mod_child (5): debugger
> 5(1584) DEBUG: debugger [debugger_mod.c:124]: rank is (5)
> 15(1597) DEBUG: <core> [sr_module.c:892]: DEBUG: init_mod_child (10): rtpproxy
> 15(1597) ERROR: rtpproxy [rtpproxy.c:1466]: can't connect to RTP proxy
> 15(1597) ERROR: rtpproxy [rtpproxy.c:1538]: proxy <unix:/var/run/rtpproxy/rtpproxy.sock> does not respond, disable it
> 15(1597) WARNING: rtpproxy [rtpproxy.c:1395]: can't get version of the RTP proxy
> 15(1597) WARNING: rtpproxy [rtpproxy.c:1432]: support for RTP proxy <unix:/var/run/rtpproxy/rtpproxy.sock> has been disabled temporarily
> 15(1597) DEBUG: <core> [sr_module.c:892]: DEBUG: init_mod_child (10): debugger
>
>
>
> paste the rtpproxy/nathelper module params lines which are in your
> kamailio.cfg.
>
> regards,
> sammy
>
>
> On Wed, Jan 4, 2012 at 7:59 PM, nunu abe <nunu_abe(a)yahoo.com> wrote:
>
> Thank you Sammy for noticing :)
>
> Now I have a bit of different but same problem. After the earlier posting
> the message I decided to start everything from scratch and I installed
> everything new.
> But I still have problem. The rtpproxy server is not working, it fails to
> replace the IP address of the sender in the SDP and hence there is no RTP
> communication.
> These are the steps I followed:
>
>
> 1. Freshly installed kamailio 3.2.1 on Kubuntu from GIT
>
> 2. Installed mysql server
>
> 4. installed rtpproxy, changed its user to be kamailio.
>
> 3.Copied the provided kamailio.cfg file from the link and edited the IP
> addresses and the DBURL to reflect my settings
>
> 4. Uncommented the Control socket line and added these lines in the
> /etc/default/rtpproxy file
> CONTROL_SOCK="unix:/var/run/rtpproxy/rtpproxy.sock"
> ADDR_IPV4=[10.10.10.10]
> ADDR_IPV6=[3001:0:0:1::10]
> EXTRA_OPTS="-l {ADDR_IPV4} -6 /{ADDR_IPV6}"
>
> *** I aslso tried without adding the last three lines, but it made no
> difference.***
>
> 5. Started rtpproxy in a bridge mode
>
> xxxx@DualStackCS:~$ sudo rtpproxy -F -l 10.10.10.10 -6 /3001:0:0:1::10
> *** I have also tried to start it this way :xxxx@DualStackCS:~$ sudo
> rtpproxy -F -l 10.10.10.10 -6 /3001:0:0:1::10 -s
> unix:/var/run/rtpproxy/rtpproxy.sock - but no difference****
>
> xxxx@DualStackCS:~$ ps aux|grep rtpproxy
> root 1522 0.0 0.0 11384 696 ? Ssl 15:31 0:00 rtpproxy
> -F -l 10.10.10.10 -6 3001:0:0:1::10
> xxxx 1528 0.0 0.0 3324 804 pts/1 S+ 15:31 0:00 grep
> --color=auto rtpproxy
>
> xxxxx@DualStackCS:~$ sudo /etc/init.d/kamailio start
>
>
> 6. Started kamailio
> @DualStackCS:~$ sudo /etc/init.d/kamailio restart
>
> I have attached the log file.
>
> Many thanks for your help.
>
> Regards,
>
> Maedot
>
> *From:* Sammy Govind <govoiper(a)gmail.com>
> *To:* miconda(a)gmail.com; SIP Router - Kamailio (OpenSER) and SIP Express
> Router (SER) - Users Mailing List <sr-users(a)lists.sip-router.org>
> *Sent:* Tuesday, January 3, 2012 2:04 PM
> *Subject:* Re: [SR-Users] RTPproxy on Kamailio 3.2.1 difficulty.
>
> Hi,
>
> I had a good laugh when I read the reply, but going through the whole
> thread again I found this:
> " It displays the same message even when I replace ADDR_IPV4 and
> ADDR_IPV6 with IP addresses. "
>
> So there _IS_ some problem here.
>
> Nuno, can you please copy paste the exact command which you executing,
> plus paste the logs,
>
> --
> Regards,
> Sammy.
>
> On Tue, Jan 3, 2012 at 2:22 PM, Daniel-Constantin Mierla <
> miconda(a)gmail.com> wrote:
>
> Hello,
>
> the ADDR_IPV4 and ADDR_IPV6 have to be replaced with real IP addresses
> that you have on the system runnin RTPProxy.
>
> Cheers,
> Daniel
>
>
> On 1/3/12 8:56 AM, nunu abe wrote:
>
> Dear Daniel,
> Greetings and Happy New year to you all! I would like to thank you very
> much for your detailed and well structured tutorials on Kamailio. I am
> resending this email as I sent the earlier one before I was a member of the
> mailing list and I thought it may have been sent to the spam folder. If not
> then, I apologize for double posting.
> I was trying to design a similar scenario like the one " Run your own
> SIP VoIP service on both IPv4 and IPv6 " as explained on Asipto web-page(
> http://kb.asipto.com/kamailio:kamailio-mixed-ipv4-ipv6). However I ran
> into difficulties with rtpproxy. The proxy is not routing media packets
> as it should. I followed the instruction regarding the kamailio.cfg file
> and edited the necessary lines according to my settings. I think my problem
> comes from setting up the rtpproxy.
> 1. I edited the /etc/default/rtpproxy file. i.e. I uncommented the line
> - CONTROL_SOCK="unix:/var/run/rtpproxy/rtpproxy.sock"
> 2. I started the rtpproxy with this command: rtpproxy -F -l ADDR_IPV4 -6
> /ADDR_IPV6 . However, after this command the system returns the message : rtpproxy:
> setbindhost: No address associated with hostname
> It displays the same message even when I replace ADDR_IPV4 and ADDR_IPV6
> with IP addresses.
>
> 3. I have also tried using the udp socket:- CONTROL_SOCK=udp:
> 127.0.0.1:22222, of course I have replaced the unix socket by this udp
> socket in the kamilio.cfg file.
> So my question is, what did I do wrong with the settings that SIP
> messages are traversing normal from IPv4 client to IPv6 client and vice
> versa but media files(RTP packets) are not? The rtpproxy receives the media
> files from one client but fails to forward them to the other client.
> Thanks for your help.
> Maedot
>
>
> _______________________________________________
> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing listsr-users@lists.sip-router.orghttp://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>
>
> --
> Daniel-Constantin Mierla -- http://www.asipto.comhttp://linkedin.com/in/miconda -- http://twitter.com/miconda
>
>
> _______________________________________________
> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
> sr-users(a)lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>
>
>
> _______________________________________________
> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
> sr-users(a)lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>
>
>
> _______________________________________________
> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
> sr-users(a)lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>
>
>
>
>
> _______________________________________________
> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
> sr-users(a)lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>
>
>
>
>
>
Hi,
II just want to find the minimalistic setup to get a sip registrar up
and running.
I went to
http://www.iptel.org/ser/doc/gettingstarted
and tried to download the html documentation: (
http://siprouter.teigre.com/doc/gettingstarted/ )
My browser reports that this host is unknown
all the other links are also pointing to the same unknown host.
Has the server been renamed.
Having the 'Getting Started' Software not available renders ser useless
for all new users.
I used ser already many years ago, with a very simple config file and if
I remember well, there were some very primitive example config files for
simple use cases, but somehow I don't know how to locate them.
I'd like to have a minimalistic setup for a sip registrar with
softphones connected on two subnets (no NAT or firewall involved)
and am rather stuck without some documentation.
Thanks in advance for any pointers
I've installed kamailio (3.2, 3.2-nightly, dev-nightly) for debian unstable (wheezy)
using repository at http://deb.kamailio.org and constantly get a coredump
with this lua code:
-- SIP request routing
function route_request(name)
sr.dbg("routing SIP request from Lua [" .. name .. "]\n")
-- initial checks of SIP request
if sr.maxfwd.process_maxfwd(10) < 0 then
sr.sl.send_reply(483,"Too Many Hops")
return
end
end
I've started with an example at this page http://kb.asipto.com/kamailio:usage:k32-lua-routing,
and then just reduced the lua script to code above.
If I do comment sr.maxfwd.process_maxfwd(10) it passes. It is impossible to
call sr.modf("mf_maxfwd...") because it says about fixups.
What's wrong?
--
With best regards,
Roman Galeev.