Hi,
I need kamailio proxy to reply with an ACK to 200 OK, i.e. the proxy stays in the call:
UAC sends INVITE to kamailio, kamailio forward it to UAS
UAS sends 180 to kamailio, kamailio forward it to UAC
UAS sends 200 to kamailio, kamailio forward it to UAC AND sends ACK to UAS
I was wondering what function I can use so kamailio can generate an ACK message to response to 200 OK.
Apparently both t_reply () and sl_send_reply() functions create responses and not an ACK message.
Thanks,
Alex
_________________________________________________________________
Windows Live™ Hotmail®…more than just e-mail.
http://windowslive.com/howitworks?ocid=TXT_TAGLM_WL_t2_hm_justgotbetter_how…
Hey, I am new at working with SIP Servers and I was wondering if Kamailio
has the same features as Asterisk. I have bought a PCI card for connecting
to the phone line and I want to know how can I make Kamailio aware of this
card or a simple phone modem. I use FreeBSD and the only version that I
found was OpenSer 1.2.
Because I love being me and I love loving her,
SC BMS SRL - Departamentul IT - Nedelcu Andrei
Hi,
I have a route block which issues a t_relay().
route[1]
{
t_relay() ;
}
If this t_relay fails, is there a default reply from openser to caller ?
Let me explain.
In my logs, I have an incoming INVITE, followed 2 ms after t_relay by an
ACK from uac.
The callee never gets the INVITE.
UAC -- INVITE --> openser : t_relay()
UAC -- ACK --> openser
I guess UAC gets a default reply from openser, I want to make sure of it.
I have no ERROR in my log file.
UAC logs tells that openser hang up with a server internal error (no sip
trace, no sip code, just an indication of what cause could be).
This is openser 1.2.0
Is anyone aware f this issue ?
Could someone point me where the 5xx reply is in source code ?
If it is a default reply, is there now an ERROR message before reply ?
Thanks,
Aurelien
Hi,
In a SIP environment with SIP end points (UAC, UAS) and several SIP proxy hubs including openSER, is each hub like openSER supposed to reply with an ACK to 200 OK and BYE messages coming from end points? (i.e. openSER should stay on the call) Or each hub supposed to only propagate all messages including ACKs ?
Thanks,
Alex
_________________________________________________________________
Windows Live™ Hotmail®…more than just e-mail.
http://windowslive.com/howitworks?ocid=TXT_TAGLM_WL_t2_hm_justgotbetter_how…
Hello all
I have a error when i finish the setup of SIREMIS, i have window with
> userid and password when i enter the userid and password i have this
> error
>
> [2009-01-24 19:11:48 (GMT)] An exception occurred while executing this
> script:
> Error message: #0, The mysql driver is not currently installed Script
> name and line number of error:
> /var/www/siremis-0.9.0/openbiz/others/zendfrwk/library/Zend/Db/Adapter
> /Pdo/Abstract.php:104
>
> can you help me please
DISCLAIMER:
This email and any attachments are confidential and are
intended solely for the addressee. If you are not the addressee
tell the sender immediately and destroy it.
Do not open, read, copy, disclose, use or store it in any way,
or permit others to do so. Emails are not secure and may suffer errors,
viruses, delay, interception, and amendment.
Creolink Communications and its subsidiaries do not accept liability
for damage caused by this email and may monitor email traffic.
DENI :
Ce mail, y compris toute piece jointe, est confidentiel.
Il est exclusivement adresse aux destinataires designes.
Si vous le recevez par erreur, veuillez immediatement aviser l'expediteur
et detruisez-le sans l'ouvrir ni le lire.
Toute copie, diffusion, conservation, utilisation sous quelque forme que ce soit
ou l'autorisation de toute personne a le faire est interdite.
Le mail n'est pas un moyen sur et peut contenir des erreurs ou des virus,
comme il peut etre retarde, intercepte ou modifie.
Creolink Communications et ses filiales declinent toute responsabilite
pour des dommages causes par ce mail et se reservent le droit de
controler la circulation des mails.
Hi all,
I have a problem with carrierroute module...I have configured it as follow
in my config file:
loadmodule "carrierroute.so"
######Carrier Route
modparam("carrierroute", "db_url", "mysql://opensips:123456@MYSQL_IP
/opensips")
modparam("carrierroute", "config_source", "db")
In the route function i have created the following function:
if (!cr_route("default", "0", "$rU", "$rU", "call_id")) {
sl_send_reply("403", "Not allowed");
} else {
# In cas of failure, re-route the request
t_on_failure("1");
# Relay the request to the gateway
t_relay();
}
When trying to restart kamailio server I got a the below error:
Jan 24 11:10:22 [12841] DBG:core:fix_actions: fixing sl_reply_error, line
381
Jan 24 11:10:22 [12841] DBG:core:fix_actions: fixing cr_route, line 390
Jan 24 11:10:22 [12841] ERROR:core:pv_parse_spec: bad parameters
Jan 24 11:10:22 [12841] INFO:carrierroute:carrier_fixup: carrier tree
default has id 3
Regards
Hello,
I'm testing the proxy behaviour (Openser 1.3.2) when DNS servers are unreachable and I observe that with few requests that require the DNS, I have the proxy completely blocked, while it could serve all the other methods that don't need the DNS (method with IP adddress or incoming REGISTERs).
I observe that each child process remains suspended until all DNS requests are finished (NAPTR, SRV and A).
If I configure two DNS server and X retransmissions after Y seconds, the child remain suspended for:
2 * X * Y * 3 seconds (3=NAPTR+SRV+A queries)
Even if I set low values for X and Y (X=2 retr and Y=2 sec.) the child is suspended for a long interval:
2*2*2*3=24 seconds.
Is it possible to avoid that chlidren remain suspended?
Is there any configuration param that can reduce this interval?
Is it possibile to introduce a little change in sip_resolvehost (check errno) in order to avoid the SRV and A queries if the NAPTR fails because the DNS servers are unreachable?
**********************************************************************
The information in this message is confidential and may be legally
privileged. It is intended solely for the addressee. Access to this message
by anyone else is unauthorized. If you are not the intended recipient, any
disclosure, copying, or distribution of the message, or any action or
omission taken by you in reliance on it, is prohibited and may be unlawful.
Please immediately contact the sender if you have received this message inerror.
**********************************************************************
Hello,
I'm trying to understand this sample cfg:
http://voip-info.org/wiki/view/OpenSER+And+RTPProxy
This cfg is used as foundation for some of our cfg files here but nobody is
sure about exactly how some things work. So I'm trying to clear things up.
In particular, I am clueless about why there is code removing "nat=yes" from
the URI and adding it to the Contact header (actually I don't know what is
its meaning. I suppose this is a way of a client advertising that it is
behind NAT, but I couldn't find which RFC defines this):
subst_uri('/(sip:.*);nat=yes/\1/')
search_append('Contact:.*sip:[^>[:cntrl:]]*', ';nat=yes');
Is this something that always must be done when dealing with nat or it was a
particular situation that the writer of the cfg had to workaround?
I'm rewriting our cfg file (to be used with m4) and I'm trying to remove
unnecessary things.
Another thing in the cfg: in case a reinvite is issued, should not
unforce_rtp_proxy be called before force_rtp_proxy is called again? Could
this lead to having rtpproxy leaking resources?
<http://www.kamailio.org/docs/modules/1.3.x/nathelper.html#AEN367>
regards,
mayama
My scenario is like that..
UA----->OpenSer(Outbound Proxy)---------Register Server
|
|
|
|
Asterisk(codec converion)----------------------
The UA will register to Register server through outbound proxy OpenSer. When
UA makes call it first comes to Openser, OpenSer should route the media to
Register server through Asterisk for codec conversion. OpenSer will not hold
any User account rather it will act as a proxy.
The way I am thinking.. Openser could be used as outbound proxy that's fine.
If it were used as outbound proxy, can it also route the media? In the
asterisk side I may need username/password pair of UA to dial to Register
Server in the second leg. Can I read the User/Pasword from Openser after UA
is registered to OpenSer. I can have both OpenSer and Asterisk to reside on
the same machine with different IPs so they can access the database if
required..