David,
After double checking, I do seem to be getting E.164 formatted numbers
coming from the Cisco datasource, at least for the numbers we care about.
Following is an example, you can see that I am able to successfully match a
1800 # as 1800, test (I just can't rate a price to it).
id,StartTime,Username,CallerParty,Destination,DestinationId,DestinationName,Duration,Price,Gateway,KBIn,KBOut,Disconnect,Channel,Direction,CallType
1,2008-08-05 08:55:28,,5635833713,2415453,,,0,,208.66.128.72-ISDN-…
[View More]7,0,0,0,Normal
release,ISDN 7/2:D:2,outgoing,Telephony
2,2008-08-05 08:55:28,,5635833713,2415453,,,0,,208.66.128.72-ISDN-7,0,0,0,Normal
release,ISDN 7/0:D:1,incoming,Telephony
3,2008-08-05 08:55:11,,6082516000,19206750230,,,0,,208.66.128.72-ISDN-7,0,0,0,Normal
release,ISDN 7/1:D:22,outgoing,Telephony
4,2008-08-05 08:55:11,,6082516000,19206750230,,,0,,,0,0,0,Normal
release,,incoming,VoIP
5,2008-08-05 08:54:37,,6082888583,18004266918,1800,test,0,,208.66.128.72-ISDN-7,0,0,0,Normal
release,ISDN 7/1:D:18,outgoing,Telephony
On Fri, Aug 1, 2008 at 8:23 PM, David Villasmil <
david.villasmil.work(a)gmail.com> wrote:
> correct
>
> On Fri, Aug 1, 2008 at 8:11 PM, Brian Del Shasta <briandelshasta(a)gmail.com
> > wrote:
>
>> Okay, I'm using a Cisco datasource, so I'm assuming that would replace
>> OpenSER in the general schema, correct?
>>
>> _______________________________________________
>> Users mailing list
>> Users(a)lists.kamailio.org
>> http://lists.kamailio.org/cgi-bin/mailman/listinfo/users
>>
>>
>
[View Less]
Hi
I did enable the siptrace module to be able to see SIP packets in TLS
mode. Once I did set it up, I could not logon to the server anymore.
The log file does not show anything :
Aug 5 10:28:21 [30781] DBG:core:init_mod_child: type=PROC_MAIN, rank=0,
module=acc
Aug 5 10:28:21 [30781] DBG:core:init_mod_child: type=PROC_MAIN, rank=0,
module=nathelper
Aug 5 10:28:21 [30781] DBG:core:init_mod_child: type=PROC_MAIN, rank=0,
module=siptrace
Aug 5 10:28:21 [30793] DBG:mysql:…
[View More]db_mysql_new_connection: connection
type is xxxxxxx via TCP/IP
Aug 5 10:28:21 [30793] DBG:mysql:db_mysql_new_connection: protocol
version is 10
Aug 5 10:28:21 [30793] DBG:mysql:db_mysql_new_connection: server
version is 5.0.48
Aug 5 10:28:21 [30793] DBG:core:init_mod_child: type=PROC_TCP_MAIN,
rank=-4, module=xlog
Aug 5 10:28:21 [30793] DBG:xlog:child_init: init_child [-4] pid
[30793]
Aug 5 10:28:21 [30793] DBG:core:init_mod_child: type=PROC_TCP_MAIN,
rank=-4, module=acc
Aug 5 10:28:21 [30793] DBG:core:init_mod_child: type=PROC_TCP_MAIN,
rank=-4, module=nathelper
Aug 5 10:28:21 [30793] DBG:core:init_mod_child: type=PROC_TCP_MAIN,
rank=-4, module=siptrace
And the server is listening correctly.
# ----------------- SIP Trace Info
modparam("siptrace", "db_url",
"mysql://mysql://openser:xxxxxxxxx@xxxxxxxxxxxx/openser")
modparam("siptrace", "trace_on", 1)
Regards
[View Less]
Hi everyone,
I have a problem with xmpp module. Messages going from xmpp to
sip-simple work fine. The problem I have is in the opposite direction
(from sip-sipmle to xmpp). If I set fork=no or children=1 in my config
file then all messages are sent and received in both directions.
This is what I see in the logs:
xmpp: invalid content-type 0x300ff
xmpp: unable to write to command pipe: Bad file descriptor
Any Idea how to overcome this situation?
Thanks!
Cesar
I put this on OpenXCAP roadmap.
Regards,
Adrian
Yann Derichard schrieb:
> Hi,
>
> I have already put in place presence via XCAP and now I would like to
> add instant messaging to my system so I would like to know if it is
> possible to use OpenSER to do MESSAGE authorization via XCAP (using
> OpenXCAP).
Hmm - interesting question. It would be good to have a generic
framework to check SIP requests against privacy rules stored in XCAP
server. does anyone have more …
[View More]knowledge about this?
regards
klaus
[View Less]
Hi Daniel,
After a lot of trial and error I have worked it out!
The following portion of script causes the error in both 1.3 and 1.4,
however not in 1.2. Root cause is that I have not added "" in my case
statements.
I.e. case 404: should be case "404":
The var reply_status is set from PV $rs in a on_reply or on_failure route
using $var(reply_status) = $rs;.
switch($(var(reply_status)))
{
case 404: #Not Found
xlog("L_INFO", "[$rm] from <$fu> <$si:$sp> to <$…
[View More]tu> Terminating UA
Not Found R4\n");
seturi("sip:rva404@domain");
$(avp(early_code)) = "404";
$(avp(early_reason)) = "Not Found!";
append_hf("P-App-name: early_announcement\r\n");
append_hf("P-App-Param:
Final-Reply-Code=$(avp(early_code));Final-Reply-Reason=$(avp(early_reason));
");
break;
SNIP
default:
sl_send_reply("$(var(reply_status))","$(var(reply_reason)))");
xlog("L_INFO", "[$rm] from <$fu> <$si:$sp> to <$tu> Default Route
4\n");
exit;
break;
}
Let me know if you consider this a bug and I will open a ticket.
Regards,
Jim
-----Original Message-----
From: Jim Burke [mailto:jim@evolutiontel.net]
Sent: Saturday, 2 August 2008 11:28 PM
To: miconda(a)gmail.com
Cc: users(a)lists.kamailio.org
Subject: RE: [Kamailio-Users] Debugging Openser v1.4 scripts
Hi Daniel,
Have been busy, will send yuo the config shortly. For my information how do
you plan to find the corrupt line. Is there something in GDB that can help
us set a tracepoint and identify it?
Regards,
Jim
-----Original Message-----
From: Daniel-Constantin Mierla [mailto:miconda@gmail.com]
Sent: Wednesday, 30 July 2008 12:03 AM
To: Jim Burke
Cc: users(a)lists.kamailio.org
Subject: Re: [Kamailio-Users] Debugging Openser v1.4 scripts
Hello,
On 07/29/08 15:43, Jim Burke wrote:
> Hi All,
>
> We are working to get our script working on Version 1.4 and are having
> problems debugging the script. Previously if I saw the following error in
> the logs it would highlight the line and colomb numbers were the error
> existed. Can someone help out?
>
> Jul 29 22:29:18 [19064] CRITICAL:core:yyerror: parse error in config file,
> line 9459656, column 1-1: syntax error
> Jul 29 22:29:18 [19064] CRITICAL:core:yyerror: parse error in config file,
> line 9459656, column 1-1: bad command!)
> Jul 29 22:29:18 [19064] ERROR:core:main: bad config file (2 errors)
>
it should still show the line and column where error occurred, but here
is something wrong with the line. Can you obfuscate the private details
in the config (passwords, ip addresses) and send it to me?
Cheers,
Daniel
> Thanks,
> Jim
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Users mailing list
> Users(a)lists.kamailio.org
> http://lists.openser.org/cgi-bin/mailman/listinfo/users
>
--
Daniel-Constantin Mierla
http://www.asipto.com
[View Less]
Hi,
I have already put in place presence via XCAP and now I would like to add
instant messaging to my system so I would like to know if it is possible to
use OpenSER to do MESSAGE authorization via XCAP (using OpenXCAP).
Regards.
--
Yann Derichard
Hi,
For people interested in meeting and chatting around the kamilio -
opensips subject, in the next 3 days I will be present at ClueCon, in
Chicago. So feel free to drop me an email ;)
Best regards,
Bogdan
Dear developers,
I don't know what is the reason they will go to two ways.
/---- Kamailio
OpenSER
\---- openSIPS
I hope these two project going to powerful.
We need OpenSER related projects.
I like them.
Best regards,
Tseveendorj
hi all
Got some issues with tls my pstn gw does not support tls ..but I am
using it between my clients and openser. The traffic is being sent
encrypted to the pstn gw.
I am using sethostport to forward traffic.
any ides ?
Thx
Hello all,
I am trying to add a user to mysql database with the command:
serctl add 1000 1000 1000(a)ser.com
but I get a error: cannot create /tmp/ ser_fifo
Any pointers to where to start debuging this error?
Thanks.
Best Regards.
Ivy
---------------------------------
雅虎邮箱,您的终生邮箱!