Paul Chitescu | 4 Jul 2011 18:08
Picon
Favicon

Firewalling brute force attacks

Hi all!

Starting with SVN Rev. 4453 (2011-06-10) a new PHP script 
scripts/banbrutes.php has been added.

Based on user.auth and user.authfail messages this script detects brute force 
attackers (like sipvicious but not limited to it) and runs an user defined 
command in an attempt to firewall off the source of the attack.

The way of installing the script is described at the start of the file and it 
can be customized by editing the variables at the start of script.

You may edit the $cmd_ban and $cmd_unban variables to specify a custom 
command. The default assumes iptables is available and Yate runs as root. 
Depending on your setup you may need to run the command through sudo and place 
the user Yate runs as in the sudoers file.

Even if the default 10 of $ban_failures seems large please refrain from 
reducing it if possible. In SIP it's possible to have many normal 
authentication failures, especially if a single phone registers multiple lines 
and eventually voicemail and/or line status subscriptions. You may experiment 
by adjusting the threshold at runtime (see below).

The current status of the blacklist is available through a rmanager command. 
It is also possible to manually unban an address (TAB completion is 
available).

From Rev. 4467 (2011-06-29) the script works with the Jabber (XMPP) server 
too.

(Continue reading)

Andrew Checkov | 5 Jul 2011 15:11
Favicon

Jabber Server setup

Marian,

Thanks - Spark is now working fine. 

PSI in general also works - unfortunelly I realized that yate properly process vcard update but ignore 'get':

------
<c2s/stream/6:INFO> Receiving from 'acheck@.../pcvideo'
<iq xmlns="jabber:client" type="get" to="acheck@..." id="aac0a">
                                                                                                                                          <vCard xmlns="vcard-temp" version="2.0" prodid="-//HandGen//NONSGML vGen v1.0//EN"/>
                                          </iq> [0x82d4328]
<jabber:ALL> JBPendingWorker(0) processing (0x82d5cf8,iq) type=get
from=acheck@.../pcvideo
to=acheck@... child=(vCard,vcard-temp) stream=c2s [0x8220e68]
<jbserverengine:ALL> Processing jabber.iq
from=acheck@.../pcvideo to=acheck@...
<c2s/stream/6:INFO> Sending to 'acheck@.../pcvideo' <iq
type="error" id="aac0a" from="acheck@..."><error
type="modify"><service-unavailable
xmlns="urn:ietf:params:xml:ns:xmpp-stanzas"/></error></iq> [0x82d4328]
-----

I even don't see register query for this event - this module is properly configured and does process
vcard.set event.

Meantime I still has problems - as I realized yate w/o any routing application can perform only basic
operation - registration, roster maintenance etc...

I have made external app which can route chat messages - intercept msg.execute and dispatch new
msg.execute with 'line' and 'called_instance' obtained from users.location - chat is properly routed
(Continue reading)

Angelica Delgado | 6 Jul 2011 22:03
Picon

client not registering to Gatekeeper

The setup is Red Hat enterprise 5.5. Trying to set up the Sip to h323
proxy. Followed the notes on the yate.null.ro site.. Compiled the
newest openh323 and the corresponding version of pwlib without errors.
The h323chan.conf have the following to enabled the gatekeeper

       [gk]
       server=yes
       interface1=x.x.x.x
       port=1719
       name=YateGatekeeper
       ttl = 600

Using the Q client. (the one that comes with yate) for testing, since
it handles both sip and h323. H323 fails to register,
Wireshark gives ICMP error 3 3 (Destination unreachable, port
unreachable). And sure enough when checking the Yate starting messages
no Module to handle H323 is loaded.

Any suggestions?
 
Thanks.
Angela
Brian | 7 Jul 2011 01:21

Yate coredumps

Hi List,

 

Quite often I see Yate coredumps with this kind of backtrace. Does someone experience the same thing?

Regards,

Brian

 

Program terminated with signal 11, Segmentation fault.

#0  0x00007f5b52407f10 in typeinfo name for TelEngine::GenObject () from /home/sip/lib/libyate.so.3.3.2

Missing separate debuginfos, use: debuginfo-install glibc-2.12-1.7.el6.x86_64 libgcc-4.4.4-13.el6.x86_64 libstdc++-4.4.4-13.el6.x86_64

(gdb) bt

#0  0x00007f5b52407f10 in typeinfo name for TelEngine::GenObject () from /home/sip/lib/libyate.so.3.3.2

#1  0x00007f5b523bc789 in TelEngine::CallEndpoint::setPeer (this=0x7f5b40161400, peer=<value optimized out>, reason=0x0, notify=<value optimized out>, params=<value optimized out>)

    at Channel.cpp:195

#2  0x00007f5b523c0d57 in TelEngine::CallEndpoint::disconnect (this=0x7f5af40094e0, final=true, reason=0x0, notify=true, params=0x0) at Channel.cpp:179

#3  0x00007f5b523c1048 in TelEngine::CallEndpoint::destroyed (this=0x7f5af40094e0) at Channel.cpp:85

#4  0x00007f5b5239972a in TelEngine::RefObject::zeroRefs (this=0x7f5af40094e0) at TelEngine.cpp:676

#5  0x00007f5b5239a96e in TelEngine::RefObject::deref (this=0x7f5af40094e0) at TelEngine.cpp:668

#6  0x00007f5b5239b22b in TelEngine::ObjList::remove (this=<value optimized out>, delobj=true) at ObjList.cpp:238

#7  0x00007f5b5239b2bc in TelEngine::ObjList::clear (this=0x7f5b51d327d0) at ObjList.cpp:262

#8  0x00007f5b5239b307 in TelEngine::ObjList::~ObjList (this=0x7f5b51d327d0, __in_chrg=<value optimized out>) at ObjList.cpp:45

#9  0x00007f5b51b31161 in ~Driver (this=0x7f5b51d326c0, __in_chrg=<value optimized out>) at ../yatephone.h:2108

#10 (anonymous namespace)::DumbDriver::~DumbDriver (this=0x7f5b51d326c0, __in_chrg=<value optimized out>) at dumbchan.cpp:153

#11 0x0000003d5703636d in __cxa_finalize () from /lib64/libc.so.6

#12 0x00007f5b51b30ea6 in __do_global_dtors_aux () from /home/sip/lib/yate/dumbchan.yate

#13 0x000000000000000a in ?? ()

#14 0x00007fff9862a150 in ?? ()

#15 0x00007f5b51b31961 in _fini () from /home/sip/lib/yate/dumbchan.yate

#16 0x000000000184c900 in ?? ()

#17 0x0000003d56813d6e in _dl_close_worker () from /lib64/ld-linux-x86-64.so.2

Backtrace stopped: previous frame inner to this frame (corrupt stack?)

 

Tusar | 7 Jul 2011 07:42
Picon

Re: Yate coredumps

Hi,

I am having the core dumps but not too frequently but happening..



