Commit Graph

5465 Commits

Author SHA1 Message Date
paulc 10a677ebef Disabled implicit copy constructor and assignment operator of GenObject.
Fixed bugs exposed by this change.


git-svn-id: http://voip.null.ro/svn/yate@5749 acf43c95-373e-0410-b603-e72c3f656dc1
2014-01-30 20:42:40 +00:00
paulc 6ee88990b9 Added "status" command to extmodule, reports count of scripts and channels.
git-svn-id: http://voip.null.ro/svn/yate@5748 acf43c95-373e-0410-b603-e72c3f656dc1
2014-01-29 13:31:25 +00:00
paulc 18e9b39948 Added reporting the number of IAX transactions in all engines to "status iax" command.
git-svn-id: http://voip.null.ro/svn/yate@5747 acf43c95-373e-0410-b603-e72c3f656dc1
2014-01-29 13:28:00 +00:00
paulc caa4632c88 Added reporting the number of SIP transactions to "status sip" command.
git-svn-id: http://voip.null.ro/svn/yate@5746 acf43c95-373e-0410-b603-e72c3f656dc1
2014-01-29 13:26:24 +00:00
paulc 2d17c0c641 Added "status" command to regexroute.
Added internal functions to count and list global variables.
Reorganized and cleaned up the code a bit.


git-svn-id: http://voip.null.ro/svn/yate@5745 acf43c95-373e-0410-b603-e72c3f656dc1
2014-01-29 13:23:56 +00:00
oana 6ad7cd6f6a Added missing CP Cause value.
git-svn-id: http://voip.null.ro/svn/yate@5744 acf43c95-373e-0410-b603-e72c3f656dc1
2014-01-28 08:34:01 +00:00
oana dbb63d6776 Fixed encoding/decoding of EPS Security Header.
git-svn-id: http://voip.null.ro/svn/yate@5743 acf43c95-373e-0410-b603-e72c3f656dc1
2014-01-24 09:24:08 +00:00
oana aae5af7f68 Fixed decoding of PLMN Identity.
If MCC is 000, skip over PLMN Identity.



git-svn-id: http://voip.null.ro/svn/yate@5742 acf43c95-373e-0410-b603-e72c3f656dc1
2014-01-23 15:33:53 +00:00
paulc 937087f872 Fixed the directory name check for unsupported characters.
git-svn-id: http://voip.null.ro/svn/yate@5741 acf43c95-373e-0410-b603-e72c3f656dc1
2014-01-23 13:45:26 +00:00
oana 2922651340 Replaced include of yatengine.h with yateclass.h.
Moved class which was using an Engine class to the SNMP module.



git-svn-id: http://voip.null.ro/svn/yate@5740 acf43c95-373e-0410-b603-e72c3f656dc1
2014-01-23 11:43:40 +00:00
oana 17e34a4d1e Fixed encoding of even BCD numbers.
git-svn-id: http://voip.null.ro/svn/yate@5739 acf43c95-373e-0410-b603-e72c3f656dc1
2014-01-22 15:46:08 +00:00
oana 7f7de08690 Added type definition for Facility parameters specified in MO Setup.
git-svn-id: http://voip.null.ro/svn/yate@5738 acf43c95-373e-0410-b603-e72c3f656dc1
2014-01-22 14:00:14 +00:00
oana 746f7a5a72 Added type definitions for MM Timer and Routing Area Identification.
Improved some debug messages.
Check String pointers before using them while encoding a BCD number or Bearer Capability.



git-svn-id: http://voip.null.ro/svn/yate@5737 acf43c95-373e-0410-b603-e72c3f656dc1
2014-01-22 12:57:20 +00:00
oana fb8ea3b9f0 Added type definition for PLMN list.
Added encoder for imbricated Radio Layer 3 message.
Fixed dictionary entries that contained spaces.



git-svn-id: http://voip.null.ro/svn/yate@5736 acf43c95-373e-0410-b603-e72c3f656dc1
2014-01-22 10:59:03 +00:00
oana d335f327a8 Added generic function for decoding and encoding an integer value.
Use those functions for decoding and encoding integer and enumerated types.
Added encoder and decoder for types that represent a list of flags.
Added type definitions for Stream Identifier, Additional Update Parameters and Device Properties.
Added definition for octet string type and use it for types that are decoded into an octet string.



