Hello,
short note for the people that might be interested on the topic -
Allison Smith (aka, the voice of Asterisk) will be on VoIP Users
Conference later today, in about 2 hours, among the topics of discussion
being the Kamailio World 2017. I will also join, trying to squeeze some
updates about upcoming Kamailio 5.0. More details about the online
audio/video conference can be found at:
-
https://www.vuc.me/2017/vuc632-get-ready-for-kamailio-world-2017-with-allis…
The session will start in about 2 hours (17:00UTC), anyone can connect
via webrtc capable browser, SIP or PSTN dial in.
Cheers,
Daniel
--
Daniel-Constantin Mierla
www.twitter.com/miconda -- www.linkedin.com/in/miconda
Kamailio Advanced Training - Mar 6-8 (Europe) and Mar 20-22 (USA) - www.asipto.com
Kamailio World Conference - May 8-10, 2017 - www.kamailioworld.com
Hello,
in our Kamailio, we are using python_exec to execute script used to send
push notifications to Google or Apple.
Currenty, the method we call only accepts the message as parameter. We then
extract from the message the Call Id, to URI and from URI.
Here is the python method signature:
*def SendPushNotification(self, msg)*
To extract the toUri and fromUri (and remove the sip:), we use python regex
:
*uriPattern=re.compile(".*sips?:(.+@[^>;]+)")*
This is working well 99% of the time, except sometimes (we don't know why)
where we get the error:
*logger_LM_ERR(): Exception occurred: Traceback (most recent call last):
File "mypythonExample.py", line XXX, in SendPushNotification
requestUri = self.ExtractURIFromHeader(msg.getHeader("to"))
File "mypythonExample.py", line XXX, in ExtractURIFromHeader
m= self.uriPattern.match(header);
TypeError: an integer is required*
We tried to analyze the cause of this error, but we didn't find any problem
with the message itself (the message is complete, with the *to *and *from
*correctly filled).
So, to avoid using the python regex, we have decided to pass parameters to
the python script (callId, from and to URI):
*def SendPushRequest(self, msg, fromUri, toUri, callid)*
But it seems python_exec doesn't support more than 2 parameters ($mb and
another one). Is this exact? If this is the case, how can we pass several
parameters from kamailio.cfg?
Thx for your help.
Regards
Giovanni
--
View this message in context: http://sip-router.1086192.n5.nabble.com/python-exec-and-parameters-tp155803…
Sent from the Users mailing list archive at Nabble.com.
Hello,
here you can find both video and slides of my presentation at FOSDEM 2017,
Bruxelles:
https://fosdem.org/2017/schedule/event/freeswitch/
Enjoy!
--
Sincerely,
Giovanni Maruzzelli
OpenTelecom.IT
Cell : +39-347-2665618
Hello,
I am running kamailio version 4.4.2. I just configured MSRP module to
kamailio with example config taken from
"http://www.kamailio.org/docs/modules/4.4.x/modules/msrp.html#msrp.usage"
(Example 1.16. Event Route (using htable for MSRP connection tracking).
After configuring msrp relay, the kamailio service has been restarted
succesfully and no errors occurred.
Blink is configured to use my server name with tls and port 5061 for
MSRP.
I get this error on Blink when i try to send files:
https://p.dnaip.fi/X4vwoy40
Any suggestion what is going wrong?
Cheers,
-- Olli
Greetings list,
I want to keep single AOR per contact. If new regitration comes i want to
replace the old record with new.
Suppose User Alice registers from device A and after certain time it try to
register from device B. I want Registration from device B to replace A.
Any pointer is mush appreciated.
Cheers,
Aqs
Hello
I have build rtpengine on a Raspberry PI 3 running Jessie, but it fails
on startup
pi@raspberrypi:/usr/local/src/rtpengine $ rtpengine --log-level=7
--log-stderr
[1486630112.767604] CRIT: Fatal error: Bad command line: Key file does
not start with a group
Most likely I'm missing something which is found on regular PC Linux
distributions. But what?
Googling the error message reveals almost nothing and nothing related to
rtpengine
Any hints will be appreciated.
--
Med venlig hilsen / Best regards
Kjeld Flarup (Christensen) M.Sc E.E, Teknisk chef
Viptel ApS, Hammershusvej 16C, DK-7400 Herning
Telefon: +45 46949949, Telefax: +45 46949950, http://viptel.dk
Hello,
following discussion on mailing lists and at Fosdem over the last
weekend, I am considering to create the git branch 5.0 later this week,
on Thursday, Feb 9, 2017. Afterwards, the master branch can take
commits with new features. The branch 5.0 will be tested for 1-2 more
weeks and if all is fine, the v5.0.0 can be released.
Should anyone have other suggestions, jump into discussion.
Cheers,
Daniel
--
Daniel-Constantin Mierla
www.twitter.com/miconda -- www.linkedin.com/in/miconda
Kamailio Advanced Training - Mar 6-8 (Europe) and Mar 20-22 (USA) - www.asipto.com
Kamailio World Conference - May 8-10, 2017 - www.kamailioworld.com
Hi All,
Just confirming when using nathelper, the fix_nated_register function
is only used to write corrected contact into to $avp then to database,
this function does not actually change the contact in the SIP message
when passing through the proxy, correct?
fix_nated_contact is used to actually change the SIP message contact
when passing through the proxy. I'm using kamailio 4.2.
Thanks.
JR
--
JR Richardson
Engineering for the Masses
Chasing the Azeotrope