i 'm connecting to SER, which running on 192.168.1.70 'sip.server.net', using Windows Messenger
i add user2 to my contact list
i have this errors in response to a SUBSCRIBE request
parse_hfs(): Error while parsing headers
handle_subscription(): Error while parsing message header
can somebody help me
Regards
////////////////////////////////////////////////////////////////////////////////
0(2945) SIP Request:
0(2945) method: <REGISTER>
0(2945) uri: <sip:sip.server.net>
0(2945) version: <SIP/2.0>
0(2945) parse_headers: flags=2
0(2945) end of header reached, state=5
0(2945) parse_headers: Via found, flags=2
0(2945) parse_headers: this is the first via
0(2945) After parse_msg...
0(2945) preparing to run routing scripts...
0(2945) parse_headers: flags=100
0(2945) DEBUG:maxfwd:is_maxfwd_present: value = 70
0(2945) DBG:maxfwd:process_maxfwd_header: value 70 decreased to 16
0(2945) parse_headers: flags=200
0(2945) end of header reached, state=9
0(2945) DEBUG: get_hdr_field: <To> [34]; uri=[sip:user1@sip.server.net]
0(2945) DEBUG: to body [<sip:user1@sip.server.net>^M
]
0(2945) get_hdr_field: cseq <CSeq>: <1> <REGISTER>
0(2945) DEBUG: get_hdr_body : content_length=0
0(2945) found end of header
0(2945) find_first_route: No Route headers found
0(2945) loose_route: There is no Route HF
0(2945) grep_sock_info - checking if host==us: 18==18 && [sip.server.net] == [sip.server.net]
0(2945) grep_sock_info - checking if port 5060 matches port 5060
0(2945) parse_headers: flags=ffffffffffffffff
0(2945) parse_headers: flags=4000000
0(2945) build_contact(): Created Contact HF: Contact: <sip:192.168.1.118:14310>;expires=3600^M
0(2945) parse_headers: flags=ffffffffffffffff
0(2945) check_via_address(192.168.1.118, 192.168.1.118, 0)
0(2945) DEBUG:destroy_avp_list: destroying list (nil)
0(2945) receive_msg: cleaning up
0(2945) SIP Request:
0(2945) method: <SUBSCRIBE>
0(2945) uri: <sip:user2@sip.server.net>
0(2945) version: <SIP/2.0>
0(2945) parse_headers: flags=2
0(2945) end of header reached, state=5
0(2945) parse_headers: Via found, flags=2
0(2945) parse_headers: this is the first via
0(2945) After parse_msg...
0(2945) preparing to run routing scripts...
0(2945) parse_headers: flags=100
0(2945) DEBUG:maxfwd:is_maxfwd_present: value = 70
0(2945) DBG:maxfwd:process_maxfwd_header: value 70 decreased to 16
0(2945) parse_headers: flags=10
0(2945) DEBUG: add_param: tag=963f17727b404c5ca92bd1ad97491e13
0(2945) DEBUG: add_param: epid=db4638b430
0(2945) end of header reached, state=29
0(2945) parse_headers: flags=200
0(2945) end of header reached, state=9
0(2945) DEBUG: get_hdr_field: <To> [33]; uri=[sip:user2@sip.server.net]
0(2945) DEBUG: to body [<sip:user2@sip.server.net>^M
]
0(2945) get_hdr_field: cseq <CSeq>: <1> <SUBSCRIBE>
0(2945) DEBUG: get_hdr_body : content_length=0
0(2945) found end of header
0(2945) find_first_route: No Route headers found
0(2945) loose_route: There is no Route HF
0(2945) grep_sock_info - checking if host==us: 18==18 && [sip.server.net] == [sip.server.net]
0(2945) grep_sock_info - checking if port 5060 matches port 5060
0(2945) DEBUG: t_newtran: msg id=2 , global msg id=0 , T on entrance=0xffffffff
0(2945) parse_headers: flags=ffffffffffffffff
0(2945) parse_headers: flags=78
0(2945) t_lookup_request: start searching: hash=53801, isACK=0
0(2945) DEBUG: proceeding to pre-RFC3261 transaction matching
0(2945) DEBUG: t_lookup_request: no transaction found
0(2945) handle_subscription() entered
0(2945) parse_headers: flags=304010
0(2945) parse_hfs(): Error while parsing headers
0(2945) handle_subscription(): Error while parsing message header
0(2945) handle_subscription about to send_reply and return -2
0(2945) DEBUG: t_check: msg id=2 global id=2 T start=0x422efda0
0(2945) DEBUG: t_check: T already found!
0(2945) parse_headers: flags=ffffffffffffffff
0(2945) check_via_address(192.168.1.118, 192.168.1.118, 0)
0(2945) DEBUG: cleanup_uac_timers: RETR/FR timers reset
0(2945) DEBUG: add_to_tail_of_timer[2]: 0x422efde8
0(2945) DEBUG: reply sent out. buf=0x8138d64: SIP/2.0 4..., shmem=0x422f13d8: SIP/2.0 4
0(2945) DEBUG: _reply_light: finished
0(2945) DEBUG:destroy_avp_list: destroying list (nil)
0(2945) receive_msg: cleaning up
0(2945) SIP Request:
Hi
On trying to download ser-0.9.0_src.tar.gz from
<ftp://ftp.berlios.de/pub/ser/0.9.0/src/ser-0.9.0_src.tar.gz>
ftp://ftp.berlios.de/pub/ser/0.9.0/src/ser-0.9.0_src.tar.gz, i get a pop up
window for username/password. In that I give the username/password with
which I am registered at iptel.org. But I get an error message and download
fails.
Can anybody tell me how to download it.
Regards,
Gaurav Kansal
Hi!
I found this thread in the mail archive and I have a question to this
thread. How many pstn gateways can I handle with this failover
statement ? Is there a timeout I have to keep in mind, or can I
put gateways as many as I have ???
For example. I have one SER Server and 10 PSTN gateways and on
every gateway, 4 PRIs. Can I configure the ser server so that
the server ask one after another until he found a gateway which
accept his call ?
The last question is, which isdn features can I use with SER ?
I mean can a Ser user make auto hold or call park or something like that ?
Thanks in advance,
Ahmad
>You could not, because ser does not know which PSTN gateway is less
>loaded. What you can do is to forward all calls to one of the gateways
>and when the gateway refuses the call then you can try the other one.
>This can be done using failure_route statement in the configuration
>file.
>
> Jan.
>
>On 27-05 15:34, Gustavo García Bernardo wrote:
>> Hi,
>>
>> I have a platform based in SER SIP proxy, and i would like to
forward >PSTN
>> calls to two Cisco gateways. How could implement the logic for send
>the
>> calls to the less loaded gateway?
>>
>> Best regards.
>>
>> G.
--
Ahmad Cheikh-Moussa
NetUSE AG
Dr.-Hell-Straße, 24107 Kiel, Germany
Telefon: +49 431 2390 400 -- Telefax: +49 431 2390 499
Service: Service(a)NetUSE.DE -- http://NetUSE.DE/
Hello Serusers,
I'am new to the List , please can you give me the
below details ,
1.) Does the Presence server in Ser do SUBSCRIBE/ NOTIFY processing and is
it compatible with Windows Messenger 4.7 ?
what i mean to say is that , does it reflect the current status of the
logged in users, and generate appropriate Notifications ?
Please let me know !
Thank You,
Cheers.
Simith
Hi All,
Does the Presence server in Ser do SUBSCRIBE/ NOTIFY processing
and is it compatible with Windows Messenger 4.7 ?
what i mean to say is that , does it reflect the current status of the
logged in users, and generate appropriate Notifications ?
Thank You,
Cheers.
Simith
I found the error was an extra field in the table subscriber that was not in
pending.. causing mismatch.
Pays to check everything when you start to customize serweb.
Hi
When I register a new user I get an error after clicking on the confirmation
link in the email I receive..NOTE not before.
Also when I have a user in serweb and I try to add an Alias
I see this in red:
400 ul_add: flags expected
in debug I see :
1(1880) ERROR: ul_add: flags expected
This was all working until I decided to make a better ser.cfg file.
I think maybe an issue with ser.cfg and needing something for aliases.
Because with the old ser.cfg users could register with out issue and I could
create an alias.
Perms has been added to subscriber and pending tables
This has been added to config.php
var $flags;
$this->flags="128";
Hi
The two queries below being used to pull acc info out, seem very slow,
are there any Mysql whizzes on the list, the db is optimized, but the
second query is just far too long for me to debug.
select count(*) from acc t1 right outer join acc t2 on
t1.sip_callid=t2.sip_callid and ((t1.totag=t2.totag and
t1.fromtag=t2.fromtag) or (t1.totag=t2.fromtag and t1.fromtag=t2.totag))
and t1.sip_method='INVITE' where t2.sip_method='BYE' and
isnull(t1.username) and (t2.username='040633' and
t2.domain='sip.domain.com') and t2.callee_deleted != '1'
(select t1.to_uri as inv_to_uri, t1.sip_to as inv_sip_to,t1.sip_callid as
inv_callid, t1.time as inv_time, t1.fromtag as inv_fromtag,
t1.sip_status as inv_status, t2.to_uri as bye_to_uri,t2.sip_to as
bye_sip_to, t2.sip_callid as bye_callid,t2.time as bye_time,t2.fromtag
as bye_fromtag,t2.totag as bye_totag,t2.from_uri as
bye_from_uri,t2.sip_from as
bye_sip_from,sec_to_time(unix_timestamp(t2.time)-unix_timestamp(t1.time))
as length,ifnull(t1.time, t2.time) as ttime , 'outgoing' as call_type
from acc t1 left outer join acc t2 on t1.sip_callid=t2.sip_callid and
((t1.totag=t2.totag and t1.fromtag=t2.fromtag) or (t1.totag=t2.fromtag
and t1.fromtag=t2.totag)) and t2.sip_method='BYE' where
t1.sip_method='INVITE' and (t1.username='040633' and
t1.domain='sip.domain.com') and t1.caller_deleted != '1' ) union
(select t1.to_uri as inv_to_uri, t1.sip_to as inv_sip_to,t1.sip_callid
as inv_callid,t1.time as inv_time, t1.fromtag as
inv_fromtag,t1.sip_status as inv_status,t2.to_uri as
bye_to_uri,t2.sip_to as bye_sip_to,t2.sip_callid as bye_callid, t2.time
as bye_time,t2.fromtag as bye_fromtag,t2.totag as bye_totag,t2.from_uri
as bye_from_uri, t2.sip_from as
bye_sip_from,sec_to_time(unix_timestamp(t2.time)-unix_timestamp(t1.time))
as length, ifnull(t1.time, t2.time) as ttime , 'outgoing' as call_type
from acc t1 right outer join acc t2 on t1.sip_callid=t2.sip_callid and
((t1.totag=t2.totag and t1.fromtag=t2.fromtag) or (t1.totag=t2.fromtag
and t1.fromtag=t2.totag)) and t1.sip_method='INVITE' where
t2.sip_method='BYE' and isnull(t1.username) and
(t2.username='040633' and t2.domain='sip.domain.com') and
t2.callee_deleted != '1' )order by ttime desc limit 0, 20
Now I did a "explain" on these (after having added indexes, since the
default install doesn't add indexes.
+-------+-------+---------------------+------------+---------+-------+------+--------------------------+
| table | type | possible_keys | key | key_len | ref |
rows | Extra |
+-------+-------+---------------------+------------+---------+-------+------+--------------------------+
| t1 | ref | username,sip_method | username | 64 | const |
1061 | Using where |
| t2 | ref | sip_method | sip_method | 129 | const |
4052 | |
| t2 | ref | username,sip_method | username | 64 | const |
1061 | Using where |
| t1 | ref | sip_method | sip_method | 129 | const |
2782 | Using where; Not exists |
| t1 | index | NULL | username | 64 | NULL |
6837 | Using index |
| t2 | ref | sip_method | sip_method | 129 | const |
4052 | Using where; Using index |
+-------+-------+---------------------+------------+---------+-------+------+--------------------------+
this for the second query, so rough maths tells me that
351554245281666581856 rows must be examined in order to return the data
set..which is alot of rows, in any language.
the explain for the first query returns
+-------+------+---------------------+------------+---------+-------+------+-------------+
| table | type | possible_keys | key | key_len | ref |
rows | Extra |
+-------+------+---------------------+------------+---------+-------+------+-------------+
| t1 | ref | username,sip_method | username | 64 | const |
1061 | Using where |
| t2 | ref | sip_method | sip_method | 129 | const |
4052 | |
+-------+------+---------------------+------------+---------+-------+------+-------------+
which is about 4million.
Iqbal