<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]-->
<style>
<!--
/* Font Definitions */
@font-face
        {font-family:Wingdings;
        panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:blue;
        text-decoration:underline;}
p
        {mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Times New Roman";}
span.StileMessaggioDiPostaElettronica19
        {mso-style-type:personal-reply;
        font-family:Arial;
        color:navy;}
@page Section1
        {size:595.3pt 841.9pt;
        margin:70.85pt 2.0cm 2.0cm 2.0cm;}
div.Section1
        {page:Section1;}
-->
</style>
</head>
<body lang=IT link=blue vlink=blue style='word-wrap: break-word;-webkit-nbsp-mode: space;
-webkit-line-break: after-white-space'>
<div class=Section1>
<div>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Hi Ginés,<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB
style='font-size:10.0pt;font-family:Arial;color:navy'>in the server.xml wesip
configuration file I add the following line:<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB
style='font-size:10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-GB
style='font-size:12.0pt'><property
key="com.voztele.javax.sip.SPIRAL_HDR" value="true"/><o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-GB
style='font-size:12.0pt'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-GB
style='font-size:12.0pt'>The opensips log says me that:<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-GB
style='font-size:12.0pt'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-GB
style='font-size:12.0pt'>The wesip INVITE pass trought the local_route function
and it don’t re-enter in the Opensips again…. You can see it in the
below log it is in bold<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-GB
style='font-size:12.0pt'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-GB
style='font-size:12.0pt'>The sip message is sent to the production server IP…
You can see it in the below log it is in red bold<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-GB
style='font-size:12.0pt'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-GB
style='font-size:12.0pt'>The production server IP (that isn’t my test
opensips server) rensponde with 403 Forbidden… You can see it in the below
log it is in blue bold<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-GB
style='font-size:12.0pt'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-GB
style='font-size:12.0pt'>So, in my scenarious I never see the SIP message with the
SPIRAL_HDR in the route{} function… Perhaps I need to use a real domain
name… I think…<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-GB
style='font-size:12.0pt'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-GB
style='font-size:12.0pt'>Please, any other suggestions???<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-GB
style='font-size:12.0pt'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-GB
style='font-size:12.0pt'>Regards,<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-GB
style='font-size:12.0pt'> MD<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-GB
style='font-size:12.0pt'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-GB
style='font-size:12.0pt'>Below the opensips log file:<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-GB
style='font-size:12.0pt'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-GB
style='font-size:12.0pt'>Mar 20 14:47:04 [20679] DBG:seas:process_input: read
408 bytes from AS action socket (total = 408)<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-GB
style='font-size:12.0pt'>Mar 20 14:47:04 [20679] DBG:seas:process_action:
Processing action 408 bytes long<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-GB
style='font-size:12.0pt'>Mar 20 14:47:04 [20679] DBG:seas:process_action:
Processing an UAC REQUEST action from AS (length=408): wesipapp<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-GB
style='font-size:12.0pt'>Mar 20 14:47:04 [20679] DBG:seas:ac_uac_req: Action
UAC Message: uac_id:532438880 processor_id=1<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-GB
style='font-size:12.0pt'>Mar 20 14:47:04 [20679] DBG:seas:parse_ac_msg: Action
Message:[INVITE sip:003955223344@domain.com SIP/2.0<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-GB
style='font-size:12.0pt'>Call-ID: 69B5604EA6CF791ECB903674779B72F6@localhost<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-GB
style='font-size:12.0pt'>CSeq: 1 INVITE<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-GB
style='font-size:12.0pt'>From:
<sip:003955223344@domain.com>;tag=1A73A93AB8753C253342CF1DB2C03DFF<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-GB
style='font-size:12.0pt'>To: <sip:003955223344@domain.com><o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-GB
style='font-size:12.0pt'>Max-Forwards: 70<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-GB
style='font-size:12.0pt'>Contact:
<sip:192.168.193.75:5060;transport=udp;AppId=.click2call><o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-GB
style='font-size:12.0pt'>Via: SIP/2.0/UDP
192.168.193.75:5060;branch=z9hG4bK532438880<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-GB
style='font-size:12.0pt'>Content-Length: 0<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-GB
style='font-size:12.0pt'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-GB
style='font-size:12.0pt'>]<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-GB
style='font-size:12.0pt'>Mar 20 14:47:04 [20679] DBG:core:parse_msg: SIP
Request:<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-GB
style='font-size:12.0pt'>Mar 20 14:47:04 [20679] DBG:core:parse_msg: method:
<INVITE><o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>Mar 20 14:47:04 [20679] DBG:core:parse_msg: uri:
<sip:003955223344@domain.com><o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-GB
style='font-size:12.0pt'>Mar 20 14:47:04 [20679] DBG:core:parse_msg: version:
<SIP/2.0><o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-GB
style='font-size:12.0pt'>Mar 20 14:47:04 [20679] DBG:core:parse_headers:
flags=2<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-GB
style='font-size:12.0pt'>Mar 20 14:47:04 [20679] DBG:core:get_hdr_field: cseq
<CSeq>: <1> <INVITE><o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-GB
style='font-size:12.0pt'>Mar 20 14:47:04 [20679] DBG:core:parse_to: end of
header reached, state=10<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-GB
style='font-size:12.0pt'>Mar 20 14:47:04 [20679] DBG:core:parse_to: display={},
ruri={sip:003955223344@domain.com}<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-GB
style='font-size:12.0pt'>Mar 20 14:47:04 [20679] DBG:core:get_hdr_field:
<To> [32]; uri=[sip:003955223344@domain.com] <o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-GB
style='font-size:12.0pt'>Mar 20 14:47:04 [20679] DBG:core:get_hdr_field: to
body [<sip:003955223344@domain.com><o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-GB
style='font-size:12.0pt'>]<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-GB
style='font-size:12.0pt'>Mar 20 14:47:04 [20679] DBG:core:parse_via_param:
found param type 232, <branch> = <z9hG4bK532438880>; state=16<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-GB
style='font-size:12.0pt'>Mar 20 14:47:04 [20679] DBG:core:parse_via: end of
header reached, state=5<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-GB
style='font-size:12.0pt'>Mar 20 14:47:04 [20679] DBG:core:parse_headers: via
found, flags=2<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-GB
style='font-size:12.0pt'>Mar 20 14:47:04 [20679] DBG:core:parse_headers: this
is the first via<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-GB
style='font-size:12.0pt'>Mar 20 14:47:04 [20679] DBG:core:parse_headers:
flags=ffffffffffffffff<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-GB
style='font-size:12.0pt'>Mar 20 14:47:04 [20679] DBG:core:get_hdr_field:
content_length=0<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-GB
style='font-size:12.0pt'>Mar 20 14:47:04 [20679] DBG:core:get_hdr_field: found
end of header<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-GB
style='font-size:12.0pt'>Mar 20 14:47:04 [20679] DBG:core:parse_headers:
flags=ffffffffffffffff<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-GB
style='font-size:12.0pt'>Mar 20 14:47:04 [20679] DBG:core:parse_to_param:
tag=1A73A93AB8753C253342CF1DB2C03DFF<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-GB
style='font-size:12.0pt'>Mar 20 14:47:04 [20679] DBG:core:parse_to: end of
header reached, state=29<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-GB
style='font-size:12.0pt'>Mar 20 14:47:04 [20679] DBG:core:parse_to: display={},
ruri={sip:003955223344@domain.com}<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-GB
style='font-size:12.0pt'>Mar 20 14:47:04 [20679] DBG:core:parse_headers:
flags=78<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-GB
style='font-size:12.0pt'>Mar 20 14:47:04 [20679]
DBG:seas:extract_allowed_headers: Skipping header (Call-ID)<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-GB
style='font-size:12.0pt'>Mar 20 14:47:04 [20679] DBG:seas:extract_allowed_headers:
Skipping header (CSeq)<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-GB
style='font-size:12.0pt'>Mar 20 14:47:04 [20679]
DBG:seas:extract_allowed_headers: Skipping header (From)<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-GB
style='font-size:12.0pt'>Mar 20 14:47:04 [20679]
DBG:seas:extract_allowed_headers: Skipping header (To)<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-GB
style='font-size:12.0pt'>Mar 20 14:47:04 [20679] DBG:seas:extract_allowed_headers:
Stripping vias [Via: SIP/2.0/UDP 192.168.193.75:5060;branch=z9hG4bK532438880<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-GB
style='font-size:12.0pt'>]<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-GB
style='font-size:12.0pt'>Mar 20 14:47:04 [20679]
DBG:seas:extract_allowed_headers: Skipping header (Content-Length)<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-GB
style='font-size:12.0pt'>Mar 20 14:47:04 [20679] DBG:tm:t_uac:
next_hop=<sip:003955223344@domain.com><o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-GB
style='font-size:12.0pt'>Mar 20 14:47:04 [20679] DBG:core:mk_proxy: doing DNS
lookup...<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-GB
style='font-size:12.0pt'>Mar 20 14:47:04 [20679] DBG:core:sip_resolvehost: no
port, no proto -> do NAPTR lookup!<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-GB
style='font-size:12.0pt'>Mar 20 14:47:04 [20679] DBG:core:get_record:
lookup(domain.com, 35) failed<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-GB
style='font-size:12.0pt'>Mar 20 14:47:04 [20679] DBG:core:sip_resolvehost: no
valid NAPTR record found for domain.com, trying direct SRV lookup...<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-GB
style='font-size:12.0pt'>Mar 20 14:47:04 [20679] DBG:core:do_srv_lookup:
SRV(_sip._udp.domain.com) = voip5.domain.com:443<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-GB
style='font-size:12.0pt'>Mar 20 14:47:04 [20679] DBG:core:a2dns_node: storing
voip1.domain.com:5060<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-GB
style='font-size:12.0pt'>Mar 20 14:47:04 [20679] DBG:core:get_out_socket:
socket determined: 0x8197fe0<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-GB
style='font-size:12.0pt'>Mar 20 14:47:04 [20679] DBG:tm:dlg2hash: 28079<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-GB
style='font-size:12.0pt'>Mar 20 14:47:04 [20679] DBG:tm:print_request_uri:
sip:003955223344@domain.com<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-GB
style='font-size:12.0pt'>Mar 20 14:47:04 [20679] DBG:tm:t_uac: building sip_msg
from buffer<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-GB
style='font-size:12.0pt'>Mar 20 14:47:04 [20679] DBG:core:parse_msg: SIP
Request:<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-GB
style='font-size:12.0pt'>Mar 20 14:47:04 [20679] DBG:core:parse_msg: method:
<INVITE><o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>Mar 20 14:47:04 [20679] DBG:core:parse_msg: uri:
<sip:003955223344@domain.com><o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-GB
style='font-size:12.0pt'>Mar 20 14:47:04 [20679] DBG:core:parse_msg: version:
<SIP/2.0><o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-GB
style='font-size:12.0pt'>Mar 20 14:47:04 [20679] DBG:core:parse_headers:
flags=2<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-GB
style='font-size:12.0pt'>Mar 20 14:47:04 [20679] DBG:core:parse_via_param:
found param type 232, <branch> = <z9hG4bKfad6.b890cd35.0>; state=16<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-GB
style='font-size:12.0pt'>Mar 20 14:47:04 [20679] DBG:core:parse_via: end of
header reached, state=5<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-GB
style='font-size:12.0pt'>Mar 20 14:47:04 [20679] DBG:core:parse_headers: via
found, flags=2<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-GB
style='font-size:12.0pt'>Mar 20 14:47:04 [20679] DBG:core:parse_headers: this
is the first via<o:p></o:p></span></font></p>
<p class=MsoNormal><b><font size=3 face="Times New Roman"><span lang=EN-GB
style='font-size:12.0pt;font-weight:bold'>INVITE INTERNALLY GENERATED!!!<o:p></o:p></span></font></b></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-GB
style='font-size:12.0pt'>Mar 20 14:47:04 [20679] DBG:core:parse_headers:
flags=10<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-GB
style='font-size:12.0pt'>Mar 20 14:47:04 [20679] DBG:core:parse_to: end of
header reached, state=9<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-GB
style='font-size:12.0pt'>Mar 20 14:47:04 [20679] DBG:core:parse_to: display={},
ruri={sip:003955223344@domain.com}<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-GB
style='font-size:12.0pt'>Mar 20 14:47:04 [20679] DBG:core:get_hdr_field:
<To> [30]; uri=[sip:003955223344@domain.com] <o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-GB
style='font-size:12.0pt'>Mar 20 14:47:04 [20679] DBG:core:get_hdr_field: to
body [sip:003955223344@domain.com<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-GB
style='font-size:12.0pt'>]<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-GB
style='font-size:12.0pt'>Mar 20 14:47:04 [20679] DBG:core:parse_to_param:
tag=1A73A93AB8753C253342CF1DB2C03DFF<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-GB
style='font-size:12.0pt'>Mar 20 14:47:04 [20679] DBG:core:parse_to: end of
header reached, state=29<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-GB
style='font-size:12.0pt'>Mar 20 14:47:04 [20679] DBG:core:parse_to: display={},
ruri={sip:003955223344@domain.com}<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-GB
style='font-size:12.0pt'>Mar 20 14:47:04 [20679] DBG:core:db_new_result:
allocate 28 bytes for result set at 0x81cf1e0<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-GB
style='font-size:12.0pt'>Mar 20 14:47:04 [20679]
DBG:db_mysql:db_mysql_get_columns: 1 columns returned from the query<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-GB
style='font-size:12.0pt'>Mar 20 14:47:04 [20679] DBG:core:db_allocate_columns:
allocate 4 bytes for result names at 0x81cefd8<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-GB
style='font-size:12.0pt'>Mar 20 14:47:04 [20679] DBG:core:db_allocate_columns:
allocate 4 bytes for result types at 0x81cee70<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-GB
style='font-size:12.0pt'>Mar 20 14:47:04 [20679]
DBG:db_mysql:db_mysql_get_columns: allocate 8 bytes for RES_NAMES[0] at
0x81cefa0<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-GB
style='font-size:12.0pt'>Mar 20 14:47:04 [20679]
DBG:db_mysql:db_mysql_get_columns: RES_NAMES(0x81cefa0)[0]=[domain]<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-GB
style='font-size:12.0pt'>Mar 20 14:47:04 [20679] DBG:db_mysql:db_mysql_get_columns:
use DB_STRING result type<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-GB
style='font-size:12.0pt'>Mar 20 14:47:04 [20679]
DBG:db_mysql:db_mysql_convert_rows: allocate 8 bytes for rows at 0x81cf208<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-GB
style='font-size:12.0pt'>Mar 20 14:47:04 [20679]
DBG:db_mysql:db_mysql_convert_row: allocate 20 bytes for row values at
0x81cf218<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-GB
style='font-size:12.0pt'>Mar 20 14:47:04 [20679] DBG:db_mysql:db_mysql_str2val:
converting STRING [domain.com]<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-GB
style='font-size:12.0pt'>Mar 20 14:47:04 [20679] DBG:domain:is_domain_local:
Realm 'domain.com' is local<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-GB
style='font-size:12.0pt'>Mar 20 14:47:04 [20679] DBG:core:db_free_columns:
freeing 1 columns<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-GB
style='font-size:12.0pt'>Mar 20 14:47:04 [20679] DBG:core:db_free_columns:
freeing RES_NAMES[0] at 0x81cefa0<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-GB
style='font-size:12.0pt'>Mar 20 14:47:04 [20679] DBG:core:db_free_columns:
freeing result names at 0x81cefd8<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-GB
style='font-size:12.0pt'>Mar 20 14:47:04 [20679] DBG:core:db_free_columns:
freeing result types at 0x81cee70<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-GB
style='font-size:12.0pt'>Mar 20 14:47:04 [20679] DBG:core:db_free_rows: freeing
1 rows<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-GB
style='font-size:12.0pt'>Mar 20 14:47:04 [20679] DBG:core:db_free_row: freeing
row values at 0x81cf218<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-GB
style='font-size:12.0pt'>Mar 20 14:47:04 [20679] DBG:core:db_free_rows: freeing
rows at 0x81cf208<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-GB
style='font-size:12.0pt'>Mar 20 14:47:04 [20679] DBG:core:db_free_result:
freeing result set at 0x81cf1e0<o:p></o:p></span></font></p>
<p class=MsoNormal><b><font size=3 face="Times New Roman"><span lang=EN-GB
style='font-size:12.0pt;font-weight:bold'><sip:003955223344@domain.com>
BEFORE INVITE INTERNALLY GENERATED!!!<o:p></o:p></span></font></b></p>
<p class=MsoNormal><b><font size=3 face="Times New Roman"><span lang=EN-GB
style='font-size:12.0pt;font-weight:bold'><sip:003955223344@domain.com>
AFTER INVITE INTERNALLY GENERATED!!!<o:p></o:p></span></font></b></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-GB
style='font-size:12.0pt'>Mar 20 14:47:04 [20679] DBG:core:mk_proxy: doing DNS
lookup...<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-GB
style='font-size:12.0pt'>Mar 20 14:47:04 [20679] DBG:core:sip_resolvehost: no
port, no proto -> do NAPTR lookup!<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-GB
style='font-size:12.0pt'>Mar 20 14:47:04 [20679] DBG:core:get_record:
lookup(domain.com, 35) failed<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-GB
style='font-size:12.0pt'>Mar 20 14:47:04 [20679] DBG:core:sip_resolvehost: no
valid NAPTR record found for domain.com, trying direct SRV lookup...<o:p></o:p></span></font></p>
<p class=MsoNormal><b><font size=3 color=red face="Times New Roman"><span
lang=EN-GB style='font-size:12.0pt;color:red;font-weight:bold'>Mar 20 14:47:04
[20679] DBG:core:do_srv_lookup: SRV(_sip._udp.domain.com) =
voip5.domain.com:443<o:p></o:p></span></font></b></p>
<p class=MsoNormal><b><font size=3 color=red face="Times New Roman"><span
lang=EN-GB style='font-size:12.0pt;color:red;font-weight:bold'>Mar 20 14:47:04
[20679] DBG:core:a2dns_node: storing voip1.domain.com:5060<o:p></o:p></span></font></b></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-GB
style='font-size:12.0pt'>Mar 20 14:47:04 [20679] DBG:core:check_via_address:
params 192.168.193.75, 192.168.193.75, 0<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-GB
style='font-size:12.0pt'>Mar 20 14:47:04 [20679] DBG:core:forward_request:
sending:<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>INVITE sip:003955223344@domain.com SIP/2.0<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>Via: SIP/2.0/UDP 192.168.193.75;branch=z9hG4bKfad6.b890cd35.0<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>Via: SIP/2.0/UDP 192.168.193.75;branch=z9hG4bKfad6.b890cd35.0<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-GB
style='font-size:12.0pt'>To: sip:003955223344@domain.com<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-GB
style='font-size:12.0pt'>From:
sip:003955223344@domain.com;tag=1A73A93AB8753C253342CF1DB2C03DFF<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-GB
style='font-size:12.0pt'>CSeq: 1 INVITE<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-GB
style='font-size:12.0pt'>Call-ID: 69B5604EA6CF791ECB903674779B72F6@localhost<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-GB
style='font-size:12.0pt'>Content-Length: 0<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-GB
style='font-size:12.0pt'>Max-Forwards: 70<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-GB
style='font-size:12.0pt'>Contact: <sip:192.168.193.75:5060;transport=udp;AppId=.click2call><o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-GB
style='font-size:12.0pt'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-GB
style='font-size:12.0pt'>.<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-GB
style='font-size:12.0pt'>Mar 20 14:47:04 [20679] DBG:core:forward_request:
orig. len=391, new_len=454, proto=1<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-GB
style='font-size:12.0pt'>Mar 20 14:47:04 [20679] DBG:tm:t_uac: re-building the
buffer (sip_msg changed) - lumps are0x81cf1e0 (nil)<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-GB
style='font-size:12.0pt'>Mar 20 14:47:04 [20679] DBG:tm:set_timer: relative
timeout is 500000<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-GB
style='font-size:12.0pt'>Mar 20 14:47:04 [20679] DBG:tm:insert_timer_unsafe:
[4]: 0xb616e844 (7100000)<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-GB
style='font-size:12.0pt'>Mar 20 14:47:04 [20679] DBG:tm:set_timer: relative
timeout is 20<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-GB
style='font-size:12.0pt'>Mar 20 14:47:04 [20679] DBG:tm:insert_timer_unsafe:
[0]: 0xb616e860 (26)<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-GB
style='font-size:12.0pt'>Mar 20 14:47:04 [20679] DBG:seas:process_input:
(Action dispatched,buffer.len=0)<o:p></o:p></span></font></p>
<p class=MsoNormal><b><font size=3 color=blue face="Times New Roman"><span
lang=EN-GB style='font-size:12.0pt;color:blue;font-weight:bold'>Mar 20 14:47:04
[20661] DBG:core:parse_msg: SIP Reply (status):<o:p></o:p></span></font></b></p>
<p class=MsoNormal><b><font size=3 color=blue face="Times New Roman"><span
lang=EN-GB style='font-size:12.0pt;color:blue;font-weight:bold'>Mar 20 14:47:04
[20661] DBG:core:parse_msg: version: <SIP/2.0><o:p></o:p></span></font></b></p>
<p class=MsoNormal><b><font size=3 color=blue face="Times New Roman"><span
lang=EN-GB style='font-size:12.0pt;color:blue;font-weight:bold'>Mar 20 14:47:04
[20661] DBG:core:parse_msg: status: <100><o:p></o:p></span></font></b></p>
<p class=MsoNormal><b><font size=3 color=blue face="Times New Roman"><span
lang=EN-GB style='font-size:12.0pt;color:blue;font-weight:bold'>Mar 20 14:47:04
[20661] DBG:core:parse_msg: reason: <Trying><o:p></o:p></span></font></b></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-GB
style='font-size:12.0pt'>Mar 20 14:47:04 [20661] DBG:core:parse_headers:
flags=2<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-GB
style='font-size:12.0pt'>Mar 20 14:47:04 [20661] DBG:core:parse_via_param:
found param type 232, <branch> = <z9hG4bKfad6.b890cd35.0>; state=6<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-GB
style='font-size:12.0pt'>Mar 20 14:47:04 [20661] DBG:core:parse_via_param:
found param type 234, <received> = <194.184.159.6>; state=6<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-GB
style='font-size:12.0pt'>Mar 20 14:47:04 [20661] DBG:core:parse_via_param:
found param type 235, <rport> = <1205>; state=16<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-GB
style='font-size:12.0pt'>Mar 20 14:47:04 [20661] DBG:core:parse_via: end of
header reached, state=5<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-GB
style='font-size:12.0pt'>Mar 20 14:47:04 [20661] DBG:core:parse_headers: via
found, flags=2<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-GB
style='font-size:12.0pt'>Mar 20 14:47:04 [20661] DBG:core:parse_headers: this
is the first via<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-GB
style='font-size:12.0pt'>Mar 20 14:47:04 [20661] DBG:core:receive_msg: After
parse_msg...<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-GB
style='font-size:12.0pt'>Mar 20 14:47:04 [20661] ERROR:tm:t_check_status:
cannot check status for a reply which has no transaction-state established<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-GB
style='font-size:12.0pt'>Mar 20 14:47:04 [20661] DBG:core:forward_reply: found
module tm, passing reply to it<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-GB
style='font-size:12.0pt'>Mar 20 14:47:04 [20661] DBG:tm:t_check:
start=0xffffffff<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-GB
style='font-size:12.0pt'>Mar 20 14:47:04 [20661] DBG:core:parse_headers:
flags=22<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-GB
style='font-size:12.0pt'>Mar 20 14:47:04 [20661] DBG:core:parse_via_param:
found param type 232, <branch> = <z9hG4bKfad6.b890cd35.0>; state=16<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-GB
style='font-size:12.0pt'>Mar 20 14:47:04 [20661] DBG:core:parse_via: end of
header reached, state=5<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-GB
style='font-size:12.0pt'>Mar 20 14:47:04 [20661] DBG:core:parse_headers: via
found, flags=22<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-GB
style='font-size:12.0pt'>Mar 20 14:47:04 [20661] DBG:core:parse_headers:
parse_headers: this is the second via<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-GB
style='font-size:12.0pt'>Mar 20 14:47:04 [20661] DBG:core:parse_to: end of
header reached, state=10<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-GB
style='font-size:12.0pt'>Mar 20 14:47:04 [20661] DBG:core:parse_to: display={},
ruri={sip:003955223344@domain.com}<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-GB
style='font-size:12.0pt'>Mar 20 14:47:04 [20661] DBG:core:get_hdr_field:
<To> [32]; uri=[sip:003955223344@domain.com] <o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-GB
style='font-size:12.0pt'>Mar 20 14:47:04 [20661] DBG:core:get_hdr_field: to
body [<sip:003955223344@domain.com><o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-GB
style='font-size:12.0pt'>]<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-GB
style='font-size:12.0pt'>Mar 20 14:47:04 [20661] DBG:core:get_hdr_field: cseq
<CSeq>: <1> <INVITE><o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-GB
style='font-size:12.0pt'>Mar 20 14:47:04 [20661] DBG:core:parse_headers:
flags=8<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-GB
style='font-size:12.0pt'>Mar 20 14:47:04 [20661] DBG:tm:t_reply_matching: hash
28079 label 1406929291 branch 0<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-GB
style='font-size:12.0pt'>Mar 20 14:47:04 [20661] DBG:tm:t_reply_matching:
REF_UNSAFE: after is 1<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-GB
style='font-size:12.0pt'>Mar 20 14:47:04 [20661] DBG:tm:t_reply_matching: reply
matched (T=0xb616e6f8)!<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-GB
style='font-size:12.0pt'>Mar 20 14:47:04 [20661] DBG:tm:t_check: end=0xb616e6f8<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-GB
style='font-size:12.0pt'>Mar 20 14:47:04 [20661] DBG:tm:reply_received: org.
status uas=0, uac[0]=0 local=2 is_invite=1)<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-GB
style='font-size:12.0pt'>Mar 20 14:47:04 [20661]
DBG:tm:t_should_relay_response: T_code=0, new_code=100<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-GB
style='font-size:12.0pt'>Mar 20 14:47:04 [20661] DBG:tm:local_reply: branch=0,
save=0, winner=-1<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-GB
style='font-size:12.0pt'>Mar 20 14:47:04 [20661] DBG:tm:set_timer: relative
timeout is 30<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-GB
style='font-size:12.0pt'>Mar 20 14:47:04 [20661] DBG:tm:insert_timer_unsafe:
[1]: 0xb616e860 (36)<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-GB
style='font-size:12.0pt'>Mar 20 14:47:04 [20661] DBG:tm:t_unref: UNREF_UNSAFE:
after is 0<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-GB
style='font-size:12.0pt'>Mar 20 14:47:04 [20661] DBG:core:destroy_avp_list:
destroying list (nil)<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-GB
style='font-size:12.0pt'>Mar 20 14:47:04 [20661] DBG:core:receive_msg: cleaning
up<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-GB
style='font-size:12.0pt'>Mar 20 14:47:04 [20661] DBG:core:parse_msg: SIP Reply
(status):<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-GB
style='font-size:12.0pt'>Mar 20 14:47:04 [20661] DBG:core:parse_msg: version:
<SIP/2.0><o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-GB
style='font-size:12.0pt'>Mar 20 14:47:04 [20661] DBG:core:parse_msg: status:
<403><o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-GB
style='font-size:12.0pt'>Mar 20 14:47:04 [20661] DBG:core:parse_msg: reason:
<Forbidden><o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-GB
style='font-size:12.0pt'>Mar 20 14:47:04 [20661] DBG:core:parse_headers:
flags=2<o:p></o:p></span></font></p>
</div>
<div>
<div class=MsoNormal align=center style='text-align:center'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>
<hr size=2 width="100%" align=center tabindex=-1>
</span></font></div>
<p class=MsoNormal><b><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma;font-weight:bold'>Da:</span></font></b><font size=2
face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'> Ginés Gómez
[mailto:gines@voztele.com] <br>
<b><span style='font-weight:bold'>Inviato:</span></b> venerdě 20 marzo 2009
14:47<br>
<b><span style='font-weight:bold'>A:</span></b> Mauro Davi’<br>
<b><span style='font-weight:bold'>Cc:</span></b> users@lists.opensips.org<br>
<b><span style='font-weight:bold'>Oggetto:</span></b> Re: [OpenSIPS-Users] R: Wesip
and Opensips</span></font><o:p></o:p></p>
</div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>Hi Mauro,<o:p></o:p></span></font></p>
<div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p> </o:p></span></font></p>
<div>
<div>
<p class=MsoNormal><span class=apple-tab-span><font size=3
face="Times New Roman"><span style='font-size:12.0pt'> </span></font></span>afaik local_route
is meant to be used only with OpenSIPS self generated requests (like CANCEL to
forking branches) not with WeSIP. That is the reason why we implemented the
SPIRAL_HDR feature. When you activate SPIRAL_HDR the messages generated by
WeSIP will "enter" again in OpenSIPS thus you can catch them in the
route function (not local_route). In order to identify them look for the
X-WeSIP-SPIRAL header and then modify the message and relay it with
t_realy. Code would look something like this<o:p></o:p></p>
</div>
<div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p> </o:p></span></font></p>
</div>
<div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>route{<o:p></o:p></span></font></p>
</div>
<div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p> </o:p></span></font></p>
</div>
<div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'> if(is_present_hf("X-WeSIP-SPIRAL")){
<o:p></o:p></span></font></p>
</div>
<div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'> /* modify your message here as required */<o:p></o:p></span></font></p>
</div>
<div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'> t_relay(); <o:p></o:p></span></font></p>
</div>
<div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'> }else{ <o:p></o:p></span></font></p>
</div>
<div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'> as_relay_t("app_server_one");<o:p></o:p></span></font></p>
</div>
<div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'> } <o:p></o:p></span></font></p>
</div>
<div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>}<span class=apple-tab-span> </span><o:p></o:p></span></font></p>
</div>
<div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p> </o:p></span></font></p>
</div>
<div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>Regards<o:p></o:p></span></font></p>
</div>
<div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p> </o:p></span></font></p>
</div>
<div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>Ginés<o:p></o:p></span></font></p>
</div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><br>
<br>
<o:p></o:p></span></font></p>
<div link=blue vlink=blue style='word-wrap: break-word;-webkit-nbsp-mode: space;
-webkit-line-break: after-white-space'>
<div>
<div>
<div>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Hola Gines,<u1:p></u1:p></span></font><o:p></o:p></p>
</div>
<div>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><u1:p> </u1:p></span></font><o:p></o:p></p>
</div>
<div>
<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB
style='font-size:10.0pt;font-family:Arial;color:navy'>I’m in a test
environment and the domain that I use for every user is resolved with the
production SIP server IP…(I haven’t a DNS domain name associated to
my test openser), obviously the production SIP server responde to every request
with a 403 Forbidden message.<u1:p></u1:p></span></font><o:p></o:p></p>
</div>
<div>
<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB
style='font-size:10.0pt;font-family:Arial;color:navy'><u1:p> </u1:p></span></font><o:p></o:p></p>
</div>
<div>
<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB
style='font-size:10.0pt;font-family:Arial;color:navy'>I don’t know if
this is the problem but with the wesip SPITAL_HDR set to true, I see only
the messages that start in the local_route function.<u1:p></u1:p></span></font><o:p></o:p></p>
</div>
<div>
<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB
style='font-size:10.0pt;font-family:Arial;color:navy'><u1:p> </u1:p></span></font><o:p></o:p></p>
</div>
<div>
<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB
style='font-size:10.0pt;font-family:Arial;color:navy'>To avoid this problem,
I’m trying to manipulate the message in the local_route function without
good result<span class=apple-converted-space> </span></span></font><font
size=2 color=navy face=Wingdings><span lang=EN-GB style='font-size:10.0pt;
font-family:Wingdings;color:navy'>L</span></font><font size=2 color=navy
face=Arial><span lang=EN-GB style='font-size:10.0pt;font-family:Arial;
color:navy'>…<u1:p></u1:p></span></font><o:p></o:p></p>
</div>
<div>
<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB
style='font-size:10.0pt;font-family:Arial;color:navy'><u1:p> </u1:p></span></font><o:p></o:p></p>
</div>
<div>
<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB
style='font-size:10.0pt;font-family:Arial;color:navy'>Is there another way to
do this??<u1:p></u1:p></span></font><o:p></o:p></p>
</div>
<div>
<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB
style='font-size:10.0pt;font-family:Arial;color:navy'><u1:p> </u1:p></span></font><o:p></o:p></p>
</div>
<div>
<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB
style='font-size:10.0pt;font-family:Arial;color:navy'>Regards<u1:p></u1:p></span></font><o:p></o:p></p>
</div>
<div>
<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB
style='font-size:10.0pt;font-family:Arial;color:navy'>
MD<u1:p></u1:p></span></font><o:p></o:p></p>
</div>
<div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-GB
style='font-size:12.0pt'><u1:p> </u1:p></span><o:p></o:p></font></p>
</div>
</div>
<div>
<div class=MsoNormal align=center style='text-align:center'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>
<hr size=2 width="100%" align=center tabindex=-1>
</span></font></div>
<div>
<p class=MsoNormal><b><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma;font-weight:bold'>Da:</span></font></b><span
class=apple-converted-space><font size=2 face=Tahoma><span style='font-size:
10.0pt;font-family:Tahoma'> </span></font></span><font size=2 face=Tahoma><span
style='font-size:10.0pt;font-family:Tahoma'>Ginés Gómez [<a
href="mailto:gines@voztele.com">mailto:gines@voztele.com</a>]<span
class=apple-converted-space> </span><br>
<b><span style='font-weight:bold'>Inviato:</span></b><span
class=apple-converted-space> </span>venerdě 20 marzo 2009 12:46<br>
<b><span style='font-weight:bold'>A:</span></b><span
class=apple-converted-space> </span>Mauro Davi’<br>
<b><span style='font-weight:bold'>Cc:</span></b><span
class=apple-converted-space> </span><a
href="mailto:users@lists.opensips.org">users@lists.opensips.org</a><br>
<b><span style='font-weight:bold'>Oggetto:</span></b><span
class=apple-converted-space> </span>Re: [OpenSIPS-Users] Wesip and Opensips</span></font><o:p></o:p></p>
<u1:p></u1:p></div>
</div>
<div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><u1:p> </u1:p><o:p></o:p></span></font></p>
</div>
<div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>Ciao Mauro,<u1:p></u1:p><o:p></o:p></span></font></p>
</div>
<div>
<div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><u1:p> </u1:p><o:p></o:p></span></font></p>
</div>
</div>
<div>
<div>
<p class=MsoNormal><span class=apple-tab-span><font size=3
face="Times New Roman"><span style='font-size:12.0pt'> </span></font></span><span
class=apple-converted-space> </span>first, you can manipulate
messages from WeSIP itselft before you send them out. Once they are sent
out you can manipulate them in OpenSIPs script if you configure WeSIP to work
in spiral mode. When working in spiral mode outgoing messages from WeSIP loop
through OpenSIPs script in a new transaction before leaving. You can recognize
them, and work accordingly if you look for the particular a header that is
added by WeSIP. The header is X-WeSIP-SPIRAL<o:p></o:p></p>
<u1:p></u1:p></div>
</div>
<div>
<div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><u1:p> </u1:p><o:p></o:p></span></font></p>
</div>
</div>
<div>
<div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>NON-SPIRAL-MODE (Default)<u1:p></u1:p><o:p></o:p></span></font></p>
</div>
</div>
<div>
<div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><u1:p> </u1:p><o:p></o:p></span></font></p>
</div>
</div>
<div>
<div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>Origin [OpenSIPS WeSIP]
Destination<u1:p></u1:p><o:p></o:p></span></font></p>
</div>
</div>
<div>
<div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'> | ----t1----->| ----------->|------t2----->
<u1:p></u1:p><o:p></o:p></span></font></p>
</div>
</div>
<div>
<div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'> <span class=apple-tab-span> </span><span
class=apple-converted-space> </span>Internal<u1:p></u1:p><o:p></o:p></span></font></p>
</div>
</div>
<div>
<div>
<p class=MsoNormal><span class=apple-tab-span><font size=3
face="Times New Roman"><span style='font-size:12.0pt'> </span></font></span><span
class=apple-converted-space> </span> Delivery<o:p></o:p></p>
<u1:p></u1:p></div>
</div>
<div>
<div>
<p class=MsoNormal><span class=apple-tab-span><font size=3
face="Times New Roman"><span style='font-size:12.0pt'> </span></font></span><o:p></o:p></p>
<u1:p></u1:p></div>
</div>
<div>
<div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><u1:p> </u1:p><o:p></o:p></span></font></p>
</div>
</div>
<div>
<div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>SPIRAL-MODE<u1:p></u1:p><o:p></o:p></span></font></p>
</div>
</div>
<div>
<div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><u1:p> </u1:p><o:p></o:p></span></font></p>
</div>
</div>
<div>
<div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>Origin<span class=apple-tab-span> </span><span
class=apple-converted-space> </span>[OpenSIPS WeSIP]
OpenSIPS
Destination<u1:p></u1:p><o:p></o:p></span></font></p>
</div>
</div>
<div>
<div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'> | ----t1-----> |
----------->|-----------t2------->| ----t3---> |
<u1:p></u1:p><o:p></o:p></span></font></p>
</div>
</div>
<div>
<div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'> <span class=apple-tab-span> </span><span
class=apple-converted-space> </span> Internal
X-WeSIP-Spiral <u1:p></u1:p><o:p></o:p></span></font></p>
</div>
</div>
<div>
<div>
<p class=MsoNormal><span class=apple-tab-span><font size=3
face="Times New Roman"><span style='font-size:12.0pt'> </span></font></span><span
class=apple-converted-space> </span>
Delivery <o:p></o:p></p>
<u1:p></u1:p></div>
</div>
<div>
<div>
<p class=MsoNormal><span class=apple-tab-span><font size=3
face="Times New Roman"><span style='font-size:12.0pt'> </span></font></span><o:p></o:p></p>
<u1:p></u1:p></div>
</div>
<div>
<div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>More on this kind of configuration at <a
href="http://www.wesip.com/mediawiki/index.php/Configuration#com.voztele.javax.sip.SPIRAL_HDR">http://www.wesip.com/mediawiki/index.php/Configuration#com.voztele.javax.sip.SPIRAL_HDR</a><u1:p></u1:p><o:p></o:p></span></font></p>
</div>
</div>
<div>
<div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><u1:p> </u1:p><o:p></o:p></span></font></p>
</div>
</div>
<div>
<div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>Hope that helps<u1:p></u1:p><o:p></o:p></span></font></p>
</div>
</div>
<div>
<div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><u1:p> </u1:p><o:p></o:p></span></font></p>
</div>
</div>
<div>
<div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>Regards<u1:p></u1:p><o:p></o:p></span></font></p>
</div>
</div>
<div>
<div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><u1:p> </u1:p><o:p></o:p></span></font></p>
</div>
</div>
<div>
<div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>Ginés<u1:p></u1:p><o:p></o:p></span></font></p>
</div>
</div>
<div>
<div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><u1:p> </u1:p><o:p></o:p></span></font></p>
</div>
</div>
<div>
<div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><u1:p> </u1:p><o:p></o:p></span></font></p>
</div>
</div>
<div>
<div>
<div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><br>
<br>
<br>
<o:p></o:p></span></font></p>
</div>
<u1:p></u1:p>
<div link=blue vlink=purple>
<div>
<div>
<div>
<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'>Hi All,<u2:p></u2:p></span></font><o:p></o:p></p>
<u1:p></u1:p></div>
</div>
<div>
<div>
<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'><u2:p> </u2:p></span></font><o:p></o:p></p>
<u1:p></u1:p></div>
</div>
<div>
<div>
<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'>I’m setting up the Click2Dial wesip
application, and I’m trying to use it.<u2:p></u2:p></span></font><o:p></o:p></p>
<u1:p></u1:p></div>
</div>
<div>
<div>
<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'><u2:p> </u2:p></span></font><o:p></o:p></p>
<u1:p></u1:p></div>
</div>
<div>
<div>
<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'>When I start the call in the opensips script I need
to manipulate it.<u2:p></u2:p></span></font><o:p></o:p></p>
<u1:p></u1:p></div>
</div>
<div>
<div>
<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'><u2:p> </u2:p></span></font><o:p></o:p></p>
<u1:p></u1:p></div>
</div>
<div>
<div>
<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'>So in the local_route branch I try to see if the To
party is an alias but I can’t use alias_db_lookup function in the
local_route branch…<u2:p></u2:p></span></font><o:p></o:p></p>
<u1:p></u1:p></div>
</div>
<div>
<div>
<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'><u2:p> </u2:p></span></font><o:p></o:p></p>
<u1:p></u1:p></div>
</div>
<div>
<div>
<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'>Is this correct? How I can manipulate the messages
generated by wesip ?<u2:p></u2:p></span></font><o:p></o:p></p>
<u1:p></u1:p></div>
</div>
<div>
<div>
<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'><u2:p> </u2:p></span></font><o:p></o:p></p>
<u1:p></u1:p></div>
</div>
<div>
<div>
<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'>Thanks in advance<u2:p></u2:p></span></font><o:p></o:p></p>
<u1:p></u1:p></div>
</div>
<div>
<div>
<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'>
MD<u2:p></u2:p></span></font><o:p></o:p></p>
<u1:p></u1:p></div>
</div>
</div>
<div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><u1:p></u1:p><o:p></o:p></span></font></p>
</div>
</div>
</div>
<div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><u1:p> </u1:p><o:p></o:p></span></font></p>
</div>
</div>
</div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><o:p></o:p></span></font></p>
</div>
</div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p> </o:p></span></font></p>
</div>
</div>
</body>
</html>