git-svn-id: http://voip.null.ro/svn/yate@5735 acf43c95-373e-0410-b603-e72c3f656dc1
2014-01-21 15:53:39 +00:00
oana 1bbae38c2a Added message definition for RR Status.
git-svn-id: http://voip.null.ro/svn/yate@5734 acf43c95-373e-0410-b603-e72c3f656dc1
2014-01-21 13:46:15 +00:00
oana a3795388c8 Fixed IEI matching in decoder for TV types on 1 byte.
Fixed encoding of TV types on 1 byte.
When decoding V types to an XML element, only pass the payload for that type towards the decoder, not the whole input buffer.
Modified some type definitions to use enumerated type decoder and encoder.



git-svn-id: http://voip.null.ro/svn/yate@5733 acf43c95-373e-0410-b603-e72c3f656dc1
2014-01-21 12:55:10 +00:00
oana a8740382c8 Decode and encode Cause type according to coding standard.
git-svn-id: http://voip.null.ro/svn/yate@5732 acf43c95-373e-0410-b603-e72c3f656dc1
2014-01-21 10:19:10 +00:00
oana ca76e8b95a Added message definitions for CC User Information, Congestion Control, StartCC, Recall, Emergency Setup, CC Establishment, CC Establishment Confirmed.
Fixed decoded of maximum speech bearers from Call Control Capabilities.




git-svn-id: http://voip.null.ro/svn/yate@5731 acf43c95-373e-0410-b603-e72c3f656dc1
2014-01-20 15:22:38 +00:00
oana 9d87a15275 Added message definitions for MM TMSI Reallocation Command, CM Service Prompt, CM Re-establishment Request, MM Null and MM Information.
Added message definition for CC Modify Reject.
Renamed Authentication Response parameter 'xres' to 'xres2'.



git-svn-id: http://voip.null.ro/svn/yate@5730 acf43c95-373e-0410-b603-e72c3f656dc1
2014-01-20 13:42:52 +00:00
oana b2b2a8b912 Added message definitions for MM Authentication Request, Authentication Response, Authentication Reject and Authentication Failure.
Fixed dumping of undefined IEs of type value.



git-svn-id: http://voip.null.ro/svn/yate@5729 acf43c95-373e-0410-b603-e72c3f656dc1
2014-01-20 11:35:34 +00:00
oana 1c817914fd Added encoders and decoders for Mobile Classmark 1 and Mobile Classmark 2 types.
Fixed end markings for dictionaries.



git-svn-id: http://voip.null.ro/svn/yate@5728 acf43c95-373e-0410-b603-e72c3f656dc1
2014-01-17 15:20:29 +00:00
oana 4d2c3ab404 Added RR message table and RR Paging Response message defintion.
Properly set odd indication while encoding IMSI Mobile Identity.



git-svn-id: http://voip.null.ro/svn/yate@5727 acf43c95-373e-0410-b603-e72c3f656dc1
2014-01-17 11:10:21 +00:00
oana 0e3f56f5a4 Added decoders and encoders for SMS messages.
git-svn-id: http://voip.null.ro/svn/yate@5726 acf43c95-373e-0410-b603-e72c3f656dc1
2014-01-17 09:35:39 +00:00
oana 7f775bbd45 Added general coder/decoder for enumerated types.
Added type definition for Network CC Capabilities, Signal, Cause of no CLI, Allert Pattern.



git-svn-id: http://voip.null.ro/svn/yate@5725 acf43c95-373e-0410-b603-e72c3f656dc1
2014-01-16 14:47:49 +00:00
oana d3da4fa44f Added bearer capability encoding for type 3 octets.
Added coders and decoders for IE types Facility, RepeatIndicator, SSVersion.
Added message definition for CC Facility message.
Added Suplementary Services protocol message table and message definitions for SS Facility, SS Register and SS Release Complete.