Program terminated with signal 11, Segmentation fault.
#0  0x8db322a8 in ?? ()
(gdb) bt
#0  0x8db322a8 in ?? ()
#1  0x00da722c in TelEngine::ListIterator::get (this=0xa8079f94, index=0) at Iterator.cpp:111
#2  0x00da7280 in TelEngine::ListIterator::get (this=0xa8079f94) at Iterator.cpp:120
#3  0x002d66a3 in (anonymous namespace)::ForkMaster::clear (this=0xcb67718, softly=false) at callfork.cpp:558
#4  0x002da428 in (anonymous namespace)::ForkMaster::~ForkMaster (this=0xcb67718, __in_chrg=<value optimized out>) at callfork.cpp:164
#5  0x00d8c02a in TelEngine::RefObject::zeroRefs (this=0xcb67718) at TelEngine.cpp:687
#6  0x00d8d4bc in TelEngine::RefObject::deref (this=0xcb67718) at TelEngine.cpp:678
#7  0x00dc1676 in TelEngine::CallEndpoint::disconnect (this=0x9130a8b8, final=false, reason=0xc927eb0 "nomedia", notify=true, params=0x0) at Channel.cpp:183
#8  0x00dc5c0d in disconnect (this=0x9130a8b8, msg=..., reason=<value optimized out>) at ../yatephone.h:1197
#9  TelEngine::Channel::msgDrop (this=0x9130a8b8, msg=..., reason=<value optimized out>) at Channel.cpp:641
#10 0x004d52a3 in (anonymous namespace)::YateSIPConnection::msgDrop (this=0x9130a8b8, msg=..., reason=0xc927eb0 "nomedia") at ysipchan.cpp:3428
#11 0x00dc1d1b in TelEngine::Driver::received (this=0x507500, msg=..., id=512) at Channel.cpp:1358
#12 0x004e15f7 in (anonymous namespace)::SIPDriver::received (this=0x507500, msg=..., id=512) at ysipchan.cpp:4422
#13 0x00dae2d4 in TelEngine::MessageRelay::receivedInternal (this=0x98ff020, msg=...) at Message.cpp:279
#14 0x00dadd4f in TelEngine::MessageDispatcher::dispatch (this=0x98db468, msg=...) at Message.cpp:385
#15 0x00dae0ad in TelEngine::MessageDispatcher::dequeueOne (this=0x98db468) at Message.cpp:463
#16 0x00dae0ee in TelEngine::MessageDispatcher::dequeue (this=0x98db468) at Message.cpp:470
#17 0x00db0889 in TelEngine::EnginePrivate::run (this=0x9ec8d7c8) at Engine.cpp:580
#18 0x00d9140e in TelEngine::ThreadPrivate::run (this=0x9d6b9940) at Thread.cpp:347
#19 0x00d9145d in TelEngine::ThreadPrivate::startFunc (arg=0x9d6b9940) at Thread.cpp:537
#20 0x0068f832 in start_thread () from /lib/libpthread.so.0
#21 0x003cbf6e in clone () from /lib/libc.so.6


Best Regards,
//Tusar\\



On Thu, Jul 7, 2011 at 5:21 AM, Brian <brian <at> neotiq.com> wrote:

Hi List,

 

Quite often I see Yate coredumps with this kind of backtrace. Does someone experience the same thing?

Regards,

Brian

 

Program terminated with signal 11, Segmentation fault.

#0  0x00007f5b52407f10 in typeinfo name for TelEngine::GenObject () from /home/sip/lib/libyate.so.3.3.2

Missing separate debuginfos, use: debuginfo-install glibc-2.12-1.7.el6.x86_64 libgcc-4.4.4-13.el6.x86_64 libstdc++-4.4.4-13.el6.x86_64

(gdb) bt

#0  0x00007f5b52407f10 in typeinfo name for TelEngine::GenObject () from /home/sip/lib/libyate.so.3.3.2

#1  0x00007f5b523bc789 in TelEngine::CallEndpoint::setPeer (this=0x7f5b40161400, peer=<value optimized out>, reason=0x0, notify=<value optimized out>, params=<value optimized out>)

    at Channel.cpp:195

#2  0x00007f5b523c0d57 in TelEngine::CallEndpoint::disconnect (this=0x7f5af40094e0, final=true, reason=0x0, notify=true, params=0x0) at Channel.cpp:179

#3  0x00007f5b523c1048 in TelEngine::CallEndpoint::destroyed (this=0x7f5af40094e0) at Channel.cpp:85

#4  0x00007f5b5239972a in TelEngine::RefObject::zeroRefs (this=0x7f5af40094e0) at TelEngine.cpp:676

#5  0x00007f5b5239a96e in TelEngine::RefObject::deref (this=0x7f5af40094e0) at TelEngine.cpp:668

#6  0x00007f5b5239b22b in TelEngine::ObjList::remove (this=<value optimized out>, delobj=true) at ObjList.cpp:238

#7  0x00007f5b5239b2bc in TelEngine::ObjList::clear (this=0x7f5b51d327d0) at ObjList.cpp:262

#8  0x00007f5b5239b307 in TelEngine::ObjList::~ObjList (this=0x7f5b51d327d0, __in_chrg=<value optimized out>) at ObjList.cpp:45

#9  0x00007f5b51b31161 in ~Driver (this=0x7f5b51d326c0, __in_chrg=<value optimized out>) at ../yatephone.h:2108

#10 (anonymous namespace)::DumbDriver::~DumbDriver (this=0x7f5b51d326c0, __in_chrg=<value optimized out>) at dumbchan.cpp:153

#11 0x0000003d5703636d in __cxa_finalize () from /lib64/libc.so.6

#12 0x00007f5b51b30ea6 in __do_global_dtors_aux () from /home/sip/lib/yate/dumbchan.yate

#13 0x000000000000000a in ?? ()

#14 0x00007fff9862a150 in ?? ()

#15 0x00007f5b51b31961 in _fini () from /home/sip/lib/yate/dumbchan.yate

#16 0x000000000184c900 in ?? ()

#17 0x0000003d56813d6e in _dl_close_worker () from /lib64/ld-linux-x86-64.so.2

Backtrace stopped: previous frame inner to this frame (corrupt stack?)

 


Paul Chitescu | 7 Jul 2011 09:50
Picon
Favicon

Re: Yate coredumps

Hi, Brian!

Are these crashes happening only at shutdown? If this is the case the 
information below may apply to you.

Do you have a log of the shutdown process of Yate? Do you get errors like 
this:

<GOON> Unloading 'ysipchan' removed 0 out of 1 plugins

The Linux shared object loader has a bug that causes improper unloading and 
cleanup of plugins. Sometimes a plugin that should have been cleaned up and 
unloaded earlier would persist until later when its cleanup is no longer safe 
since it involves another plugin that was already unloaded.

This bug doesn't happen on *BSD based systems or on Windows.

Note that recompiling individual plugins or reinstalling Yate may cause the 
order of loading / unloading the plugins to change and the crash to disappear.

As a workaround you can add -Du to the command line that starts Yate. This 
will cause the plugins code to remain in memory until the entire process 
terminates.

Paul

