[Freeswitch-dev] INCOMPATIBLE_DESTINATION after bridging LinkSys3102 and X-Lite

Anthony Minessale anthony.minessale at gmail.com
Tue Oct 26 07:53:34 PDT 2010


Well then you should show a log of it happening with 2 x-lites then.



On Tue, Oct 26, 2010 at 9:34 AM, Achim Stamm <stamm at lyth.de> wrote:
> Anthony Minessale schrieb:
>> what is mod_evb? if it's a proprietary endpoint i'd look into that code.
>>
>>
>> On Tue, Oct 26, 2010 at 4:20 AM, Achim Stamm <stamm at lyth.de> wrote:
>>
>>> Hello,
>>>
>>> I have following problem:
>>>
>>> An external Call from LinkSys 3102 (Analog phone) is bridged to a X-Lite
>>> Phone.
>>> X-Lite Phone is ringing and after pickup sometimes I get an error
>>> INCOMPATIBLE_DESTINATION (see snippet of logfile).
>>> Mostly all works fine, but I can't understand why this error
>>> INCOMPATIBLE_DESTINATION sometimes occurs.
>>> Is there a solution for avoiding INCOMPATIBLE_DESTINATION or an
>>> explanation why this error sometimes occurs?
>>>
>>>
>>> regards
>>>
>>> Achim Stamm
>>>
>>> snippet of logfile:
>>> 2010-10-25 17:00:58.296875 [DEBUG] sofia.c:4153 Channel
>>> sofia/internal/sip:60 at 192.168.1.114:52111 entering state [ready][200]
>>> 2010-10-25 17:00:58.296875 [DEBUG] sofia_glue.c:3585 Audio Codec Compare
>>> [PCMA:8:8000:20]/[PCMA:8:8000:20]
>>> 2010-10-25 17:00:58.296875 [DEBUG] sofia_glue.c:2354 Set Codec
>>> sofia/internal/sip:60 at 192.168.1.114:52111 PCMA/8000 20 ms 160 samples
>>> 2010-10-25 17:00:58.296875 [DEBUG] sofia_glue.c:3518 Set 2833 dtmf send
>>> payload to 101
>>> 2010-10-25 17:00:58.296875 [DEBUG] sofia_glue.c:2594 AUDIO RTP
>>> [sofia/internal/sip:60 at 192.168.1.114:52111] 192.168.1.114 port 26696 ->
>>> 192.168.1.114 port 58588 codec: 8 ms: 20
>>> 2010-10-25 17:00:58.296875 [DEBUG] switch_rtp.c:1182 Starting timer
>>> [soft] 160 bytes per 20ms
>>> 2010-10-25 17:00:58.296875 [DEBUG] sofia_glue.c:2774 Set 2833 dtmf send
>>> payload to 101
>>> 2010-10-25 17:00:58.296875 [DEBUG] sofia_glue.c:2779 Set 2833 dtmf
>>> receive payload to 101
>>> 2010-10-25 17:00:58.296875 [DEBUG] switch_channel.c:2324 Send signal
>>> sofia/internal/50 at 192.168.1.114 [BREAK]
>>> 2010-10-25 17:00:58.296875 [NOTICE] sofia.c:4733 Channel
>>> [sofia/internal/sip:60 at 192.168.1.114:52111] has been answered
>>> 2010-10-25 17:00:58.312500 [NOTICE] switch_channel.c:2424 Hangup
>>> sofia/internal/50 at 192.168.1.114 [CS_EXECUTE] [INCOMPATIBLE_DESTINATION]
>>> 2010-10-25 17:00:58.312500 [INFO] mod_ebv.cpp:1264 leavin
>>> ebv_process_call_extern
>>> 2010-10-25 17:00:58.312500 [DEBUG] switch_channel.c:2102 Send signal
>>> sofia/internal/50 at 192.168.1.114 [KILL]
>>> 2010-10-25 17:01:05.375000 [DEBUG] switch_core_state_machine.c:348
>>> (sofia/internal/50 at 192.168.1.114) State EXECUTE going to sleep
>>> 2010-10-25 17:01:05.375000 [DEBUG] switch_core_session.c:1021 Send
>>> signal sofia/internal/50 at 192.168.1.114 [BREAK]
>>> 2010-10-25 17:01:05.375000 [DEBUG] switch_core_state_machine.c:314
>>> (sofia/internal/50 at 192.168.1.114) Running State Change CS_HANGUP
>>> 2010-10-25 17:01:05.375000 [DEBUG] switch_ivr_originate.c:3111
>>> sofia/internal/50 at 192.168.1.114 Media Establishment Failed.
>>> 2010-10-25 17:01:05.375000 [NOTICE] switch_ivr_originate.c:3113 Hangup
>>> sofia/internal/sip:60 at 192.168.1.114:52111 [CS_CONSUME_MEDIA]
>>> [INCOMPATIBLE_DESTINATION]
>>> 2010-10-25 17:01:05.375000 [DEBUG] switch_channel.c:2102 Send signal
>>> sofia/internal/sip:60 at 192.168.1.114:52111 [KILL]
>>> 2010-10-25 17:01:05.375000 [DEBUG] switch_core_session.c:1021 Send
>>> signal sofia/internal/sip:60 at 192.168.1.114:52111 [BREAK]
>>> 2010-10-25 17:01:05.375000 [DEBUG] switch_core_state_machine.c:314
>>> (sofia/internal/sip:60 at 192.168.1.114:52111) Running State Change CS_HANGUP
>>> 2010-10-25 17:01:05.375000 [DEBUG] switch_ivr_originate.c:3228 Originate
>>> Resulted in Error Cause: 88 [INCOMPATIBLE_DESTINATION]
>>> 2010-10-25 17:01:05.375000 [INFO] mod_ebv.cpp:2218 Originate Failed.
>>> Cause: INCOMPATIBLE_DESTINATION
>>> 2010-10-25 17:01:05.375000 [INFO] mod_ebv.cpp:154 .... Bridge-Call
>>> Thread beendet!!
>>> 2010-10-25 17:01:05.375000 [DEBUG] switch_core_state_machine.c:499
>>> (sofia/internal/50 at 192.168.1.114) State HANGUP
>>> 2010-10-25 17:01:05.375000 [DEBUG] mod_sofia.c:414 Channel
>>> sofia/internal/50 at 192.168.1.114 hanging up, cause: INCOMPATIBLE_DESTINATION
>>> 2010-10-25 17:01:05.375000 [DEBUG] switch_core_state_machine.c:499
>>> (sofia/internal/sip:60 at 192.168.1.114:52111) State HANGUP
>>> 2010-10-25 17:01:05.375000 [DEBUG] mod_sofia.c:414 Channel
>>> sofia/internal/sip:60 at 192.168.1.114:52111 hanging up, cause:
>>> INCOMPATIBLE_DESTINATION
>>> 2010-10-25 17:01:05.390625 [DEBUG] mod_sofia.c:476 Responding to INVITE
>>> with: 488
>>> 2010-10-25 17:01:05.390625 [DEBUG] switch_core_state_machine.c:46
>>> sofia/internal/50 at 192.168.1.114 Standard HANGUP, cause:
>>> INCOMPATIBLE_DESTINATION
>>> 2010-10-25 17:01:05.390625 [DEBUG] switch_core_state_machine.c:499
>>> (sofia/internal/50 at 192.168.1.114) State HANGUP going to sleep
>>> 2010-10-25 17:01:05.390625 [DEBUG] switch_core_state_machine.c:333
>>> (sofia/internal/50 at 192.168.1.114) State Change CS_HANGUP -> CS_REPORTING
>>> 2010-10-25 17:01:05.390625 [DEBUG] switch_core_session.c:1021 Send
>>> signal sofia/internal/50 at 192.168.1.114 [BREAK]
>>> 2010-10-25 17:01:05.390625 [DEBUG] switch_core_state_machine.c:314
>>> (sofia/internal/50 at 192.168.1.114) Running State Change CS_REPORTING
>>> 2010-10-25 17:01:05.390625 [DEBUG] switch_core_state_machine.c:590
>>> (sofia/internal/50 at 192.168.1.114) State REPORTING
>>> 2010-10-25 17:01:05.390625 [DEBUG] switch_core_state_machine.c:53
>>> sofia/internal/50 at 192.168.1.114 Standard REPORTING, cause:
>>> INCOMPATIBLE_DESTINATION
>>> 2010-10-25 17:01:05.390625 [DEBUG] switch_core_state_machine.c:590
>>> (sofia/internal/50 at 192.168.1.114) State REPORTING going to sleep
>>> 2010-10-25 17:01:05.390625 [DEBUG] switch_core_state_machine.c:327
>>> (sofia/internal/50 at 192.168.1.114) State Change CS_REPORTING -> CS_DESTROY
>>> 2010-10-25 17:01:05.390625 [DEBUG] switch_core_session.c:1021 Send
>>> signal sofia/internal/50 at 192.168.1.114 [BREAK]
>>> 2010-10-25 17:01:05.390625 [DEBUG] switch_core_session.c:1164 Session 23
>>> (sofia/internal/50 at 192.168.1.114) Locked, Waiting on external entities
>>> 2010-10-25 17:01:05.390625 [NOTICE] switch_core_session.c:1182 Session
>>> 23 (sofia/internal/50 at 192.168.1.114) Ended
>>> 2010-10-25 17:01:05.390625 [NOTICE] switch_core_session.c:1184 Close
>>> Channel sofia/internal/50 at 192.168.1.114 [CS_DESTROY]
>>> 2010-10-25 17:01:05.390625 [DEBUG] switch_core_state_machine.c:428
>>> (sofia/internal/50 at 192.168.1.114) Running State Change CS_DESTROY
>>> 2010-10-25 17:01:05.390625 [DEBUG] switch_core_state_machine.c:439
>>> (sofia/internal/50 at 192.168.1.114) State DESTROY
>>> 2010-10-25 17:01:05.390625 [DEBUG] mod_sofia.c:341
>>> sofia/internal/50 at 192.168.1.114 SOFIA DESTROY
>>> 2010-10-25 17:01:05.390625 [DEBUG] switch_core_state_machine.c:60
>>> sofia/internal/50 at 192.168.1.114 Standard DESTROY
>>> 2010-10-25 17:01:05.390625 [DEBUG] switch_core_state_machine.c:439
>>> (sofia/internal/50 at 192.168.1.114) State DESTROY going to sleep
>>> 2010-10-25 17:01:05.390625 [DEBUG] mod_sofia.c:457 Sending BYE to
>>> sofia/internal/sip:60 at 192.168.1.114:52111
>>> 2010-10-25 17:01:05.390625 [DEBUG] switch_core_state_machine.c:46
>>> sofia/internal/sip:60 at 192.168.1.114:52111 Standard HANGUP, cause:
>>> INCOMPATIBLE_DESTINATION
>>> 2010-10-25 17:01:05.390625 [DEBUG] switch_core_state_machine.c:499
>>> (sofia/internal/sip:60 at 192.168.1.114:52111) State HANGUP going to sleep
>>> 2010-10-25 17:01:05.390625 [DEBUG] switch_core_state_machine.c:333
>>> (sofia/internal/sip:60 at 192.168.1.114:52111) State Change CS_HANGUP ->
>>> CS_REPORTING
>>> 2010-10-25 17:01:05.390625 [DEBUG] switch_core_session.c:1021 Send
>>> signal sofia/internal/sip:60 at 192.168.1.114:52111 [BREAK]
>>> 2010-10-25 17:01:05.390625 [DEBUG] switch_core_state_machine.c:314
>>> (sofia/internal/sip:60 at 192.168.1.114:52111) Running State Change
>>> CS_REPORTING
>>> 2010-10-25 17:01:05.390625 [DEBUG] switch_core_state_machine.c:590
>>> (sofia/internal/sip:60 at 192.168.1.114:52111) State REPORTING
>>> 2010-10-25 17:01:05.406250 [DEBUG] switch_core_state_machine.c:53
>>> sofia/internal/sip:60 at 192.168.1.114:52111 Standard REPORTING, cause:
>>> INCOMPATIBLE_DESTINATION
>>> 2010-10-25 17:01:05.406250 [DEBUG] switch_core_state_machine.c:590
>>> (sofia/internal/sip:60 at 192.168.1.114:52111) State REPORTING going to sleep
>>> 2010-10-25 17:01:05.406250 [DEBUG] switch_core_state_machine.c:327
>>> (sofia/internal/sip:60 at 192.168.1.114:52111) State Change CS_REPORTING ->
>>> CS_DESTROY
>>> 2010-10-25 17:01:05.406250 [DEBUG] switch_core_session.c:1021 Send
>>> signal sofia/internal/sip:60 at 192.168.1.114:52111 [BREAK]
>>> 2010-10-25 17:01:05.406250 [DEBUG] switch_core_session.c:1164 Session 24
>>> (sofia/internal/sip:60 at 192.168.1.114:52111) Locked, Waiting on external
>>> entities
>>>
>>> --
>>> Achim Stamm, Dipl.-Inform. (FH)
>>>
>>>
>>> Lyncker & Theis GmbH
>>> Wilhelmstr. 16
>>> 65185 Wiesbaden
>>> Germany
>>>
>>> Fon +49 611/9006951
>>> Fax +49 611/9406125
>>>
>>>
>>> Handelsregister: HRB 23156 Amtsgericht Wiesbaden
>>> Steuernummer: 04323897052
>>> USt-IdNr.: DE255806399
>>>
>>> Geschäftsführer:
>>> Filip Lyncker,
>>> Armin Theis
>>>
>>>
>>> _______________________________________________
>>> FreeSWITCH-dev mailing list
>>> FreeSWITCH-dev at lists.freeswitch.org
>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
>>> http://www.freeswitch.org
>>>
>>>
>>
>>
>>
>>
> Hello Anthony,
>
> mod_ebv is an own module implementation.
> Here i used following code for bridging my current session to multiple
> Voip Phones
> in a freeswitch thread (same as bgapi):
>
> switch_ivr_originate(session, &peer_session, &cause,
> "user/60 at 192.168.1.114,user/61 at 192.168.1.114", timelimit, NULL, NULL,
> NULL, NULL, NULL, SOF_NONE,NULL) != SWITCH_STATUS_SUCCESS)
>
> Both Phones with number 60 and 61 rings.
> The problem with INCOMPATIBLE_DESTINATION occurs also with two X-Lites.
>
> regards
>
> Achim Stamm
>
> --
> Achim Stamm, Dipl.-Inform. (FH)
>
>
> Lyncker & Theis GmbH
> Wilhelmstr. 16
> 65185 Wiesbaden
> Germany
>
> Fon +49 611/9006951
> Fax +49 611/9406125
>
>
> Handelsregister: HRB 23156 Amtsgericht Wiesbaden
> Steuernummer: 04323897052
> USt-IdNr.: DE255806399
>
> Geschäftsführer:
> Filip Lyncker,
> Armin Theis
>
>
> _______________________________________________
> FreeSWITCH-dev mailing list
> FreeSWITCH-dev at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
> http://www.freeswitch.org
>



-- 
Anthony Minessale II

FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/
Twitter: http://twitter.com/FreeSWITCH_wire

AIM: anthm
MSN:anthony_minessale at hotmail.com
GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888 at conference.freeswitch.org
googletalk:conf+888 at conference.freeswitch.org
pstn:+19193869900



More information about the FreeSWITCH-dev mailing list