[Freeswitch-users] newbie: originate dial problem
Brian West
brian at freeswitch.org
Wed May 20 05:20:16 MSD 2015
Close, you forgot the entire command, the 'reg' at the end was required, I
wanna see how registrations show up.
On Tue, May 19, 2015 at 6:11 PM, Masakazu Nakano <emplant2000 at gmail.com>
wrote:
> Hi Brian
>
> thank you for my reply.
>
> sorry too long result
>
> freeswitch at internal> sofia status profile internal
>
> =================================================================================================
> Name internal
> Domain Name N/A
> Auto-NAT false
> DBName sofia_reg_internal
> Pres Hosts 27.112.104.17,27.112.104.17,fusionpbx.b3am.com
> Dialplan XML
> Context public
> Challenge Realm auto_from
> RTP-IP fusionpbx.b3am.com
> SIP-IP fusionpbx.b3am.com
> URL sip:mod_sofia at fusionpbx.b3am.com:5090
> BIND-URL sip:mod_sofia at fusionpbx.b3am.com:5090
> ;transport=udp,tcp
> HOLD-MUSIC local_stream://moh
> OUTBOUND-PROXY N/A
> CODECS IN OPUS,speex at 16000h@20i,speex at 8000h@20i,G7221 at 32000h
> ,G7221 at 16000h,G722,PCMU,PCMA,GSM
> CODECS OUT OPUS,speex at 16000h@20i,speex at 8000h@20i,G7221 at 32000h
> ,G7221 at 16000h,G722,PCMU,PCMA,GSM
> TEL-EVENT 101
> DTMF-MODE rfc2833
> CNG 13
> SESSION-TO 0
> MAX-DIALOG 0
> NOMEDIA false
> LATE-NEG true
> PROXY-MEDIA false
> ZRTP-PASSTHRU true
> AGGRESSIVENAT false
> CALLS-IN 0
> FAILED-CALLS-IN 0
> CALLS-OUT 0
> FAILED-CALLS-OUT 0
> REGISTRATIONS 0
>
> -- and
>
> freeswitch at internal> sofia status profile external
>
> =================================================================================================
> Name external
> Domain Name N/A
> Auto-NAT false
> DBName share_presence
> Pres Hosts 27.112.104.17
> Dialplan XML
> Context public
> Challenge Realm auto_to
> RTP-IP 27.112.104.17
> SIP-IP 27.112.104.17
> URL sip:mod_sofia at 27.112.104.17:5060
> BIND-URL sip:mod_sofia at 27.112.104.17:5060;transport=udp,tcp
> WS-BIND-URL sip:mod_sofia at 27.112.104.17:5066;transport=ws
> HOLD-MUSIC local_stream://moh
> OUTBOUND-PROXY N/A
> CODECS IN OPUS,speex at 16000h@20i,speex at 8000h@20i,G7221 at 32000h
> ,G7221 at 16000h,G722,PCMU,PCMA,GSM
> CODECS OUT speex at 16000h@20i,PCMU,PCMA,GSM
> TEL-EVENT 101
> DTMF-MODE info
> CNG 13
> SESSION-TO 0
> MAX-DIALOG 0
> NOMEDIA false
> LATE-NEG true
> PROXY-MEDIA false
> ZRTP-PASSTHRU true
> AGGRESSIVENAT false
> CALLS-IN 72
> FAILED-CALLS-IN 72
> CALLS-OUT 0
> FAILED-CALLS-OUT 0
> REGISTRATIONS 3
>
> # oops, I,I,I'm sorry to...I forget...what I can say...
> # I touched asterisk so many time but 15 years spend...
> # pls,pls auhhggg....
>
> BR
>
> mack
>
>
>
>
>
>
> 2015-05-20 7:53 GMT+09:00 Brian West <brian at freeswitch.org>:
>
>> sofia status profile internal reg
>> sofia status profile external reg
>>
>> What do those two commands say?
>>
>> On Tue, May 19, 2015 at 9:32 AM, Masakazu Nakano <emplant2000 at gmail.com>
>> wrote:
>>
>>> HI Brian
>>>
>>> thank you for your reply.
>>>
>>> 'sofia status' says following like that.
>>>
>>> freeswitch at internal> sofia status
>>> Name Type
>>> Data State
>>>
>>> =================================================================================================
>>> external-ipv6 profile sip:mod_sofia@[::2]:5060
>>> RUNNING (0)
>>> 27.112.104.17 alias
>>> internal ALIASED
>>> external profile
>>> sip:mod_sofia at 27.112.104.17:5060 RUNNING (0)
>>> external::iptel gateway
>>> sip:emplant2000 at sip.iptel.org FAIL_WAIT
>>> internal-ipv6 profile sip:mod_sofia@[::2]:5090
>>> RUNNING (0)
>>> internal profile
>>> sip:mod_sofia at fusionpbx.b3am.com:5090 RUNNING (0)
>>>
>>> =================================================================================================
>>> 4 profiles 1 alias
>>>
>>> BR
>>>
>>> mack
>>>
>>>
>>>
>>> 2015-05-19 22:49 GMT+09:00 Brian West <brian at freeswitch.org>:
>>>
>>>> What rev of FreeSWITCH and what is the output of 'sofia status', Then
>>>> you can try sofia_contact */5630 and see what it returns, and pastbin all
>>>> of that info for us to see.
>>>>
>>>>
>>>>
>>>> On Tue, May 19, 2015 at 8:11 AM, Masakazu Nakano <emplant2000 at gmail.com
>>>> > wrote:
>>>>
>>>>> Hi there.
>>>>>
>>>>> a softphone is registed called 5630 in public.
>>>>>
>>>>> show registered says following under like that.
>>>>>
>>>>> 5630,27.112.104.17,siGhOxWCoIW0n9JjzwxSTg..,sofia/external/sip:5630 at 49.97.4.168:61682
>>>>> ;transport=UDP;rinstance=b1c4cf82f7d6e637,1432040746,49.97.4.168,61682,udp,
>>>>> b3am.com,
>>>>>
>>>>> and
>>>>>
>>>>> freeswitch at internal > originate user/5630
>>>>>
>>>>> is successfull.
>>>>>
>>>>> but by dialplan/public/5630.xml
>>>>> <extension name="5630">
>>>>> <condition field="destination_number" expression="5630">
>>>>> <action application="bridge" data="user/5630"/>
>>>>> </condition>
>>>>> </extension>
>>>>>
>>>>> and make a call with another phone to 5630.to be "Cause:
>>>>> INVALID_PROFILE"
>>>>>
>>>>> 2015-05-19 22:08:53.724519 [NOTICE] switch_ivr_originate.c:2732 Cannot
>>>>> create outgoing channel of type [sofia] cause: [INVALID_PROFILE]
>>>>> 2015-05-19 22:08:53.724519 [DEBUG] switch_ivr_originate.c:3720
>>>>> Originate Resulted in Error Cause: 611 [INVALID_PROFILE]
>>>>> 2015-05-19 22:08:53.724519 [INFO] mod_dptools.c:3246 Originate
>>>>> Failed. Cause: INVALID_PROFILE
>>>>>
>>>>> why?
>>>>>
>>>>> BR
>>>>>
>>>>> mack
>>>>>
>>>>>
>>>>>
>>>>> _________________________________________________________________________
>>>>> 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
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>>
>>>> *Brian West*
>>>> brian at freeswitch.org
>>>>
>>>>
>>>> *Twitter: @FreeSWITCH , @briankwest*
>>>> http://www.freeswitchbook.com
>>>> http://www.freeswitchcookbook.com
>>>>
>>>> ClueCon 2015 Call for Speakers
>>>> <https://www.cluecon.com/call-for-speakers/> | Register
>>>> <https://freeswitch.com/cart.php?gid=1> TODAY! | Reddit: /r/freeswitch
>>>> <https://www.reddit.com/r/freeswitch>
>>>>
>>>> *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378)
>>>> *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest
>>>>
>>>>
>>>> _________________________________________________________________________
>>>> 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
>>>>
>>>
>>>
>>> _________________________________________________________________________
>>> 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
>>>
>>
>>
>>
>> --
>>
>> *Brian West*
>> brian at freeswitch.org
>>
>>
>> *Twitter: @FreeSWITCH , @briankwest*
>> http://www.freeswitchbook.com
>> http://www.freeswitchcookbook.com
>>
>> ClueCon 2015 Call for Speakers
>> <https://www.cluecon.com/call-for-speakers/> | Register
>> <https://freeswitch.com/cart.php?gid=1> TODAY! | Reddit: /r/freeswitch
>> <https://www.reddit.com/r/freeswitch>
>>
>> *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378)
>> *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest
>>
>> _________________________________________________________________________
>> 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
>>
>
>
> _________________________________________________________________________
> 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
>
--
*Brian West*
brian at freeswitch.org
*Twitter: @FreeSWITCH , @briankwest*
http://www.freeswitchbook.com
http://www.freeswitchcookbook.com
ClueCon 2015 Call for Speakers <https://www.cluecon.com/call-for-speakers/> |
Register <https://freeswitch.com/cart.php?gid=1> TODAY! | Reddit:
/r/freeswitch <https://www.reddit.com/r/freeswitch>
*T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378)
*iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150519/aeb8c608/attachment-0001.html
Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users
mailing list