On Thursday 07 July 2011 02:21:04 am Brian wrote:
> Hi List,
>
>
>
> Quite often I see Yate coredumps with this kind of backtrace. Does someone
> experience the same thing?
>
> Regards,
>
> Brian
>
>
>
> Program terminated with signal 11, Segmentation fault.
>
> #0  0x00007f5b52407f10 in typeinfo name for TelEngine::GenObject () from
> /home/sip/lib/libyate.so.3.3.2
>
> Missing separate debuginfos, use: debuginfo-install
> glibc-2.12-1.7.el6.x86_64 libgcc-4.4.4-13.el6.x86_64
> libstdc++-4.4.4-13.el6.x86_64
>
> (gdb) bt
>
> #0  0x00007f5b52407f10 in typeinfo name for TelEngine::GenObject () from
> /home/sip/lib/libyate.so.3.3.2
>
> #1  0x00007f5b523bc789 in TelEngine::CallEndpoint::setPeer
> (this=0x7f5b40161400, peer=<value optimized out>, reason=0x0, notify=<value
> optimized out>, params=<value optimized out>)
>
>     at Channel.cpp:195
>
> #2  0x00007f5b523c0d57 in TelEngine::CallEndpoint::disconnect
> (this=0x7f5af40094e0, final=true, reason=0x0, notify=true, params=0x0) at
> Channel.cpp:179
>
> #3  0x00007f5b523c1048 in TelEngine::CallEndpoint::destroyed
> (this=0x7f5af40094e0) at Channel.cpp:85
>
> #4  0x00007f5b5239972a in TelEngine::RefObject::zeroRefs
> (this=0x7f5af40094e0) at TelEngine.cpp:676
>
> #5  0x00007f5b5239a96e in TelEngine::RefObject::deref (this=0x7f5af40094e0)
> at TelEngine.cpp:668
>
> #6  0x00007f5b5239b22b in TelEngine::ObjList::remove (this=<value optimized
> out>, delobj=true) at ObjList.cpp:238
>
> #7  0x00007f5b5239b2bc in TelEngine::ObjList::clear (this=0x7f5b51d327d0)
> at ObjList.cpp:262
>
> #8  0x00007f5b5239b307 in TelEngine::ObjList::~ObjList
> (this=0x7f5b51d327d0, __in_chrg=<value optimized out>) at ObjList.cpp:45
>
> #9  0x00007f5b51b31161 in ~Driver (this=0x7f5b51d326c0, __in_chrg=<value
> optimized out>) at ../yatephone.h:2108
>
> #10 (anonymous namespace)::DumbDriver::~DumbDriver (this=0x7f5b51d326c0,
> __in_chrg=<value optimized out>) at dumbchan.cpp:153
>
> #11 0x0000003d5703636d in __cxa_finalize () from /lib64/libc.so.6
>
> #12 0x00007f5b51b30ea6 in __do_global_dtors_aux () from
> /home/sip/lib/yate/dumbchan.yate
>
> #13 0x000000000000000a in ?? ()
>
> #14 0x00007fff9862a150 in ?? ()
>
> #15 0x00007f5b51b31961 in _fini () from /home/sip/lib/yate/dumbchan.yate
>
> #16 0x000000000184c900 in ?? ()
>
> #17 0x0000003d56813d6e in _dl_close_worker () from
> /lib64/ld-linux-x86-64.so.2
>
> Backtrace stopped: previous frame inner to this frame (corrupt stack?)

brian | 7 Jul 2011 12:03

Re: Yate coredumps

Hi Paul,

I did some tests of shutting down Yate and haven't seen coredump anymore. Thanks alot.
May I ask you another question about Yate's memory consumption? In fact, when I test Yate by making incoming
SIP calls to it at the rate of ~10 calls/second, Yate starts to use alot of virtual memory. With the 'top'
command, I see Yate used up to 10Gibabyte of memory. No special module is loaded. There is one external
module in Python connect to Yate (using yaypm). For each incoming call, the external module ask Yate to
play a .mulaw sound file and wait for some dtmf input.

Thank you for your help,
Best regards,

Brian

---------------------------------------
Hi, Brian!

Are these crashes happening only at shutdown? If this is the case the 
information below may apply to you.

Do you have a log of the shutdown process of Yate? Do you get errors like 
this:

<GOON> Unloading 'ysipchan' removed 0 out of 1 plugins

The Linux shared object loader has a bug that causes improper unloading and 
cleanup of plugins. Sometimes a plugin that should have been cleaned up and 
unloaded earlier would persist until later when its cleanup is no longer safe 
since it involves another plugin that was already unloaded.

This bug doesn't happen on *BSD based systems or on Windows.

Note that recompiling individual plugins or reinstalling Yate may cause the 
order of loading / unloading the plugins to change and the crash to disappear.

As a workaround you can add -Du to the command line that starts Yate. This 
will cause the plugins code to remain in memory until the entire process 
terminates.

Paul

On Thursday 07 July 2011 02:21:04 am Brian wrote:
> Hi List,
>
>
>
> Quite often I see Yate coredumps with this kind of backtrace. Does someone
> experience the same thing?
>
> Regards,
>
> Brian
>
>
>
> Program terminated with signal 11, Segmentation fault.
>
> #0  0x00007f5b52407f10 in typeinfo name for TelEngine::GenObject () from
> /home/sip/lib/libyate.so.3.3.2
>
> Missing separate debuginfos, use: debuginfo-install
> glibc-2.12-1.7.el6.x86_64 libgcc-4.4.4-13.el6.x86_64
> libstdc++-4.4.4-13.el6.x86_64
>
> (gdb) bt
>
> #0  0x00007f5b52407f10 in typeinfo name for TelEngine::GenObject () from
> /home/sip/lib/libyate.so.3.3.2
>
> #1  0x00007f5b523bc789 in TelEngine::CallEndpoint::setPeer
> (this=0x7f5b40161400, peer=<value optimized out>, reason=0x0, notify=<value
> optimized out>, params=<value optimized out>)
>
>     at Channel.cpp:195
>
> #2  0x00007f5b523c0d57 in TelEngine::CallEndpoint::disconnect
> (this=0x7f5af40094e0, final=true, reason=0x0, notify=true, params=0x0) at
> Channel.cpp:179
>
> #3  0x00007f5b523c1048 in TelEngine::CallEndpoint::destroyed
> (this=0x7f5af40094e0) at Channel.cpp:85
>
> #4  0x00007f5b5239972a in TelEngine::RefObject::zeroRefs
> (this=0x7f5af40094e0) at TelEngine.cpp:676
>
> #5  0x00007f5b5239a96e in TelEngine::RefObject::deref (this=0x7f5af40094e0)
> at TelEngine.cpp:668
>
> #6  0x00007f5b5239b22b in TelEngine::ObjList::remove (this=<value optimized
> out>, delobj=true) at ObjList.cpp:238
>
> #7  0x00007f5b5239b2bc in TelEngine::ObjList::clear (this=0x7f5b51d327d0)
> at ObjList.cpp:262
>
> #8  0x00007f5b5239b307 in TelEngine::ObjList::~ObjList
> (this=0x7f5b51d327d0, __in_chrg=<value optimized out>) at ObjList.cpp:45
>
> #9  0x00007f5b51b31161 in ~Driver (this=0x7f5b51d326c0, __in_chrg=<value
> optimized out>) at ../yatephone.h:2108
>
> #10 (anonymous namespace)::DumbDriver::~DumbDriver (this=0x7f5b51d326c0,
> __in_chrg=<value optimized out>) at dumbchan.cpp:153
>
> #11 0x0000003d5703636d in __cxa_finalize () from /lib64/libc.so.6
>
> #12 0x00007f5b51b30ea6 in __do_global_dtors_aux () from
> /home/sip/lib/yate/dumbchan.yate
>
> #13 0x000000000000000a in ?? ()
>
> #14 0x00007fff9862a150 in ?? ()
>
> #15 0x00007f5b51b31961 in _fini () from /home/sip/lib/yate/dumbchan.yate
>
> #16 0x000000000184c900 in ?? ()
>
> #17 0x0000003d56813d6e in _dl_close_worker () from
> /lib64/ld-linux-x86-64.so.2
>
> Backtrace stopped: previous frame inner to this frame (corrupt stack?)

brian | 7 Jul 2011 12:08

Re: Yate coredumps

Sorry, I sent it out to quickly. My question was: "Is is normal that Yate consume that much of virtual memory
in such case ? While only RTP and SIP traffic is involved"

Regards,

Brian

Hi Paul,

I did some tests of shutting down Yate and haven't seen coredump anymore. 
Thanks alot.
May I ask you another question about Yate's memory consumption? In fact, when I 
test Yate by making incoming SIP calls to it at the rate of ~10 calls/second, 
Yate starts to use alot of virtual memory. With the 'top' command, I see Yate 
used up to 10Gibabyte of memory. No special module is loaded. There is one 
external module in Python connect to Yate (using yaypm). For each incoming 
call, the external module ask Yate to play a .mulaw sound file and wait for 
some dtmf input.

Thank you for your help,
Best regards,

Brian

