Hi all,
after a patch from one of our providers ACKs started to come with R-URI
looking like:
ACK <sip:192.168.0.1;lr=on;ftag=507454020> SIP/2.0
instead of:
ACK sip:192.168.0.1;lr=on;ftag=507454020 SIP/2.0
like it did before the patch.
The new ACK format gives an error in OpenSER:
Jul 6 11:35:55 ser1 /sbin/openser[9634]: ERROR: parse_uri: bad uri,
state 0 parsed: <<sip> (4) / <<sip:192.168.0.1;lr=on;ftag=507454020>> (38)
Jul 6 11:35:55 ser1 /sbin/openser[9634]: ERROR: parse_sip_msg_uri: bad
uri <<sip:192.168.0.1;lr=on;ftag=507454020>>
Jul 6 11:35:55 ser1 /sbin/openser[9634]: loose_route: Error while
parsing Request URI
Are the new format of the ACKs valid? With the "<>"? If they are valid,
the problem lies in OpenSER?
Br,
/Tobias
Hello
I am trying to change the Remote-Party-ID header of a forwarded call but have little luck.
I found several examples on the net where avps are used inside a subst but when I try this the resulting Remote-Party-ID is wrong
My code:
avp_write("$ruri/username","s:calledno");
subst('/^Remote-Party-ID:(.*)>/Remote-Party-ID: <sip:$avp(calledno) user=phone>/ig');
The result:
Remote-Party-ID: <sip:$avp(calledno) user=phone>;party=calling;screen=no;privacy=off.
Anyone who can point me to the error?
I use SER 0.9.6
Med vänliga hälsningar/Kind regards
Roger Lewau
Hi,
I have the following ser.cfg code:
lookup_user("$tu.uid", "@ruri");
load_attrs("$tu", "$tu.uid");
if ($tu.forward_as_blind) {
the if statement gives the negative result what is I think wrong because the attribute is present and it's value is 1.
here is the output from dump_attrs():
Jul 6 08:35:13 sen ser[1445]: INFO: avp.c:540: class=GLOBAL
Jul 6 08:35:13 sen ser[1445]: AVP["lang"]="en"
Jul 6 08:35:13 sen ser[1445]: INFO: avp.c:550: track=FROM class=DOMAIN
Jul 6 08:35:13 sen ser[1445]: AVP["did"]="voip.rd.touk.pl"
Jul 6 08:35:13 sen ser[1445]: AVP["digest_realm"]="voip.rd.touk.pl"
Jul 6 08:35:13 sen ser[1445]: INFO: avp.c:560: track=TO class=DOMAIN
Jul 6 08:35:13 sen ser[1445]: AVP["did"]="voip.rd.touk.pl"
Jul 6 08:35:13 sen ser[1445]: AVP["digest_realm"]="voip.rd.touk.pl"
Jul 6 08:35:13 sen ser[1445]: INFO: avp.c:570: track=FROM class=USER
Jul 6 08:35:13 sen ser[1445]: INFO: No AVP present
Jul 6 08:35:13 sen ser[1445]: INFO: avp.c:580: track=TO class=USER
Jul 6 08:35:13 sen ser[1445]: AVP["datetime_created"]="2007-04-18 07:51:34"
Jul 6 08:35:13 sen ser[1445]: AVP["email"]="tzl(a)touk.pl"
Jul 6 08:35:13 sen ser[1445]: AVP["forward_as"]="192.168.0.165:6060"
Jul 6 08:35:13 sen ser[1445]: AVP["forward_as_blind"]=1
Jul 6 08:35:13 sen ser[1445]: AVP["forward_as_default"]=0
Jul 6 08:35:13 sen ser[1445]: AVP["forward_as_invite"]=0
Jul 6 08:35:13 sen ser[1445]: AVP["forward_as_message"]=0
Jul 6 08:35:13 sen ser[1445]: AVP["forward_voicemail"]=0
Jul 6 08:35:13 sen ser[1445]: INFO: avp.c:590: track=FROM class=URI
Jul 6 08:35:13 sen ser[1445]: INFO: No AVP present
Jul 6 08:35:13 sen ser[1445]: INFO: avp.c:600: track=TO class=URI
Jul 6 08:35:13 sen ser[1445]: INFO: No AVP present
please point me what did I miss?
Thanks in advance
Tomasz
Hi,
I am currently experimenting with the presence module (openser v1.2.1).
It seems to work really fine. I only encountered a small problem.
When my client unsubscribes from the presence event by sending a
SUBSCRIBE request with expires=0, then openser responds with a 200 OK.
After the 200 OK, I expect to receive a NOTIFY message, but openser
never sends this NOTIFY. It is this NOTIFY that should terminate
the subscription dialog through its Subscription-State header
set to "terminated".
RFC 3856 states this:
The subscriber can terminate the subscription by sending a SUBSCRIBE,
within the dialog, with an Expires header field (which indicates
duration of the subscription) value of zero. This causes an
immediate termination of the subscription. A NOTIFY request is then
generated by the presence agent with the most recent state.
This behavior is based on the general requirements for event handling
as defined in RFC 3265.
Is this a bug or is there some configuration stuff that enables/disables
the NOTIFY for a SUBSCRIBE with epxpires=0.
A SUBSCRIBE with expires=0 can also arrive as the initial and final
SUBSCRIBE for a subscription. In that case it will be fetching
the presence information only once. Without the NOTIFY, a fetch
does not work.
Cheers,
Michel
--
Michel de Boer
www.twinklephone.com
Hi all,
My UA, is sending a SUBSCRIBE to the server with Event: presence and
Accept: application/pidf+xml. But the openser upon receiving this
returns a 489 Bad Request. The debug at the server shows:
Missing or unsupported event header field value
Can anyone please tell me the cause of the problem. I've also tried
changing Event: presence.winfo , but that too doesn't work.
Thank you.
kumar
hello,
is it possible to modify the Request URI or the header fields in branch_route?
If yes, why the textop functions: subst, subst_uri, replace, search, can not be used in branch_route?
**********************************************************************
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.
**********************************************************************
Hi ,
I have a problem setting up the XCAP-Lite server v1.0.2.
After setting up Apache2 with all required modules, virtual host etc. I
try to use my own Presence Client to write the presrules and
resource-list.xml to the database. This failes.
I have successfully installed Apache2 with pear (+ extensions), php, mysql
support.
I created a virtual host with the following settings:
<VirtualHost 10.203.144.228:80>
<Location "/">
Dav On #necessary for PUT method
</Location>
ServerName 10.203.144.228
DocumentRoot /var/www/ #/var/www/xcap-root
didn't work
RewriteEngine On
RewriteLog /var/log/apache2/rewrite.log
RewriteLogLevel 4
RewriteRule /xcap-root/(.*) /xcap-root/index.php
ProxyVia On
</VirtualHost>
I putted all files from XCAP-Lite archive in /var/www/xcap-root.
After using PUT method through my client I receive the 204 No content
message.
The interesting part is that the database content doesn't change, but
putted XML file overwrites index.php instead.
Does anybody know why the access to database does not work? Password etc.
in config.php is ok.
A similar problem was also faced by Sebastian and is available here
http://www.openser.org/pipermail/users/2007-April/010537.html, however no
response to the query can be seen.
Any help would be greatly appreciated.
Thanks & Regards,
Kirti Dhingra
*********************** Aricent-Unclassified ***********************
"DISCLAIMER: This message is proprietary to Aricent and is intended solely for the use of
the individual to whom it is addressed. It may contain privileged or confidential information and should not be
circulated or used for any purpose other than for what it is intended. If you have received this message in error,
please notify the originator immediately. If you are not the intended recipient, you are notified that you are strictly
prohibited from using, copying, altering, or disclosing the contents of this message. Aricent accepts no responsibility for
loss or damage arising from the use of the information transmitted by this email including damage from virus."
Ok, undestood.
You have the log attached from INVITE.
Regards,
Antonio.
2007/7/5, Bogdan-Andrei Iancu <bogdan(a)voice-system.ro>:
>
> Hi Antonio,
>
> yes, it still crashes as that was just a patch for getting more
> information at runtime.
>
> The log is not complete - I need the log from the entire call (starting
> with the INVITE, the 200 OK, ACK). Actually the most important is the
> log from the process dealing whit the 200 OK as it is the one doing the
> accounting.
>
> Thanks and regards,
> Bogdan
>
> Antonio Higuera wrote:
> > Hi Bogdan,
> >
> > Thanks for the patch. I tested it and the system crashed again. Below
> > you have the backtrace and the logs generated attached.
> >
>
>
Regards,
It's possible to debug errors on openser.cfg file, when I try to start
my server?
Actually I'm trying to configure Asterisk 1.4.6 and Openser
1.1.0-9etch1, but I got the next error:
Not starting openser: invalid configuration file!
Thanks!!
GJGM