Re: [SR-Users] Rewrite From domain

2017-01-02 Thread Gonzalo Gasca Meza
2nd try. Thanks On Fri, Dec 30, 2016 at 1:28 PM, Gonzalo Gasca Meza wrote: > Hi Igor, > Please look for "Masking Twilio call from:" > > > On Sun, Dec 25, 2016 at 12:47 PM, Igor Olhovskiy > wrote: > >> According to your Pastebin, I couldn’t find in log strings “Masking call >> from”. So, I assum

[SR-Users] Kamailio cancel branch only after receiving replies

2017-01-02 Thread Aqs Younas
Greetings list, I am forking a call to multiple destinations and want to keep the only branch which sends quicker first 180/183 reply and cancel the remaining branches. Below is my related cfg snippet. modparam("tm", "failure_reply_mode", 3) modparam("tm", "fr_timer", 3) modparam("tm", "fr_in

Re: [SR-Users] Help Asterisk with Kamailio unable to register with remote VOIP providers

2017-01-02 Thread Manoj Gupta
Hi Daniel, If it is not too much asking, please Can you help me in giving instructions on how to disable kamailio from my asterisk. I am much happier that way. This kamailio integration came with Elastix MT and it has made my life miserable. Please HELP! Manoj K. Gupta Principal Consultant | T

Re: [SR-Users] Help Asterisk with Kamailio unable to register with remote VOIP providers

2017-01-02 Thread Daniel Grotti
Kamailio-asterisk doc: http://kb.asipto.com/asterisk:realtime:kamailio-4.0.x-asterisk-11.3.0-astdb There are tones of documentation about kamailio out there. Consider to check SIP protocol as well (rfc3261). -- Daniel Grotti On 01/02/2017 06:18 PM, Manoj Gupta wrote: Now we are getting SIP

Re: [SR-Users] Help Asterisk with Kamailio unable to register with remote VOIP providers

2017-01-02 Thread Manoj Gupta
Now we are getting SIP/2.0 500 I'm terribly sorry, server error occurred (7/SL) Where can we refer documentation on basic stuff like this. I have been searching docs and finding nothing! Retransmitting #1 (NAT) to 103.35.68.236:5060: REGISTER sip:ims.airtel.in SIP/2.0 Via: SIP/2.0/UDP 103.35.68.

Re: [SR-Users] Help Asterisk with Kamailio unable to register with remote VOIP providers

2017-01-02 Thread Daniel Grotti
You should add "ims.airtel.in" as kamailio local domain, in your kamailio.domain table. -- Daniel Grotti On 01/02/2017 05:31 PM, Manoj Gupta wrote: HI Daniel, Here is another problem. Kamailio responds with SIP/2.0 478 Unresolvable destination (478/SL) to REGISTER requests sent by asteris

Re: [SR-Users] Help Asterisk with Kamailio unable to register with remote VOIP providers

2017-01-02 Thread Manoj Gupta
HI Daniel, Here is another problem. Kamailio responds with SIP/2.0 478 Unresolvable destination (478/SL) to REGISTER requests sent by asterisk for VOIP provider. Domain "ims.airtel.in" does not exist. Where can we map this in kamailio.cfg? Retransmitting #3 (NAT) to 103.35.68.236:5060: REGISTER

Re: [SR-Users] Help Asterisk with Kamailio unable to register with remote VOIP providers

2017-01-02 Thread Manoj Gupta
Hi, I am not sure where exactly you want to put this line: xlog("L_NOTICE", "This is a standard log line\n"); I had put the same in kamailio.cfg under route 1. Our xlog.so is in /usr/lib64/kamailio/modules and it is getting loaded in modules section of kamailio.cfg. 2. I did everything else as

Re: [SR-Users] location

2017-01-02 Thread Slava Bendersky
Hello Daniel, I am trying save user contact on reply 200 OK from freeswitch. Contact is set in $avp(aor) which contain updated user location. Slava. From: "miconda" To: "volga629" , "sr-users" Sent: Monday, January 2, 2017 10:45:34 AM Subject: Re: [SR-Users] location Hello, the t

Re: [SR-Users] Help Asterisk with Kamailio unable to register with remote VOIP providers

2017-01-02 Thread Daniel Grotti
Hi, please configure this in your kamailio.cfg: debug=3 # debug level, 1 is low and 4 is high (lots of output) log_facility=LOG_LOCAL7 ... loadmodule "/usr/local/lib/kamailio/modules/xlog.so" ... As well as this in your rsyslog.cfg: # Kamailio (OpenSER) messages, make sure this spacing is

Re: [SR-Users] Help Asterisk with Kamailio unable to register with remote VOIP providers

2017-01-02 Thread Manoj Gupta
Hi Daniel, Thanks for the quick revert! Yes we have configured the same in /etc/rsyslog.conf as we do not have /etc/syslog.conf Once we restart the rsyslog service we can see /var/log/kamailio file is getting created as below: [root@mt log]# pwd /var/log [root@mt log]# ls -l kamai* -rw---

[SR-Users] Help Asterisk with Kamailio unable to register with remote VOIP providers

2017-01-02 Thread Manoj Gupta
Request to all - Please help we are BADLY stuck in this asterisk 11.13 and Kamailio 4.1 integration provided with Elastix MT Our Configuration is like this: Asterisk IP - 10x.3x.6x.236 port 5080 Kamailio IP - 10x.3x.6x.236 port 5060 Please see our kamailio.cfg attached. Issue 1: I

Re: [SR-Users] location

2017-01-02 Thread Daniel-Constantin Mierla
Hello, the third parameter is not for contact, it is the address of record -- the user address, eg., al...@sipdomain.com, not al...@phone.ip What exactly do you need to achieve? Maybe there are other options that you can use. Cheers, Daniel On 02/01/2017 15:12, Slava Bendersky wrote: > Hello Da

Re: [SR-Users] Help Asterisk with Kamailio unable to register with remote VOIP providers

2017-01-02 Thread Daniel Grotti
Hi, have you configured kamailio in order to log to /var/log/kamailio instead of syslog ? https://www.kamailio.org/dokuwiki/doku.php/utils:basic-syslog-configuration -- Daniel Grotti On 01/02/2017 03:36 PM, Manoj Gupta wrote: Request to all – Please help we are BADLY stuck in this asterisk

[SR-Users] Help Asterisk with Kamailio unable to register with remote VOIP providers

2017-01-02 Thread Manoj Gupta
Request to all - Please help we are BADLY stuck in this asterisk 11.13 and Kamailio 4.1 integration provided with Elastix MT Our Configuration is like this: Asterisk IP - 10x.3x.6x.236 port 5080 Kamailio IP - 10x.3x.6x.236 port 5060 Please see our kamailio.cfg attached. Issue 1: I

Re: [SR-Users] location

2017-01-02 Thread Slava Bendersky
Hello Daniel, Meaning if(!save("location", "0x04", "$var(aor)")) ---> $var(aor) ignored. It use default Contact. Here are the log $var(aor) = "sip:" + $tU + "@" + $(avp(rcvcontact){uri.host}) + ":" + $(avp(rcvcontact){uri.port}); INFO:

Re: [SR-Users] location

2017-01-02 Thread Daniel-Constantin Mierla
Hello, what do you mean by "will ignore on pv var"? Is the record not saved at all or the value of pv var is not used? Cheers, Daniel On 02/01/2017 14:37, Slava Bendersky wrote: > Hello Everyone, > Is possible get help on issue ? I asked on IRC channel and another > person so same problem with

Re: [SR-Users] location

2017-01-02 Thread Slava Bendersky
Hello Everyone, Is possible get help on issue ? I asked on IRC channel and another person so same problem with location save ? Slava. From: "volga629" To: "sr-users" Sent: Monday, December 26, 2016 1:13:49 PM Subject: [SR-Users] location Hello Everyone, Why save location will ignore

Re: [SR-Users] Freezing for release v5.0.0

2017-01-02 Thread Daniel-Constantin Mierla
Hello, short reminder that the plan is to freeze the development for v5.0.0 in about 3 days - on Wednesday, Jan 4, 2017. Should anyone have anything to push as a new feature, commit or make the pull requests by the end of that day. Have a great 2017, Daniel On 14/12/2016 10:20, Daniel-Constant