sercmd has help that lists the commands, one of which is mi. is there
a way to list all mi sub-commands? i have tried
ip-proxy_ctl> help mi
Execute MI command
sip-proxy_ctl> mi help
error: 500 - command not available
-- juha
i just noticed that my sip-proxy_ctl (alias kamailio_ctl) command has
stopped working. it now adds an extra _ctl to the socket file name:
# sip-proxy_ctl
ERROR: connect_unix_sock: connect(/tmp/sip-proxy_ctl_ctl): No such file or directory [2]
any idea where that comes from or it is only me, who has this problem?
i have not changed anything the command used to work fine earlier.
-- juha
Hello,
I am attempting to tear down a call with a BYE packet generated
externally (kind of similar to Kamailio fifo dlg_end_dlg).
Let me describe what I am trying to do in more depth and then I will
continue to tell you the problem I think I am experiencing.
[PSTN SIP Proxy] -> [CORE SIP Proxy] -> [REGISTRAR] -> [UAC]
So the above layout is the normal call flow / structure of calls (incoming
when originating from pstn) (outgoing when originating from uac).
I then have an "external" host - I am attempting to generate a BYE to [CORE
SIP Proxy] and have it go both directions [PSTN] + [UAC].
So far I am able to get the call to tear down in only a single direction
(only kill call with PSTN) or (only kill call with UAC).
I have not been able to kill both legs of the call.
I have tried sending a single BYE and using some dlg_bye("all") magic.
- does not work, only kills one leg of the call.
I have tried sending a BYE message to SIP Proxy for each leg (two BYE).
- does not work, only kills one leg of the call.
If I alternate the later method's BYE packet and only send A or B and not
both Leg A or B will be killed... I think I am running into a race
condition where the dialog is destroyed before the 2nd BYE packet is
processed.
My Question - what am I doing wrong - or what is the best method to tackle
this task?
Thank you for all of your help and time in advance.
Sincerely,
Brandon Armstead
Hi Hugh,
it works now.
Thank you!
Uwe
> -----Ursprüngliche Nachricht-----
> Von: sr-users-bounces(a)lists.sip-router.org
> [mailto:sr-users-bounces@lists.sip-router.org]Im Auftrag von
> Hugh Waite
> Gesendet: Mittwoch, 2. November 2011 12:52
> An: SIP Router - Kamailio (OpenSER) and SIP Express Router (SER) -
> UsersMailing List
> Betreff: Re: [SR-Users] Siremis: cannot enter domain in "New
> Subscriber"window
>
>
> Hi Uwe,
>
> Domains are configured in Server Services->Domain List.
> These are the
> domains which the kamailio server is responsible for.
> When they have been entered there, they will appear in the drop-down
> list when adding users.
>
> Regards,
> Hugh
>
> On 02/11/2011 11:33, Uwe Andersen wrote:
> > Hi,
> >
> > I want to add a new user. So I choose "add" from the
> "Subscriber Management" page.
> > On the "New Subscriber" page I can enter username,
> password, email-address, etc.
> > But the line for "domain" seems to be an empty dropdown entry.
> > I cannot choose, add or edit anything.
> > As a result I cannot save the new user because Siremis
> complains about the empty domain field.
> >
> > After adding a user by command line("kamctl add ...") the
> user appears on the management page.
> > If I edit that user via Siremis the line for domain is not
> a dropdown but a "normal" text field.
> >
> > Can somebody explain this?
> >
> > BR,
> > Uwe
> >
> > P.S.: I'm using Siremis 2.0 and Kamailio 3.2.0.
> >
> > _______________________________________________
> > SIP Express Router (SER) and Kamailio (OpenSER) - sr-users
> mailing list
> > sr-users(a)lists.sip-router.org
> > http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>
>
> --
> --
> Hugh Waite
> Senior Design Engineer
> Crocodile RCS Ltd.
>
>
> _______________________________________________
> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users
> mailing list
> sr-users(a)lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>
Hi,
I want to add a new user. So I choose "add" from the "Subscriber Management" page.
On the "New Subscriber" page I can enter username, password, email-address, etc.
But the line for "domain" seems to be an empty dropdown entry.
I cannot choose, add or edit anything.
As a result I cannot save the new user because Siremis complains about the empty domain field.
After adding a user by command line("kamctl add ...") the user appears on the management page.
If I edit that user via Siremis the line for domain is not a dropdown but a "normal" text field.
Can somebody explain this?
BR,
Uwe
P.S.: I'm using Siremis 2.0 and Kamailio 3.2.0.
Hi,
I am a new user of Kamailio, and I am working on enabling the App_Python module in Kamailio..
While searching on google, I came acroos your email on the forum where you people are trying to patch the App_Python module..
I am wandering whether you can please help a bit ..
1- How to do the configuration to enable the App_python module ? .. At the moment, I am just adding the following line in the configuration file, loadmodule "app_python.so" and just correcting the path to handler.py to the right directory in the code for script path.
2- What output we should expect when we enable the app_python module ? .. I have seen the handler.py script written in python which is printing some sip message information ? ..
3- How the SIP Message structure is being passed to handler.py ? ... How we are accessing the Router module in handler.py script and LM_ERR function from Kamailio ? ..
Any help in this regards shall be really helpful .. In any case, whether you can solve this issue or not, please reply the email..
With many thanks..
Kind Regards,
Nasir
i made call sdp_keep_codecs_by_name("PCMU,PCMA,speex"); on an invite
request and it didn't keep speex although it was in the sdp:
Session Description Protocol
Session Description Protocol Version (v): 0
Owner/Creator, Session Id (o): sems 1 1 IN IP4 192.98.102.10
Session Name (s): sems
Connection Information (c): IN IP4 192.98.102.10
Time Description, active time (t): 0 0
Media Description, name and address (m): audio 40000 RTP/AVP 101 102 8 0 3 2 9 96 97 98 99 100
Media Attribute (a): rtpmap:101 iLBC/8000
Media Attribute (a): rtpmap:102 speex/8000
Media Attribute (a): rtpmap:8 PCMA/8000
Media Attribute (a): rtpmap:0 PCMU/8000
Media Attribute (a): rtpmap:3 GSM/8000
Media Attribute (a): rtpmap:2 G721/8000
Media Attribute (a): rtpmap:9 g722/8000
Media Attribute (a): rtpmap:96 telephone-event/8000
Media Attribute (a): rtpmap:97 G726-32/8000
Media Attribute (a): rtpmap:98 G726-24/8000
Media Attribute (a): rtpmap:99 G726-40/8000
Media Attribute (a): rtpmap:100 G726-16/8000
it is so that sdpops module does not support codecs, whose ids are
dynamic, but only codecs with static ids?
-- juha
Hi,
I am trying to enable the app_python module in Kamailio to run a simple python script externally parallel with Kamailio proxy,
While I try to load the module "app_python.so" in configuration file, the Kamailio server fails to start.. I can't see what is the problem ..
The steps, I am following are that:
- Script written in python saved in home directory.
- Loadmodule "app_python.so" statement in configuration file.
- Modparam("app_python", "script_name", "location of script")
- Python_exec("function", "parameters list") ..
I have also tried to check the Kamailio configuration option, It gives following warning,
0(2942) WARNING: <core> [sr_module.c:584]: /usr/local/lib64/kamailio/modules/app_python.so: exports dlflags interface is deprecated and it will not be supported in newer versions; consider using mod_register() instead
I am wandering if any one can please help in this matter, I shall be very thankful ..
With many thanks ..
Kind Regards,
Nasir
Muhammad Nasir Bhutta
Solutions Architect
Britannic Technologies Ltd
t: +44 1483 544812
f: +44 845 0501001
mbhutta(a)btlnet.co.uk<mailto:mbhutta@btlnet.co.uk>
www.btlnet.co.uk<http://www.btlnet.co.uk>
[cid:image001.jpg@01CC881F.1EA78300]<http://www.linkedin.com/company/britannic-technologies/products>[cid:image002.jpg@01CC881F.1EA78300]<http://www.twitter.com/BritannicTech>[cid:image003.jpg@01CC881F.1EA78300]<http://www.facebook.com/pages/Britannic-Technologies/202957249732198>[cid:image004.jpg@01CC881F.1EA78300]<http://www.youtube.com/user/BritannicTech>
________________________________
[cid:image007.jpg@01CC881F.4A995BF0]<http://www.btlnet.co.uk/>
Watch the Telegraph Business Club video about Britannic at our educational TV site - britannictech.tv<http://britannictech.tv>
Our 8th Annual Convergence Summit is being held at Silverstone on 17th November 2011. Book your place now<http://www.btlnet.co.uk/news--events/2011/convergence-summit-2011/register> and discover the world of Hosting and Cloud Services.
________________________________
This email and any files transmitted with it are confidential and intended for the addressee only. If you are not the intended recipient please notify the sender and delete this email. The views expressed in this email are personal, and do not constitute a commitment by Britannic Technologies Ltd unless specified by a separate, written agreement.
Registered Office: Britannic House, Merrow Business Park, Guildford, Surrey GU4 7WA. Registered in England no. 2090797.
________________________________
Hi,
I have successfully installed the app_python module for the default example of handler.py ..
Now, I need to see the output of handler.py,.. I have following questions:
1- What is the output of this module ? does it prints the specific message information extracted from SIP message ?
2- How to write modparam and python_exec in configuration file ? I have tried to write modparam("app_python", "mod_init") but, it gives error and says to use mod_register function instead and I don't know more about mod_register function.
3- I have also tried to use python_exec("child_init", 2) , The Kamailio starts successfully.. When, I connect a soft client to Kamailio, then nothing happens ? How to see the output of handler.py script .
Any help in this regards shall be really appreciated ..
With thanks.
Kind Regards,
Nasir