[Freeswitch-users] Not able to do outbound call

ovvenkat ovvenkatesan at gmail.com
Tue Jul 20 06:07:26 PDT 2010


Hi Nazim,

Could you plz tell me, how to handle the incoming call if you could plz give
me some sample dialplan to handle the incoming call would be great.

Regards,
Venkat.



On Tue, Jul 20, 2010 at 6:32 PM, ovvenkat <ovvenkatesan at gmail.com> wrote:

>
>
>
> Thank you very  much Nazim , It works :) .
>
>
> Regards,
> Venkat.
>
>
>
> On Tue, Jul 20, 2010 at 4:02 PM, Nazim Aghabayov <
> nazim.aghabayov at gmail.com> wrote:
>
>>  Hello Venkat,
>>
>> Below is my working configuration for q931 euro-isdn.
>> Please have a look at: http://wiki.sangoma.com/wanpipe-freeswitch-config
>> && http://wiki.sangoma.com/wanpipe-pri-daemon-options
>>
>>
>> openzap.conf
>> ---------------------------------
>> [span wanpipe PRI_1]
>> name => PRI_1
>> number => 1
>> trunk_type => e1
>> b-channel => 1:1-15
>> b-channel => 1:17-31
>>
>>
>> openzap.conf.xml
>> -----------------------------------
>> <configuration name="openzap.conf" description="OpenZAP Configuration">
>> <settings>
>> <param name="debug" value="0"/>
>> </settings>
>> <boost_spans>
>> <span name="PRI_1">
>> <!-- Log Levels: none, alert, crit, err, warning, notice, info, debug -->
>> <param name="q921loglevel" value="alert"/>
>> <param name="q931loglevel" value="debug"/>
>> <param name="mode" value="user"/>
>> <param name="dialect" value="q931"/>
>> <param name="dialplan" value="XML"/>
>> <param name="context" value="default"/>
>>
>> <!-- my mystical telco, they insisting on TON = NPI = 0  -->
>> <param name="outbound-called-ton" value="unknown"/>
>> <param name="outbound-called-npi" value="unknown"/>
>> <param name="outbound-rdnis-ton" value="unknown"/>
>> <param name="outbound-rdnis-npi" value="unknown"/>
>> <param name="outbound-calling-ton" value="unknown"/>
>> <param name="outbound-calling-npi" value="unknown"/>
>> </span>
>> </boost_spans>
>> </configuration>
>>
>>
>> dialplan
>> ---------------
>> <extension name="priout">
>>
>> <condition field="destination_number" expression="(?!4970000)\d{7}">
>>
>> <action application="set" data="effective_caller_id_number=4970000"/>
>> <action application="set" data="effective_caller_id_name=4970000"/>
>>
>> <action application="bridge"
>> data="openzap/PRI_1/a/${destination_number}@g1"/>
>>
>> </condition>
>> </extension>
>>
>> Best Regards,
>> Nazim
>>
>>
>> On 07/19/2010 01:36 PM, ovvenkat wrote:
>> > Hi to all,
>> >
>> > I am very new to this world.  I am not able to do outbound call using
>> > Sangoma A101 card  and freeSwitch.
>> >
>> > Here is the procedure I have followed
>> >
>> > *openzap.conf*
>> >
>> > [span wanpipe smg_prid]
>> > name => smg_prid
>> > trunk_type =>e1
>> > b-channel => 1:1-15
>> > d-chennel => 1:16
>> > b-channel => 1:17-31
>> >
>> > I have one span in *openzap.conf.xml*
>> >
>> > <configuration name="openzap.conf" description="OpenZAP Configuration">
>> > <settings>
>> > <param name="debug" value="0"/>
>> > </settings>
>> > <boot_spans>
>> > <span id="smg_prid"/>
>> > <param name="node" value="cpe"/>
>> > <param name="switch" value="ni1">
>> > <param name="dialplan" value="XML">
>> > <param name="context" value="default">
>> > </span>
>> > <boot_spans>
>> > <analog_spans>
>> > </analog_spans>
>> > </configuration >
>> > </analog_spans>
>> >
>> > *My Dial plan is
>> >
>> > *added one extension in default.xml file
>> >
>> > <extension name="outgoing-pri">
>> > <condition field="destination_number" expression="12345">
>> > <action application="bridge" data="OpenZAP/smg_prid/a/<my number>@g1"/>
>> > </condition>
>> > </extension>
>> >
>> > When i trying to call "12345" I am getting following output in *fs_cli*
>> ,
>> >
>> > 2010-07-19 01:50:17.531933 [DEBUG] sofia.c:5992 IP 192.168.1.100
>> > Rejected by acl "domains". Falling back to Digest auth.
>> > 2010-07-19 01:50:17.562934 [DEBUG] sofia.c:5992 IP 192.168.1.100
>> > Rejected by acl "domains". Falling back to Digest auth.
>> > 2010-07-19 01:50:17.581933 [NOTICE] switch_channel.c:776 New Channel
>> > sofia/internal/1000 at 192.168.1.110 <mailto:1000 at 192.168.1.110>
>> > [36c842f2-8078-4ca0-a6e0-36f5d65f81f8]
>> > 2010-07-19 01:50:17.583936 [DEBUG] switch_core_state_machine.c:314
>> > (sofia/internal/1000 at 192.168.1.110 <mailto:1000 at 192.168.1.110>)
>> > Running State Change CS_NEW
>> > 2010-07-19 01:50:17.583936 [DEBUG] switch_core_state_machine.c:320
>> > (sofia/internal/1000 at 192.168.1.110 <mailto:1000 at 192.168.1.110>) State
>> NEW
>> > 2010-07-19 01:50:17.615937 [DEBUG] sofia.c:4310 Channel
>> > sofia/internal/1000 at 192.168.1.110 <mailto:1000 at 192.168.1.110> entering
>> > state [received][100]
>> > 2010-07-19 01:50:17.615937 [DEBUG] sofia.c:4321 Remote SDP:
>> > v=0
>>
>>
>> _______________________________________________
>> 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
>>
>
>
>
> --
>
> If you have come to help me, you are wasting your time.
> If you have come to because your liberation is bound up in mine, we can
> work together.
>
>
> Regards
> Venkatesan OV.
>



-- 

If you have come to help me, you are wasting your time.
If you have come to because your liberation is bound up in mine, we can work
together.


Regards
Venkatesan OV.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100720/fb0b60c7/attachment-0001.html 


More information about the FreeSWITCH-users mailing list