Board logo

標題: 大陆 PSTN Access Number的重要性 [打印本頁]

作者: 角色    時間: 2010-8-4 11:03     標題: 大陆 PSTN Access Number的重要性

本帖最後由 角色 於 2010-8-10 05:49 編輯

因为有很多时候,3G都不能用上,而且现在打电话没有分漫游,所以你可以在大陆任何地方拨打一个大陆的PSTN Access Number(当然是自己用的Access Number),然后再接上Asterisk Server(在大陆),那么大陆Asterisk server与其他国家地区的Asterisk servers再连起来,那么你想怎样打也可以。

而且效果也非常好。


角色
作者: 雯雯    時間: 2010-8-4 16:29

回復 1# 角色

其實自從我用了iPad後, 我就買了1部Pocket WIFI (型號是北極星光PS-R50D)給我所有的手提WIFI設備用. 這Pocket WIFI插上USB 3G上網手指就可以用了! 而且支援中國電信3G, 電信3G按小時計費, 化算多了! 而且電信3G的覆蓋比以前廣! 手機就算沒有3G功能, 只要有WIFI和VoIP功能都可以用, 方便多了!
作者: Qnewbie    時間: 2010-8-4 17:34

I want an access number just to initiate callback
作者: 角色    時間: 2010-8-4 17:58

You mean an access number in Sweden?

YH
作者: 角色    時間: 2010-8-4 17:59

回復 2# 雯雯

好像题目与你所说的有少少out of thread。不过你的mobile 3G rotuer看来不错,是否有照片看看呢?


角色
作者: Qnewbie    時間: 2010-8-4 18:23

回復 4# 角色


    No, it is an access number in mainland China.
作者: 角色    時間: 2010-8-4 18:26

Please let me know what do want to do with mainland China access number? You want your parent to make phone call to you, right?

YH
作者: Qnewbie    時間: 2010-8-4 18:34

回復 7# 角色


Yes, you are correct.

The main task is following: as soon as my parent(one landline and one mobile) call the access number, wait one or two second, hangup, then send the number to my asterisk. That's all for your asterisk.

I call my parent's number in my asterisk.
作者: 角色    時間: 2010-8-4 19:56

This is a call-back feature of asterisk. However, I am not able to call your parameter such that you know who is calling and then you make a call to your parent.

YH
作者: Qnewbie    時間: 2010-8-4 20:11

Emm, what about phpagi.
作者: 雯雯    時間: 2010-8-4 20:31

回復 5# 角色

有少少out of thread, 但也不完全是out of thread. 假若大陸PSTN Access Number正被家人使用中 (佔線), 這Pocket WIFI便派上用場了! 而且可以用中國電信3G, 按分鐘或小時計, 比中國聯通3G按流量計算便宜!


作者: bubblestar    時間: 2010-8-4 21:42

雯雯這個小助手即是可以將3G訊號轉化成WiFi 提供給幾位用家同時使用,但收費只是按分鐘計算,的確很化算,我的理解沒錯吧!

但幾個人齊齊使用,會不會把原本已經僅僅能可被接受的3G<==>WiFi 變得更加慢呢? 而且前提是PSTN Access Number 的目的是CALL BACK 可以能隨時STANDBY 作回撥。 易斷就好沒趣了。
作者: 角色    時間: 2010-8-4 21:59

回復 11# 雯雯

我也听说中国电信的天翼不错,不知道收费是怎样算呢?多少钱一分钟呢?

角色
作者: 雯雯    時間: 2010-8-4 22:46

回復 13# 角色

我有兩張中國電信3G上網卡, 1張插了在2920Vn上, 是電信剛推出3G時申請的, 225元/月包360小時, 超出0.05元/分鐘, 國內每月500元封頂, 現在的電信3G上網套餐也沒有這麼優惠! 另1張是給Pocket WIFI用, 是3G USB上網手指時送的, 0.05元/分鐘.
作者: 雯雯    時間: 2010-8-4 22:54

回復 12# bubblestar

插電信3G USB上網手指上去分給幾個人用是會慢一些! 但是呢部Pocket WIFI還可以插聯通3G或移動3G USB上網手指, 分給幾個人用的網速相對快一些, 收費當然就是按流量計算!
作者: yiucsw    時間: 2010-8-5 00:31

雯雯,问问在广州宽带(无线),手机 (不多)的费用是联通,移动,还是电信便宜。我看得有点晕。
作者: 浮雲1965    時間: 2010-8-5 01:07

本帖最後由 浮雲1965 於 2010-8-5 01:08 編輯

如果用得不多, 不經常使用。那就用電信的。以時間計算,RMB¥0.05/分鐘。 唔用唔使比錢,但都幾慢。我經常搭火車來往深圳廣州,我會在火車上用。但經常3G會down grade去到CDMA2000, 比電話線快一D。碰到down grade, 就要人手斷左線,重新連過,通常都會上返去3G.

如果用得多一D, 當然用聯通啦,用iphone,  有software, 會將iphone變成無線wifi router, 供多個wifi設備上網。比如幾個friend坐埋開會,分別上網, 甘就最抵用了。
作者: Qnewbie    時間: 2010-8-5 03:50

