Hi,
I am relaying all registration to another proxy server using t_relay,
any way to save the reply from that proxy to my "location" if the
authentication is successful.
Regards
Riaz
Hi all,
I'm running SER 0.9.6 on a Debian Etch, compiled it from source, using
etch's libmysqlclient5 to connect a mysql server 5.0.20 (running on a
different server, but on the same LAN)
>From my ser.cfg:
modparam("usrloc", "db_mode", 1)
modparam("usrloc", "timer_interval", 10)
modparam("usrloc", "use_domain", 1)
modparam("usrloc", "db_url", "mysql://ser:xxxxx@x.x.x.x:3306/ser")
When I start SER, everything seems to be fine for a while.
After about one day, when I unplug my UAC and the registration expires,
SER can not remove it from the database because it says:
Oct 18 14:47:07 sip ser[21813]: Binding
'1111111(a)1.2.3.4','sip:1111111@2.3.4.5:1164' has expired
Oct 18 14:47:07 sip ser[21813]: submit_query(): mysql_ping failed
Oct 18 14:47:07 sip ser[21813]: submit_query(): MySQL server has gone away
Oct 18 14:47:07 sip ser[21813]: db_delete: Error while submitting query
Oct 18 14:47:07 sip ser[21813]: db_del_ucontact(): Error while deleting
from database
Oct 18 14:47:07 sip ser[21813]: wt_timer(): Error while deleting contact
from database
If I restart SER, everything works fine (for a while) again.
I'm sure that _NO_ONE_ was restarted the MySQL server during the test
period.
I can reproduce it at any time.
Is it a known issue, or do I have a special case ?
Every comments are welcome.
Thanks,
Mitya
Hello everybody
are there any plans to support RFC 3841 in SER?
Specifically, I am looking at the 'Accept-Contact' and the
'Request-Disposition' header fields.
Thanks
Stefan
---------- Forwarded message ----------
From: RaviPrakash <ravi.prakash(a)troopsoftware.com>
Date: Oct 18, 2007 3:25 PM
Subject: Regarding on Implementation the Music On Hold With OpenSER as SIP
Proxy Server.
To: adamlinford(a)oralnet.co.uk
Cc: sunkara.raviprakash.feb14(a)gmail.com
Hello
Regarding on Implementation the Music On Hold with Opener as SIP Proxy.
As I know OpenSER is not Media Proxy Server.
But I want to implement below call flow, that Bob has to Send the REFER
method To Media Server ( Asterisk ).
But I Don't want this ( Alice --invite_bob---> OpenSER ----
invite_bob-->Asterisk-----invite_bob---> openser---> Bob ) this scenario
will work ..
That User Agent has to send the REFER method to OpenSER Proxy through -->
Asterisk.
Alice Bob
Media Proxy..
*Plz let me know, If anything is missed or something is else...*
*Thanks & Regards*
*Ravi Prakash Sunkara*
*Troop Software*
--
Thanks &Regards
Ravi Prakash Sunkara
VoIP Development Tech Lead
no, it is saying that "sip:alice;day=<mailto:tuesday@atlanta.com>tuesday(a)atlanta.com" is the username
(consistiing of semicolon, equal sign, etc.) A strange but a valid one.
The only deficit to my knowledge is not expanding % escapes. (perhaps you want
to report it in JIRA?)
-jiri
p.s. some of the questions you had asked previously are addressed in the new oob.cfg
-- feel free to check it out and give feeback.
At 11:36 18/10/2007, Tomasz Zieleniewski wrote:
>Hi,
>
>According to rfc 3261:
>
>
>
>19.1.3 Example SIP and SIPS URI
>
>
>
> sip:alice;day=<mailto:tuesday@atlanta.com>
>tuesday(a)atlanta.com
>
> The last sample URI above has a user field value of
> "alice;day=tuesday". The escaping rules defined above allow a
> semicolon to appear unescaped in this field. For the purposes of
>
> this protocol, the field is opaque. The structure of that value is
> only useful to the SIP element responsible for the resource.
>
>
>in such case shouldn't the lookup_user($tu.uid, @ruri) method analyze only the username part before semicolon
>for the lookup??
>
>Waiting for Your Feedback
>Bests
>Tomasz
>_______________________________________________
>Serusers mailing list
>Serusers@lists.iptel.orghttp://lists.iptel.org/mailman/listinfo/serusers
--
Jiri Kuthan http://iptel.org/~jiri/
Hello
Regarding on Implementation the Music On Hold with Opener as SIP Proxy.
As I know OpenSER is not Media Proxy Server.
But I want to implement below call flow, that Bob has to Send the REFER
method To Media Server ( Asterisk ).
But I Don't want this ( Alice --invite_bob---> OpenSER ----
invite_bob-->Asterisk-----invite_bob---> openser---> Bob ) this scenario
will work ..
That User Agent has to send the REFER method to OpenSER Proxy through -->
Asterisk.
Alice Bob
Media Proxy..
*Plz let me know, If anything is missed or something is else...*
*Thanks & Regards*
*Ravi Prakash Sunkara*
VoIP Development Tech Lead
Hi,
According to rfc 3261:
19.1.3 Example SIP and SIPS URI sip:alice;day=tuesday@atlanta.com
The last sample URI above has a user field value of
"alice;day=tuesday". The escaping rules defined above allow a
semicolon to appear unescaped in this field. For the purposes of
this protocol, the field is opaque. The structure of that value is
only useful to the SIP element responsible for the resource.
in such case shouldn't the lookup_user($tu.uid, @ruri) method analyze only
the username part before semicolon
for the lookup??
Waiting for Your Feedback
Bests
Tomasz
At 04:59 18/10/2007, roayu wrote:
>Hi Jiri!
>
>Actually, I'm using Sjphone and SPA942 to do the call transfer. I'm calling
>using Sjphone A to SPA942, then use the SPA942 to transfer the call to
>Sjphone B.
>
> SJPhone A --> SPA942 --> SJPhone B
>
>After a short conversation with SJPhone B, then I press the 'xfer' button on
>the 2nd time so that both SJPhone A and SJPhone B can talk to each other.
>But the call couldn't be transferred to SJPhone B whereas when I used
>Asterisk, it's able to do so.
>
>I've tried to disable the Digest-qop but it still couldn't perform the
>transfer properly. What other settings that I need to configure on SER?
I'm afraid you've gotta analyze SIP message dumps to figure out what's gone wrong. -jiri
>Thanks and really appreciate on your reply.
>
>Cheers,
>Roa Yu
>
>
>-----Original Message-----
>From: Jiri Kuthan [mailto:jiri@iptel.org]
>Sent: Thursday, October 18, 2007 9:16 AM
>To: roayu
>Cc: serusers(a)lists.iptel.org
>Subject: Re: [Serusers] Get RealTime Online Users status
>
>At 10:37 10/10/2007, roayu wrote:
>>Oh, I got it! Thanks Jiri!
>>
>>Btw, I have another questions.
>>1) I would like to know can call transfer being done when the
>>connection is P2P?
>
>you mean without a proxy? sure it can.
>
>> When I tried to use relay (mediaproxy) to do the call transfer,
>it's
>>able to transfer the call to the other party whereas when the condition
>is
>>P2P, it just can't pass the correct signal.
>
>that's apparently unrelated to use of media proxy. you would have to
>check the SIP dumps what's going wrong. Unfortunately I can't promise
>I would help to review those -- my to-do-list is endless these days.
>Perhaps someone else on the list will.
>
>
>>2) Can SER support SPA942 ? Or is there some settings that I need to
>>configure on SER ?
>
>yes.
>well for some SPAs you may need to disable digest-qop since they have a bug.
>(don't ask me which though).
>
>-jiri
>
>
>
>>Thanks.
>>
>>Cheers,
>>Roa Yu
>>
>>-----Original Message-----
>>From: Jiri Kuthan [mailto:jiri@iptel.org]
>>Sent: Wednesday, October 10, 2007 2:56 PM
>>To: roayu; SIP
>>Cc: serusers(a)lists.iptel.org
>>Subject: Re: [Serusers] Get RealTime Online Users status
>>
>>yes, set usrloc's database mode to 1. -jiri
>>
>>At 03:32 10/10/2007, roayu wrote:
>>
>>>Thanks for your reply. I found that it's only update after around 30
>>>seconds. Is there anyway that I can fasten the update on the database?
>>>
>>>Thanks.
>>>
>>>Cheers,
>>>Roa Yu
>>>
>>>-----Original Message-----
>>>From: SIP [mailto:sip@arcdiv.com]
>>>Sent: Tuesday, October 09, 2007 9:14 PM
>>>To: roayu
>>>Cc: serusers(a)lists.iptel.org
>>>Subject: Re: [Serusers] Get RealTime Online Users status
>>>
>>>roayu wrote:
>>>>
>>>> Hi there!
>>>>
>>>> Can anyone tell me how to get the RealTime Online user status other
>>>> than using command '*serctl ul show*'? Or how can I store the realtime
>>>> online user status to the MySQL db?
>>>>
>>>> Thanks.
>>>>
>>>> Cheers,
>>>>
>>>> Roa Yu J
>>>>
>>>> ------------------------------------------------------------------------
>>>>
>>>> _______________________________________________
>>>> Serusers mailing list
>>>> Serusers(a)lists.iptel.org
>>>> http://lists.iptel.org/mailman/listinfo/serusers
>>>>
>>>The location table in the MySQL database stores what are, in effect,
>>>currently online users. It is, however, only an approximation. When a UA
>>>registers, it sends an expiration time on its registration and that gets
>>>stored in the location table. If the user disconnects without cancelling
>>>his registration (some UAs send am expire register message to 'log out'
>>>and some don't), then the data may still be in the table until the
>>>expire time occurs. Realistically, though, you can get a good idea of
>>>currenly online users using the location table and while it may not be
>>>100% accurate, it's close enough for government work, as it were.
>>>
>>>N.
>>>_______________________________________________
>>>Serusers mailing list
>>>Serusers(a)lists.iptel.org
>>>http://lists.iptel.org/mailman/listinfo/serusers
>>
>>
>>
>>--
>>Jiri Kuthan http://iptel.org/~jiri/
>>_______________________________________________
>>Serusers mailing list
>>Serusers(a)lists.iptel.org
>>http://lists.iptel.org/mailman/listinfo/serusers
>
>
>
>--
>Jiri Kuthan http://iptel.org/~jiri/
>_______________________________________________
>Serusers mailing list
>Serusers(a)lists.iptel.org
>http://lists.iptel.org/mailman/listinfo/serusers
--
Jiri Kuthan http://iptel.org/~jiri/
Hi,
try telnet to be sure if no one is listening on that port.
[root@XXXXX]# telnet yourhost 8000
if you are not running openxcap in debug mode, check out the messages to
see if your xcap server is really not listening. Later on just set up
the Root URI properly on both, the server and your client.
Cheers,
Cesar
------------------------------
Message: 2
Date: Wed, 17 Oct 2007 13:11:47 +0200
From: "Gregorio" <goyo.villalba(a)dialcom.com>
Subject: [OpenSER-Users] OpenXcap fails to start the HTTP on port
To: <users(a)openser.org>
Message-ID: <003e01c810ae$825c4c60$8714e520$@villalba@dialcom.com>
Content-Type: text/plain; charset="iso-8859-1"
Hi all.
Finally (buff!!) I could configure openXcap, after executing openxcap
start the log says:
[-] Log opened.
[-] Starting Open XCAP 0.9.4
[-] Supported Root URIs: http://192.168.1.206
[-] twisted.web2.channel.http.HTTPFactory starting on 8000
And nothing else, no more logs displayed. OpenXcap process is running in
the
machine:
[root@XXXXX]# ps -ef|grep xcap
root 926 1 0 18:02 ? 00:00:00 /usr/bin/python
/etc/rc.d/init.d/openxcap start
But no one is listening in port 8000, neither before executing xcap nor
after.
I havent found any error in any log so I dont know what is going on.
Anyone can help me?
Thanks.
Gregorio
Hi Jiri!
Actually, I'm using Sjphone and SPA942 to do the call transfer. I'm calling
using Sjphone A to SPA942, then use the SPA942 to transfer the call to
Sjphone B.
SJPhone A --> SPA942 --> SJPhone B
After a short conversation with SJPhone B, then I press the 'xfer' button on
the 2nd time so that both SJPhone A and SJPhone B can talk to each other.
But the call couldn't be transferred to SJPhone B whereas when I used
Asterisk, it's able to do so.
I've tried to disable the Digest-qop but it still couldn't perform the
transfer properly. What other settings that I need to configure on SER?
Thanks and really appreciate on your reply.
Cheers,
Roa Yu
-----Original Message-----
From: Jiri Kuthan [mailto:jiri@iptel.org]
Sent: Thursday, October 18, 2007 9:16 AM
To: roayu
Cc: serusers(a)lists.iptel.org
Subject: Re: [Serusers] Get RealTime Online Users status
At 10:37 10/10/2007, roayu wrote:
>Oh, I got it! Thanks Jiri!
>
>Btw, I have another questions.
>1) I would like to know can call transfer being done when the
>connection is P2P?
you mean without a proxy? sure it can.
> When I tried to use relay (mediaproxy) to do the call transfer,
it's
>able to transfer the call to the other party whereas when the condition
is
>P2P, it just can't pass the correct signal.
that's apparently unrelated to use of media proxy. you would have to
check the SIP dumps what's going wrong. Unfortunately I can't promise
I would help to review those -- my to-do-list is endless these days.
Perhaps someone else on the list will.
>2) Can SER support SPA942 ? Or is there some settings that I need to
>configure on SER ?
yes.
well for some SPAs you may need to disable digest-qop since they have a bug.
(don't ask me which though).
-jiri
>Thanks.
>
>Cheers,
>Roa Yu
>
>-----Original Message-----
>From: Jiri Kuthan [mailto:jiri@iptel.org]
>Sent: Wednesday, October 10, 2007 2:56 PM
>To: roayu; SIP
>Cc: serusers(a)lists.iptel.org
>Subject: Re: [Serusers] Get RealTime Online Users status
>
>yes, set usrloc's database mode to 1. -jiri
>
>At 03:32 10/10/2007, roayu wrote:
>
>>Thanks for your reply. I found that it's only update after around 30
>>seconds. Is there anyway that I can fasten the update on the database?
>>
>>Thanks.
>>
>>Cheers,
>>Roa Yu
>>
>>-----Original Message-----
>>From: SIP [mailto:sip@arcdiv.com]
>>Sent: Tuesday, October 09, 2007 9:14 PM
>>To: roayu
>>Cc: serusers(a)lists.iptel.org
>>Subject: Re: [Serusers] Get RealTime Online Users status
>>
>>roayu wrote:
>>>
>>> Hi there!
>>>
>>> Can anyone tell me how to get the RealTime Online user status other
>>> than using command '*serctl ul show*'? Or how can I store the realtime
>>> online user status to the MySQL db?
>>>
>>> Thanks.
>>>
>>> Cheers,
>>>
>>> Roa Yu J
>>>
>>> ------------------------------------------------------------------------
>>>
>>> _______________________________________________
>>> Serusers mailing list
>>> Serusers(a)lists.iptel.org
>>> http://lists.iptel.org/mailman/listinfo/serusers
>>>
>>The location table in the MySQL database stores what are, in effect,
>>currently online users. It is, however, only an approximation. When a UA
>>registers, it sends an expiration time on its registration and that gets
>>stored in the location table. If the user disconnects without cancelling
>>his registration (some UAs send am expire register message to 'log out'
>>and some don't), then the data may still be in the table until the
>>expire time occurs. Realistically, though, you can get a good idea of
>>currenly online users using the location table and while it may not be
>>100% accurate, it's close enough for government work, as it were.
>>
>>N.
>>_______________________________________________
>>Serusers mailing list
>>Serusers(a)lists.iptel.org
>>http://lists.iptel.org/mailman/listinfo/serusers
>
>
>
>--
>Jiri Kuthan http://iptel.org/~jiri/
>_______________________________________________
>Serusers mailing list
>Serusers(a)lists.iptel.org
>http://lists.iptel.org/mailman/listinfo/serusers
--
Jiri Kuthan http://iptel.org/~jiri/