git-svn-id: http://voip.null.ro/svn/yate@5724 acf43c95-373e-0410-b603-e72c3f656dc1
2014-01-16 12:04:58 +00:00
oana 9c1f65c0cc Added CC Modify Reject to CC message table.
Allow encoding messages with hexified payload in data element.



git-svn-id: http://voip.null.ro/svn/yate@5723 acf43c95-373e-0410-b603-e72c3f656dc1
2014-01-15 13:00:35 +00:00
oana dc1ef3ca63 Added message definitions for CC Modify and Modify Complete.
Assume default values for coding and location if not provided when encoding Cause si ProgressIndicator.
Improved encoding debug.



git-svn-id: http://voip.null.ro/svn/yate@5722 acf43c95-373e-0410-b603-e72c3f656dc1
2014-01-15 12:44:35 +00:00
oana 0ce740278d Added message definitions for Call Control messages: Call Confirmed, Notify and Progress.
git-svn-id: http://voip.null.ro/svn/yate@5721 acf43c95-373e-0410-b603-e72c3f656dc1
2014-01-15 11:42:02 +00:00
oana 9e93c6f77b Added message definition for CC Mobile Terminating Setup.
git-svn-id: http://voip.null.ro/svn/yate@5720 acf43c95-373e-0410-b603-e72c3f656dc1
2014-01-15 10:30:03 +00:00
oana a8f6a8b089 Added message definitions for HoldReject, RetrieveReject, StartDTMF, StartDTMFAcknowledge, StartDTMFReject.
Added encoder and decoder for IA5 characters.
Replaced code to dump non-decoded data with function.



git-svn-id: http://voip.null.ro/svn/yate@5719 acf43c95-373e-0410-b603-e72c3f656dc1
2014-01-15 09:30:15 +00:00
oana c1b300082d Added partial decoding for Bearer Capabilities.
If message type is unknown, dump integer value of the message type along with its data.
Added several message type values to the Call Control message table.




git-svn-id: http://voip.null.ro/svn/yate@5718 acf43c95-373e-0410-b603-e72c3f656dc1
2014-01-14 16:12:52 +00:00
oana a69f7b3a14 Fixed encoding of BCD number.
Fixed solving of message definition table depending upon message direction.
Added generic function for building a bit string from a list of flags.
Added decoder and encoder for Call Control Capabilities type.



git-svn-id: http://voip.null.ro/svn/yate@5717 acf43c95-373e-0410-b603-e72c3f656dc1
2014-01-14 12:47:48 +00:00
oana d9e038e72d Added encoder/decoder for IEs which only have type (IEI).
Added encoder for Location Updating type.
Added flag for printing debug messages. Print debug message when exiting decoding/encoding functions.



git-svn-id: http://voip.null.ro/svn/yate@5716 acf43c95-373e-0410-b603-e72c3f656dc1
2014-01-13 14:50:56 +00:00
oana 836b882435 Decode/encode unknown PLMN Identity.
git-svn-id: http://voip.null.ro/svn/yate@5715 acf43c95-373e-0410-b603-e72c3f656dc1
2014-01-10 15:57:34 +00:00
oana 33410effb1 Added encoder for BCD number type.
git-svn-id: http://voip.null.ro/svn/yate@5714 acf43c95-373e-0410-b603-e72c3f656dc1
2014-01-10 14:51:09 +00:00
oana b0961208f9 Added coder and encoder for Cause type.
git-svn-id: http://voip.null.ro/svn/yate@5713 acf43c95-373e-0410-b603-e72c3f656dc1
2014-01-10 13:24:58 +00:00
marian cbfcd12643 Added setText function to XML object. Added optional third argument to XML constructor used to take the xml from list parameter instead of making a copy.
git-svn-id: http://voip.null.ro/svn/yate@5712 acf43c95-373e-0410-b603-e72c3f656dc1
2014-01-10 11:55:36 +00:00
oana a05fb651cf Separated IE type defition from IE parameter definition.
git-svn-id: http://voip.null.ro/svn/yate@5711 acf43c95-373e-0410-b603-e72c3f656dc1
2014-01-10 11:38:14 +00:00
oana f321c81bd1 Added MM Status message definition for coder and decoder.
git-svn-id: http://voip.null.ro/svn/yate@5710 acf43c95-373e-0410-b603-e72c3f656dc1
2014-01-09 16:23:55 +00:00
oana 9a2bff8303 Added MM IMSI Detach Indication message definition.
git-svn-id: http://voip.null.ro/svn/yate@5709 acf43c95-373e-0410-b603-e72c3f656dc1
2014-01-09 16:09:12 +00:00
oana d85fef2def Fixed decoding of Mobile Identity.
Print decoding failures.



