[Freeswitch-users] REFER 403 forbidden

latit myriam latit.myriam at gmail.com
Tue Aug 18 12:00:00 MSD 2015


Hi, thanks for your response

I have two users (1000 and 1001), and the FS conference room (3000)

User 1000 call the conference room and he wants the conference room to add
user 1001 into the conference. Like that they can speak each other into the
same conference.

How do I have to do this?

Is it like this:
 1- 1000 call 3000
2- 1000 call 1001
3- then 1000 send a refer to 3000 to add 1001 into the conference?

Thanks for your help

2015-08-18 3:35 GMT+02:00 Ítalo Rossi <italorossib at gmail.com>:

> You're trying to transfer 1 legged call:
>
> 2015-08-07 13:21:45.615060 [ERR] sofia.c:8297 Cannot Blind Transfer 1
> Legged calls
>
> You need dial to the user first and then transfer it to the conference
> extension, after this you can dial the conference extension.
>
> On Mon, Aug 17, 2015 at 5:19 AM, latit myriam <latit.myriam at gmail.com>
> wrote:
>
>> Hi,
>>
>> I have a problem with the SIP message REFER.
>> I initiate a conference by entering into a conference room, and then I
>> want Freeswitch to add a new participant.
>> According to the RFC 4579, I sent a REFER message to Freeswitch to add
>> the new participant and I get back a NOTIFY with sipfrag 403 forbidden
>>
>> I'm working with virtual IP adresses and I'm working only in local
>>
>> Below is the REFER message I send
>>
>> REFER sip:3000 at 192.168.20.3:6060 SIP/2.0
>> Via: SIP/2.0/UDP 192.168.20.4:7000;branch=z9hG4bKg4534
>> Max-Forwards: 70
>> To: <sip:3000 at 192.168.20.3:6060>;isfocus
>> From: <sip:1000 at 192.168.20.4:7000>;tag=1832665346
>> Call-ID: jbDaf1W7hQtswyvf
>> CSeq: 1 REFER
>> Contact: <sip:1000 at 192.168.20.4:7000>
>> Allow:
>> INVITE,BYE,REGISTER,ACK,OPTIONS,CANCEL,INFO,PRACK,REFER,MESSAGE,PUBLISH
>> Allow-Events: REFER
>> Accept: application/sdp, message/sipfrag
>> Refer-To: <sip:1001 at 192.168.20.3:5031;method=INVITE>
>> Supported: timer, replaces, path
>> Content-Length: 0
>>
>>
>> and here is the siptrace of FS
>>
>> recv 466 bytes from udp/[192.168.20.3]:7000 at 13:21:45.621109:
>>
>> ------------------------------------------------------------------------
>>    REFER sip:3000 at 192.168.20.3:6060 SIP/2.0
>>    Via: SIP/2.0/UDP 192.168.20.3:7000;rport;branch=z9hG4bKg4534
>>    Max-Forwards: 70
>>    To: <sip:3000 at 192.168.20.3:6060>;isfocus;tag=g2y4Btme55Fje
>>    From: <sip:1000 at 192.168.20.3:7000>;tag=1832665346
>>    Call-ID: jbDaf1W7hQtswyvf
>>    CSeq: 476 REFER
>>    Contact: <sip:1000 at 192.168.20.3:7000>
>>    Allow:
>> INVITE,BYE,REGISTER,ACK,OPTIONS,CANCEL,INFO,PRACK,REFER,MESSAGE,PUBLISH
>>    Refer-To: <sip:1001 at 192.168.20.3:5001>
>>    Supported: replaces
>>    Content-Length: 0
>>
>>
>> ------------------------------------------------------------------------
>> 2015-08-07 13:21:45.615060 [DEBUG] switch_core_session.c:1061 Send signal
>> sofia/internal/1000 at 192.168.20.3 [BREAK]
>> 2015-08-07 13:21:45.615060 [DEBUG] switch_core_session.c:978 Send signal
>> sofia/internal/1000 at 192.168.20.3 [BREAK]
>> 2015-08-07 13:21:45.615060 [DEBUG] sofia.c:7799 Process REFER to [
>> 1001 at 192.168.20.3]
>> send 722 bytes to udp/[192.168.20.3]:7000 at 13:21:45.624429:
>>
>> ------------------------------------------------------------------------
>>    SIP/2.0 202 Accepted
>>    Via: SIP/2.0/UDP 192.168.20.3:7000;rport=7000;branch=z9hG4bKg4534
>>    From: <sip:1000 at 192.168.20.3:7000>;tag=1832665346
>>    To: <sip:3000 at 192.168.20.3:6060>;isfocus;tag=g2y4Btme55Fje
>>    Call-ID: jbDaf1W7hQtswyvf
>>    CSeq: 476 REFER
>>    Contact: <sip:3000 at 192.168.20.3:6060;transport=udp>
>>    Expires: 60
>>    User-Agent:
>> FreeSWITCH-mod_sofia/1.4.20+git~20150701T115426Z~0ae8ee7f8f~64bit
>>    Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE,
>> REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE
>>    Supported: timer, path, replaces
>>    Allow-Events: talk, hold, conference, presence, as-feature-event,
>> dialog, line-seize, call-info, sla, include-session-description,
>> presence.winfo, message-summary, refer
>>    Content-Length: 0
>>
>>
>> ------------------------------------------------------------------------
>> 2015-08-07 13:21:45.615060 [ERR] sofia.c:8297 Cannot Blind Transfer 1
>> Legged calls
>> send 888 bytes to udp/[192.168.20.3]:7000 at 13:21:45.624580:
>>
>> ------------------------------------------------------------------------
>>    NOTIFY sip:1000 at 192.168.20.3:7000 SIP/2.0
>>    Via: SIP/2.0/UDP 192.168.20.3:6060;rport;branch=z9hG4bKgNeKBK5H869jQ
>>    Max-Forwards: 70
>>    From: <sip:3000 at 192.168.20.3>;isfocus;tag=g2y4Btme55Fje
>>    To: <sip:1000 at 192.168.20.3>;tag=1832665346
>>    Call-ID: jbDaf1W7hQtswyvf
>>    CSeq: 79137188 NOTIFY
>>    Contact: <sip:3000 at 192.168.20.3:6060;transport=udp>
>>    User-Agent:
>> FreeSWITCH-mod_sofia/1.4.20+git~20150701T115426Z~0ae8ee7f8f~64bit
>>    Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE,
>> REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE
>>    Supported: timer, path, replaces
>>    Event: refer;id=476
>>    Allow-Events: talk, hold, conference, presence, as-feature-event,
>> dialog, line-seize, call-info, sla, include-session-description,
>> presence.winfo, message-summary, refer
>>    Subscription-State: terminated;reason=noresource
>>    Content-Type: message/sipfrag;version=2.0
>>    Content-Length: 23
>>
>>    SIP/2.0 403 Forbidden
>>
>> ------------------------------------------------------------------------
>> send 888 bytes to udp/[192.168.20.3]:7000 at 13:21:46.625031:
>>
>> ------------------------------------------------------------------------
>>    NOTIFY sip:1000 at 192.168.20.3:7000 SIP/2.0
>>    Via: SIP/2.0/UDP 192.168.20.3:6060;rport;branch=z9hG4bKgNeKBK5H869jQ
>>    Max-Forwards: 70
>>    From: <sip:3000 at 192.168.20.3>;isfocus;tag=g2y4Btme55Fje
>>    To: <sip:1000 at 192.168.20.3>;tag=1832665346
>>    Call-ID: jbDaf1W7hQtswyvf
>>    CSeq: 79137188 NOTIFY
>>    Contact: <sip:3000 at 192.168.20.3:6060;transport=udp>
>>    User-Agent:
>> FreeSWITCH-mod_sofia/1.4.20+git~20150701T115426Z~0ae8ee7f8f~64bit
>>    Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE,
>> REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE
>>    Supported: timer, path, replaces
>>    Event: refer;id=476
>>    Allow-Events: talk, hold, conference, presence, as-feature-event,
>> dialog, line-seize, call-info, sla, include-session-description,
>> presence.winfo, message-summary, refer
>>    Subscription-State: terminated;reason=noresource
>>    Content-Type: message/sipfrag;version=2.0
>>    Content-Length: 23
>>
>>    SIP/2.0 403 Forbidden
>>
>> ------------------------------------------------------------------------
>> send 888 bytes to udp/[192.168.20.3]:7000 at 13:21:48.626014:
>>
>> ------------------------------------------------------------------------
>>    NOTIFY sip:1000 at 192.168.20.3:7000 SIP/2.0
>>    Via: SIP/2.0/UDP 192.168.20.3:6060;rport;branch=z9hG4bKgNeKBK5H869jQ
>>    Max-Forwards: 70
>>    From: <sip:3000 at 192.168.20.3>;isfocus;tag=g2y4Btme55Fje
>>    To: <sip:1000 at 192.168.20.3>;tag=1832665346
>>    Call-ID: jbDaf1W7hQtswyvf
>>    CSeq: 79137188 NOTIFY
>>    Contact: <sip:3000 at 192.168.20.3:6060;transport=udp>
>>    User-Agent:
>> FreeSWITCH-mod_sofia/1.4.20+git~20150701T115426Z~0ae8ee7f8f~64bit
>>    Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE,
>> REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE
>>    Supported: timer, path, replaces
>>    Event: refer;id=476
>>    Allow-Events: talk, hold, conference, presence, as-feature-event,
>> dialog, line-seize, call-info, sla, include-session-description,
>> presence.winfo, message-summary, refer
>>    Subscription-State: terminated;reason=noresource
>>    Content-Type: message/sipfrag;version=2.0
>>    Content-Length: 23
>>
>>    SIP/2.0 403 Forbidden
>>
>>
>> Thanks for your help.
>>
>>
>>
>> _________________________________________________________________________
>> Professional FreeSWITCH Consulting Services:
>> consulting at freeswitch.org
>> http://www.freeswitchsolutions.com
>>
>> Official FreeSWITCH Sites
>> http://www.freeswitch.org
>> http://confluence.freeswitch.org
>> http://www.cluecon.com
>>
>> FreeSWITCH-users mailing list
>> FreeSWITCH-users at lists.freeswitch.org
>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>> http://www.freeswitch.org
>>
>
>
>
> --
> Ítalo Rossi
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://confluence.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150818/8d930687/attachment.html 


Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list