[OpenSIPS-Users] Load Balancer Probing Question

2024-04-11 Thread Alexander Perkins
Hi. I have an interesting issue. We have two OpenSIPS servers with load balancer (with two different group IDs in the lb table) and we have probing set correctly and we are using the event, E_LOAD_BALANCER_STATUS, to capture changes to servers that were probed. But we noticed that we have the sa

[OpenSIPS-Users] $Ri Variable

2024-04-11 Thread Alexander Perkins
Hello! I am trying to get the IP of the interface the request was received on, but I think I am doing something wrong. When I looked at the Core Variables, I found $Ri. So, I added $Ri to the cfg file, but now I am getting: unknown script var $Ri, maybe a 'loadmodule' statement is missing? Whi

Re: [OpenSIPS-Users] another question on sip format's.

2024-04-11 Thread Ben Newlin
As far as I can tell though all the examples are valid for the userinfo portion of the URI. SIP-URI = sip: [ userinfo ] hostport uri-parameters [ headers ] SIPS-URI = sips: [ userinfo ] hostport uri-parameters [ headers ] userinfo

Re: [OpenSIPS-Users] another question on sip format's.

2024-04-11 Thread Bogdan-Andrei Iancu
According to the grammar, the URI params are ONLY after the domain part (see https://www.ietf.org/rfc/rfc3261.html page 222) SIP-URI = "sip:" [ userinfo ] hostport uri-parameters [ headers ] SIPS-URI = "sips:" [ userinfo ] hostport uri-p

[OpenSIPS-Users] another question on sip format's.

2024-04-11 Thread Johan De Clercq
Can param's be added anywhere in a user part. e.g. sip:0123456789;gw=case106@1.2.3.4 //this is for sure valid. sip:gw=case107;0123456789@1.2.3.4 sip:gw=case108;0123456789;gw=case108@1.2.3.4 the fist one is for sure valid, but what about the other two ? BR, ___

Re: [OpenSIPS-Users] Call Center error

2024-04-11 Thread Prathibha B
I changed the message_queue uri in cc_flows table to sip:1...@bp.erss.in. Now getting the following errors in syslog: ERROR:nathelper:fix_nated_contact_f: SCRIPT BUG - second attempt to change URI Contact ERROR:nathelper:fix_nated_contact_f: SCRIPT BUG - second attempt to change URI Contact ERROR

Re: [OpenSIPS-Users] Call Center error

2024-04-11 Thread Prathibha B
when I run opensips-cli -x mi cc_list_agents { "Agents": [ { "id": "101002", "Ref": 0, "Loged in": "NO" }, { "id": "101001", "Ref": 0, "Loged in": "NO" } ] } I've logged in 101001 and 1

Re: [OpenSIPS-Users] Call Center error

2024-04-11 Thread Prathibha B
Cahnged it to $tU, Still getting error. On Thu, 11 Apr 2024 at 15:09, Alain Bieuzent wrote: > Hi, > > > > Something wrong about that part for me : ($(tU) == "112") > > Should be : ($tU == "112") > > > > Regards > > > > *De : *Users au nom de Prathibha B < > prathibhab@gmail.com> > *Répondre

Re: [OpenSIPS-Users] Call Center error

2024-04-11 Thread Prathibha B
Errors in syslog: ERROR:core:parse_uri: bad uri, state 0 parsed: <112@> (4) / <1...@bp.erss.in;cc_pos=0> (23) ERROR:tm:uri2proxy: bad_uri: 1...@bp.erss.in;cc_pos=0 ERROR:b2b_entities:_client_new: while sending request with t_request ERROR:b2b_logic:b2b_process_scenario_init: failed to create new

Re: [OpenSIPS-Users] Call Center error

2024-04-11 Thread Alain Bieuzent
Hi, Something wrong about that part for me : ($(tU) == "112") Should be : ($tU == "112") Regards De : Users au nom de Prathibha B Répondre à : OpenSIPS users mailling list Date : jeudi 11 avril 2024 à 11:03 À : OpenSIPS users mailling list Objet : Re: [OpenSIPS-Users] Call Center

Re: [OpenSIPS-Users] Call Center error

2024-04-11 Thread Prathibha B
bp.erss.in - asterisk bp.erss.in:1443 - opensips On Thu, 11 Apr 2024 at 14:29, Prathibha B wrote: > *I've created the entries in cc_agents and cc_flows table.* > > *cc_agents table* > > ++-++--+---+---+-+

Re: [OpenSIPS-Users] Call Center error

2024-04-11 Thread Prathibha B
*I've created the entries in cc_agents and cc_flows table.* *cc_agents table* ++-++--+---+---+-+-+-+ | id | agentid | location | logstate | msrp_location | msrp_max_ses

[OpenSIPS-Users] Call Center error

2024-04-11 Thread Prathibha B
Getting the following error in call center module ERROR:call_center:set_call_leg: failed to init new b2bua call (empty ID received) Apr 11 14:06:28 etg-virtual-machine /usr/sbin/opensips[1249949]: ERROR:call_center:w_handle_call: failed to set new destination for call Call center code in opensips