Calling Card in ASTPP with Pinless Option

735 views
Skip to first unread message

Mean M

unread,
Jan 8, 2013, 10:07:39 PM1/8/13
to as...@googlegroups.com


Dear All,

May i know if Calling Card in ASTPP server support pinless option? if Can support, how to enable this option in the server?



Best regards,
Daneth

Jagadish Thoutam

unread,
Jan 8, 2013, 10:58:47 PM1/8/13
to as...@googlegroups.com

Hi it can possible while your creating callingcard brand you have option using pin yes or no, please have a look

Thanks
Jagadish

Message has been deleted

Jagadish Thoutam

unread,
Jan 9, 2013, 1:57:40 AM1/9/13
to as...@googlegroups.com
Opps

NO Snapshot.

:)

Thanks
Jagadish


On 9 January 2013 12:26, Mean M <m.da...@gmail.com> wrote:
Hi Jagadish,

I enable this option already. But may i know which parameter do i need to use to register for each card.Example: I sale each card with 50$ and each people need to use user and password separately to use that card.
 I would attache snapshot as below:





Best Regards,
Daneth

Mean M

unread,
Jan 9, 2013, 1:58:27 AM1/9/13
to as...@googlegroups.com


On Wednesday, January 9, 2013 10:58:47 AM UTC+7, jaganthoutam wrote:

Mean M

unread,
Jan 9, 2013, 2:02:34 AM1/9/13
to as...@googlegroups.com
Hi Jagadish,

I can enable this option now. But i still confuse which parameter do i need to use to register for each card? Example: I sale each card 50$ and all user need to register individually for each card?
I would attach snapshot below:




On Wednesday, January 9, 2013 10:58:47 AM UTC+7, jaganthoutam wrote:
Calling card info.jpg

Mean M

unread,
Jan 9, 2013, 2:04:30 AM1/9/13
to as...@googlegroups.com

Jagadish Thoutam

unread,
Jan 9, 2013, 2:11:58 AM1/9/13
to as...@googlegroups.com
I am not getting Your Question,

Because Calling card Users will dial you DID or Access Number Then
they Have to Enter the The Card number


<include>
<extension name="astpp_callingcards">
<condition field="destination_number" expression="^8008018888$">
<!---Replace your DID number-->
<action application="answer"/>
<action application="eval" data="Here we go!"/>
<action application="perl" data="astpp-callingcards.pl" />
</condition>
</extension>
</include>

this dial plan is to configure your DID for Calling card.

Customer will dial the DID he can listen The Calling card Menu.


For testing Please Register your sip phone with U : 1000 P :
1234 D : YOUR IP OF FREESWITCH BOX.



Dial ABOVE LISTED 800801888 Number You can still able to check the
Calling card Menu.


Thanks
Jagadish

Mean M

unread,
Jan 9, 2013, 3:00:06 AM1/9/13
to as...@googlegroups.com
Dear Jagan,

Thanks for your reply. But anyway do ASTPP support Caller ID authentication (PINLESS dialling) ?
So customer can register their card individually and simply dial to end user without Enter the card number?

Note: As you have seen that Card number has many digits and if when customer need to dial out with card number every time then it seem complex to the customer.




Best regards,
daneth

Jagadish Thoutam

unread,
Jan 9, 2013, 3:44:53 AM1/9/13
to as...@googlegroups.com
i am not sure about the called ID authentication for called id
(Without card Number and PIN )
i didnt find any code in source regarding this.


sameer Will help you on this.


Thanks
Jagadish

Samir Doshi

unread,
Jan 10, 2013, 6:45:20 AM1/10/13
to as...@googlegroups.com
For callerid based authentication,
1. set cc_ani_auth variable to 1 from system configuration
2. create new account from accounts module
3. create cc brand and set Pin Required=NO
4. Create calling card and enter account number which you have created
from accounts module
5. Now add your caller id number in your account from accounts module
and test it out.

I hope that will help you to configure pinless dialling.

---
Thanks,
Samir Doshi

Mean M

unread,
Jan 16, 2013, 4:35:12 AM1/16/13
to as...@googlegroups.com, sa...@astpp.org
Dear Samir,

Thanks for your guideline.I have create account and enable cc_ani_auth variable to 1 but i could not call out. Please help me out.
I would summary my setting in ASTPP server and error log as below:



Termination Rate Information

code= ^855.*
Destination=cambodia
Trunk=trunk1
Connect Charge=0.1000



Trunk Information

Trunk Name=trunk1
Protocol=SIP
PeerName=astpp
Max Channels:10
Precedence=0

astpp_callingcards.xml

<include>
  <extension name="astpp_callingcards">
   <condition field="destination_number" expression="^(855.*)">
     <!-- <action application="answer"/>-->

      <action application="eval" data="Here we go!"/>
      <action application="perl" data="astpp-callingcards.pl" />
      <action application="bridge" data="sofia/gateway/astpp/$1"/>
    </condition>
  </extension>
</include>




Below my debug error logs:

2013-01-16 16:32:54.078159 [NOTICE] switch_channel.c:951 New Channel sofia/internal/1681681...@192.168.0.151 [b42f9a6a-5fbf-11e2-ab95-fd07b095ee1e]
2013-01-16 16:32:54.078159 [DEBUG] switch_core_session.c:905 Send signal sofia/internal/1681681...@192.168.0.151 [BREAK]
2013-01-16 16:32:54.078159 [DEBUG] switch_core_state_machine.c:398 (sofia/internal/1681681...@192.168.0.151) Running State Change CS_NEW
2013-01-16 16:32:54.078159 [DEBUG] switch_core_state_machine.c:416 (sofia/internal/1681681...@192.168.0.151) State NEW
2013-01-16 16:32:54.078159 [DEBUG] switch_core_session.c:905 Send signal sofia/internal/1681681...@192.168.0.151 [BREAK]
2013-01-16 16:32:54.098158 [DEBUG] sofia.c:8415 IP 192.168.1.75 Rejected by acl "domains". Falling back to Digest auth.
2013-01-16 16:32:54.098158 [DEBUG] switch_core_session.c:905 Send signal sofia/internal/1681681...@192.168.0.151 [BREAK]
2013-01-16 16:32:54.098158 [DEBUG] sofia.c:1729 detaching session b42f9a6a-5fbf-11e2-ab95-fd07b095ee1e
2013-01-16 16:32:54.118164 [DEBUG] sofia.c:1821 Re-attaching to session b42f9a6a-5fbf-11e2-ab95-fd07b095ee1e
2013-01-16 16:32:54.118164 [DEBUG] switch_core_session.c:905 Send signal sofia/internal/1681681...@192.168.0.151 [BREAK]
2013-01-16 16:32:54.118164 [DEBUG] switch_core_session.c:905 Send signal sofia/internal/1681681...@192.168.0.151 [BREAK]
2013-01-16 16:32:54.118164 [DEBUG] sofia.c:8415 IP 192.168.1.75 Rejected by acl "domains". Falling back to Digest auth.
2013-01-16 16:32:54.338143 [DEBUG] sofia.c:6285 Channel sofia/internal/1681681...@192.168.0.151 entering state [received][100]
2013-01-16 16:32:54.338143 [DEBUG] sofia.c:6296 Remote SDP:
v=0
o=- 29975859 29975894 IN IP4 192.168.1.75
s=eyeBeam
c=IN IP4 192.168.1.75
t=0 0
m=audio 8882 RTP/AVP 0 8 101
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=alt:1 1 : BB12BF9D 37001D5A 192.168.1.75 8882

