Hi,
Does anybody know how to detect whether use_media_proxy is called?
What I want to do is:
Do end_media_session for bye or cancel if & only if use_media_proxy has been
called during invite or reply route.
Is it possible?
If it is then please let me know how to implement it?
Thanks in advance
--
Krunal Patel
Hi guys,
we're using ser 0.9.7 on Debian/Lenny together with FreeRADIUS. Authentication against the RADIUS already works basically for our sip clients. Now we want to make the contact information persisting restarts of SER. Is there a way to store the contact information for the registered sip clients in the radius database or must an additional database, e.g. mysql or postgres, used for that?
Regards,
Robert
____________________________________________________________________
Psssst! Schon vom neuen WEB.DE MultiMessenger gehört?
Der kann`s mit allen: http://www.produkte.web.de/messenger/?did=3123
I want to authenticate in openser some users which are in asterisk conf (to do load balancing with another asterisk).
If I delete the user from the asterisk config and insecure=invite for the openser, asterisk accept the call, but, I want that asterisk see that it is that user which is doing the call.
Cordialement,
BERGANZ François
http://www.acropolistelecom.net
Pensez à l'Environnement, n'imprimez ce mail que si nécessaire.
-----Message d'origine-----
De : Andrew V.Statsenko [mailto:alter@siptalk.ru]
Envoyé : jeudi 18 décembre 2008 11:00
À : BERGANZ François
Objet : ***SPAM*** Re: [Kamailio-Users] openser and asterisk auth problem.
В Чтв, 18/12/2008 в 10:31 +0100, BERGANZ François пишет:
> -----I have that error:
> <--- SIP read from UDP://192.168.1.156:5060 --->
> INVITE sip:33662971130@192.168.1.156 SIP/2.0
> Record-Route: <sip:192.168.1.156;lr=on;ftag=0c46027a>
> Via: SIP/2.0/UDP 192.168.1.156;branch=z9hG4bK20d2.de427962.0
> Via: SIP/2.0/UDP 192.168.1.60:43490;branch=z9hG4bK-d8754z-c15d2350d0742a11-1---d8754z-;rport=43490
> Max-Forwards: 70
> Contact: <sip:6833211245@192.168.1.60:43490>
> To: "33662971130"<sip:33662971130@192.168.1.156>
> From: "6833211245"<sip:6833211245@192.168.1.156>;tag=0c46027a
> Call-ID: YTkxOWU5MGJjZjJhMWFmODZhMzZkMTU1YzUzYjUyMTc.
> CSeq: 2 INVITE
> Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE, SUBSCRIBE, INFO
> Content-Type: application/sdp
> User-Agent: X-Lite release 1100l stamp 47546
> Content-Length: 231
[..]
> <------------->
> --- (14 headers 10 lines) ---
> Sending to 192.168.1.156 : 5060 (no NAT)
> Using INVITE request as basis request - YTkxOWU5MGJjZjJhMWFmODZhMzZkMTU1YzUzYjUyMTc.
> Found user '6833211245' for '6833211245'
This is the key trouble in your configuration: Asterisk trying to
authenticate this call as call from _user_ (INVITE->401->INVITE+auth),
but not as _peer_.
Will you describe us where you want to authenticate you users :
- at the OpenSER frontend (BTW, I don't see auth headers in first
INVITE)
- or in the Asterisk backend ?
Which service logic you are building ?
--
WBR,
Alter
Message: 1
Date: Wed, 17 Dec 2008 16:29:56 +0200
From: TCB <tawandac(a)gmail.com>
Subject: [Kamailio-Users] serMyAdmin error
To: users <users(a)lists.kamailio.net>
Message-ID:
<f9db9e000812170629v34e6e1edr2a472912427c78eb(a)mail.gmail.com>
Content-Type: text/plain; charset="iso-8859-1"
I'm trying to install serMyAdmin using a remote mysql DB. I keep getting
the
following error.
Caused by: org.springframework.jdbc.CannotGetJdbcConnectionException: Could
not get JDBC Connection; nested exception is
com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link
failure
I changed context.xml to point to the remote DB.
Where else should i change DB the credential
--
TC
Please try to connect to your database using mysql command line, to check if your permissions are ok. I will verify the JDBC connection with a remote database. Regards, Flavio E. Goncalves
Hello,
I have :
ASTERISK-----OPENSER-----SOFTPHONE
My softphone auth to openser (with username/password of asterisk sync with a
database )
Openser forward the INVITE to asterisk and asterisk return Unautorize!
I tried to have the same realm to try de have the same auth for asterisk and
openser
But without success.
In fact, I need to auth to openser(with asterisk config user in the
database) and forward to asterisk the INVITE.
Thank you
Cordialement,
BERGANZ François
P Pensez à l'Environnement, n'imprimez ce mail que si nécessaire.
Hi all,
I've been able to rewrite R_URI based on prefix matching in the
carrierroute module, using:
cr_route("default", "0", "$rU", "$rU", "call_id")
I used this to normalize the ruri to E164:
ex: in france, the country code is +33, if someone dials "01 10 10
10 10", I strip the first 0 and prefix with 33 so that I get 331 10 10
10 10 (space are there for convenience :p)
What I'd like to do is to use the carrierroute module to do the same but
for from uri:
ex: I receive a call on my phone with a caller using e164 (from_uri:
331 20 20 20 20) and I'd like to present this number as 01 20 20 20 20
to the callee.
I added a prefix 331 in the carrierroute tables.
I tried this:
- cr_route("default", "0", "$fU", "$fU", "call_id")
- cr_route("default", "0", "$fU", "$fU", "from_uri")
- cr_route("default", "0", "$fU", "$rU", "call_id")
- cr_route("default", "0", "$fU", "$rU", "from_uri")
but I've been unsuccessful with this.
Is there a way to achieve from_uri translation using the carrierroute
module.
Regards,
rod
Hello,
I know kamailio, but, I dont know how to do :
Call between 2phone which are registered !
Know you how to do ?
Cordialement,
BERGANZ François
P Pensez à l'Environnement, n'imprimez ce mail que si nécessaire.
I'm trying to install serMyAdmin using a remote mysql DB. I keep getting the
following error.
Caused by: org.springframework.jdbc.CannotGetJdbcConnectionException: Could
not get JDBC Connection; nested exception is
com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link
failure
I changed context.xml to point to the remote DB.
Where else should i change DB the credential
--
TC
--
TC
Is this an issue?
Dec 16 14:47:45 fndipt03 cdrtool[10738]: Database error: failed to request
mysql lock ()
Dec 16 14:47:45 fndipt03 cdrtool[10738]: Unlock ser_radius:radacct
Dec 16 14:47:45 fndipt03 cdrtool[10738]: Error in unLockNormalization()
The only problem I have is I am unable to get the pricing to work, but I
think that may be unrelated...
Thanks