---------------------------------------
Hi, Brian!

Are these crashes happening only at shutdown? If this is the case the 
information below may apply to you.

Do you have a log of the shutdown process of Yate? Do you get errors like 
this:

<GOON> Unloading 'ysipchan' removed 0 out of 1 plugins

The Linux shared object loader has a bug that causes improper unloading and 
cleanup of plugins. Sometimes a plugin that should have been cleaned up and 
unloaded earlier would persist until later when its cleanup is no longer safe 
since it involves another plugin that was already unloaded.

This bug doesn't happen on *BSD based systems or on Windows.

Note that recompiling individual plugins or reinstalling Yate may cause the 
order of loading / unloading the plugins to change and the crash to disappear.

As a workaround you can add -Du to the command line that starts Yate. This 
will cause the plugins code to remain in memory until the entire process 
terminates.

Paul

On Thursday 07 July 2011 02:21:04 am Brian wrote:
> Hi List,
>
>
>
> Quite often I see Yate coredumps with this kind of backtrace. Does someone
> experience the same thing?
>
> Regards,
>
> Brian
>
>
>
> Program terminated with signal 11, Segmentation fault.
>
> #0  0x00007f5b52407f10 in typeinfo name for TelEngine::GenObject () from
> /home/sip/lib/libyate.so.3.3.2
>
> Missing separate debuginfos, use: debuginfo-install
> glibc-2.12-1.7.el6.x86_64 libgcc-4.4.4-13.el6.x86_64
> libstdc++-4.4.4-13.el6.x86_64
>
> (gdb) bt
>
> #0  0x00007f5b52407f10 in typeinfo name for TelEngine::GenObject () from
> /home/sip/lib/libyate.so.3.3.2
>
> #1  0x00007f5b523bc789 in TelEngine::CallEndpoint::setPeer
> (this=0x7f5b40161400, peer=<value optimized out>, reason=0x0, notify=<value
> optimized out>, params=<value optimized out>)
>
>     at Channel.cpp:195
>
> #2  0x00007f5b523c0d57 in TelEngine::CallEndpoint::disconnect
> (this=0x7f5af40094e0, final=true, reason=0x0, notify=true, params=0x0) at
> Channel.cpp:179
>
> #3  0x00007f5b523c1048 in TelEngine::CallEndpoint::destroyed
> (this=0x7f5af40094e0) at Channel.cpp:85
>
> #4  0x00007f5b5239972a in TelEngine::RefObject::zeroRefs
> (this=0x7f5af40094e0) at TelEngine.cpp:676
>
> #5  0x00007f5b5239a96e in TelEngine::RefObject::deref (this=0x7f5af40094e0)
> at TelEngine.cpp:668
>
> #6  0x00007f5b5239b22b in TelEngine::ObjList::remove (this=<value optimized
> out>, delobj=true) at ObjList.cpp:238
>
> #7  0x00007f5b5239b2bc in TelEngine::ObjList::clear (this=0x7f5b51d327d0)
> at ObjList.cpp:262
>
> #8  0x00007f5b5239b307 in TelEngine::ObjList::~ObjList
> (this=0x7f5b51d327d0, __in_chrg=<value optimized out>) at ObjList.cpp:45
>
> #9  0x00007f5b51b31161 in ~Driver (this=0x7f5b51d326c0, __in_chrg=<value
> optimized out>) at ../yatephone.h:2108
>
> #10 (anonymous namespace)::DumbDriver::~DumbDriver (this=0x7f5b51d326c0,
> __in_chrg=<value optimized out>) at dumbchan.cpp:153
>
> #11 0x0000003d5703636d in __cxa_finalize () from /lib64/libc.so.6
>
> #12 0x00007f5b51b30ea6 in __do_global_dtors_aux () from
> /home/sip/lib/yate/dumbchan.yate
>
> #13 0x000000000000000a in ?? ()
>
> #14 0x00007fff9862a150 in ?? ()
>
> #15 0x00007f5b51b31961 in _fini () from /home/sip/lib/yate/dumbchan.yate
>
> #16 0x000000000184c900 in ?? ()
>
> #17 0x0000003d56813d6e in _dl_close_worker () from
> /lib64/ld-linux-x86-64.so.2
>
> Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Marvin Chinchilla | 7 Jul 2011 13:29

Yate + Nortel CS2000

Hi all,

I'm trying to run a Nortel CS2000 with yate, the call setup it's ok, but when the call is answered I don't have
any audio… I saw   param['oformats'] = '' and this must be g729, mulaw

below the call details and logs