2013-01-16 16:32:54.338143 [DEBUG] sofia.c:6509 (sofia/internal/1681681...@192.168.0.151) State Change CS_NEW -> CS_INIT
2013-01-16 16:32:54.338143 [DEBUG] switch_core_session.c:1210 Send signal sofia/internal/1681681...@192.168.0.151 [BREAK]
2013-01-16 16:32:54.338143 [DEBUG] switch_core_state_machine.c:398 (sofia/internal/1681681...@192.168.0.151) Running State Change CS_INIT
2013-01-16 16:32:54.338143 [DEBUG] switch_core_state_machine.c:437 (sofia/internal/1681681...@192.168.0.151) State INIT
2013-01-16 16:32:54.338143 [DEBUG] mod_sofia.c:86 sofia/internal/1681681...@192.168.0.151 SOFIA INIT
2013-01-16 16:32:54.338143 [DEBUG] mod_sofia.c:126 (sofia/internal/1681681...@192.168.0.151) State Change CS_INIT -> CS_ROUTING
2013-01-16 16:32:54.338143 [DEBUG] switch_core_session.c:1210 Send signal sofia/internal/1681681...@192.168.0.151 [BREAK]
2013-01-16 16:32:54.338143 [DEBUG] switch_core_state_machine.c:437 (sofia/internal/1681681...@192.168.0.151) State INIT going to sleep
2013-01-16 16:32:54.338143 [DEBUG] switch_core_state_machine.c:398 (sofia/internal/1681681...@192.168.0.151) Running State Change CS_ROUTING
2013-01-16 16:32:54.338143 [DEBUG] switch_channel.c:1964 (sofia/internal/1681681...@192.168.0.151) Callstate Change DOWN -> RINGING
2013-01-16 16:32:54.338143 [DEBUG] switch_core_state_machine.c:446 (sofia/internal/1681681...@192.168.0.151) State ROUTING
2013-01-16 16:32:54.338143 [DEBUG] mod_sofia.c:149 sofia/internal/1681681...@192.168.0.151 SOFIA ROUTING
2013-01-16 16:32:54.338143 [DEBUG] switch_core_state_machine.c:117 sofia/internal/1681681...@192.168.0.151 Standard ROUTING
2013-01-16 16:32:54.338143 [INFO] mod_dialplan_xml.c:485 Processing 85512809606 <16816816810292>->85512809606 in context default
Dialplan: sofia/internal/1681681...@192.168.0.151 parsing [default->unloop] continue=false
Dialplan: sofia/internal/1681681...@192.168.0.151 Regex (PASS) [unloop] ${unroll_loops}(true) =~ /^true$/ break=on-false
Dialplan: sofia/internal/1681681...@192.168.0.151 Regex (FAIL) [unloop] ${sip_looped_call}() =~ /^true$/ break=on-false
Dialplan: sofia/internal/1681681...@192.168.0.151 parsing [default->tod_example] continue=true
Dialplan: sofia/internal/1681681...@192.168.0.151 Date/Time Match (PASS) [tod_example] break=on-false
Dialplan: sofia/internal/1681681...@192.168.0.151 Action set(open=true)
Dialplan: sofia/internal/1681681...@192.168.0.151 parsing [default->holiday_example] continue=true
Dialplan: sofia/internal/1681681...@192.168.0.151 Date/TimeMatch (FAIL) [holiday_example] break=on-false
Dialplan: sofia/internal/1681681...@192.168.0.151 parsing [default->global-intercept] continue=false
Dialplan: sofia/internal/1681681...@192.168.0.151 Regex (FAIL) [global-intercept] destination_number(85512809606) =~ /^886$/ break=on-false
Dialplan: sofia/internal/1681681...@192.168.0.151 parsing [default->group-intercept] continue=false
Dialplan: sofia/internal/1681681...@192.168.0.151 Regex (FAIL) [group-intercept] destination_number(85512809606) =~ /^\*8$/ break=on-false
Dialplan: sofia/internal/1681681...@192.168.0.151 parsing [default->intercept-ext] continue=false
Dialplan: sofia/internal/1681681...@192.168.0.151 Regex (FAIL) [intercept-ext] destination_number(85512809606) =~ /^\*\*(\d+)$/ break=on-false
Dialplan: sofia/internal/1681681...@192.168.0.151 parsing [default->redial] continue=false
Dialplan: sofia/internal/1681681...@192.168.0.151 Regex (FAIL) [redial] destination_number(85512809606) =~ /^(redial|870)$/ break=on-false
Dialplan: sofia/internal/1681681...@192.168.0.151 parsing [default->global] continue=true
Dialplan: sofia/internal/1681681...@192.168.0.151 Regex (FAIL) [global] ${call_debug}(false) =~ /^true$/ break=never
Dialplan: sofia/internal/1681681...@192.168.0.151 Regex (FAIL) [global] ${sip_has_crypto}() =~ /^(AES_CM_128_HMAC_SHA1_32|AES_CM_128_HMAC_SHA1_80)$/ break=never
Dialplan: sofia/internal/1681681...@192.168.0.151 Absolute Condition [global]
Dialplan: sofia/internal/1681681...@192.168.0.151 Action hash(insert/${domain_name}-spymap/${caller_id_number}/${uuid})
Dialplan: sofia/internal/1681681...@192.168.0.151 Action hash(insert/${domain_name}-last_dial/${caller_id_number}/${destination_number})
Dialplan: sofia/internal/1681681...@192.168.0.151 Action hash(insert/${domain_name}-last_dial/global/${uuid})
Dialplan: sofia/internal/1681681...@192.168.0.151 Action export(RFC2822_DATE=${strftime(%a, %d %b %Y %T %z)})
Dialplan: sofia/internal/1681681...@192.168.0.151 parsing [default->snom-demo-2] continue=false
Dialplan: sofia/internal/1681681...@192.168.0.151 Regex (FAIL) [snom-demo-2] destination_number(85512809606) =~ /^9001$/ break=on-false
Dialplan: sofia/internal/1681681...@192.168.0.151 parsing [default->snom-demo-1] continue=false
Dialplan: sofia/internal/1681681...@192.168.0.151 Regex (FAIL) [snom-demo-1] destination_number(85512809606) =~ /^9000$/ break=on-false
Dialplan: sofia/internal/1681681...@192.168.0.151 parsing [default->eavesdrop] continue=false
Dialplan: sofia/internal/1681681...@192.168.0.151 Regex (FAIL) [eavesdrop] destination_number(85512809606) =~ /^88(\d{4})$|^\*0(.*)$/ break=on-false
Dialplan: sofia/internal/1681681...@192.168.0.151 parsing [default->eavesdrop] continue=false
Dialplan: sofia/internal/1681681...@192.168.0.151 Regex (FAIL) [eavesdrop] destination_number(85512809606) =~ /^779$/ break=on-false
Dialplan: sofia/internal/1681681...@192.168.0.151 parsing [default->call_return] continue=false
Dialplan: sofia/internal/1681681...@192.168.0.151 Regex (FAIL) [call_return] destination_number(85512809606) =~ /^\*69$|^869$|^lcr$/ break=on-false
Dialplan: sofia/internal/1681681...@192.168.0.151 parsing [default->del-group] continue=false
Dialplan: sofia/internal/1681681...@192.168.0.151 Regex (FAIL) [del-group] destination_number(85512809606) =~ /^80(\d{2})$/ break=on-false
Dialplan: sofia/internal/1681681...@192.168.0.151 parsing [default->add-group] continue=false
Dialplan: sofia/internal/1681681...@192.168.0.151 Regex (FAIL) [add-group] destination_number(85512809606) =~ /^81(\d{2})$/ break=on-false
Dialplan: sofia/internal/1681681...@192.168.0.151 parsing [default->call-group-simo] continue=false
Dialplan: sofia/internal/1681681...@192.168.0.151 Regex (FAIL) [call-group-simo] destination_number(85512809606) =~ /^82(\d{2})$/ break=on-false
Dialplan: sofia/internal/1681681...@192.168.0.151 parsing [default->call-group-order] continue=false
Dialplan: sofia/internal/1681681...@192.168.0.151 Regex (FAIL) [call-group-order] destination_number(85512809606) =~ /^83(\d{2})$/ break=on-false
Dialplan: sofia/internal/1681681...@192.168.0.151 parsing [default->extension-intercom] continue=false
Dialplan: sofia/internal/1681681...@192.168.0.151 Regex (FAIL) [extension-intercom] destination_number(85512809606) =~ /^8(10[01][0-9])$/ break=on-false
Dialplan: sofia/internal/1681681...@192.168.0.151 parsing [default->Local_Extension] continue=false
Dialplan: sofia/internal/1681681...@192.168.0.151 Regex (FAIL) [Local_Extension] destination_number(85512809606) =~ /^(10[01][0-9])$/ break=on-false
Dialplan: sofia/internal/1681681...@192.168.0.151 parsing [default->Local_Extension_Skinny] continue=false
Dialplan: sofia/internal/1681681...@192.168.0.151 Regex (FAIL) [Local_Extension_Skinny] destination_number(85512809606) =~ /^(11[01][0-9])$/ break=on-false
Dialplan: sofia/internal/1681681...@192.168.0.151 parsing [default->group_dial_sales] continue=false
Dialplan: sofia/internal/1681681...@192.168.0.151 Regex (FAIL) [group_dial_sales] destination_number(85512809606) =~ /^2000$/ break=on-false
Dialplan: sofia/internal/1681681...@192.168.0.151 parsing [default->group_dial_support] continue=false
Dialplan: sofia/internal/1681681...@192.168.0.151 Regex (FAIL) [group_dial_support] destination_number(85512809606) =~ /^2001$/ break=on-false
Dialplan: sofia/internal/1681681...@192.168.0.151 parsing [default->group_dial_billing] continue=false
Dialplan: sofia/internal/1681681...@192.168.0.151 Regex (FAIL) [group_dial_billing] destination_number(85512809606) =~ /^2002$/ break=on-false
Dialplan: sofia/internal/1681681...@192.168.0.151 parsing [default->operator] continue=false
Dialplan: sofia/internal/1681681...@192.168.0.151 Regex (FAIL) [operator] destination_number(85512809606) =~ /^(operator|0)$/ break=on-false
Dialplan: sofia/internal/1681681...@192.168.0.151 parsing [default->vmain] continue=false
Dialplan: sofia/internal/1681681...@192.168.0.151 Regex (FAIL) [vmain] destination_number(85512809606) =~ /^vmain$|^4000$|^\*98$/ break=on-false
Dialplan: sofia/internal/1681681...@192.168.0.151 parsing [default->sip_uri] continue=false
Dialplan: sofia/internal/1681681...@192.168.0.151 Regex (FAIL) [sip_uri] destination_number(85512809606) =~ /^sip:(.*)$/ break=on-false
Dialplan: sofia/internal/1681681...@192.168.0.151 parsing [default->nb_conferences] continue=false
Dialplan: sofia/internal/1681681...@192.168.0.151 Regex (FAIL) [nb_conferences] destination_number(85512809606) =~ /^(30\d{2})$/ break=on-false
Dialplan: sofia/internal/1681681...@192.168.0.151 parsing [default->wb_conferences] continue=false
Dialplan: sofia/internal/1681681...@192.168.0.151 Regex (FAIL) [wb_conferences] destination_number(85512809606) =~ /^(31\d{2})$/ break=on-false
Dialplan: sofia/internal/1681681...@192.168.0.151 parsing [default->uwb_conferences] continue=false
Dialplan: sofia/internal/1681681...@192.168.0.151 Regex (FAIL) [uwb_conferences] destination_number(85512809606) =~ /^(32\d{2})$/ break=on-false
Dialplan: sofia/internal/1681681...@192.168.0.151 parsing [default->cdquality_conferences] continue=false
Dialplan: sofia/internal/1681681...@192.168.0.151 Regex (FAIL) [cdquality_conferences] destination_number(85512809606) =~ /^(33\d{2})$/ break=on-false
Dialplan: sofia/internal/1681681...@192.168.0.151 parsing [default->freeswitch_public_conf_via_sip] continue=false
Dialplan: sofia/internal/1681681...@192.168.0.151 Regex (FAIL) [freeswitch_public_conf_via_sip] destination_number(85512809606) =~ /^9(888|8888|1616|3232)$/ break=on-false
Dialplan: sofia/internal/1681681...@192.168.0.151 parsing [default->mad_boss_intercom] continue=false
Dialplan: sofia/internal/1681681...@192.168.0.151 Regex (FAIL) [mad_boss_intercom] destination_number(85512809606) =~ /^0911$/ break=on-false
Dialplan: sofia/internal/1681681...@192.168.0.151 parsing [default->mad_boss_intercom] continue=false
Dialplan: sofia/internal/1681681...@192.168.0.151 Regex (FAIL) [mad_boss_intercom] destination_number(85512809606) =~ /^0912$/ break=on-false
Dialplan: sofia/internal/1681681...@192.168.0.151 parsing [default->mad_boss] continue=false
Dialplan: sofia/internal/1681681...@192.168.0.151 Regex (FAIL) [mad_boss] destination_number(85512809606) =~ /^0913$/ break=on-false
Dialplan: sofia/internal/1681681...@192.168.0.151 parsing [default->ivr_demo] continue=false
Dialplan: sofia/internal/1681681...@192.168.0.151 Regex (FAIL) [ivr_demo] destination_number(85512809606) =~ /^5000$/ break=on-false
Dialplan: sofia/internal/1681681...@192.168.0.151 parsing [default->dynamic_conference] continue=false
Dialplan: sofia/internal/1681681...@192.168.0.151 Regex (FAIL) [dynamic_conference] destination_number(85512809606) =~ /^5001$/ break=on-false
Dialplan: sofia/internal/1681681...@192.168.0.151 parsing [default->rtp_multicast_page] continue=false
Dialplan: sofia/internal/1681681...@192.168.0.151 Regex (FAIL) [rtp_multicast_page] destination_number(85512809606) =~ /^pagegroup$|^7243$/ break=on-false
Dialplan: sofia/internal/1681681...@192.168.0.151 parsing [default->park] continue=false
Dialplan: sofia/internal/1681681...@192.168.0.151 Regex (FAIL) [park] destination_number(85512809606) =~ /^5900$/ break=on-false
Dialplan: sofia/internal/1681681...@192.168.0.151 parsing [default->unpark] continue=false
Dialplan: sofia/internal/1681681...@192.168.0.151 Regex (FAIL) [unpark] destination_number(85512809606) =~ /^5901$/ break=on-false
Dialplan: sofia/internal/1681681...@192.168.0.151 parsing [default->valet_park] continue=false
Dialplan: sofia/internal/1681681...@192.168.0.151 Regex (FAIL) [valet_park] destination_number(85512809606) =~ /^(6000)$/ break=on-false
Dialplan: sofia/internal/1681681...@192.168.0.151 parsing [default->valet_park] continue=false
Dialplan: sofia/internal/1681681...@192.168.0.151 Regex (FAIL) [valet_park] destination_number(85512809606) =~ /^(60\d[1-9])$/ break=on-false
Dialplan: sofia/internal/1681681...@192.168.0.151 parsing [default->park] continue=false
Dialplan: sofia/internal/1681681...@192.168.0.151 Regex (PASS) [park] source(mod_sofia) =~ /mod_sofia/ break=on-false
Dialplan: sofia/internal/1681681...@192.168.0.151 Regex (FAIL) [park] destination_number(85512809606) =~ /park\+(\d+)/ break=on-false
Dialplan: sofia/internal/1681681...@192.168.0.151 parsing [default->unpark] continue=false
Dialplan: sofia/internal/1681681...@192.168.0.151 Regex (PASS) [unpark] source(mod_sofia) =~ /mod_sofia/ break=on-false
Dialplan: sofia/internal/1681681...@192.168.0.151 Regex (FAIL) [unpark] destination_number(85512809606) =~ /^parking$/ break=on-false
Dialplan: sofia/internal/1681681...@192.168.0.151 parsing [default->park] continue=false
Dialplan: sofia/internal/1681681...@192.168.0.151 Regex (PASS) [park] source(mod_sofia) =~ /mod_sofia/ break=on-false
Dialplan: sofia/internal/1681681...@192.168.0.151 Regex (FAIL) [park] destination_number(85512809606) =~ /callpark/ break=on-false
Dialplan: sofia/internal/1681681...@192.168.0.151 parsing [default->unpark] continue=false
Dialplan: sofia/internal/1681681...@192.168.0.151 Regex (PASS) [unpark] source(mod_sofia) =~ /mod_sofia/ break=on-false
Dialplan: sofia/internal/1681681...@192.168.0.151 Regex (FAIL) [unpark] destination_number(85512809606) =~ /pickup/ break=on-false
Dialplan: sofia/internal/1681681...@192.168.0.151 parsing [default->wait] continue=false
Dialplan: sofia/internal/1681681...@192.168.0.151 Regex (FAIL) [wait] destination_number(85512809606) =~ /^wait$/ break=on-false
Dialplan: sofia/internal/1681681...@192.168.0.151 parsing [default->fax_receive] continue=false
Dialplan: sofia/internal/1681681...@192.168.0.151 Regex (FAIL) [fax_receive] destination_number(85512809606) =~ /^9178$/ break=on-false
Dialplan: sofia/internal/1681681...@192.168.0.151 parsing [default->fax_transmit] continue=false
Dialplan: sofia/internal/1681681...@192.168.0.151 Regex (FAIL) [fax_transmit] destination_number(85512809606) =~ /^9179$/ break=on-false
Dialplan: sofia/internal/1681681...@192.168.0.151 parsing [default->ringback_180] continue=false
Dialplan: sofia/internal/1681681...@192.168.0.151 Regex (FAIL) [ringback_180] destination_number(85512809606) =~ /^9180$/ break=on-false
Dialplan: sofia/internal/1681681...@192.168.0.151 parsing [default->ringback_183_uk_ring] continue=false
Dialplan: sofia/internal/1681681...@192.168.0.151 Regex (FAIL) [ringback_183_uk_ring] destination_number(85512809606) =~ /^9181$/ break=on-false
Dialplan: sofia/internal/1681681...@192.168.0.151 parsing [default->ringback_183_music_ring] continue=false
Dialplan: sofia/internal/1681681...@192.168.0.151 Regex (FAIL) [ringback_183_music_ring] destination_number(85512809606) =~ /^9182$/ break=on-false
Dialplan: sofia/internal/1681681...@192.168.0.151 parsing [default->ringback_post_answer_uk_ring] continue=false
Dialplan: sofia/internal/1681681...@192.168.0.151 Regex (FAIL) [ringback_post_answer_uk_ring] destination_number(85512809606) =~ /^9183$/ break=on-false
Dialplan: sofia/internal/1681681...@192.168.0.151 parsing [default->ringback_post_answer_music] continue=false
Dialplan: sofia/internal/1681681...@192.168.0.151 Regex (FAIL) [ringback_post_answer_music] destination_number(85512809606) =~ /^9184$/ break=on-false
Dialplan: sofia/internal/1681681...@192.168.0.151 parsing [default->ClueCon] continue=false
Dialplan: sofia/internal/1681681...@192.168.0.151 Regex (FAIL) [ClueCon] destination_number(85512809606) =~ /^9191$/ break=on-false
Dialplan: sofia/internal/1681681...@192.168.0.151 parsing [default->show_info] continue=false
Dialplan: sofia/internal/1681681...@192.168.0.151 Regex (FAIL) [show_info] destination_number(85512809606) =~ /^9192$/ break=on-false
Dialplan: sofia/internal/1681681...@192.168.0.151 parsing [default->video_record] continue=false
Dialplan: sofia/internal/1681681...@192.168.0.151 Regex (FAIL) [video_record] destination_number(85512809606) =~ /^9193$/ break=on-false
Dialplan: sofia/internal/1681681...@192.168.0.151 parsing [default->video_playback] continue=false
Dialplan: sofia/internal/1681681...@192.168.0.151 Regex (FAIL) [video_playback] destination_number(85512809606) =~ /^9194$/ break=on-false
Dialplan: sofia/internal/1681681...@192.168.0.151 parsing [default->delay_echo] continue=false
Dialplan: sofia/internal/1681681...@192.168.0.151 Regex (FAIL) [delay_echo] destination_number(85512809606) =~ /^9195$/ break=on-false
Dialplan: sofia/internal/1681681...@192.168.0.151 parsing [default->echo] continue=false
Dialplan: sofia/internal/1681681...@192.168.0.151 Regex (FAIL) [echo] destination_number(85512809606) =~ /^9196$/ break=on-false
Dialplan: sofia/internal/1681681...@192.168.0.151 parsing [default->milliwatt] continue=false
Dialplan: sofia/internal/1681681...@192.168.0.151 Regex (FAIL) [milliwatt] destination_number(85512809606) =~ /^9197$/ break=on-false
Dialplan: sofia/internal/1681681...@192.168.0.151 parsing [default->tone_stream] continue=false
Dialplan: sofia/internal/1681681...@192.168.0.151 Regex (FAIL) [tone_stream] destination_number(85512809606) =~ /^9198$/ break=on-false
Dialplan: sofia/internal/1681681...@192.168.0.151 parsing [default->zrtp_enrollement] continue=false
Dialplan: sofia/internal/1681681...@192.168.0.151 Regex (FAIL) [zrtp_enrollement] destination_number(85512809606) =~ /^9787$/ break=on-false
Dialplan: sofia/internal/1681681...@192.168.0.151 parsing [default->hold_music] continue=false
Dialplan: sofia/internal/1681681...@192.168.0.151 Regex (FAIL) [hold_music] destination_number(85512809606) =~ /^9664$/ break=on-false
Dialplan: sofia/internal/1681681...@192.168.0.151 parsing [default->laugh break] continue=false
Dialplan: sofia/internal/1681681...@192.168.0.151 Regex (FAIL) [laugh break] destination_number(85512809606) =~ /^9386$/ break=on-false
Dialplan: sofia/internal/1681681...@192.168.0.151 parsing [default->astpp_callingcards] continue=false
Dialplan: sofia/internal/1681681...@192.168.0.151 Regex (PASS) [astpp_callingcards] destination_number(85512809606) =~ /^(855.*)/ break=on-false
Dialplan: sofia/internal/1681681...@192.168.0.151 Action eval(Here we go!)
Dialplan: sofia/internal/1681681...@192.168.0.151 Action perl(astpp-callingcards.pl)
Dialplan: sofia/internal/1681681...@192.168.0.151 Action bridge(sofia/gateway/astpp/85512809606)
2013-01-16 16:32:54.558160 [DEBUG] switch_core_state_machine.c:167 (sofia/internal/1681681...@192.168.0.151) State Change CS_ROUTING -> CS_EXECUTE
2013-01-16 16:32:54.558160 [DEBUG] switch_core_session.c:1210 Send signal sofia/internal/1681681...@192.168.0.151 [BREAK]
2013-01-16 16:32:54.558160 [DEBUG] switch_core_state_machine.c:446 (sofia/internal/1681681...@192.168.0.151) State ROUTING going to sleep
2013-01-16 16:32:54.558160 [DEBUG] switch_core_state_machine.c:398 (sofia/internal/1681681...@192.168.0.151) Running State Change CS_EXECUTE
2013-01-16 16:32:54.558160 [DEBUG] switch_core_state_machine.c:453 (sofia/internal/1681681...@192.168.0.151) State EXECUTE
2013-01-16 16:32:54.558160 [DEBUG] mod_sofia.c:242 sofia/internal/1681681...@192.168.0.151 SOFIA EXECUTE
2013-01-16 16:32:54.558160 [DEBUG] switch_core_state_machine.c:209 sofia/internal/1681681...@192.168.0.151 Standard EXECUTE
EXECUTE sofia/internal/1681681...@192.168.0.151 set(open=true)
2013-01-16 16:32:54.558160 [DEBUG] mod_dptools.c:1335 sofia/internal/1681681...@192.168.0.151 SET [open]=[true]
EXECUTE sofia/internal/1681681...@192.168.0.151 hash(insert/192.168.0.151-spymap/16816816810292/b42f9a6a-5fbf-11e2-ab95-fd07b095ee1e)
EXECUTE sofia/internal/1681681...@192.168.0.151 hash(insert/192.168.0.151-last_dial/16816816810292/85512809606)
EXECUTE sofia/internal/1681681...@192.168.0.151 hash(insert/192.168.0.151-last_dial/global/b42f9a6a-5fbf-11e2-ab95-fd07b095ee1e)
EXECUTE sofia/internal/1681681...@192.168.0.151 export(RFC2822_DATE=Wed, 16 Jan 2013 16:32:54 +0700)
2013-01-16 16:32:54.558160 [DEBUG] switch_channel.c:1118 EXPORT (export_vars) [RFC2822_DATE]=[Wed, 16 Jan 2013 16:32:54 +0700]
EXECUTE sofia/internal/1681681...@192.168.0.151 eval(Here we go!)
2013-01-16 16:32:54.558160 [ERR] switch_core_session.c:2369 Invalid Application perl
2013-01-16 16:32:54.558160 [DEBUG] switch_channel.c:2950 (sofia/internal/1681681...@192.168.0.151) Callstate Change RINGING -> HANGUP
2013-01-16 16:32:54.558160 [NOTICE] switch_core_session.c:2370 Hangup sofia/internal/1681681...@192.168.0.151 [CS_EXECUTE] [DESTINATION_OUT_OF_ORDER]
2013-01-16 16:32:54.558160 [DEBUG] switch_channel.c:2973 Send signal sofia/internal/1681681...@192.168.0.151 [KILL]
2013-01-16 16:32:54.558160 [DEBUG] switch_core_session.c:1210 Send signal sofia/internal/1681681...@192.168.0.151 [BREAK]
2013-01-16 16:32:54.558160 [DEBUG] switch_core_state_machine.c:453 (sofia/internal/1681681...@192.168.0.151) State EXECUTE going to sleep
2013-01-16 16:32:54.558160 [DEBUG] switch_core_state_machine.c:398 (sofia/internal/1681681...@192.168.0.151) Running State Change CS_HANGUP
2013-01-16 16:32:54.558160 [DEBUG] switch_core_state_machine.c:638 (sofia/internal/1681681...@192.168.0.151) State HANGUP
2013-01-16 16:32:54.558160 [DEBUG] mod_sofia.c:483 Channel sofia/internal/1681681...@192.168.0.151 hanging up, cause: DESTINATION_OUT_OF_ORDER
2013-01-16 16:32:54.558160 [DEBUG] mod_sofia.c:613 Responding to INVITE with: 502
2013-01-16 16:32:54.558160 [DEBUG] switch_core_state_machine.c:48 sofia/internal/1681681...@192.168.0.151 Standard HANGUP, cause: DESTINATION_OUT_OF_ORDER
2013-01-16 16:32:54.558160 [DEBUG] switch_core_state_machine.c:638 (sofia/internal/1681681...@192.168.0.151) State HANGUP going to sleep
2013-01-16 16:32:54.558160 [DEBUG] switch_core_state_machine.c:429 (sofia/internal/1681681...@192.168.0.151) State Change CS_HANGUP -> CS_REPORTING
2013-01-16 16:32:54.558160 [DEBUG] switch_core_session.c:1210 Send signal sofia/internal/1681681...@192.168.0.151 [BREAK]
2013-01-16 16:32:54.558160 [DEBUG] switch_core_state_machine.c:398 (sofia/internal/1681681...@192.168.0.151) Running State Change CS_REPORTING
2013-01-16 16:32:54.558160 [DEBUG] switch_core_state_machine.c:720 (sofia/internal/1681681...@192.168.0.151) State REPORTING
2013-01-16 16:32:54.919058 [DEBUG] switch_core_state_machine.c:92 sofia/internal/1681681...@192.168.0.151 Standard REPORTING, cause: DESTINATION_OUT_OF_ORDER
2013-01-16 16:32:54.919058 [DEBUG] switch_core_state_machine.c:720 (sofia/internal/1681681...@192.168.0.151) State REPORTING going to sleep
2013-01-16 16:32:54.919058 [DEBUG] switch_core_state_machine.c:423 (sofia/internal/1681681...@192.168.0.151) State Change CS_REPORTING -> CS_DESTROY
2013-01-16 16:32:54.919058 [DEBUG] switch_core_session.c:1210 Send signal sofia/internal/1681681...@192.168.0.151 [BREAK]
2013-01-16 16:32:54.919058 [DEBUG] switch_core_session.c:1415 Session 42 (sofia/internal/1681681...@192.168.0.151) Locked, Waiting on external entities
2013-01-16 16:32:54.919058 [NOTICE] switch_core_session.c:1433 Session 42 (sofia/internal/1681681...@192.168.0.151) Ended
2013-01-16 16:32:54.919058 [NOTICE] switch_core_session.c:1437 Close Channel sofia/internal/1681681...@192.168.0.151 [CS_DESTROY]
2013-01-16 16:32:54.919058 [DEBUG] switch_core_state_machine.c:527 (sofia/internal/1681681...@192.168.0.151) Callstate Change HANGUP -> DOWN
2013-01-16 16:32:54.919058 [DEBUG] switch_core_state_machine.c:530 (sofia/internal/1681681...@192.168.0.151) Running State Change CS_DESTROY
2013-01-16 16:32:54.919058 [DEBUG] switch_core_state_machine.c:540 (sofia/internal/1681681...@192.168.0.151) State DESTROY
2013-01-16 16:32:54.919058 [DEBUG] mod_sofia.c:376 sofia/internal/1681681...@192.168.0.151 SOFIA DESTROY
2013-01-16 16:32:54.919058 [DEBUG] switch_core_state_machine.c:99 sofia/internal/1681681...@192.168.0.151 Standard DESTROY
2013-01-16 16:32:54.919058 [DEBUG] switch_core_state_machine.c:540 (sofia/internal/1681681...@192.168.0.151) State DESTROY going to sleep




