Re: [OpenSIPS-Users] (no subject)

2014-02-04 Thread Justin Zondagh
I had a similar issue. When INSERTing a record to the registrant table don't leave any of your DB fields NULL, rather use an empty string, i.e. '' E.g. INSERT INTO registrant (registrar, proxy, aor, third_party_registrant, username, password, binding_URI, binding_params, expiry, forced_socket) V

[OpenSIPS-Users] (no subject)

2014-02-04 Thread Alec Doran-Twyford
Hi All, I'm trying to get Opensips to act as a client to register and authenticate to other device. I found the uac_registrant & uac_auth and have added them into openips.cfg. I have also done a "opensipsctl registrant add " filling the parameters into connect to the registrar server. I have been

[OpenSIPS-Users] Logging into DB BYE messages with 481 Code

2014-02-04 Thread Wilmar Campos
Hi All, I am trying to log into the database all BYE messages that contains the return code 481. I have this piece of code: if (has_totag() && is_method("INVITE|ACK|BYE|UPDATE")) { if(loose_route()) { if(!match_dialog()) exit; if (is_metho

Re: [OpenSIPS-Users] Setting do_routing

2014-02-04 Thread Nick Cameo
Hello Bogdan, Sorry to re-live this old email however, from what I understand route_to_gw() only takes a single gw? Which function allows for explicit ordered gwlist? Kind Regards, Nick. ___ Users mailing list Users@lists.opensips.org http://lists.ope

[OpenSIPS-Users] Dialog | Topology_hiding

2014-02-04 Thread Wilmar Campos
Hi All, I am using Opensips 1.8.3 and I am trying to setup topology hiding. The problem I have is with bye messages: 15.068600 2.x.x.1 -> 2.x.x.2 SIP Request: BYE sip:2.x.x.2;did=1e4.0a44 15.074164 2x.x.x.2 -> 2.x.x.1 SIP Status: 403 Preload Route denied I think is because of this line:

Re: [OpenSIPS-Users] www_authorize

2014-02-04 Thread bluerain
Ya, that is what I thought, but I was wondering if there is a way to just have the opensips validate on first try because first registration SIP already have the username and password. The reason I ask is that it seems something it will take more then 2 try for opensips to reply a 200OK. So here

[OpenSIPS-Users] www_authorize

2014-02-04 Thread bluerain
Why is it that when I use this function call on registration and opensips will always reject the first registration request and then on the second one it will sent back 200OK? -- View this message in context: http://opensips-open-sip-server.1449251.n2.nabble.com/www-authorize-tp7589427.html Sen

Re: [OpenSIPS-Users] www_authorize

2014-02-04 Thread Vincent DOCQUOIS
http://tools.ietf.org/id/draft-ietf-sip-call-flows-05.txt Chapter 2.1 Vincent Le 4 févr. 2014 à 17:46, bluerain a écrit : > Why is it that when I use this function call on registration and opensips > will always reject the first registration request and then on the second one > it will sent ba

[OpenSIPS-Users] rtpproxy - preserve original session after rejected reinvite

2014-02-04 Thread Jeff Pyle
Hello, This is on Opensips 1.10 and rtpproxy 1.2.1. I have them dual-homed on public and private networks with rtpproxy in bridge mode. Overall, things work well. I've recently encountered a problem I don't know how to solve relating to a T.38 reinvite that is rejected by the public side. rtpp

Re: [OpenSIPS-Users] check if ip address belongs to ip and subnet subscriber

2014-02-04 Thread Nick Altmann
My old script for check subnets for SER: # Check IP belongs to subnet # -- # Parameters: # * $var(ipr_check_net) - network address (ex. "192.168.1.0/24"); # * $var(ipr_check_ip) - ip-address (ex. "192.168.1.1"); # ---

Re: [OpenSIPS-Users] check if ip address belongs to ip and subnet subscriber

2014-02-04 Thread Vlad Paiu
Hello, Internally, when using ip.pton, OpenSIPS stores the binary representation of the IP as a character array ( due to the different size of IPv4 vs IPv6 ), so using the & will not work properly - that's why you're code snippet is not working as expected. Will try to look and see how to fi

[OpenSIPS-Users] accounting problem after failover

2014-02-04 Thread Edwin
I need a little (lot of) help with an accounting problem. I try to deliver an inbound call to the ip of a client. If the transactions times out I route the call outbound to his mobile. (Of course) the outbound call should be accounted (in mysql CDR database). I tried to show routing down here in

[OpenSIPS-Users] [POLL] Locations for the next OpenSIPS Summits

2014-02-04 Thread Bogdan-Andrei Iancu
Hello all, 2013 was an amazing year for the OpenSIPS project! We saw attendance rise at our OpenSIPS Summits in Atlanta and Chicago last year. In 2014 we want to bring summits closer to you. That's why we're conducting a poll for you, our faithful community, to tell us where you would like us