YATE 3.3.3-alpha1 (http://YATE.null.ro) ready on server.
debug on
Debug level: 8 local: on
Sniffed 'user.auth' time=1310035789.300609
  thread=0xb4dc12a8 'YSIP EndPoint'
  data=(nil)
  retval='(null)'
  param['protocol'] = 'sip'
  param['method'] = 'INVITE'
  param['uri'] = 'sip:8299569674@...:5060;transport=UDP;user=phone'
  param['ip_host'] = '200.26.169.16'
  param['ip_port'] = '5060'
  param['ip_transport'] = 'UDP'
  param['address'] = '200.26.169.16:5060'
  param['newcall'] = 'true'
  param['domain'] = '200.26.169.16'
  param['caller'] = '50422332972'
  param['called'] = '8299569674'
  param['billid'] = '1309095987-6329'
Sniffed 'database' time=1310035789.300816
  thread=0xb4dc12a8 'YSIP EndPoint'
  data=(nil)
  retval='(null)'
  param['account'] = 'default'
  param['query'] = 'SELECT DID_PASSWORD FROM DIDS WHERE DID='' AND DID_PASSWORD IS NOT NULL AND DID_PASSWORD<>'''
  param['results'] = 'true'
Returned true 'database' delay=0.000249
  thread=0xb4dc12a8 'YSIP EndPoint'
  data=0xb460bd40
  retval='(null)'
  param['account'] = 'default'
  param['query'] = 'SELECT DID_PASSWORD FROM DIDS WHERE DID='' AND DID_PASSWORD IS NOT NULL AND DID_PASSWORD<>'''
  param['results'] = 'true'
  param['columns'] = '1'
  param['rows'] = '0'
  param['affected'] = '0'
  param['dbtype'] = 'mysqldb'
Returned false 'user.auth' delay=0.000546
  thread=0xb4dc12a8 'YSIP EndPoint'
  data=(nil)
  retval='(null)'
  param['protocol'] = 'sip'
  param['method'] = 'INVITE'
  param['uri'] = 'sip:8299569674@...:5060;transport=UDP;user=phone'
  param['ip_host'] = '200.26.169.16'
  param['ip_port'] = '5060'
  param['ip_transport'] = 'UDP'
  param['address'] = '200.26.169.16:5060'
  param['newcall'] = 'true'
  param['domain'] = '200.26.169.16'
  param['caller'] = '50422332972'
  param['called'] = '8299569674'
  param['billid'] = '1309095987-6329'
Sniffed 'call.preroute' time=1310035789.300585
  thread=0xb3713a78 'Call Router'
  data=(nil)
  retval='(null)'
  param['id'] = 'sip/11408'
  param['module'] = 'sip'
  param['status'] = 'incoming'
  param['address'] = '200.26.169.16:5060'
  param['billid'] = '1309095987-6329'
  param['answered'] = 'false'
  param['callid'] = 'sip/aefcae8010a91ac813c4571aa8744021f7a369bbd3014c036f0-0008-5727/-45026-571aa87-7056f565-571aa87/'
  param['caller'] = '50422332972'
  param['called'] = '8299569674'
  param['antiloop'] = '19'
  param['ip_host'] = '200.26.169.16'
  param['ip_port'] = '5060'
  param['ip_transport'] = 'UDP'
  param['sip_uri'] = 'sip:8299569674@...:5060;transport=UDP;user=phone'
  param['sip_from'] = 'sip:50422332972@...:5060;user=phone'
  param['sip_to'] = '<sip:8299569674@...:5060;user=phone>'
  param['sip_callid'] = 'aefcae8010a91ac813c4571aa8744021f7a369bbd3014c036f0-0008-5727'
  param['device'] = 'CS2000_NGSS/9.0'
  param['sip_user-agent'] = 'CS2000_NGSS/9.0'
  param['sip_x-nortel-profile'] = 'DEFAULT'
  param['sip_allow'] = 'ACK,BYE,CANCEL,INVITE,OPTIONS,INFO,SUBSCRIBE,REFER,NOTIFY,PRACK'
  param['sip_mime-version'] = '1.0'
  param['sip_contact'] = '<sip:200.26.169.16:5060;transport=UDP>'
  param['sip_supported'] = '100rel'
  param['sip_content-type'] = 'multipart/mixed;boundary=unique-boundary-1'
Sniffed 'chan.startup' time=1310035789.301302
  thread=0xb46206f0 'Engine Worker'
  data=(nil)
  retval='(null)'
  param['id'] = 'sip/11408'
  param['module'] = 'sip'
  param['status'] = 'incoming'
  param['address'] = '200.26.169.16:5060'
  param['billid'] = '1309095987-6329'
  param['answered'] = 'false'
  param['callid'] = 'sip/aefcae8010a91ac813c4571aa8744021f7a369bbd3014c036f0-0008-5727/-45026-571aa87-7056f565-571aa87/'
  param['caller'] = '50422332972'
  param['called'] = '8299569674'
Returned false 'chan.startup' delay=0.000645
  thread=0xb46206f0 'Engine Worker'
  data=(nil)
  retval='(null)'
  param['id'] = 'sip/11408'
  param['module'] = 'sip'
  param['status'] = 'incoming'
  param['address'] = '200.26.169.16:5060'
  param['billid'] = '1309095987-6329'
  param['answered'] = 'false'
  param['callid'] = 'sip/aefcae8010a91ac813c4571aa8744021f7a369bbd3014c036f0-0008-5727/-45026-571aa87-7056f565-571aa87/'
  param['caller'] = '50422332972'
  param['called'] = '8299569674'
Sniffed 'call.cdr' time=1310035789.301902 (broadcast)
  thread=0xb46206f0 'Engine Worker'
  data=(nil)
  retval='(null)'
  param['time'] = '1310035789.301'
  param['chan'] = 'sip/11408'
  param['cdrid'] = '11409'
  param['runid'] = '1309095987'
  param['operation'] = 'initialize'
  param['direction'] = 'incoming'
  param['duration'] = '0.001'
  param['billtime'] = '0.000'
  param['ringtime'] = '0.001'
  param['status'] = 'incoming'
  param['external'] = '50422332972'
  param['cdrwrite'] = 'true'
  param['address'] = '200.26.169.16:5060'
  param['billid'] = '1309095987-6329'
  param['caller'] = '50422332972'
  param['called'] = '8299569674'
Returned false 'call.preroute' delay=0.001335
  thread=0xb3713a78 'Call Router'
  data=(nil)
  retval='(null)'
  param['id'] = 'sip/11408'
  param['module'] = 'sip'
  param['status'] = 'incoming'
  param['address'] = '200.26.169.16:5060'
  param['billid'] = '1309095987-6329'
  param['answered'] = 'false'
  param['callid'] = 'sip/aefcae8010a91ac813c4571aa8744021f7a369bbd3014c036f0-0008-5727/-45026-571aa87-7056f565-571aa87/'
  param['caller'] = '50422332972'
  param['called'] = '8299569674'
  param['antiloop'] = '19'
  param['ip_host'] = '200.26.169.16'
  param['ip_port'] = '5060'
  param['ip_transport'] = 'UDP'
  param['sip_uri'] = 'sip:8299569674@...:5060;transport=UDP;user=phone'
  param['sip_from'] = 'sip:50422332972@...:5060;user=phone'
  param['sip_to'] = '<sip:8299569674@...:5060;user=phone>'
  param['sip_callid'] = 'aefcae8010a91ac813c4571aa8744021f7a369bbd3014c036f0-0008-5727'
  param['device'] = 'CS2000_NGSS/9.0'
  param['sip_user-agent'] = 'CS2000_NGSS/9.0'
  param['sip_x-nortel-profile'] = 'DEFAULT'
  param['sip_allow'] = 'ACK,BYE,CANCEL,INVITE,OPTIONS,INFO,SUBSCRIBE,REFER,NOTIFY,PRACK'
  param['sip_mime-version'] = '1.0'
  param['sip_contact'] = '<sip:200.26.169.16:5060;transport=UDP>'
  param['sip_supported'] = '100rel'
  param['sip_content-type'] = 'multipart/mixed;boundary=unique-boundary-1'
  param['oformats'] = ''
Sniffed 'database' time=1310035789.302300
  thread=0xb46206f0 'Engine Worker'
  data=(nil)
  retval='(null)'
  param['account'] = 'default'
  param['query'] = 'INSERT INTO CDRS VALUES(NULL, '1310035789.301', '1309095987-6329', 'sip/11408',
'200.26.169.16:5060', '50422332972', '8299569674', '0.000', '0.001', '0.001', 'incoming',
'incoming', '', 0)'
  param['results'] = 'true'
Sniffed 'call.route' time=1310035789.300585
  thread=0xb3713a78 'Call Router'
  data=(nil)
  retval='(null)'
  param['id'] = 'sip/11408'
  param['module'] = 'sip'
  param['status'] = 'incoming'
  param['address'] = '200.26.169.16:5060'
  param['billid'] = '1309095987-6329'
  param['answered'] = 'false'
  param['callid'] = 'sip/aefcae8010a91ac813c4571aa8744021f7a369bbd3014c036f0-0008-5727/-45026-571aa87-7056f565-571aa87/'
  param['caller'] = '50422332972'
  param['called'] = '8299569674'
  param['antiloop'] = '19'
  param['ip_host'] = '200.26.169.16'
  param['ip_port'] = '5060'
  param['ip_transport'] = 'UDP'
  param['sip_uri'] = 'sip:8299569674@...:5060;transport=UDP;user=phone'
  param['sip_from'] = 'sip:50422332972@...:5060;user=phone'
  param['sip_to'] = '<sip:8299569674@...:5060;user=phone>'
  param['sip_callid'] = 'aefcae8010a91ac813c4571aa8744021f7a369bbd3014c036f0-0008-5727'
  param['device'] = 'CS2000_NGSS/9.0'
  param['sip_user-agent'] = 'CS2000_NGSS/9.0'
  param['sip_x-nortel-profile'] = 'DEFAULT'
  param['sip_allow'] = 'ACK,BYE,CANCEL,INVITE,OPTIONS,INFO,SUBSCRIBE,REFER,NOTIFY,PRACK'
  param['sip_mime-version'] = '1.0'
  param['sip_contact'] = '<sip:200.26.169.16:5060;transport=UDP>'
  param['sip_supported'] = '100rel'
  param['sip_content-type'] = 'multipart/mixed;boundary=unique-boundary-1'
  param['oformats'] = ''
Sniffed 'database' time=1310035789.303323
  thread=0xb3713a78 'Call Router'
  data=(nil)
  retval='(null)'
  param['account'] = 'default'
  param['query'] = 'CALL SP_GET_ROUTE('8299569674','50422332972','200.26.169.16:5060');'
  param['results'] = 'true'
