[Users] WeSIP: RingTone

Helmut Kuper helmut.kuper at ewetel.de
Wed May 23 10:34:12 CEST 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,

I play around with WeSIP's ringtone app. I try to get ringtone running
in this constellation:

caller	->	openser sip-proxy	-> 	openser+wesip	->	-> target sip-proxy	->
callee


openser+wesip is loaded with both c2c and ringtone app. When openser
sip-proxy relay callers INVITE to wesip, wesip response with "SIP/2.0
481 Call Leg/Transaction Does Not Exist". I dunno wheter this is an
answere from ringtone app or from wesip itself. I also dunno, whether I
have to config ringtone with environment specific things, like sip port,
ip address or something like that or whether my constallation from above
is correct. Maybe someone can help me out here :)



Here is WeSIP's log, after receiving caller's INVITE:


Starting WESIP Application Server VozTelecom...
hk at vm-en-test0:~/wesip/wesip$ HttpConnector      [main] - The
HttpConnector [all:8080] has been created
ExpressConnector         [main] - SEAS module successfully connected at
212.6.123.118:5081
ExpressConnector         [main] - trying to receive 2 socket
descriptions from SEAS
ExpressConnector         [main] - SER socket:[212.6.123.118:5080/udp]
ExpressConnector         [main] - SER socket:[212.6.123.118:5080/udp]
ExpressConnector         [main] - SER socket:[212.6.123.118:5080/tcp]
ExpressConnector         [main] - SER socket:[212.6.123.118:5080/tcp]
SeasRouter       [SeasRouter] - SeasDispatcher Thread starts running
SeasRouter       [SeasRouter] - SeasDispatcher Thread starts running
SeasHashTable    [main] - Creating Seas Hash Table, with tablePower=17
and total entries:131072
SeasHashTable    [main] - Creating Seas Hash Table, with tablePower=17
and total entries:131072
ExpressMessageChannel    [ExpressMessageProcessor] - setting spiral=false
ExpressMessageChannel    [ExpressMessageProcessor] - setting spiral=false
SipConnector     [main] - The SipConnector [212.6.123.118:5080] has been
created
SipProcessor     [main] - Starting background thread
ExpressMessageChannel    [ExpressMessageProcessor] - setting spiral=false
ExpressMessageChannel    [ExpressMessageProcessor] - setting spiral=false
ExpressMessageChannel    [ExpressMessageProcessor] - setting spiral=false
ExpressMessageChannel    [ExpressMessageProcessor] - setting spiral=false
ExpressMessageChannel    [ExpressMessageProcessor] - setting spiral=false
ExpressMessageChannel    [ExpressMessageProcessor] - setting spiral=false
ExpressMessageChannel    [ExpressMessageProcessor] - setting spiral=false
ExpressMessageChannel    [ExpressMessageProcessor] - setting spiral=false
SipProcessor     [main] - Background thread has been started
SipConnector     [main] - recycle: Recycling processor SipProcessor[0]
SipProcessor     [main] - Starting background thread
SipProcessor     [main] - Background thread has been started
SipConnector     [main] - recycle: Recycling processor SipProcessor[1]
SipProcessor     [main] - Starting background thread
SipProcessor     [main] - Background thread has been started
SipConnector     [main] - recycle: Recycling processor SipProcessor[2]
SipProcessor     [main] - Starting background thread
SipProcessor     [main] - Background thread has been started
SipConnector     [main] - recycle: Recycling processor SipProcessor[3]
SipProcessor     [main] - Starting background thread
SipProcessor     [main] - Background thread has been started
SipConnector     [main] - recycle: Recycling processor SipProcessor[4]
ConvergedEngine          [main] - 212.6.123.118_5080
ConvergedEngine          [main] - 212.6.123.118_5080
ConvergedEngine          [main] - 212.6.123.118_5080
ConvergedEngine          [main] - 212.6.123.118_5080
StatisticsServlet        [main] - Wrapper setted in StatisticsServlet!!!
ConvergedHostDeployer    [main] - Installing web application at context
path /click2call-08_11_06 from URL
file:/home/hk/wesip/wesip/wesipapps/click2call-08_11_06
StandardSipManager       [main] - Starting
StandardSipManager       [main] - Force random number initialization
starting
StandardSipManager       [main] - Force random number initialization
completed
StandardSipManager       [main] - Start: Loading persisted sessions
StandardSipManager       [main] - Loading persisted sessions from
SIPSESSIONS.ser
StandardSipManager       [main] - No persisted data file found
StandardAppSessionManager        [main] - Starting
StandardAppSessionManager        [main] - Force random number
initialization starting
StandardAppSessionManager        [main] - Force random number
initialization completed
AxisServletBase          [main] - In AxisServletBase init
AxisServletBase          [main] - Enter: getEngine()
ProjectResourceBundle    [main] -
getBundle(org.apache.axis,org.apache.axis.i18n,resource,null,...)
ProjectResourceBundle$Context    [main] - loadBundle: Ignoring
MissingResourceException: Can't find bundle for base name
org.apache.axis.resource, locale en_US
ProjectResourceBundle    [main] - Created org.apache.axis.i18n.resource,
linked to parent null
ProjectResourceBundle    [main] -
getBundle(org.apache.axis,org.apache.axis.utils,resource,null,...)
ProjectResourceBundle$Context    [main] - loadBundle: Ignoring
MissingResourceException: Can't find bundle for base name
org.apache.axis.utils.resource, locale en_US
ProjectResourceBundle$Context    [main] - loadBundle: Ignoring
MissingResourceException: Can't find bundle for base name
org.apache.axis.resource, locale en_US
ProjectResourceBundle    [main] - Root package not found, cross link to
org.apache.axis.i18n.resource
ProjectResourceBundle    [main] - Root package not found, cross link to
org.apache.axis.i18n.resource
ProjectResourceBundle    [main] -
org.apache.axis.i18n.resource::handleGetObject(engineFactory)
EngineConfigurationFactoryFinder$1       [main] - Got EngineFactory:
org.apache.axis.configuration.EngineConfigurationFactoryServlet
DefaultAxisServerFactory         [main] - Enter:
DefaultAxisServerFactory::getServer
DefaultAxisServerFactory         [main] - Enter:
DefaultAxisServerFactory::getEngineConfiguration
DefaultAxisServerFactory         [main] - Exit:
DefaultAxisServerFactory::getEngineConfiguration
AxisEngine       [main] - Enter: AxisEngine::init
ProjectResourceBundle    [main] -
org.apache.axis.i18n.resource::handleGetObject(attachEnabled)
JavaUtils        [main] - Attachment support is enabled?  false
ProjectResourceBundle    [main] -
org.apache.axis.i18n.resource::handleGetObject(attachDisabled)
JavaUtils        [main] - Unable to find required classes
(javax.activation.DataHandler and javax.mail.internet.MimeMultipart).
Attachment support is disabled.
ProjectResourceBundle    [main] -
org.apache.axis.i18n.resource::handleGetObject(oddDigits00)
ProjectResourceBundle    [main] -
org.apache.axis.i18n.resource::handleGetObject(badChars01)
AxisEngine       [main] - Exit: AxisEngine::init
DefaultAxisServerFactory         [main] - Exit:
DefaultAxisServerFactory::getServer
AxisServletBase          [main] - Exit: getEngine()
AxisServlet      [main] - In servlet init
AxisServletBase          [main] - Enter: getEngine()
AxisServletBase          [main] - Exit: getEngine()
AxisServletBase          [main] - Enter: getEngine()
AxisServletBase          [main] - Exit: getEngine()
AxisServletBase          [main] - Enter: getEngine()
AxisServletBase          [main] - Exit: getEngine()
AxisServletBase          [main] - Enter: getEngine()
AxisServletBase          [main] - Exit: getEngine()
AxisServletBase          [main] - Enter: getEngine()
AxisServletBase          [main] - Exit: getEngine()
AxisServletBase          [main] - Enter: getEngine()
AxisServletBase          [main] - Exit: getEngine()
AxisServletBase          [main] - Enter: getEngine()
AxisServletBase          [main] - Exit: getEngine()
Registrar        [main] - Registering
org.apache.axis.management.jmx.ServiceAdministrator at 10ffb38 as
axis:type=server
Registry         [main] - Managed= axis:type=server
Registry         [main] - Looking for descriptor
Registry         [main] - Introspecting
Registry         [main] - load class
org.apache.axis.management.jmx.ServiceAdministrator
MbeansDescriptorsIntrospectionSource     [main] - Introspected attribute
version public java.lang.String
org.apache.axis.management.jmx.ServiceAdministrator.getVersion() null
MbeansDescriptorsIntrospectionSource     [main] - Setting name:
ServiceAdministrator
BaseModelMBean   [main] - default constructor
Registry         [main] - Creating MBeanServer9
BaseModelMBean   [main] - preRegister
org.apache.axis.management.jmx.ServiceAdministrator at 10ffb38 axis:type=server
Registrar$ModelerBinding         [main] - Registered axis:type=server in
ServiceAdministrator
Registrar        [main] - Registering
org.apache.axis.management.jmx.DeploymentAdministrator at b40ec4 as
axis:type=deploy
Registry         [main] - Managed= axis:type=deploy
Registry         [main] - Looking for descriptor
Registry         [main] - Introspecting
Registry         [main] - load class
org.apache.axis.management.jmx.DeploymentAdministrator
MbeansDescriptorsIntrospectionSource     [main] - Setting name:
DeploymentAdministrator
BaseModelMBean   [main] - default constructor
BaseModelMBean   [main] - preRegister
org.apache.axis.management.jmx.DeploymentAdministrator at b40ec4
axis:type=deploy
Registrar$ModelerBinding         [main] - Registered axis:type=deploy in
DeploymentAdministrator
Registrar        [main] - Registering
org.apache.axis.management.jmx.DeploymentQuery at edf730 as axis:type=query
Registry         [main] - Managed= axis:type=query
Registry         [main] - Looking for descriptor
Registry         [main] - Introspecting
Registry         [main] - load class
org.apache.axis.management.jmx.DeploymentQuery
MbeansDescriptorsIntrospectionSource     [main] - Setting name:
DeploymentQuery
BaseModelMBean   [main] - default constructor
BaseModelMBean   [main] - preRegister
org.apache.axis.management.jmx.DeploymentQuery at edf730 axis:type=query
Registrar$ModelerBinding         [main] - Registered axis:type=query in
DeploymentQuery
AxisServletBase          [main] - In AxisServletBase init
AxisServletBase          [main] - Enter: getEngine()
ProjectResourceBundle    [main] -
org.apache.axis.i18n.resource::handleGetObject(engineFactory)
EngineConfigurationFactoryFinder$1       [main] - Got EngineFactory:
org.apache.axis.configuration.EngineConfigurationFactoryServlet
DefaultAxisServerFactory         [main] - Enter:
DefaultAxisServerFactory::getServer
DefaultAxisServerFactory         [main] - Enter:
DefaultAxisServerFactory::getEngineConfiguration
DefaultAxisServerFactory         [main] - Exit:
DefaultAxisServerFactory::getEngineConfiguration
AxisEngine       [main] - Enter: AxisEngine::init
AxisEngine       [main] - Exit: AxisEngine::init
DefaultAxisServerFactory         [main] - Exit:
DefaultAxisServerFactory::getServer
AxisServletBase          [main] - Exit: getEngine()
ConvergedContext         [main] - ConvergedContext [Click2Call
SipServlet] has been started
ConvergedHostDeployer    [main] - Installing web application at context
path /ringtone-22_02_07 from URL
file:/home/hk/wesip/wesip/wesipapps/ringtone-22_02_07
StandardSipManager       [main] - Starting
StandardSipManager       [main] - Force random number initialization
starting
StandardSipManager       [main] - Force random number initialization
completed
StandardSipManager       [main] - Start: Loading persisted sessions
StandardSipManager       [main] - Loading persisted sessions from
SIPSESSIONS.ser
StandardSipManager       [main] - No persisted data file found
StandardAppSessionManager        [main] - Starting
StandardAppSessionManager        [main] - Force random number
initialization starting
StandardAppSessionManager        [main] - Force random number
initialization completed
ConvergedContext         [main] - ConvergedContext [Ringtone] has been
started
ConvergedHostDeployer    [main] - Installing web application at context
path  from URL file:/home/hk/wesip/wesip/wesipapps/ROOT
StandardSipManager       [main] - Starting
StandardSipManager       [main] - Force random number initialization
starting
StandardSipManager       [main] - Force random number initialization
completed
StandardSipManager       [main] - Start: Loading persisted sessions
StandardSipManager       [main] - Loading persisted sessions from
SIPSESSIONS.ser
StandardSipManager       [main] - No persisted data file found
StandardAppSessionManager        [main] - Starting
StandardAppSessionManager        [main] - Force random number
initialization starting
StandardAppSessionManager        [main] - Force random number
initialization completed
processJars: cannot find /WEB-INF/lib
ConvergedContext         [main] - ConvergedContext [Welcome] has been
started
StandardService          [main] -