git-svn-id: http://voip.null.ro/svn/yate@5708 acf43c95-373e-0410-b603-e72c3f656dc1
2014-01-09 15:59:32 +00:00
oana 832b7a3e86 Changed decoding format for CC transaction identifier.
Added message definitions for CC MS to Network Alerting, Connect, Connect Ack, Disconnect, Release, Release Complete, Status and Status Enquiry.
While encoding do not add the type and/or length for an optional IE when it's missing.



git-svn-id: http://voip.null.ro/svn/yate@5707 acf43c95-373e-0410-b603-e72c3f656dc1
2014-01-09 15:16:52 +00:00
oana 2745b32385 Changed message marking in decoding.
Changed the way BCD number and ProgressIndicator are decoded.
Changed MCC_MNC tag to PLMNidentity.
Do not return error if input buffer is empty and IE is optional.



git-svn-id: http://voip.null.ro/svn/yate@5706 acf43c95-373e-0410-b603-e72c3f656dc1
2014-01-09 12:32:19 +00:00
oana 3d0f747c85 Work in progress for GSM library.
Fixed encoding for message octet.
Added decoder for CC transaction identifier, BCD numbers, progress indicator.
Handle messages that have different defintions depending upon message direction.
Added message definitions and started adding coders for CC MO Setup, Call Proceeding and Alerting.



git-svn-id: http://voip.null.ro/svn/yate@5705 acf43c95-373e-0410-b603-e72c3f656dc1
2014-01-08 15:57:05 +00:00
paulc 623c4701df Retry taking the lock on CallEndpoint mutex keeping the Engine congested.
This should allow recovering from performance problems as new calls are blocked.


git-svn-id: http://voip.null.ro/svn/yate@5704 acf43c95-373e-0410-b603-e72c3f656dc1
2014-01-07 16:08:37 +00:00
paulc 2c78e79121 Added and Engine congestion counter and call accept status override.
Send alarms when entering or exiting congestion state.
The Driver now refuses to route calls while engine is congested or rejecting calls.


git-svn-id: http://voip.null.ro/svn/yate@5703 acf43c95-373e-0410-b603-e72c3f656dc1
2014-01-07 16:08:09 +00:00
paulc f7ad9ee3d0 Reduced contention on CallEndpoint::commonMutex() when getting current or last peer ID.
Added a variable and separate mutex for the last peer ID, also used as cache for current one.


git-svn-id: http://voip.null.ro/svn/yate@5702 acf43c95-373e-0410-b603-e72c3f656dc1
2014-01-07 16:07:34 +00:00
oana 433fec016e Added encoder for TV IEs.
Added function for decoding/encoding integers.
Decode/encode Skip Indicator.
Encode IMSI/IMEI/IMEISV Mobile Identity type.
Added coding and decoding for the following MM Messages: Location Updating Reject, CM Service Request, CM Service Accept, CM Service Abort, CM Service Reject, Abort.



git-svn-id: http://voip.null.ro/svn/yate@5701 acf43c95-373e-0410-b603-e72c3f656dc1
2014-01-07 14:37:26 +00:00
oana 4da74fe03d Work in progress for GSM library.
Added encoders for LV/LVE and TLV/TLVE IEs.
Added decoders/encoders for message type, LAI, mobile identity.
Added decoders for MM Location Updating Request and Identity Response.
Added encoders and decoders for MM Identity Request, Location Updating Accept, TMSI Reallocation Complete.



git-svn-id: http://voip.null.ro/svn/yate@5700 acf43c95-373e-0410-b603-e72c3f656dc1
2014-01-06 16:04:20 +00:00