Returned true 'database' delay=0.001102
  thread=0xb46206f0 'Engine Worker'
  data=(nil)
  retval='(null)'
  param['account'] = 'default'
  param['query'] = 'INSERT INTO CDRS VALUES(NULL, '1310035789.301', '1309095987-6329', 'sip/11408',
'200.26.169.16:5060', '50422332972', '8299569674', '0.000', '0.001', '0.001', 'incoming',
'incoming', '', 0)'
  param['results'] = 'true'
  param['affected'] = '1'
  param['dbtype'] = 'mysqldb'
Returned false 'call.cdr' delay=0.001608 (broadcast)
  thread=0xb46206f0 'Engine Worker'
  data=(nil)
  retval='(null)'
  param['time'] = '1310035789.301'
  param['chan'] = 'sip/11408'
  param['cdrid'] = '11409'
  param['runid'] = '1309095987'
  param['operation'] = 'initialize'
  param['direction'] = 'incoming'
  param['duration'] = '0.001'
  param['billtime'] = '0.000'
  param['ringtime'] = '0.001'
  param['status'] = 'incoming'
  param['external'] = '50422332972'
  param['cdrwrite'] = 'true'
  param['address'] = '200.26.169.16:5060'
  param['billid'] = '1309095987-6329'
  param['caller'] = '50422332972'
  param['called'] = '8299569674'
Sniffed 'call.cdr' time=1310035789.302705 (broadcast)
  thread=0xb46206f0 'Engine Worker'
  data=(nil)
  retval='(null)'
  param['time'] = '1310035789.301'
  param['chan'] = 'sip/11408'
  param['cdrid'] = '11409'
  param['runid'] = '1309095987'
  param['operation'] = 'update'
  param['direction'] = 'incoming'
  param['duration'] = '0.001'
  param['billtime'] = '0.000'
  param['ringtime'] = '0.001'
  param['status'] = 'incoming'
  param['external'] = '50422332972'
  param['cdrwrite'] = 'true'
  param['address'] = '200.26.169.16:5060'
  param['billid'] = '1309095987-6329'
  param['caller'] = '50422332972'
  param['called'] = '8299569674'
Sniffed 'database' time=1310035789.303957
  thread=0xb46206f0 'Engine Worker'
  data=(nil)
  retval='(null)'
  param['account'] = 'default'
  param['query'] = 'UPDATE CDRS SET ADDRESS = '200.26.169.16:5060', DIRECTION = 'incoming', BILLID =
'1309095987-6329', CALLER = '50422332972', CALLED = '8299569674', DURATION = '0.001', BILLTIME =
'0.000', RINGTIME = '0.001', STATUS = 'incoming', REASON = '' WHERE CHAN = 'sip/11408' AND TIME =
CAST(1310035789.301 AS UNSIGNED)'
  param['results'] = 'true'
Returned true 'database' delay=0.002228
  thread=0xb3713a78 'Call Router'
  data=0xb41fc7c8
  retval='(null)'
  param['account'] = 'default'
  param['query'] = 'CALL SP_GET_ROUTE('8299569674','50422332972','200.26.169.16:5060');'
  param['results'] = 'true'
  param['columns'] = '5'
  param['rows'] = '1'
  param['affected'] = '1'
  param['dbtype'] = 'mysqldb'
Returned true 'call.route' delay=0.005055
  thread=0xb3713a78 'Call Router'
  data=(nil)
  retval='sip/9990017042888436@...'
  param['id'] = 'sip/11408'
  param['module'] = 'sip'
  param['status'] = 'incoming'
  param['address'] = '200.26.169.16:5060'
  param['billid'] = '1309095987-6329'
  param['answered'] = 'false'
  param['callid'] = 'sip/aefcae8010a91ac813c4571aa8744021f7a369bbd3014c036f0-0008-5727/-45026-571aa87-7056f565-571aa87/'
  param['caller'] = '50422332972'
  param['called'] = '8299569674'
  param['antiloop'] = '19'
  param['ip_host'] = '200.26.169.16'
  param['ip_port'] = '5060'
  param['ip_transport'] = 'UDP'
  param['sip_uri'] = 'sip:8299569674@...:5060;transport=UDP;user=phone'
  param['sip_from'] = 'sip:50422332972@...:5060;user=phone'
  param['sip_to'] = '<sip:8299569674@...:5060;user=phone>'
  param['sip_callid'] = 'aefcae8010a91ac813c4571aa8744021f7a369bbd3014c036f0-0008-5727'
  param['device'] = 'CS2000_NGSS/9.0'
  param['sip_user-agent'] = 'CS2000_NGSS/9.0'
  param['sip_x-nortel-profile'] = 'DEFAULT'
  param['sip_allow'] = 'ACK,BYE,CANCEL,INVITE,OPTIONS,INFO,SUBSCRIBE,REFER,NOTIFY,PRACK'
  param['sip_mime-version'] = '1.0'
  param['sip_contact'] = '<sip:200.26.169.16:5060;transport=UDP>'
  param['sip_supported'] = '100rel'
  param['sip_content-type'] = 'multipart/mixed;boundary=unique-boundary-1'
  param['oformats'] = 'g729,mulaw,alaw'
  param['rtp_forward'] = 'no'
  param['formats'] = 'g729,mulaw,alaw'

Saugort Dario Garcia Tovar | 7 Jul 2011 14:38
Picon

Re: Yate + Nortel CS2000

Hi,

First, Have you chek that CS2000 support G729 and it is enable?
Second, Force the call to use G711 u-law to check.
Third, use a third party to check sip messages between points like Packetyzer, wireshark, tcpdump, etc
fourth, CS2000 also can give you sip call traces and ease the troubleshooting

As far I know, nortel have some issues with SIP because pbx version releases were not 100% complaint with SIP standards


On 7/7/2011 6:59 AM, Marvin Chinchilla wrote:
Hi all,

I'm trying to run a Nortel CS2000 with yate, the call setup it's ok, but when the call is answered I don't have any audio… I saw   param['oformats'] = '' and this must be g729, mulaw

below the call details and logs