> Default Wesip Application ==> http://localhost:8080/
> Manager Wesip Application ==> http://localhost:8080/manager/html?

StandardService          [main] -

> In order to access the manager application use default credentials:
         - username: wesip
         - password: wesip

> This configuration is defined in wesip-users.xml inside conf folder:
        - file: ./conf/wesip-users.xml
SeasMessageEvent         [SeasRouter] - New message received, from
212.6.123.118:5060 to 212.6.123.118:5080 over UDP
SeasTransactionEvent     [SeasRouter] - hash_index =
46338,label=965718283 flags=0
ExpressMessageChannel    [ExpressMChannel[0]] - peerAddress =
212.6.123.118/5060
ExpressMessageChannel    [ExpressMChannel[0]] - About to process INVITE
sip:v111 at 212.6.123.118:5080;rinstance=fe71c43d95b8211a SIP/2.0
SipConnector     [ExpressMChannel[0]] - createProcessor: Reusing
existing processor
SipProcessor     [ExpressMChannel[0]] -  An incoming message is being
assigned
SipProcessor     [SipProcessor[4]] -  <<<<<<<<< Request Received <<<<<<<<<
INVITE sip:v111 at 212.6.123.118:5080;rinstance=fe71c43d95b8211a SIP/2.0
Record-Route: <sip:212.6.123.118;lr=on;ftag=450c2a3b>
Via: SIP/2.0/UDP 212.6.123.118;branch=z9hG4bK205b.8c060ce2.0,SIP/2.0/UDP
212.6.95.198:25952;branch=z9hG4bK-d87543-ed108070b87aca0e-1--d87543-;rport=25952
Max-Forwards: 69
Contact: <sip:v101 at 212.6.95.198:25952>
To: "Bruening" <sip:v111 at sip0.en.ewetel.de>
From: "v101" <sip:v101 at sip0.en.ewetel.de>;tag=450c2a3b
Call-ID: 7315210f6c7d7741NTA0NmE0M2ZkM2Y4MTg0YmU4NjQzNTllM2Q1YzliZGE.
CSeq: 1 INVITE
Allow: INVITE,CANCEL,ACK,BYE,INFO,OPTIONS,MESSAGE,SUBSCRIBE,NOTIFY,REFER
Content-Type: application/sdp
User-Agent: X-Lite release 1003l stamp 30942
P-Announcement-Code: 322
P-Hint: ringtone
Content-Length: 300


