callagent: Provide a proper Contact header for this service
This commit is contained in:
parent
d188d2afed
commit
bba8bd1bc2
|
@ -50,9 +50,9 @@ will simply ignore everything but the first dialog.'>
|
|||
SIPCall class >> fromUser: aUser host: aHost port: aPort to: aTo on: aUseragent [
|
||||
<category: 'creation'>
|
||||
^ self new
|
||||
useragent: aUseragent;
|
||||
initialDialog: ((SIPDialog fromUser: aUser host: aHost port: aPort)
|
||||
to: aTo; yourself);
|
||||
useragent: aUseragent;
|
||||
yourself
|
||||
]
|
||||
|
||||
|
@ -79,7 +79,9 @@ will simply ignore everything but the first dialog.'>
|
|||
|
||||
initialDialog: aDialog [
|
||||
<category: 'creation'>
|
||||
initial_dialog := aDialog
|
||||
initial_dialog := aDialog.
|
||||
initial_dialog contact: 'osmo_st_sip@%1:%2'
|
||||
% {ua transport address. ua transport port}.
|
||||
]
|
||||
|
||||
useragent: aUseragent [
|
||||
|
|
|
@ -197,6 +197,11 @@ Object subclass: SIPUserAgentBase [
|
|||
transport handler: self.
|
||||
]
|
||||
|
||||
transport [
|
||||
<category: 'accessing'>
|
||||
^ transport
|
||||
]
|
||||
|
||||
queueData: aDatagram [
|
||||
transport queueData: aDatagram.
|
||||
]
|
||||
|
|
Reference in New Issue