Hi,
It seems like most (all?) of the module params defining an AVP have
changed from just the name (like "i:100") to a full avp spec (like
"$avp(i:100)"). Does this also hold true for peer_tag_avp in permissions
module? I ask because it's still "i:707" in the example of
http://openser.org/docs/modules/1.2.x/permissions.html#AEN343 and it's
not mentioned in http://openser.org/dokuwiki/doku.php/install:1.1.x-to-1.2.x
Regards,
Andreas
This e-mail is confidential and may well also be legally privileged. If you have received it in error, you are on notice of its status. Please notify us immediately by reply e-mail and then delete this message from your system. Please do not copy it or use it for any purposes, or disclose its contents to any other person: to do so could be a breach of confidence. Thank you for your cooperation.
Information pursuant to paragraph 14 Austrian Companies Code: UPC Austria GmbH; Registered Office: Wolfganggasse 58-60, 1120 Vienna Company Register Number: FN 189858d at the Commercial Court of Vienna
I need a complete example (with proper syntax) of how to disconnect a
call (send BYE) using "t_uac_dlg". This can be either via bash script
or openserctl command.
I have been fighting with this for some time and always seem to get
"Too few or to many parameters" errors. I have been through the ctd.sh
example and searched the mailing list but, I'm still having no luck.
I have read Jan's "SER FIFI Interface" doc, and I believe my fifo
files are working properly, however I really don't know the exact
syntax, or what elements are required to get this to work. I have
access to the "Call-ID" as it is stored in MySQL via acc.
I am willing to pay for this example. Just let me know a fair price.
FYI: I am using OpenSER 1.2.
Thanks,
Daryl
Hi Everyone,
I cannot seem to get the permissions module with dbtext to load in version 1.2.
I am pretty sure the "trusted" table format is correct. This is what I have.
src_ip(str) proto(str) from_pattern(str) tag(str,null)
192.168.0.10:any:^sip\:.*$:
I get the following error when I start OpenSER...
ERROR: permissions: reload_address_table(): Error while querying database
Regards,
Daryl
Hi,
can i use avp's as a list holder? what i want to do is using avp_db_query function to get the list of routes which will be used for forwarding calls. for example
avp_db_query("select route_ip from tbl_route","$avp(s:route_list)");
then
rewritehost("$avp(s:route_list)[1]");
on failure
rewritehost("$avp(s:route_list)[2]");
thanks in advance
_________________________________________________________________
Live.com'u deneyin: çevrimiçi dünyanızı bir araya getirin; haberler, spor, hava durumu ve çok daha fazlası.
http://www.live.com/getstarted
Hey guys,
How do you manipulate the 'Refer to' header in the REFER Method ?
I need to do some string manipulation to change it to something that i
want.
Thanks ahead!
Regards,
Sam
Hey guys,
I'm thinking of try out a server side forwarding where forwarded number
is stored in a database.
I just want to ask if anyone has done it before and how was the call
routing done .
Been thinking alot but couldn't figure out a way to do it.
Any pointers ?
Regards,
Sam
Hi,
I've a problem with WeSIP in B2BUA mode, in case of failed call 4xx-6xx
correctly terminated, when i try to send another call to WeSIP i recive
a "473 Filtered destination" then for send another call i've to wait
WeSIP complete some management with session:
14:10:16 19Mar2007 DEBUG SipConnector [SipProcessor[3]]- recycle:
Recycling processor SipProcessor[3]
14:10:56 19Mar2007 DEBUG StandardAppSessionManager
[StandardAppSessionManager[/inapp]]- AppSession Id
[B4D6C9C4288784A68E032D20AB78BD8E] with a number of sessions =1
14:10:56 19Mar2007 DEBUG StandardAppSessionManager
[StandardAppSessionManager[/inapp]]- SipSession
[z9hG4bK69e6006f] in state [3] with lifetime of :74490
14:10:56 19Mar2007 DEBUG StandardAppSessionManager
[StandardAppSessionManager[/inapp]]- AppSession Id
[E3E1D9414BC47572CBC73EC7B4A53531] with a number of sessions =1
14:10:56 19Mar2007 DEBUG StandardAppSessionManager
[StandardAppSessionManager[/inapp]]- SipSession
[z9hG4bK69e68616] in state [3] with lifetime of :40281
14:11:56 19Mar2007 DEBUG StandardAppSessionManager
[StandardAppSessionManager[/inapp]]- AppSession Id
[B4D6C9C4288784A68E032D20AB78BD8E] with a number of sessions =1
14:11:56 19Mar2007 DEBUG StandardAppSessionManager
[StandardAppSessionManager[/inapp]]- SipSession
[z9hG4bK69e6006f] in state [3] with lifetime of :134500
14:11:56 19Mar2007 DEBUG StandardAppSessionManager
[StandardAppSessionManager[/inapp]]- AppSession Id
[E3E1D9414BC47572CBC73EC7B4A53531] with a number of sessions =1
14:11:56 19Mar2007 DEBUG StandardAppSessionManager
[StandardAppSessionManager[/inapp]]- SipSession
[z9hG4bK69e68616] in state [3] with lifetime of :100291
14:12:56 19Mar2007 DEBUG StandardAppSessionManager
[StandardAppSessionManager[/inapp]]- AppSession Id
[B4D6C9C4288784A68E032D20AB78BD8E] with a number of sessions =0
14:12:56 19Mar2007 DEBUG StandardAppSessionManager
[StandardAppSessionManager[/inapp]]- Remove AppSession
[B4D6C9C4288784A68E032D20AB78BD8E]
When i see Remove AppSession i'm able to send another call...
I've read the sip servlet spec about that and i'm trying to invalidate()
or setExpires() to SiApplicationSession in case of failed call. but it's
not clear how to do yet.
i can provide the full debug if needed.
thank you!
regards
:tele
Hi,
I've upgraded openser from 1.2.0-pre6 to 1.2.0 with the seas module loaded.
try to send a call and this is the output:
5(24664) SIP Request:
5(24664) method: <INVITE>
5(24664) uri: <sip:390104491079@82.215.163.67>
5(24664) version: <SIP/2.0>
5(24664) parse_headers: flags=2
5(24664) Found param type 232, <branch> = <z9hG4bK5d297af7>; state=16
5(24664) end of header reached, state=5
5(24664) parse_headers: Via found, flags=2
5(24664) parse_headers: this is the first via
5(24664) After parse_msg...
5(24664) preparing to run routing scripts...
5(24664) parse_headers: flags=100
5(24664) DEBUG:maxfwd:is_maxfwd_present: value = 70
5(24664) parse_headers: flags=ffffffffffffffff
5(24664) DEBUG:parse_to:end of header reached, state=9
5(24664) DBUG:parse_to: display={}, ruri={sip:390104491079@82.215.163.67}
5(24664) DEBUG: get_hdr_field: <To> [32];
uri=[sip:390104491079@82.215.163.67]
5(24664) DEBUG: to body [sip:390104491079@82.215.163.67
]
5(24664) get_hdr_field: cseq <CSeq>: <1> <INVITE>
5(24664) DEBUG: get_hdr_body : content_length=213
5(24664) found end of header
5(24664) DEBUG: t_newtran: T on entrance=0xffffffff
5(24664) parse_headers: flags=ffffffffffffffff
5(24664) parse_headers: flags=78
5(24664) t_lookup_request: start searching: hash=4873, isACK=0
5(24664) DEBUG: RFC3261 transaction matching failed
5(24664) DEBUG: t_lookup_request: no transaction found
5(24664) DEBUG: add_param: tag=5d297af7
5(24664) DEBUG:parse_to:end of header reached, state=29
5(24664) DBUG:parse_to: display={}, ruri={sip:3405300695@82.215.163.5}
5(24664) new INVITE
5(24664) parse_headers: flags=ffffffffffffffff
5(24664) check_via_address(82.215.163.5, 82.215.163.5, 0)
5(24664) WARNING:vqm_resize: resize(0) called
5(24664) DEBUG:tm:_reply_light: reply sent out. buf=0x814fa58: SIP/2.0
1..., shmem=0xb60a0680: SIP/2.0 1
5(24664) DEBUG:tm:_reply_light: finished
5(24664) as found ! (app_server_one) processor id = 1
5(24664) parse_headers: flags=ffffffffffffffff
5(24664) parse_headers: flags=ffffffffffffffff
5(24664) msglen = 561,msg starts at 167
5(24664) DEBUG:tm:UNREF_UNSAFE: after is 0
5(24664) DEBUG:destroy_avp_list: destroying list (nil)
5(24664) receive_msg: cleaning up
-1(0) Event relaied to app_server_one AS
-1(0) Event type FINAL_REPLY
-1(0) Scanning data from 1 AS
-1(0) Scanning data from 0 uncomplete AS
-1(0) polling [2 ServSock] [1 pipe] [1 App Servers] [0 Uncomplete AS]
java.lang.StringIndexOutOfBoundsException: String index out of range: -19
at java.lang.String.checkBounds(String.java:368)
at java.lang.String.<init>(String.java:404)
at
com.voztele.javax.sip.header.MaxForwards.<init>(MaxForwards.java:30)
at
com.voztele.javax.sip.message.SIPMessage.createSIPHeader(SIPMessage.java:266)
at
com.voztele.javax.sip.message.SIPMessage.addSIPHeader(SIPMessage.java:230)
at
com.voztele.javax.sip.message.SIPMessage.<init>(SIPMessage.java:225)
at
com.voztele.javax.sip.message.SIPRequest.<init>(SIPRequest.java:154)
at
com.voztele.javax.sip.parser.StringMsgParser.parseSERMessage(StringMsgParser.java:355)
at
com.voztele.seas.SeasMessageEvent.getSIPMessage(SeasMessageEvent.java:135)
at
com.voztele.seas.SeasTransactionEvent.getSIPMessage(SeasTransactionEvent.java:70)
at
com.voztele.seas.ExpressMessageChannel.run(ExpressMessageChannel.java:301)
at java.lang.Thread.run(Thread.java:595)
Exception in thread "ExpressMChannel[2]" java.lang.NullPointerException
at
com.voztele.seas.SeasMessageEvent.getSIPMessage(SeasMessageEvent.java:141)
at
com.voztele.seas.SeasTransactionEvent.getSIPMessage(SeasTransactionEvent.java:70)
at
com.voztele.seas.ExpressMessageChannel.run(ExpressMessageChannel.java:301)
at java.lang.Thread.run(Thread.java:595)
Hey guys ,
I noticed that only 1 failure routes is valid for a t_relay .
Is that true or i've done wrong with my config.
What i did was :
If condition A {
t_on_failure("1")
}
If condition B {
T_on_failure("2")
}
t_relay
If it can't be done , how am i suppose to do condition A or B ?
Regards,
Sam
Hi
I am adding a subscriber and I get this error below:
/usr/local/sbin/openserctl add 100 100 100@localhost
database engine 'PGSQL' loaded
Control engine 'FIFO' loaded
is_user: user counter=0
check_db_alias: alias counter=
ERROR: user '100' already exists as alias
I am sure this user does not exist as I checked the table subscriber
and there is only one row with user 'admin'
Thanks
mark