Best Regards,
Daneth

Samir Doshi

unread,
Jan 17, 2013, 5:37:12 AM1/17/13
to Mean M, as...@googlegroups.com
It looks like you haven't installed perl module in freeswitch. That's
freeswitch is showing below error.
2013-01-16 16:32:54.558160 [ERR] switch_core_session.c:2369 Invalid
Application perl

http://wiki.freeswitch.org/wiki/Mod_perl

---
Thanks,
Samir Doshi

On 2013-01-16 03:05 PM, Mean M wrote:
> Dear Samir,
>
> Thanks for your guideline.I have create account and enable
> cc_ani_auth variable to 1 but i could not call out. Please help me
> out.
> I would summary my setting in ASTPP server and error log as below:
>
> TERMINATION RATE INFORMATION
>
> code= ^855.*
> Destination=cambodia
> Trunk=trunk1
> Connect Charge=0.1000
>
> TRUNK INFORMATION
>
> Trunk Name=trunk1
> Protocol=SIP
> PeerName=astpp
> Max Channels:10
> Precedence=0
>
> ASTPP_CALLINGCARDS.XML
> [group-intercept] destination_number(85512809606) =~ /^*8$/
> break=on-false
> Dialplan: sofia/internal/1681681...@192.168.0.151 parsing
> [default->intercept-ext] continue=false
> Dialplan: sofia/internal/1681681...@192.168.0.151 Regex (FAIL)
> [intercept-ext] destination_number(85512809606) =~ /^**(d+)$/
> [eavesdrop] destination_number(85512809606) =~ /^88(d{4})$|^*0(.*)$/
> break=on-false
> Dialplan: sofia/internal/1681681...@192.168.0.151 parsing
> [default->eavesdrop] continue=false
> Dialplan: sofia/internal/1681681...@192.168.0.151 Regex (FAIL)
> [eavesdrop] destination_number(85512809606) =~ /^779$/ break=on-false
> Dialplan: sofia/internal/1681681...@192.168.0.151 parsing
> [default->call_return] continue=false
> Dialplan: sofia/internal/1681681...@192.168.0.151 Regex (FAIL)
> [call_return] destination_number(85512809606) =~ /^*69$|^869$|^lcr$/
> break=on-false
> Dialplan: sofia/internal/1681681...@192.168.0.151 parsing
> [default->del-group] continue=false
> Dialplan: sofia/internal/1681681...@192.168.0.151 Regex (FAIL)
> [del-group] destination_number(85512809606) =~ /^80(d{2})$/
> break=on-false
> Dialplan: sofia/internal/1681681...@192.168.0.151 parsing
> [default->add-group] continue=false
> Dialplan: sofia/internal/1681681...@192.168.0.151 Regex (FAIL)
> [add-group] destination_number(85512809606) =~ /^81(d{2})$/
> break=on-false
> Dialplan: sofia/internal/1681681...@192.168.0.151 parsing
> [default->call-group-simo] continue=false
> Dialplan: sofia/internal/1681681...@192.168.0.151 Regex (FAIL)
> [call-group-simo] destination_number(85512809606) =~ /^82(d{2})$/
> break=on-false
> Dialplan: sofia/internal/1681681...@192.168.0.151 parsing
> [default->call-group-order] continue=false
> Dialplan: sofia/internal/1681681...@192.168.0.151 Regex (FAIL)
> [call-group-order] destination_number(85512809606) =~ /^83(d{2})$/
> [vmain] destination_number(85512809606) =~ /^vmain$|^4000$|^*98$/
> break=on-false
> Dialplan: sofia/internal/1681681...@192.168.0.151 parsing
> [default->sip_uri] continue=false
> Dialplan: sofia/internal/1681681...@192.168.0.151 Regex (FAIL)
> [sip_uri] destination_number(85512809606) =~ /^sip:(.*)$/
> break=on-false
> Dialplan: sofia/internal/1681681...@192.168.0.151 parsing
> [default->nb_conferences] continue=false
> Dialplan: sofia/internal/1681681...@192.168.0.151 Regex (FAIL)
> [nb_conferences] destination_number(85512809606) =~ /^(30d{2})$/
> break=on-false
> Dialplan: sofia/internal/1681681...@192.168.0.151 parsing
> [default->wb_conferences] continue=false
> Dialplan: sofia/internal/1681681...@192.168.0.151 Regex (FAIL)
> [wb_conferences] destination_number(85512809606) =~ /^(31d{2})$/
> break=on-false
> Dialplan: sofia/internal/1681681...@192.168.0.151 parsing
> [default->uwb_conferences] continue=false
> Dialplan: sofia/internal/1681681...@192.168.0.151 Regex (FAIL)
> [uwb_conferences] destination_number(85512809606) =~ /^(32d{2})$/
> break=on-false
> Dialplan: sofia/internal/1681681...@192.168.0.151 parsing
> [default->cdquality_conferences] continue=false
> Dialplan: sofia/internal/1681681...@192.168.0.151 Regex (FAIL)
> [cdquality_conferences] destination_number(85512809606) =~
> /^(33d{2})$/ break=on-false
> [valet_park] destination_number(85512809606) =~ /^(60d[1-9])$/
> break=on-false
> Dialplan: sofia/internal/1681681...@192.168.0.151 parsing
> [default->park] continue=false
> Dialplan: sofia/internal/1681681...@192.168.0.151 Regex (PASS)
> [park] source(mod_sofia) =~ /mod_sofia/ break=on-false
> Dialplan: sofia/internal/1681681...@192.168.0.151 Regex (FAIL)
> [park] destination_number(85512809606) =~ /park+(d+)/ break=on-false
> 2013-01-16 16:32:54.558160 [ERR] SWITCH_CORE_SESSION.C:2369 INVALID
> APPLICATION PERL
>>>>> <action application="perl" data="astpp-callingcards.pl [1]" />
>>>>> </condition>
>>>>> </extension>
>>>>> </include>
>>>>>
>>>>> this dial plan is to configure your DID for Calling card.
>>>>>
>>>>> Customer will dial the DID he can listen The Calling card Menu.
>>>>>
>>>>>
>>>>> For testing Please Register your sip phone with U : 1000 P :
>>>>> 1234 D : YOUR IP OF FREESWITCH BOX.
>>>>>
>>>>>
>>>>>
>>>>> Dial ABOVE LISTED 800801888 Number You can still able to check
>>>>> the
>>>>> Calling card Menu.
>>>>>
>>>>>
>>>>> Thanks
>>>>> Jagadish
>>>>>
>>>>>
>>>>> On 9 January 2013 12:34, Mean M <m.da...@gmail.com> wrote:
>>>>> >
>>>>> >
>>>>> > On Wednesday, January 9, 2013 10:07:39 AM UTC+7, Mean M wrote:
>>>>> >>
>>>>> >>
>>>>> >>
>>>>> >> Dear All,
>>>>> >>
>>>>> >> May i know if Calling Card in ASTPP server support pinless
>>>>> option? if
>>>>> >> Can
>>>>> >> support, how to enable this option in the server?
>>>>> >>
>>>>> >>
>>>>> >>
>>>>> >> Best regards,
>>>>> >> Daneth
>
>
> Links:
> ------
> [1] http://astpp-callingcards.pl