YATE 3.3.3-alpha1 (http://YATE.null.ro) ready on server.
debug on
Debug level: 8 local: on
Sniffed 'user.auth' time=1310035789.300609
  thread=0xb4dc12a8 'YSIP EndPoint'
  data=(nil)
  retval='(null)'
  param['protocol'] = 'sip'
  param['method'] = 'INVITE'
  param['uri'] = 'sip:8299569674 <at> 209.190.77.98:5060;transport=UDP;user=phone'
  param['ip_host'] = '200.26.169.16'
  param['ip_port'] = '5060'
  param['ip_transport'] = 'UDP'
  param['address'] = '200.26.169.16:5060'
  param['newcall'] = 'true'
  param['domain'] = '200.26.169.16'
  param['caller'] = '50422332972'
  param['called'] = '8299569674'
  param['billid'] = '1309095987-6329'
Sniffed 'database' time=1310035789.300816
  thread=0xb4dc12a8 'YSIP EndPoint'
  data=(nil)
  retval='(null)'
  param['account'] = 'default'
  param['query'] = 'SELECT DID_PASSWORD FROM DIDS WHERE DID='' AND DID_PASSWORD IS NOT NULL AND DID_PASSWORD<>'''
  param['results'] = 'true'
Returned true 'database' delay=0.000249
  thread=0xb4dc12a8 'YSIP EndPoint'
  data=0xb460bd40
  retval='(null)'
  param['account'] = 'default'
  param['query'] = 'SELECT DID_PASSWORD FROM DIDS WHERE DID='' AND DID_PASSWORD IS NOT NULL AND DID_PASSWORD<>'''
  param['results'] = 'true'
  param['columns'] = '1'
  param['rows'] = '0'
  param['affected'] = '0'
  param['dbtype'] = 'mysqldb'
Returned false 'user.auth' delay=0.000546
  thread=0xb4dc12a8 'YSIP EndPoint'
  data=(nil)
  retval='(null)'
  param['protocol'] = 'sip'
  param['method'] = 'INVITE'
  param['uri'] = 'sip:8299569674 <at> 209.190.77.98:5060;transport=UDP;user=phone'
  param['ip_host'] = '200.26.169.16'
  param['ip_port'] = '5060'
  param['ip_transport'] = 'UDP'
  param['address'] = '200.26.169.16:5060'
  param['newcall'] = 'true'
  param['domain'] = '200.26.169.16'
  param['caller'] = '50422332972'
  param['called'] = '8299569674'
  param['billid'] = '1309095987-6329'
Sniffed 'call.preroute' time=1310035789.300585
  thread=0xb3713a78 'Call Router'
  data=(nil)
  retval='(null)'
  param['id'] = 'sip/11408'
  param['module'] = 'sip'
  param['status'] = 'incoming'
  param['address'] = '200.26.169.16:5060'
  param['billid'] = '1309095987-6329'
  param['answered'] = 'false'
  param['callid'] = 'sip/aefcae8010a91ac813c4571aa8744021f7a369bbd3014c036f0-0008-5727/-45026-571aa87-7056f565-571aa87/'
  param['caller'] = '50422332972'
  param['called'] = '8299569674'
  param['antiloop'] = '19'
  param['ip_host'] = '200.26.169.16'
  param['ip_port'] = '5060'
  param['ip_transport'] = 'UDP'
  param['sip_uri'] = 'sip:8299569674 <at> 209.190.77.98:5060;transport=UDP;user=phone'
  param['sip_from'] = 'sip:50422332972-xCZW/BTWysamBSFHePFbdQ@public.gmane.org:5060;user=phone'
  param['sip_to'] = '<sip:8299569674-34TQRq0vZHeBHHhcmQeDzg@public.gmane.org:5060;user=phone>'
  param['sip_callid'] = 'aefcae8010a91ac813c4571aa8744021f7a369bbd3014c036f0-0008-5727'
  param['device'] = 'CS2000_NGSS/9.0'
  param['sip_user-agent'] = 'CS2000_NGSS/9.0'
  param['sip_x-nortel-profile'] = 'DEFAULT'
  param['sip_allow'] = 'ACK,BYE,CANCEL,INVITE,OPTIONS,INFO,SUBSCRIBE,REFER,NOTIFY,PRACK'
  param['sip_mime-version'] = '1.0'
  param['sip_contact'] = '<sip:200.26.169.16:5060;transport=UDP>'
  param['sip_supported'] = '100rel'
  param['sip_content-type'] = 'multipart/mixed;boundary=unique-boundary-1'
Sniffed 'chan.startup' time=1310035789.301302
  thread=0xb46206f0 'Engine Worker'
  data=(nil)
  retval='(null)'
  param['id'] = 'sip/11408'
  param['module'] = 'sip'
  param['status'] = 'incoming'
  param['address'] = '200.26.169.16:5060'
  param['billid'] = '1309095987-6329'
  param['answered'] = 'false'
  param['callid'] = 'sip/aefcae8010a91ac813c4571aa8744021f7a369bbd3014c036f0-0008-5727/-45026-571aa87-7056f565-571aa87/'
  param['caller'] = '50422332972'
  param['called'] = '8299569674'
Returned false 'chan.startup' delay=0.000645
  thread=0xb46206f0 'Engine Worker'
  data=(nil)
  retval='(null)'
  param['id'] = 'sip/11408'
  param['module'] = 'sip'
  param['status'] = 'incoming'
  param['address'] = '200.26.169.16:5060'
  param['billid'] = '1309095987-6329'
  param['answered'] = 'false'
  param['callid'] = 'sip/aefcae8010a91ac813c4571aa8744021f7a369bbd3014c036f0-0008-5727/-45026-571aa87-7056f565-571aa87/'
  param['caller'] = '50422332972'
  param['called'] = '8299569674'
Sniffed 'call.cdr' time=1310035789.301902 (broadcast)
  thread=0xb46206f0 'Engine Worker'
  data=(nil)
  retval='(null)'
  param['time'] = '1310035789.301'
  param['chan'] = 'sip/11408'
  param['cdrid'] = '11409'
  param['runid'] = '1309095987'
  param['operation'] = 'initialize'
  param['direction'] = 'incoming'
  param['duration'] = '0.001'
  param['billtime'] = '0.000'
  param['ringtime'] = '0.001'
  param['status'] = 'incoming'
  param['external'] = '50422332972'
  param['cdrwrite'] = 'true'
  param['address'] = '200.26.169.16:5060'
  param['billid'] = '1309095987-6329'
  param['caller'] = '50422332972'
  param['called'] = '8299569674'
Returned false 'call.preroute' delay=0.001335
  thread=0xb3713a78 'Call Router'
  data=(nil)
  retval='(null)'
  param['id'] = 'sip/11408'
  param['module'] = 'sip'
  param['status'] = 'incoming'
  param['address'] = '200.26.169.16:5060'
  param['billid'] = '1309095987-6329'
  param['answered'] = 'false'
  param['callid'] = 'sip/aefcae8010a91ac813c4571aa8744021f7a369bbd3014c036f0-0008-5727/-45026-571aa87-7056f565-571aa87/'
  param['caller'] = '50422332972'
  param['called'] = '8299569674'
  param['antiloop'] = '19'
  param['ip_host'] = '200.26.169.16'
  param['ip_port'] = '5060'
  param['ip_transport'] = 'UDP'
  param['sip_uri'] = 'sip:8299569674 <at> 209.190.77.98:5060;transport=UDP;user=phone'
  param['sip_from'] = 'sip:50422332972-xCZW/BTWysamBSFHePFbdQ@public.gmane.org:5060;user=phone'
  param['sip_to'] = '<sip:8299569674-34TQRq0vZHeBHHhcmQeDzg@public.gmane.org:5060;user=phone>'
  param['sip_callid'] = 'aefcae8010a91ac813c4571aa8744021f7a369bbd3014c036f0-0008-5727'
  param['device'] = 'CS2000_NGSS/9.0'
  param['sip_user-agent'] = 'CS2000_NGSS/9.0'
  param['sip_x-nortel-profile'] = 'DEFAULT'
  param['sip_allow'] = 'ACK,BYE,CANCEL,INVITE,OPTIONS,INFO,SUBSCRIBE,REFER,NOTIFY,PRACK'
  param['sip_mime-version'] = '1.0'
  param['sip_contact'] = '<sip:200.26.169.16:5060;transport=UDP>'
  param['sip_supported'] = '100rel'
  param['sip_content-type'] = 'multipart/mixed;boundary=unique-boundary-1'
  param['oformats'] = ''
Sniffed 'database' time=1310035789.302300
  thread=0xb46206f0 'Engine Worker'
  data=(nil)
  retval='(null)'
  param['account'] = 'default'
  param['query'] = 'INSERT INTO CDRS VALUES(NULL, '1310035789.301', '1309095987-6329', 'sip/11408', '200.26.169.16:5060', '50422332972', '8299569674', '0.000', '0.001', '0.001', 'incoming', 'incoming', '', 0)'
  param['results'] = 'true'
Sniffed 'call.route' time=1310035789.300585
  thread=0xb3713a78 'Call Router'
  data=(nil)
  retval='(null)'
  param['id'] = 'sip/11408'
  param['module'] = 'sip'
  param['status'] = 'incoming'
  param['address'] = '200.26.169.16:5060'
  param['billid'] = '1309095987-6329'
  param['answered'] = 'false'
  param['callid'] = 'sip/aefcae8010a91ac813c4571aa8744021f7a369bbd3014c036f0-0008-5727/-45026-571aa87-7056f565-571aa87/'
  param['caller'] = '50422332972'
  param['called'] = '8299569674'
  param['antiloop'] = '19'
  param['ip_host'] = '200.26.169.16'
  param['ip_port'] = '5060'
  param['ip_transport'] = 'UDP'
  param['sip_uri'] = 'sip:8299569674 <at> 209.190.77.98:5060;transport=UDP;user=phone'
  param['sip_from'] = 'sip:50422332972-xCZW/BTWysamBSFHePFbdQ@public.gmane.org:5060;user=phone'
  param['sip_to'] = '<sip:8299569674-34TQRq0vZHeBHHhcmQeDzg@public.gmane.org:5060;user=phone>'
  param['sip_callid'] = 'aefcae8010a91ac813c4571aa8744021f7a369bbd3014c036f0-0008-5727'
  param['device'] = 'CS2000_NGSS/9.0'
  param['sip_user-agent'] = 'CS2000_NGSS/9.0'
  param['sip_x-nortel-profile'] = 'DEFAULT'
  param['sip_allow'] = 'ACK,BYE,CANCEL,INVITE,OPTIONS,INFO,SUBSCRIBE,REFER,NOTIFY,PRACK'
  param['sip_mime-version'] = '1.0'
  param['sip_contact'] = '<sip:200.26.169.16:5060;transport=UDP>'
  param['sip_supported'] = '100rel'
  param['sip_content-type'] = 'multipart/mixed;boundary=unique-boundary-1'
  param['oformats'] = ''
Sniffed 'database' time=1310035789.303323
  thread=0xb3713a78 'Call Router'
  data=(nil)
  retval='(null)'
  param['account'] = 'default'
  param['query'] = 'CALL SP_GET_ROUTE('8299569674','50422332972','200.26.169.16:5060');'
  param['results'] = 'true'
Returned true 'database' delay=0.001102
  thread=0xb46206f0 'Engine Worker'
  data=(nil)
  retval='(null)'
  param['account'] = 'default'
  param['query'] = 'INSERT INTO CDRS VALUES(NULL, '1310035789.301', '1309095987-6329', 'sip/11408', '200.26.169.16:5060', '50422332972', '8299569674', '0.000', '0.001', '0.001', 'incoming', 'incoming', '', 0)'
  param['results'] = 'true'
  param['affected'] = '1'
  param['dbtype'] = 'mysqldb'
Returned false 'call.cdr' delay=0.001608 (broadcast)
  thread=0xb46206f0 'Engine Worker'
  data=(nil)
  retval='(null)'
  param['time'] = '1310035789.301'
  param['chan'] = 'sip/11408'
  param['cdrid'] = '11409'
  param['runid'] = '1309095987'
  param['operation'] = 'initialize'
  param['direction'] = 'incoming'
  param['duration'] = '0.001'
  param['billtime'] = '0.000'
  param['ringtime'] = '0.001'
  param['status'] = 'incoming'
  param['external'] = '50422332972'
  param['cdrwrite'] = 'true'
  param['address'] = '200.26.169.16:5060'
  param['billid'] = '1309095987-6329'
  param['caller'] = '50422332972'
  param['called'] = '8299569674'
Sniffed 'call.cdr' time=1310035789.302705 (broadcast)
  thread=0xb46206f0 'Engine Worker'
  data=(nil)
  retval='(null)'
  param['time'] = '1310035789.301'
  param['chan'] = 'sip/11408'
  param['cdrid'] = '11409'
  param['runid'] = '1309095987'
  param['operation'] = 'update'
  param['direction'] = 'incoming'
  param['duration'] = '0.001'
  param['billtime'] = '0.000'
  param['ringtime'] = '0.001'
  param['status'] = 'incoming'
  param['external'] = '50422332972'
  param['cdrwrite'] = 'true'
  param['address'] = '200.26.169.16:5060'
  param['billid'] = '1309095987-6329'
  param['caller'] = '50422332972'
  param['called'] = '8299569674'
Sniffed 'database' time=1310035789.303957
  thread=0xb46206f0 'Engine Worker'
  data=(nil)
  retval='(null)'
  param['account'] = 'default'
  param['query'] = 'UPDATE CDRS SET ADDRESS = '200.26.169.16:5060', DIRECTION = 'incoming', BILLID = '1309095987-6329', CALLER = '50422332972', CALLED = '8299569674', DURATION = '0.001', BILLTIME = '0.000', RINGTIME = '0.001', STATUS = 'incoming', REASON = '' WHERE CHAN = 'sip/11408' AND TIME = CAST(1310035789.301 AS UNSIGNED)'
  param['results'] = 'true'
Returned true 'database' delay=0.002228
  thread=0xb3713a78 'Call Router'
  data=0xb41fc7c8
  retval='(null)'
  param['account'] = 'default'
  param['query'] = 'CALL SP_GET_ROUTE('8299569674','50422332972','200.26.169.16:5060');'
  param['results'] = 'true'
  param['columns'] = '5'
  param['rows'] = '1'
  param['affected'] = '1'
  param['dbtype'] = 'mysqldb'
Returned true 'call.route' delay=0.005055
  thread=0xb3713a78 'Call Router'
  data=(nil)
  retval='sip/9990017042888436-IwLRmeFGFflbgfau97FWYA@public.gmane.org'
  param['id'] = 'sip/11408'
  param['module'] = 'sip'
  param['status'] = 'incoming'
  param['address'] = '200.26.169.16:5060'
  param['billid'] = '1309095987-6329'
  param['answered'] = 'false'
  param['callid'] = 'sip/aefcae8010a91ac813c4571aa8744021f7a369bbd3014c036f0-0008-5727/-45026-571aa87-7056f565-571aa87/'
  param['caller'] = '50422332972'
  param['called'] = '8299569674'
  param['antiloop'] = '19'
  param['ip_host'] = '200.26.169.16'
  param['ip_port'] = '5060'
  param['ip_transport'] = 'UDP'
  param['sip_uri'] = 'sip:8299569674 <at> 209.190.77.98:5060;transport=UDP;user=phone'
  param['sip_from'] = 'sip:50422332972-xCZW/BTWysamBSFHePFbdQ@public.gmane.org:5060;user=phone'
  param['sip_to'] = '<sip:8299569674-34TQRq0vZHeBHHhcmQeDzg@public.gmane.org:5060;user=phone>'
  param['sip_callid'] = 'aefcae8010a91ac813c4571aa8744021f7a369bbd3014c036f0-0008-5727'
  param['device'] = 'CS2000_NGSS/9.0'
  param['sip_user-agent'] = 'CS2000_NGSS/9.0'
  param['sip_x-nortel-profile'] = 'DEFAULT'
  param['sip_allow'] = 'ACK,BYE,CANCEL,INVITE,OPTIONS,INFO,SUBSCRIBE,REFER,NOTIFY,PRACK'
  param['sip_mime-version'] = '1.0'
  param['sip_contact'] = '<sip:200.26.169.16:5060;transport=UDP>'
  param['sip_supported'] = '100rel'
  param['sip_content-type'] = 'multipart/mixed;boundary=unique-boundary-1'
  param['oformats'] = 'g729,mulaw,alaw'
  param['rtp_forward'] = 'no'
  param['formats'] = 'g729,mulaw,alaw'






--
Atentamente,
Dario García
Consultor.

CCCT, Nivel C2, Sector Yarey, Mz,
Ofc. MZ03a.
Caracas-Venezuela.
Teléfono: +58 212 9081842
Cel: +58 412 2221515
dgarcia-8ZjTeAhtN6t5i3ffSX0Uig@public.gmane.org
http://www.anew.com.ve

Gmane