500 Server Error Occurred 2/sl
sorted by: [ date ] [ thread ] [ subject ] [ author ] Hi Daniel, Thanks for the answer but. I already tested if the problem is there and even commenting the prefix out the error is exactly the same. That is why I test it using: pstn.gw_ip = "10.XX.XX.XX" pstn.gw_port = "5060" And route(PSTN) Without changing original PSTN routing. I'm getting the same problem. Could you think on something else that can be affecting that? Helena From: sr-users-bounces at lists.sip-router.org [mailto:sr-users-bounces at lists.sip-router.org] On Behalf Of Daniel-Constantin Mierla Sent: martes, 10 de diciembre de 2013 16:54 To: Kamailio (SER) - Users Mailing List Subject: Re: [SR-Users] 500 I'm terribly sorry error Hello, I guess the r-uri is not correct after your changes. you can try to print $ru with xlog(...) just before the route(RELAY). You should use string operation to add the prefix instead of using a regular expression substitution, like: prefix("A99901"); or $rU = "A99901" + $rU; Cheers, Daniel On 10/12/13 16:19, Helena Garcia-Nieto wrote: Hello, Thanks in advanced for the help. I am almost new with kamailio and still struggling through silly problems so please forgive me if the solution is so obvious. I have a network like Xlitle -- Kamailio -- GW The GW is more or less out of my reach for changing the behaivour. As devices I have xlitle Kamailio is on version 4.0.2 I've changed only few things from the default config file. Add mysql support, auth, userlocdb, pstngw. For this part, gw routing , I've defined gw ip and port inside the PSTN definition like: #!ifdef WITH_PSTN # PSTN GW Routing # # - pstn.gw_ip: valid IP or hostname as string value, example: # pstn.gw_ip = "10.0.0.101" desc "My PSTN GW Address" # # - by default is empty to avoid misrouting pstn.gw_ip = "" desc "PSTN GW Address" pstn.gw_port = "" desc "PSTN GW Port" iskratel.gw_ip = "10.XX.XX.XX" iskratel.gw_port = "5060" #!endif I route the calls with: route(ISKRATEL); And defined a routing function route[ISKRATEL] { #!ifdef WITH_PSTN # check if ISKRATEL GW IP is defined if (strempty($sel(cfg_get.iskratel.gw_ip))) { xlog("SCRIPT: PSTN rotuing enabled but iskrat
Join INTELLIGENT WORK FORUMSFOR COMPUTER PROFESSIONALS Log In Come Join Us! Are you aComputer / IT professional?Join Tek-Tips Forums! Talk With Other Members Be Notified Of ResponsesTo Your Posts Keyword Search One-Click Access To YourFavorite Forums Automated SignaturesOn Your Posts Best Of All, It's Free! Join Us! *Tek-Tips's functionality depends on members receiving e-mail. By joining you are http://lists.sip-router.org/pipermail/sr-users/2013-December/080881.html opting in to receive e-mail. Posting Guidelines Promoting, selling, recruiting, coursework and thesis posting is forbidden.Tek-Tips Posting Policies Jobs Jobs from Indeed What: Where: jobs by Link To This Forum! Add Stickiness To Your Site By Linking To This Professionally Managed Technical Forum.Just copy and paste http://www.tek-tips.com/viewthread.cfm?qid=1672813 the BBCode HTML Markdown MediaWiki reStructuredText code below into your site. Avaya: IP Office Forum at Tek-Tips HomeForumsWiring ClosetPhone SystemsAvaya: IP Office Forum SIP Trunk Not Working thread940-1672813 Forum Search FAQs Links MVPs SIP Trunk Not Working SIP Trunk Not Working jcallen03 (Programmer) (OP) 24 Jan 12 11:14 I am trying to set up a Nexvortex SIP trunk.Here are the messages I am seeing with the monitor.695464mS SIP Tx: UDP 192.168.42.2:5060 -> 66.23.129.253:5060INVITE sip:@192.168.42.1 SIP/2.0Via: SIP/2.0/UDP 192.168.42.2:5060;rport;branch=z9hG4bK66febafa5b39e8e2f4bad834d3167158From: "Membership" | Report Content as Inappropriate ♦ ♦ SIP/2.0 500 Server error occurred (1/SL) why does this happen? if i restart opensips, sure it 500 server goes away for a little while. I found this thread interesting but its so old and one has to wonder if its still relevant. http://opensips-open-sip-server.1449251.n2.nabble.com/nat-traversal-get-register-expire-maximum-expire-for-all-contacts-200-td1618912.htmlPlease, any thoughts here would be 500 server error very much appreciated. Here is a test MSRP session that fails. +++++ 23:43:18,656 DEBUG [com.imas.ImasUtil] (Mobicents-SIP-Servlets-UDPMessageChannelThread-165) createMsrpSessionDescription sip:+11000000000@rcs.happydays.com, secure : false 23:43:18,656 DEBUG [com.imas.sf.chat.CreatedChatSessionState] (Mobicents-SIP-Servlets-UDPMessageChannelThread-165) Sending INVITE INVITE sip:+11000000000@rcs.happydays.com SIP/2.0 Call-ID: 11149990281b47584ea760cabc90c753@x.x.x.x CSeq: 1 INVITE From: DD-WRT Forum Forum Index -> Advanced Networking View previous topic :: View next topic Author Message MrFidgetDD-WRT UserJoined: 15 Jul 2010Posts: 376 Posted: Thu Mar 01, 2012 16:18 Post subject: [Solved] Milkfish: Got SIP response 500 "I'm terribly s Quote: Got SIP response 500 "I'm terribly sorry, server error occurred (1/SL)" back from my.wan.ip.adr:5060 Issue is with an Asterisk server with a public IP and a handset behind NAT using Milkfish as a proxy to the Asterisk box. Asterisk is v1.8.9.0. DD is K26 broadcom v15962 Big on a Netgear WNR3500L. Handset is a Snom with v8.4.32 firmware The issue is, when you call the handset, the above message occurs in the CLI and the dial fails. Remove the OpenSER router from the proxy setting on the phone and just run NAT, no problems. The issue was caused by a badly formed SIP message sent to the router. Specifically, in Asterisk 1.4 I had my variable assignments of strings surrounded by " characters. In 1.8 this was not necessary and in fact the " characters were included in the SIP address. eg "201"@my.ippbx.whatever.com which was confusing the OpenSER SIP router. By default the CALLERID(NAME) and CALLERID(NUM) do not need to be enclosed in " quotes. I am posting this for other people who have a similar issue in the hope that it helps them. Hopefully it will help me if I need it again as I have forgotten what I have done Cheers Chris Back to top Sponsor MrFidgetDD-WRT UserJoined: 15 Jul 2010Posts: 376 Posted: Thu Mar 01, 2012 16:19 Post subject: A reply to make it look like it has been solved. Some Keywords too: Kamailio, Asterisk, OpenSER and the error: Got SIP response 500 "I'm terribly sorry, server error occurred (1/SL)" back from my.wan.ip.adr:5060 /C Back to top Display posts from previous: All Posts1 Day7 Days2 Weeks1 Month3 Months6 Months1 YearOldest FirstNewest First Page 1 of 1 DD-WRT Forum Forum Index -> Advanced Networking All times are GMT Navigation Jump to:Select a forumForum Rules and Guidelines----------------Forum Rules and Guidelines EnglishForum Regeln and Anleitungen DeutschПравила форума и рекомендации: RussianDD-WRT (English)----------------AnnouncementsAtheros WiSOC based HardwareBroadcom SoC based Hardw