Hello all.
I have been experimenting with the ser-0.10.99-xxx branch(es) and have
a question about the presence_b2b module.
I realize that the module is not yet fully complete but according to
the documentation, when finished, the module should be able to take an
inbound SUBSCRIBE request and then create a new SUBSCRIBE request
outbound to another SIP entity or multiple SIP entities, ie Asterisk
servers, hence the back to back functionality. What is the status of
this functionality? Is anyone currently working to complete this
functionality? I would be interested in helping complete or
sponsoring the completion of this functionality.
My intent is to have a SER server act as the central watcher database
server and have all SUBSCRIBE and NOTIFY requests channeled through
this SER server. This SER server will then generate new SUBSCRIBE
requests out to each server in a farm of Asterisk servers and the
Asterisk servers will then send NOTIFIES back to the SER watcher
server. The watcher server will then take care of sending the NOTIFY
messages to the correct watcher(s), according to the data in its
watcher database.
Is anyone currently doing anything similar to this using a different
method or is using the yet to be completed B2B UA the correct/only way
to accomplish this?
Thanks,
-Curt
Hi,
In a scenario A -> OpenSER -> B with the request being INVITE, B sends
back 404 to OpenSER (the flag "db_missed_flag" of the acc module is
set). OpenSER forks serially and sends another request to C, which is
answered with 200.
Now I get two acc records, the 404 from B because of the missed-flag and
the 200 from C. Now is there a way to selectively suppress the acc
record for the 404 in the failure route? Concretely I'd like to decide
in the failure route whether that transaction is being accounted.
Thanks,
Andy
Hi everyone,
We have been having a problem with our openser installation for a while,
certain REGISTER requests generates errors.
The openser version we are running is 1.0.0 from cvs.
Does anyone have a clue why the following register generates the error
below?
Register:
xxx.xxx.xx.xx:5061 -> yyy.yyy.yyy.yyy:5060
REGISTER sip:sip.xxxxx.xxx SIP/2.0..Via: SIP/2.0/UDP
xxx.xxx.xx.xx:5061;branch=z9hG4bK-39f541a2..From: aaaa.bbbbb <sip:
username123(a)sip.xxxxx.xxx>;tag=ea
8cef4b108a99bco1..To: aaaa.bbbbb <sip:
username123(a)sip.xxxxx.xxx>..Call-ID:
b96fead3-f03493d4@xxx.xxx.xx.xx..CSeq: 2508 REGISTER..Max-Forwards:
70..Conta
ct: aaaa.bbbbb <sip:
username123@xxx.xxx.xx.xx:5061>;expires=3600..User-Agent:
Linksys/RT31P2-2.0.10(LIc)..Content-Length: 0..Allow: ACK, BYE, CANCEL, IN
FO, INVITE, NOTIFY, OPTIONS, REFER..Supported: x-sipura....
Error:
/sbin/openser[18198]: ERROR: get_hdr_field: bad to header
/sbin/openser[18198]: ERROR: bad header field
/sbin/openser[18198]: ERROR: get_hdr_field: bad to header
/sbin/openser[18198]: ERROR: bad header field
/sbin/openser[18198]: ERROR:parse_from_header: bad from header
/sbin/openser[18198]: xl_get_from: ERROR cannot parse FROM header
/sbin/openser[18198]: ERROR: get_hdr_field: bad to header
/sbin/openser[18198]: ERROR: bad header field
/sbin/openser[18198]: xl_get_to: ERROR cannot parse TO header
/sbin/openser[18198]: [REGISTER] from [<null>] to [<null>]
/sbin/openser[18198]: ERROR: get_hdr_field: bad to header
/sbin/openser[18198]: ERROR: bad header field
/sbin/openser[18198]: ERROR:maxfwd:is_maxfwd_present : parsing
MAX_FORWARD header failed!
/sbin/openser[18198]: ERROR:parse_from_header: bad from header
/sbin/openser[18198]: insert_RR(): From parsing failed
/sbin/openser[18198]: record_route(): Error while inserting Record-Route
line
/sbin/openser[18198]: ERROR: get_hdr_field: bad to header
/sbin/openser[18198]: ERROR: bad header field
/sbin/openser[18198]: find_first_route: Error while parsing headers
/sbin/openser[18198]: analyzing REGISTER request
/sbin/openser[18198]: ERROR: get_hdr_field: bad to header
/sbin/openser[18198]: ERROR: bad header field
/sbin/openser[18198]: find_credentials(): Error while parsing headers
/sbin/openser[18198]: pre_auth(): Error while looking for credentials
/sbin/openser[18198]: ERROR: get_hdr_field: bad to header
/sbin/openser[18198]: ERROR: bad header field
/sbin/openser[18198]: ERROR: get_hdr_field: bad to header
/sbin/openser[18198]: ERROR: bad header field
/sbin/openser[18198]: ERROR: build_res_buf_from_sip_req: alas,
parse_headers failed
/sbin/openser[18198]: pre_auth(): Error while sending 400 reply
Many thanks,
Lars Sundqvist
Hi,
Does anyone here used Gizmo Project API to build a softphone that can be
used with other SIP servers like SER? My idea was to develop something like
their softphone (Gizmo) but make it work with my own VoIP network. Any
suggestions?
Jose Simoes
Hi again, Jiri.
I had to leave this for a while, but I'm back.
I'm trying to do the original idea:
A calls B, B forwards to C. The call is A-C and the billing is B-C.
In SER I added B in the Diversion header of the SIP message and this is forwarded to *b2bua.
In *b2bua I change the Radius Message to charge B and change the SIP message to make the call from A to C, just like you told me.
Everything seems to be OK: C phone rings, but....the call can't be established, the call hangs up when C answers.
It seems that something is missing after the call is answered... Can you please give me some help?
Best regards
Rosa.
----------------------------------------
> Date: Tue, 11 Jul 2006 16:05:59 +0200
> To: rosadesantis(a)hotmail.com; serusers(a)lists.iptel.org
> From: jiri(a)iptel.org
> Subject: RE: Re: [Serusers] Call Forward Billing
>
> At 15:45 11/07/2006, Rosa De Santis wrote:
> >Thanks Jiri and Greger for your answers.
> >
> >I just wanted to make it simple, because I'm using a third party billing system.
> >I'm using SER + Asterisk b2bua. My original idea was to add a Diversion header to the sip message in SER, and to modify the Radius message in Asterisk
> b2bua when i find that diversion header, to give the Radius message ready and modified to the billing system, so they don't have to make any additional
> process for the call forward case.
>
> If that's all you need then it is as easy as putting the proper identity in AVP, printing the AVP
> in diversion header, and integrating all pieces together.
>
> -jiri
>
>
> >Please, is this possible? any ideas?
> >Thanks again.
> >
> >Rosa.
> >
> >-----------------------------------------------
> >> Date: Tue, 11 Jul 2006 08:18:59 +0200
> >> From: greger(a)teigre.com
> >> To: jiri(a)iptel.org
> >> CC: rosadesantis(a)hotmail.com; serusers(a)lists.iptel.org
> >> Subject: Re: [Serusers] Call Forward Billing
> >>
> >> Just to expand on "special-casing": Getting user actions into $ can be very tricky and is very dependent on your billing system. I.e. the capabilities of the type of invoice records that can be created (and manipulated; rating, VAT, no VAT, customer discounts, volume discounts, time of day etc etc). You normally have to start there and trace back: What should the normalized CDRs look like for the billing system to import and rate them correctly. Then you step backwards again: Your accounting records (start/stop), what should they look like. The tool taking start/stop records must be capable of interpreting the records and create normalized CDRs. If you gather accounting records from multiple sources (PSTN GWs, routers etc), it may make sense to consolidate the record collection and normalization (i.e. adapt your accounting records to be similar across sources so you simplify the normalization)-
> >> Puh! This leads us to Jiri's comment: Once you know what you need, you can use additional AVPs/flags in acc table.
> >> g-)
> >> PS! In the PSTN world, the forwarding party/C-number is often added in a third column in the records and one set of start/stop will exist for each call leg. If present, the C-number will be used for charging.
> >> Jiri Kuthan wrote:
> >> It is a configuration thing. It appears a misconception to me to build special-casing in SER. acc module can store additional AVPs or flags in acc table. These can indicate reverse charging at your convenience, to be processed by your favorite CDR postprocesssing tool. Moreover, if done well, all the authentication-authorization-accounting process can be, if configured properly, brought to the same least common denominator, which is AVP -- you authenticate someone, check if his ACLs expressed as an AVP permit a call (e.g., 'international'), account it (possibly with additional AVPs/flags providing additional hints for how to interpret the CDR). -jiri At 19:49 10/07/2006, Rosa De Santis wrote:
> >> Thanks for your answer. And this functionality is not present in SER ? Rosa. -----------------------------------------------
> >> Date: Sat, 8 Jul 2006 00:20:44 -0700 From: t_maron_lists(a)yahoo.com Subject: Re: [Serusers] Call Forward Billing To: rosadesantis(a)hotmail.com If you are locked by this, you can import a patch from openser, they have it for some time, see: http://openser.org/docs/modules/1.1.x/acc.html#MULTI-CALL-LEGS T. On 07/07/06 18:46, Rosa De Santis wrote: Hello all. Please, can somebody help about changing the billing when making call forward ? I'm trying to change the billed user when A calls B, B forwards to C (C is PSTN). I want to charge the call to B. I'm using Ser+Asterisk B2BUA. Any idea, please? Thanks Rosa. _________________________________________________________________ Be one of the first to try Windows Live Mail. http://ideas.live.com/programpage.aspx?versionId=5d21c51a-b161-4314-9b0e-49… Serusers mailing list Serusers(a)lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers ----------------------------------------------- Talk is cheap. Use Yahoo! Messenger to make PC-to-Phone calls. Great rates starting at 1¢/min.
> >> _________________________________________________________________ Be one of the first to try Windows Live Mail. http://ideas.live.com/programpage.aspx?versionId=5d21c51a-b161-4314-9b0e-49… 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
> >
> >_________________________________________________________________
> >Be one of the first to try Windows Live Mail.
> >http://ideas.live.com/programpage.aspx?versionId=5d21c51a-b161-4314-9b0e-49…
> >Serusers mailing list
> >Serusers(a)lists.iptel.org
> >http://lists.iptel.org/mailman/listinfo/serusers
>
> --
> Jiri Kuthan http://iptel.org/~jiri/
>
_________________________________________________________________
Descubre Live.com - tu mundo en línea reunido: noticias, deportes, el tiempo, y mucho más.
http://www.live.com/getstarted
Hi!!!!!
I have the next problem: When I try to compile, I obtain the next error:
Where and How I can obtain these files (sql.h, sqlext.h) that I need to compile this module?
Thanks!!!!!
make[1]: Entering directory `/root/OPENSER/openser-1.1.0-notls/modules/unixodbc'
Compiling dbase.c
gcc -fPIC -DPIC -g -O9 -funroll-loops -Wcast-align -Wall -minline-all-stringops -falign-loops -ftree-vectorize -mtune=athlon64 -DNAME='"openser"' -DVERSION='"1.1.0-notls"' -DARCH='"i386"' -DOS='"linux"' -DCOMPILER='"gcc 4.1.0"' -D__CPU_i386 -D__OS_linux -D__SMP_no -DCFG_DIR='"/usr/local/etc/openser/"' -DPKG_MALLOC -DSHM_MEM -DSHM_MMAP -DUSE_IPV6 -DUSE_MCAST -DUSE_TCP -DDISABLE_NAGLE -DHAVE_RESOLV_RES -DF_MALLOC -DSTATISTICS -DFAST_LOCK -DADAPTIVE_WAIT -DADAPTIVE_WAIT_LOOPS=1024 -DHAVE_GETHOSTBYNAME2 -DHAVE_UNION_SEMUN -DHAVE_SCHED_YIELD -DHAVE_MSG_NOSIGNAL -DHAVE_MSGHDR_MSG_CONTROL -DHAVE_ALLOCA_H -DHAVE_TIMEGM -DHAVE_EPOLL -DHAVE_SIGIO_RT -DHAVE_SELECT -I/usr/local/include -c dbase.c -o dbase.o
In file included from dbase.c:44:
val.h:36:17: error: sql.h: No such file or directory
val.h:37:20: error: sqlext.h: No such file or directory
In file included from dbase.c:44:
val.h:50: error: expected â)â before â*â token
In file included from dbase.c:45:
my_con.h:57: error: expected specifier-qualifier-list before âSQLHENVâ
my_con.h:87: error: expected declaration specifiers or â...â before âSQLHANDLEâ
my_con.h:87: error: expected declaration specifiers or â...â before âSQLSMALLINTâ
dbase.c: In function âreconnectâ:
dbase.c:60: error: âSQLCHARâ undeclared (first use in this function)
dbase.c:60: error: (Each undeclared identifier is reported only once
dbase.c:60: error: for each function it appears in.)
dbase.c:60: error: expected â;â before âoutstrâ
dbase.c:61: error: âSQLSMALLINTâ undeclared (first use in this function)
dbase.c:61: error: expected â;â before âoutstrlenâ
dbase.c:67: warning: implicit declaration of function âSQLDisconnectâ
dbase.c:67: error: âstruct my_conâ has no member named âdbcâ
dbase.c:76: warning: implicit declaration of function âSQLDriverConnectâ
dbase.c:76: error: âstruct my_conâ has no member named âdbcâ
dbase.c:77: error: expected expression before â)â token
dbase.c:79: warning: implicit declaration of function âSQL_SUCCEEDEDâ
dbase.c:81: error: âstruct my_conâ has no member named âdbcâ
dbase.c:82: error: âSQL_HANDLE_DBCâ undeclared (first use in this function)
dbase.c:82: error: too many arguments to function âextract_errorâ
dbase.c:86: warning: implicit declaration of function âSQLAllocHandleâ
dbase.c:86: error: âSQL_HANDLE_STMTâ undeclared (first use in this function)
dbase.c:86: error: âstruct my_conâ has no member named âdbcâ
dbase.c:87: error: âstruct my_conâ has no member named âstmt_handleâ
dbase.c:89: error: âstruct my_conâ has no member named âdbcâ
dbase.c:89: error: âstruct my_conâ has no member named âdbcâ
dbase.c:89: error: âstruct my_conâ has no member named âdbcâ
dbase.c:89: error: âstruct my_conâ has no member named âdbcâ
dbase.c:89: error: âstruct my_conâ has no member named âdbcâ
dbase.c:89: error: âstruct my_conâ has no member named âdbcâ
dbase.c:89: error: âstruct my_conâ has no member named âdbcâ
dbase.c:89: error: âstruct my_conâ has no member named âdbcâ
dbase.c:91: error: âstruct my_conâ has no member named âdbcâ
dbase.c:91: error: too many arguments to function âextract_errorâ
dbase.c: In function âsubmit_queryâ:
dbase.c:104: error: âSQLCHARâ undeclared (first use in this function)
dbase.c:104: error: expected â;â before âsqlstateâ
dbase.c:107: error: âstruct my_conâ has no member named âstmt_handleâ
dbase.c:109: warning: implicit declaration of function âSQLCloseCursorâ
dbase.c:109: error: âstruct my_conâ has no member named âstmt_handleâ
dbase.c:110: warning: implicit declaration of function âSQLFreeHandleâ
dbase.c:110: error: âSQL_HANDLE_STMTâ undeclared (first use in this function)
dbase.c:110: error: âstruct my_conâ has no member named âstmt_handleâ
dbase.c:113: error: âstruct my_conâ has no member named âdbcâ
dbase.c:113: error: âstruct my_conâ has no member named âstmt_handleâ
dbase.c:116: error: âstruct my_conâ has no member named âdbcâ
dbase.c:116: error: âstruct my_conâ has no member named âdbcâ
dbase.c:116: error: âstruct my_conâ has no member named âdbcâ
dbase.c:116: error: âstruct my_conâ has no member named âdbcâ
dbase.c:116: error: âstruct my_conâ has no member named âdbcâ
dbase.c:116: error: âstruct my_conâ has no member named âdbcâ
dbase.c:116: error: âstruct my_conâ has no member named âdbcâ
dbase.c:116: error: âstruct my_conâ has no member named âdbcâ
dbase.c:118: error: âstruct my_conâ has no member named âdbcâ
dbase.c:118: error: âSQL_HANDLE_DBCâ undeclared (first use in this function)
dbase.c:119: error: âsqlstateâ undeclared (first use in this function)
dbase.c:119: error: too many arguments to function âextract_errorâ
dbase.c:131: warning: implicit declaration of function âSQLExecDirectâ
dbase.c:131: error: âstruct my_conâ has no member named âstmt_handleâ
dbase.c:131: error: expected expression before â)â token
dbase.c:134: error: expected â;â before âsqlstateâ
dbase.c:136: error: âstruct my_conâ has no member named âstmt_handleâ
dbase.c:137: error: too many arguments to function âextract_errorâ
dbase.c:147: error: âstruct my_conâ has no member named âstmt_handleâ
dbase.c:147: error: expected expression before â)â token
dbase.c:151: error: âstruct my_conâ has no member named âstmt_handleâ
dbase.c:152: error: too many arguments to function âextract_errorâ
dbase.c:154: error: âstruct my_conâ has no member named âstmt_handleâ
dbase.c:155: error: âstruct my_conâ has no member named âstmt_handleâ
dbase.c:162: error: âstruct my_conâ has no member named âstmt_handleâ
dbase.c:163: error: âstruct my_conâ has no member named âstmt_handleâ
dbase.c: At top level:
dbase.c:209: error: expected â)â before â*â token
dbase.c:240: error: expected â)â before â*â token
dbase.c:286: error: expected â)â before â*â token
dbase.c: In function âdb_free_resultâ:
dbase.c:451: error: âSQL_HANDLE_STMTâ undeclared (first use in this function)
dbase.c:451: error: âstruct my_conâ has no member named âstmt_handleâ
dbase.c:452: error: âstruct my_conâ has no member named âstmt_handleâ
dbase.c: In function âdb_queryâ:
dbase.c:505: warning: implicit declaration of function âprint_whereâ
dbase.c:505: error: âstruct my_conâ has no member named âdbcâ
dbase.c: In function âdb_insertâ:
dbase.c:581: warning: implicit declaration of function âprint_valuesâ
dbase.c:581: error: âstruct my_conâ has no member named âdbcâ
dbase.c: In function âdb_deleteâ:
dbase.c:628: error: âstruct my_conâ has no member named âdbcâ
dbase.c: In function âdb_updateâ:
dbase.c:672: warning: implicit declaration of function âprint_setâ
dbase.c:672: error: âstruct my_conâ has no member named âdbcâ
dbase.c:683: error: âstruct my_conâ has no member named âdbcâ
dbase.c: In function âdb_replaceâ:
dbase.c:727: error: âstruct my_conâ has no member named âdbcâ
make[1]: *** [dbase.o] Error 1
make[1]: Leaving directory `/root/OPENSER/openser-1.1.0-notls/modules/unixodbc'
---------------------------------
Do You Yahoo!? La mejor conexión a Internet y 2GB extra a tu correo por $100 al mes. http://net.yahoo.com.mx
Hi,
Is this possible to change CIDName to Alias, for example my uri is
5001231234(a)myser.com and alias 2121231234. When person call to other user,
it shows "Jon Doe" 500-123-1234
but i want this to shown as "Jon Doe" 2121231234 <= which is publicly known
PSTN number.
Please help....
Regards,
Ali....
Hi,
Is this possible to change CIDName to Alias, for example my uri is
5001231234(a)myser.com and alias 2121231234. When person call to other user,
it shows "Jon Doe" 500-123-1234
but i want this to shown as "Jon Doe" 2121231234 <= which is publicly known
PSTN number.
Please help....
Regards,
Ali....
Hi ! I have a question:
When I try to create a user openserctl add 202020 12345 202020(a)hotmail.com
Appear a message: Warning: no database engine found - tried ' '
This command requires a database engine - none was loaded.
Thanks
Ever
Hi,
I want to store some information in a separate table in mysql
database. Think of it as a second user preference table but I want
to keep that information separate. What will be the best way to
achieve that? So that I am able to lookup values from this
additional table and use it to make routing decisions. Also, does
openser provide a way to do custom sql queries.
Thanks in advance for your help.
--
Zahid Mehmood
CUIT Network Systems