[Home]

Summary:ASTERISK-00873: [patch] SIP 300 Redirection Implementation
Reporter:nkans (nkans)Labels:
Date Opened:2004-01-18 20:04:09.000-0600Date Closed:2011-06-07 14:04:54
Priority:MajorRegression?No
Status:Closed/CompleteComponents:Core/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) sip300asterisk.diff
Description:This source code implements SIP 300 Redirection, which redirects the incoming invite to multiple sip address, also it uses the config from   sip.conf

//sip.conf

register => username:password@host/extension

[extension]
redirect=yes
redirecturi=sip:user1@somedomain.com
redirecturi=sip:user2@somedomain.com
redirecturi=sip:user3@somedomain1.com
.....

the more number of redirect you speficy, it add to the the SIP 300 message.

This is my first implementation with chan_sip.c. If there is any error please specify I will try to modify the code.

I tried with canreinvite=yes, but I failed to use it with many SIP clients. I think this is optiomal for redirection. I also want to implement other 3xx messages, but I want to get this to work.

I get

Received: INVITE
Sent:  300 Redirection
Received: ACK

but the call is not actually redirected. Can anyone please point me where is the error.
Comments:By: Brian West (bkw918) 2004-01-18 20:14:01.000-0600

Have you sent in a disclaimer for this yet?

By: nkans (nkans) 2004-01-19 04:55:51.000-0600

I have not added any Disclaimer with the above, i think the notes mentions clear I have problem in working with the code. If I need to mention the Disclaimer, anywhere seperate kindly let me know.

By: nkans (nkans) 2004-01-20 08:54:47.000-0600

If anyone could test the code and found the problem kindly let me know, i will modify the code asap.