SeasHashTable    [SipProcessor[4]] - Inserting hashIdx:46338
label:965718283 into hashTable
SipProcessor     [SipProcessor[4]] - Transaction
[z9hG4bK205b.8c060ce2.0] is new Transaction?? --> true
EngineSipMapper          [SipProcessor[4]] - Request from 212.6.123.118
mapped to: ConvergedEngine[Standalone].StandardHttpHost[212.6.123.118]
ConvergedEngineValve     [SipProcessor[4]] - Invoking Host:212.6.123.118
ConvergedHostValve       [SipProcessor[4]] - SipSession not found for
requestINVITE, trying match against Rules
ConvergedHostValve       [SipProcessor[4]] - No servlet-mapping matched
this Request.
SipResponse      [SipProcessor[4]] -  >>>>>>>>> Sending Response >>>>>>>>>
SIP/2.0 481 Call Leg/Transaction Does Not Exist
Record-Route: <sip:212.6.123.118;lr=on;ftag=450c2a3b>
Via: SIP/2.0/UDP 212.6.123.118;branch=z9hG4bK205b.8c060ce2.0,SIP/2.0/UDP
212.6.95.198:25952;branch=z9hG4bK-d87543-ed108070b87aca0e-1--d87543-;rport=25952
Max-Forwards: 69
To: "Bruening" <sip:v111 at sip0.en.ewetel.de>
From: "v101" <sip:v101 at sip0.en.ewetel.de>;tag=450c2a3b
Call-ID: 7315210f6c7d7741NTA0NmE0M2ZkM2Y4MTg0YmU4NjQzNTllM2Q1YzliZGE.
CSeq: 1 INVITE
Content-Length: 0


