[Freeswitch-users] Making a external call to Mobile number

ankIT WALiA ankitwalia4u at gmail.com
Fri Jun 17 11:51:31 MSD 2011


Ahhh! I wasted a half day in figuring out what's the issue?
Thanks a lot Steve.

On Fri, Jun 17, 2011 at 1:01 PM, Steven Ayre <steveayre at gmail.com> wrote:

> It's complaining the gateway you're trying to use doesn't exist. It looks
> like a simple typo in the gateway name attribute:
>
> <gateway name="*actiovoip*">
>
> <action application="bridge" data="sofia/gateway/*actionvoip*/$1"/>
>
> -Steve
>
>
>
>
> On 17 June 2011 08:25, ankIT WALiA <ankitwalia4u at gmail.com> wrote:
>
>> Yes, the sofia status is REGED.
>>
>> I am adding my Dial Plan and SIP Profile
>>
>> SIP Profile
>>
>> <include>
>>   <gateway name="actiovoip">
>>     <param name="username" value="XXXX"/>
>>     <param name="password" value="XXXX"/>
>>     <param name="realm" value="actionvoip.com"/>
>>     <param name="proxy" value="sip.actionvoip.com"/>
>>   </gateway>
>> </include>
>>
>> -----------------------------------------------------------
>> DialPlan
>>
>> <include>
>>   <extension name="Dial Out Actionvoip Gateway">
>>     <condition field="destination_number" expression="^9(91\d{10})$">
>>       <action application="bridge" data="sofia/gateway/actionvoip/$1"/>
>>     </condition>
>>   </extension>
>> </include>
>>
>> -----------------------------------------------------------
>>
>> In the logs, I found Errors. Full logs at Pastebin
>> http://pastebin.freeswitch.org/16541
>>
>> 2011-06-17 12:45:14.794565 [ERR] mod_sofia.c:3183 Invalid Gateway
>>
>> 2011-06-17 12:45:14.794565 [ERR] switch_ivr_originate.c:2430 Cannot create
>> outgoing channel of type [sofia] cause: [INVALID_NUMBER_FORMAT]
>>
>> I am stuck now. I did try most of the permutations and combinations.
>>
>> Thanks
>>
>> Ankit
>>
>>
>>
>>
>> On Fri, Jun 17, 2011 at 4:08 AM, Nandy Dagondon <gcd at i.ph> wrote:
>>
>>> in fs_cli, execute *sofia status* to check if the account is REGED. the
>>> account should be in  sip_profiles/external/. show us a sample of the
>>> account entry and the dialplan.
>>>
>>>
>>> On Fri, Jun 17, 2011 at 1:04 AM, ankIT WALiA <ankitwalia4u at gmail.com>wrote:
>>>
>>>> Dear all,
>>>>
>>>> I am trying to make an external call to a mobile number of India using
>>>> the default ext number 1005. For doing this, I did the following things.
>>>>
>>>> First, I created a user at IPTEL.org, I added a SIP profile. I
>>>> registered with IPTEL. I also added a dial plan regex for 91 - (10 digit
>>>> number). But, because of some issue, I was not able to connect to IPTEL SIP.
>>>> I was getting error on X-LITE about some server issue.
>>>>
>>>> then, I tried my VOIP account with ActionVoip which is a paid account
>>>> and has SIP service. I could connect to my action voip account through
>>>> X-LITE SIP.
>>>>
>>>> I made a SIP profile for Action Voip and registered the username with
>>>> action voip in FS. On reload, it got registered using action voip SIP
>>>> profile. I changed the dialplan to use actionvoip gateway.
>>>>
>>>> But still, when I am trying to call to my mobile number in India. The
>>>> call is not able to connect.
>>>>
>>>> I think there is gap in my knowledge. Please help me I am new to
>>>> FreeSwitch.
>>>>
>>>> Thanks
>>>> Ankit
>>>>
>>>> --
>>>> Life is like a rose its upto u feel it as its fragrance or thorns
>>>>
>>>> _______________________________________________
>>>> 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
>>>>
>>>>
>>>
>>> _______________________________________________
>>> Join us at ClueCon 2011, Aug 9-11, Chicago
>>> http://www.cluecon.com 877-7-4ACLUE
>>>
>>> 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
>>>
>>>
>>
>>
>> --
>> Life is like a rose its upto u feel it as its fragrance or thorns
>>
>> _______________________________________________
>> Join us at ClueCon 2011, Aug 9-11, Chicago
>> http://www.cluecon.com 877-7-4ACLUE
>>
>> 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
>>
>>
>
> _______________________________________________
> Join us at ClueCon 2011, Aug 9-11, Chicago
> http://www.cluecon.com 877-7-4ACLUE
>
> 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
>
>


-- 
Life is like a rose its upto u feel it as its fragrance or thorns
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20110617/b656c3ba/attachment.html 


More information about the FreeSWITCH-users mailing list