Mean M

unread,
Jan 18, 2013, 2:21:22 AM1/18/13
to as...@googlegroups.com, sa...@astpp.org
Dear Samir,

What is the relation of caller id number with account in account module? anyway i cannot find option to register each card number separately?
Could you please clarify this ?



Best Regards,
Daneth




On Thursday, January 10, 2013 6:45:20 PM UTC+7, Samir Doshi wrote:

Mean M

unread,
Jan 21, 2013, 3:54:33 AM1/21/13
to as...@googlegroups.com, sa...@astpp.org
Dear Samir,

Please help to about below question.


Best Regards,D
daneth

Samir Doshi

unread,
Jan 22, 2013, 12:55:23 AM1/22/13
to as...@googlegroups.com
Hi,

We are using Account's ANI module for calling card authentication. So,
as i had mentioned in previous post, we can link calling card with
account using account number and then use ANI feature for
authentication.

Regarding "anyway i cannot find option to register each card number
separately?",
Do you mean register in softphone?
If so then we are not generating sip user for calling cards. To use
calling card feature you need to configure access number in Freeswitch
and you customer need to dial that access number in order to use their
calling cards.

---
Thanks,
Samir Doshi
>>>>>> <action application="perl" data="astpp-callingcards.pl [1]" />
>>>>>> </condition>
>>>>>> </extension>
>>>>>> </include>
>>>>>>
>>>>>> this dial plan is to configure your DID for Calling card.
>>>>>>
>>>>>> Customer will dial the DID he can listen The Calling card Menu.
>>>>>>
>>>>>>
>>>>>> For testing Please Register your sip phone with U : 1000 P :
>>>>>> 1234 D : YOUR IP OF FREESWITCH BOX.
>>>>>>
>>>>>>
>>>>>>
>>>>>> Dial ABOVE LISTED 800801888 Number You can still able to check
>>>>>> the
>>>>>> Calling card Menu.
>>>>>>
>>>>>>
>>>>>> Thanks
>>>>>> Jagadish
>>>>>>
>>>>>>
>>>>>> On 9 January 2013 12:34, Mean M <m.da...@gmail.com> wrote:
>>>>>> >
>>>>>> >
>>>>>> > On Wednesday, January 9, 2013 10:07:39 AM UTC+7, Mean M wrote:
>>>>>> >>
>>>>>> >>
>>>>>> >>
>>>>>> >> Dear All,
>>>>>> >>
>>>>>> >> May i know if Calling Card in ASTPP server support pinless
>>>>>> option? if
>>>>>> >> Can
>>>>>> >> support, how to enable this option in the server?
>>>>>> >>
>>>>>> >>
>>>>>> >>
>>>>>> >> Best regards,
>>>>>> >> Daneth
>
>
Reply all
Reply to author
Forward
0 new messages