LingerList       [SipProcessor[4]] - scheduled transaction
z9hG4bK205b.8c060ce2.0 for deletion
ExpressMessageChannel    [SipProcessor[4]] - sending with spiral=false
SipConnector     [SipProcessor[4]] - recycle: Recycling processor
SipProcessor[4]
ActionRouter$ActionSender        [ActionSender] - Writing 503 bytes into
Action Socket
SeasMessageEvent         [SeasRouter] - New message received, from
212.6.123.118:5060 to 212.6.123.118:5080 over UDP
SeasTransactionEvent     [SeasRouter] - hash_index =
46338,label=965718283 flags=0
ExpressMessageChannel    [ExpressMChannel[1]] - peerAddress =
212.6.123.118/5060
ExpressMessageChannel    [ExpressMChannel[1]] - About to process ACK
sip:v111 at 212.6.123.118:5080;rinstance=fe71c43d95b8211a SIP/2.0
ExpressMessageChannel    [ExpressMChannel[1]] - Done processing ACK
sip:v111 at 212.6.123.118:5080;rinstance=fe71c43d95b8211a SIP/2.0
ExpressMessageChannel    [ExpressMChannel[0]] - Done processing INVITE
sip:v111 at 212.6.123.118:5080;rinstance=fe71c43d95b8211a SIP/2.0



regards
Helmut
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGU/w94tZeNddg3dwRAhs+AKCpq2ZrAwCatPUY3BCUJR/ZJYwuzQCfUEOd
MuNZ3C48K5Ypzun/27JG6TI=
=5nOc
-----END PGP SIGNATURE-----




More information about the Users mailing list