Hello,
I am using SER as a redirect server.
I recently posted almost the same question.
This time the format of the CONTACT is different. It contains call
information.
Recently I came across an issue where the 302 sent back by SER is
not liked by a soft switch. Particularly , the format of the CONTACT
field according to the softswitch..
Here is an excerpt of the 302 reply send back ...
Session Initiation Protocol
Status-Line: SIP/2.0 302 MovedTemporarily
Status-Code: 302
Resent Packet: False
Message Header
Via:SIP/2.0/UDP 70.167.132.2;branch=
z9hG4bK-BroadWorks.70.167.132.2-172.20.20.46V5060-0-476027561-38657848-1175625610577
-
From:"7000 Arris-EMTA-SIP"<sip:6782347000@70.167.132.2
;user=phone>;tag=38657848-1175625610577-
SIP Display info: "7000 Arris-EMTA-SIP"
SIP from address: sip:6782347000@70.167.132.2
SIP tag: 38657848-1175625610577-
To:<sip:+16782349999;csel=noind@172.20.20.46:5060;user=phone>;tag=
b27e1a1d33761e85846fc98f5f3a7e58.4baf
SIP to address: sip:+16782349999
SIP tag: b27e1a1d33761e85846fc98f5f3a7e58.4baf
Call-ID:BW144010577030407-1243907316@70.167.132.2
CSeq:476027561 INVITE
Contact: sip:+16782349999;csel=noind@172.20.20.37
:5060;user=phone;transport=udp
Server: Sip EXpress router (0.8.14 (i386/linux))
Content-Length: 0
the softswitch is wanting the contact field with
<sip:xxxx@xxx.xxx.xxx.xxx:5060>
like a FROM or TO URI.
It is claiming that since it contains call information within the sip URI,
it should be enclosed
withing < >.
Here is ser.cfg part that does the sl_send_reply();
# do a stateless redirect, if return code is correct
if (method=="INVITE")
{
xlog("L_INFO", "SourceIP <%is> \n");
xlog("L_INFO", "From-uri<%fu>, r-uri <%ru> \n");
if
(!gl_redirect())
<< custom function that just gets a Server to redirect to
{
sl_send_reply("480", "TemporarilyUnavailable");
xlog("L_WARN", "Sending a 480 response with r-uri <%ru>\n");
break;
}
else
{
sl_send_reply("302", "MovedTemporarily");
xlog("L_DBG", "Sending a 302 response with r-uri <%ru>\n");
break;
}
};
Any help is appreciated.**
thanks,
--
Jignesh Gandhi
jigpgandhi(a)gmail.com
Hi Andreas,
Thank for your reply.
Yes, this is a sipwise config.
Openser :
I use Debian Sarge
apt repository : deb http://www.openser.org/debian sarge main
Mysql 4.1
I have set up all tables building with openser_mysql
Softphone:
Windows XP and X-lite 3.0 build 34025
Regards,
Tsitsi
---------------------------------
Découvrez une nouvelle façon d'obtenir des réponses à toutes vos questions ! Profitez des connaissances, des opinions et des expériences des internautes sur Yahoo! Questions/Réponses.
hi all,
i'm using fedora 4.i've installed openser 1.0.1.how do i enable this for ipv6?
i want to use linphone clients.this is for pc-pc testing on lan.
---------------------------------
Heres a new way to find what you're looking for - Yahoo! Answers
Hello Urs,
Anybody can tell , is there to Test load balance in OpenSER and Asterisk ,
Not Ethereal and ngrep or sniffers.
--
Thanks and Regards
Ravi Prakash Sunkara
ravi.sunkara(a)hyperion-tech.com
M:+91 9985077535
www.hyperion-tech.com
Client and Parent company :- www.august-networks.com
Hello Everyone,
I would like to know if anyone has compiled and installed OpenSER on
ucLinux. If yes, can you provide the hardware details and procedure if its
different than normal openser installation.
--
Thanks
Ruchir Brahmbhatt
Ecosmob Technologies
Hello,
I've got an AS5350 receiving calls on ISDN E1 and forwarding calls to
OpenSER. At the moment ENUM translations are performed on the AS5350 and
calls received by OpenSER already contain the correct SIP URIs.
Unfortunately I verified that the called party number information is
lost in the process and at the called side I cannot distinguish numbers
if I associate multiple PSTN numbers to the same sip user.
I guess this is Cisco's fault, since it should add a Remote-Party-ID of
type "called" to the INVITE. Do I have to move ENUM mapping to OpenSER
or is there a quicker solution?
thanks
Luca
Hi Zahid,
a cause might be a bogus received ACK (or improper handled), making
openser to retransmit the final response. Please send me privately the
openser debug output (use debug 9) for this scenario.
regards,
bogdan
zm23 wrote:
>>
>> Hi Bogdan,
>> I do see an ack sent back from the gw, however, when new
>> invite is sent openser relays it according to lcr rules but then a
>> 302 is sent back to the gateway.
>>
>>
>> Would it be better to detect and process the 302 message in openser
>> itself?
>>
>> Thanks.
>>
>> --
>>
>>
>>
>>
>> On Mar 30, 2007, at 9:49 AM, Bogdan-Andrei Iancu wrote:
>>
>>> Hi Zahid,
>>>
>>> is the second 302 identical to the fist? is there any ACK from CISCO
>>> GW to openser as response to first 302?
>>>
>>> regards,
>>> bogdan
>>>
>>> zm23 wrote:
>>>> I made a mistake saying it was a REFER method. This is happening
>>>> with just a 302 reply messages.
>>>> Any suggestions?
>>>>
>>>> Thanks.
>>>>
>>>>
>>>> On Mar 28, 2007, at 12:17 PM, zm23 wrote:
>>>>
>>>>> Hello All,
>>>>> I am trying to find out the proper/best way to handle
>>>>> REFERs coming from phone. My setup is as follows:
>>>>>
>>>>>
>>>>> Cisco gw openser
>>>>> phone gw 2
>>>>>
>>>>>
>>>>> DID
>>>>> 1234 -----> Invite ----------------->
>>>>> -------------------->
>>>>>
>>>>>
>>>>>
>>>>> <----- 302 msg <---------------------
>>>>> <--------------------302 moved....
>>>>>
>>>>> new #5678 sent back
>>>>>
>>>>> After receiving new invite, openser sends it out to another gateway
>>>>>
>>>>> 5678 ----> invite ---------------------->
>>>>> --------------------------------------------------->
>>>>>
>>>>> yet i am still seeing the 302 messages sent back from proxy to
>>>>> cisco gw.
>>>>>
>>>>> <------------------------------- -- 302 moved
>>>>>
>>>>>
>>>>> Call does connect to 5678 but is dropped after few seconds with
>>>>> only one way audio.
>>>>>
>>>>>
>>>>> What needs to be done so that when second invite hits proxy, there
>>>>> are no more 302s sent back?
>>>>>
>>>>> Should I process the 302 in proxy itself?
>>>>>
>>>>> What is the best way to make the 2nd call to 5678 so that it can
>>>>> be identified as a separate call?
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> Thank you in advance for your help in this regards.
>>>>>
>>>>> --Zahid
Hi,
I want to setup an test environment for Short Message Service over IMS
network, can openser simulate the IMS network, then I can send short message
between two phone through openser in IMS domain?
Can openser only be installed in linux OS, not in windows OS? I did not find
the binary files for installing in windows.
Thanks in advance!
Change log
xcap-lite (0.9) unstable; urgency=low
* Validate presrules against presence-rules.xsd
* Use Xpath for node selection
* Enable multiple domains (embed Domain=example.com in XCAP uri)
The software can be downloaded from:
http://download.dns-hosting.info/XCAP/xcap-lite-0.9.tar.gz
Regards,
Adrian