Scott Lawrence wrote:
> On Tue, 2008-09-16 at 14:53 -0400, Joseph Attardi wrote:
>> I'm currently working on XCF-2604 (FreeSWITCH: Allow adding a conference 
>> participant from inside the bridge). Apparently I need to send a SIP 
>> REFER message to get the new participant to join the conference. 
>> However, I'm having a problem.
>>
>> Here is what I'm doing:
>> SipService service = getSipService();
>> User user = getUserSession().getUser(getCoreContext());
>> service.sendRefer(user, "sip:[EMAIL PROTECTED]",
>>      "sip:[EMAIL PROTECTED]");
>>
>> where 200 is the extension I want to call to add to the conference, and 
>> 4444 is the conference extension.
>>
>> It starts out good enough - my phone registered to extension 200 rings. 
>> But when I answer the call, it immediately hangs up.
> 
> First, it's probably a good idea to modify your initial INVITE slightly:
> you sent (in part):
>         
>         INVITE sip:[EMAIL PROTECTED] SIP/2.0
>         Call-ID: [EMAIL PROTECTED]
>         CSeq: 105 INVITE
>         From: <sip:[EMAIL PROTECTED]>;tag=1157360056
>         To: <sip:[EMAIL PROTECTED]>
> 
> One problem with this is that if the user does not answer, it will roll
> over to voicemail.  You can prevent that by including a parameter in the
> target address:
> 
>         INVITE sip:[EMAIL PROTECTED];sipx-noroute=voicemail SIP/2.0
>         Call-ID: [EMAIL PROTECTED]
>         CSeq: 105 INVITE
>         From: <sip:[EMAIL PROTECTED]>;tag=1157360056
>         To: <sip:[EMAIL PROTECTED];sipx-noroute=voicemail>
> 

There is a patch that does it automatically for all INVITEs sent by
sipXconfig. No need to do anything here.
see: http://track.sipfoundry.org/browse/XCF-2679
[...]

_______________________________________________
sipx-dev mailing list
[email protected]
List Archive: http://list.sipfoundry.org/archive/sipx-dev
Unsubscribe: http://list.sipfoundry.org/mailman/listinfo/sipx-dev

Reply via email to