本帖最後由 Qnewbie 於 2010-8-16 22:51 編輯

回復 9# 角色


    A dirty solution would be achieved by modifying the callback module(http://blog.gramels.info/blog/ar ... erisk-callback.html)

Main idea is to call different number according to incoming caller ID. This call initiates the real callback at another asterisk server.

[checkNum]
exten => s,1,NoOp(Incoming call from # ${CALLERID(num)})

;landline,call ipteluser1
exten => s,2,GotoIf($["${CALLERID(num)}"!= "075512345678"]?6)   
exten => s,3,system(cp /var/spool/asterisk/skelett.call /var/spool/asterisk/skelett.tmp.call)
exten => s,4,system(echo 'Channel: SIP/ipteluser1@iptel' >> /var/spool/asterisk/skelett.tmp.call)
exten => s,5, Goto(sendNote,s,1)

;mobile, call ipteluser2
exten => s,6,GotoIf($["${CALLERID(num)}"!="1380013800"]?10)   
exten => s,7,system(cp /var/spool/asterisk/skelett.call /var/spool/asterisk/skelett.tmp.call)
exten => s,8,system(echo 'Channel: SIP/ipteluser2@iptel' >> /var/spool/asterisk/skelett.tmp.call)
exten => s,9, Goto(sendNote,s,1)

; could be modified after your need
exten => s,10,Dial(SIP/20000,,r)    ; otherwise dial 2000
exten => s,n,Hangup()

[sendNote]
exten => s,1,NoOp(Hangup then callback)
exten => s,2,Hangup()
exten => h,1,NoOp(copy skelett.tmp.call file to /var/spool/asterisk/outgoing)
exten => h,2,system(cp /var/spool/asterisk/skelett.tmp.call /var/spool/asterisk/outgoing)
exten => h,3,Hangup()
作者: 雯雯    時間: 2010-8-5 07:46

回復 17# 浮雲1965

用得多都是電信3G便宜! 用聯通3G按KB計, 好易爆表!
作者: 角色    時間: 2010-8-5 07:58

回復 18# Qnewbie

When I have time, I shall consider the propsed way to implement it.

YH
作者: 角色    時間: 2010-8-5 18:07

For simplicity, whenever I receive calls from your parents with proper caller IDs, your extension will be calls. Whenever you are at home, you may talk for a while and call them using whatever means that you want.

YH
作者: yiucsw    時間: 2010-8-5 22:56

电信什么e家套餐?是有无线宽带,加手机的。现在用移动,广州到深圳的火车一定短线。武汉,天津连都连不上。
作者: 角色    時間: 2010-8-5 23:01

是e9套餐。所以普通电话的PSTN电话access number是非常重要,在很多地方网络不太好的时候,而GSM信号是非常好,所以PSTN access number就显得非常重要。

角色
作者: Qnewbie    時間: 2010-8-6 05:19

回復 21# 角色


    That's great!

Hangup and call me through iax trunk, possible with SetCallerID command so that I can identify the source of call.
   
What about wap-callback? I think it should work even with 2G phone. Maybe this is another option if PSTN number is not available. For my parent, who are not techo folk, it is mission impossible.
作者: 角色    時間: 2010-8-6 08:18

For the ederly, the most convenient to call other relatives who live in other countries like you is to call a local access (telephone) number to reach you. If you are at home, you can pick up the call. If not, your parent will hang up. The call charge for making call is minimal but they can reach you in a very convenient way. For making long conversation, you may tell them to hangup first and you make a call to them directly via other means at more economic way.

From the technology point of view, we may spend some time to explore the real call-back feature using Asterisk.

YH
作者: Qnewbie    時間: 2010-8-6 17:38

From the technology point of view, it might be the first time for caller id relay in Asterisk using a call trunk.

What I want to achieve is not only to let my parent to call me but also to call HK(more frequently). Current solution is my parent calls HK and hangs up after the ringtone, then my sister calls my parent. Sometimes it did not work with this approach and the phone bill is constantly over 200CNY and most of time 300CNY per month. That is why I want callback first and let my parent choose the call destination. The fee to call your number is 0.4CNY per minute from my parent's mobile as I can pay ET263 for 0.08CNY, which one would you consider?
作者: yiucsw    時間: 2010-8-7 18:11

终于在广州加了电信的E 套餐2290元12月4M+固话+手机。有点贵,还没加无线宽带。现在的问题是在哪里加什么稳定的VOIPserver? SPA3102 还是IP01还有什么稳定的?Asterisk 的工具。ATOM?
作者: Qnewbie    時間: 2010-8-7 20:41

From the posts in this forum, it looks like that IP01 is not stable enough for your purpose. ATOM based asterisk server would be more suitable.
作者: 角色    時間: 2010-8-17 01:13

The following information would be very helpful for making automatic outbound calls.

http://www.voip-info.org/wiki/view/Asterisk+auto-dial+out

YH




歡迎光臨 電訊茶室 (http://telecom-cafe.com/forum/) Powered by Discuz! 7.2