Пожалуйста, войдите здесь. Часто задаваемые вопросы О нас
Задайте Ваш вопрос

История изменений [назад]

нажмите, чтобы скрыть/показать версии 1
изначальная версия
редактировать

спросил 2011-04-27 22:29:27 +0400

Sarge Gravatar Sarge

Не получается transfer

Здравствуйте. Не могу понять в чем дело, вроде как все сделал правильно, но не работает переадресация звонков :-( У меня две регистрации на IP АТС провайдера и выглядит все это так:

sip.conf

register => 52-222:password1@prov.ru/1112 register => 52-111:password2@porv.ru/1111

extensions.conf

[DIDtrunk4] exten => 1111,1,Goto(voicemenu-custom-1|s|1|t||) exten => 1112,1,Goto(default|112|1|t||) exten = s,1,Goto(ringroups-custom-1|s|1)

[ringroups-custom-1] exten = s,1,NoOp(Managers) exten = s,n,Dial(SIP/111&SIP/113,40,i,t) exten = s,n,Hangup

[voicemenu-custom-1] include = default exten = s,1,NoOp(default) exten = s,2,Playback(fastpoint0) exten = s,3,WaitExten(5) exten = s,4,Goto(ringroups-custom-1|s|1|t)

[CallingRule_SIPNTT] exten = _8XXXXXXXXXX,1,Macro(trunkdial-failover-0.3,${52-111}/${EXTEN:0},,52-111,,t)

[DLPNDialPlan2] include = CallingRuleOutgoing3 include = CallingRuleSIPNTT include = default include = parkedcalls include = conferences include = ringgroups include = voicemenus include = queues include = voicemailgroups include = directory include = pagegroups include = pagean_extension

[CallingRule_SIPNTT2] exten = _8XXXXXXXXXX,1,Macro(trunkdial-failover-0.3,${52-222}/${EXTEN:0},,52-222,,t)

[DLPNDialPlan1] include = CallingRuleOutgoing3 include = CallingRuleSIPNTT2 include = default include = parkedcalls include = conferences include = ringgroups include = voicemenus include = queues include = voicemailgroups include = directory include = pagegroups include = pagean_extension

users.conf

[112] username = 112 transfer = yes mailbox = 112 call-limit = 100 fullname = Manager2 registersip = no host = dynamic callgroup = 1 context = DLPNDialPlan2 cidnumber = 112 hasvoicemail = no vmsecret = email = threewaycalling = no hasdirectory = no callwaiting = no hasmanager = no hasagent = no hassip = yes hasiax = no secret = nat = no canreinvite = no dtmfmode = rfc2833 insecure = no pickupgroup = 1 autoprov = no label = macaddress = linenumber = 1 LINEKEYS = 1 disallow = all allow = alaw,ulaw,g729

[113] username = 113 transfer = yes mailbox = 113 call-limit = 100 fullname = Manager3 registersip = no host = dynamic callgroup = 1 context = DLPNDialPlan2 cidnumber = 113 hasvoicemail = no vmsecret = email = threewaycalling = no hasdirectory = no callwaiting = no hasmanager = no hasagent = no hassip = yes hasiax = no secret = nat = no canreinvite = no dtmfmode = rfc2833 insecure = no pickupgroup = 1 autoprov = no label = macaddress = linenumber = 1 LINEKEYS = 1 disallow = all allow = alaw,ulaw

features.conf

[featuremap] blindxfer => ## atxfer => **

И ну никак не хочет делать transfer! В логах при нажатии ## ничего не выдает. Или может по другому, через FLASH надо делать? Или я буковку t не там ставлю(хотя уже везде где мог понатыкал..). Ткните в ошибку пожалуйста!

Не получается transfer

Здравствуйте. Не могу понять в чем дело, вроде как все сделал правильно, но не работает переадресация звонков :-( У меня две регистрации на IP АТС провайдера и выглядит все это так:

sip.conf

    sip.conf

    register => 52-222:password1@prov.ru/1112
 register => 52-111:password2@porv.ru/1111

extensions.conf

[DIDtrunk4] 52-111:password2@porv.ru/1111 extensions.conf [DID_trunk_4] exten => 1111,1,Goto(voicemenu-custom-1|s|1|t||) exten => 1112,1,Goto(default|112|1|t||) exten = s,1,Goto(ringroups-custom-1|s|1)

s,1,Goto(ringroups-custom-1|s|1) [ringroups-custom-1] exten = s,1,NoOp(Managers) exten = s,n,Dial(SIP/111&SIP/113,40,i,t) exten = s,n,Hangup

s,n,Hangup [voicemenu-custom-1] include = default exten = s,1,NoOp(default) exten = s,2,Playback(fastpoint0) exten = s,3,WaitExten(5) exten = s,4,Goto(ringroups-custom-1|s|1|t)

s,4,Goto(ringroups-custom-1|s|1|t) [CallingRule_SIPNTT] exten = _8XXXXXXXXXX,1,Macro(trunkdial-failover-0.3,${52-111}/${EXTEN:0},,52-111,,t)

[DLPNDialPlan2] include = CallingRuleOutgoing3 include = CallingRuleSIPNTT _8XXXXXXXXXX,1,Macro(trunkdial-failover-0.3,${52-111}/${EXTEN:0},,52-111,,t) [DLPN_DialPlan2] include = CallingRule_Outgoing3 include = CallingRule_SIPNTT include = default include = parkedcalls include = conferences include = ringgroups include = voicemenus include = queues include = voicemailgroups include = directory include = pagegroups include = pagean_extension

page_an_extension [CallingRule_SIPNTT2] exten = _8XXXXXXXXXX,1,Macro(trunkdial-failover-0.3,${52-222}/${EXTEN:0},,52-222,,t)

[DLPNDialPlan1] include = CallingRuleOutgoing3 include = CallingRuleSIPNTT2 _8XXXXXXXXXX,1,Macro(trunkdial-failover-0.3,${52-222}/${EXTEN:0},,52-222,,t) [DLPN_DialPlan1] include = CallingRule_Outgoing3 include = CallingRule_SIPNTT2 include = default include = parkedcalls include = conferences include = ringgroups include = voicemenus include = queues include = voicemailgroups include = directory include = pagegroups include = pagean_extension

users.conf

page_an_extension users.conf [112] username = 112 transfer = yes mailbox = 112 call-limit = 100 fullname = Manager2 registersip = no host = dynamic callgroup = 1 context = DLPNDialPlan2 cidnumber DLPN_DialPlan2 cid_number = 112 hasvoicemail = no vmsecret = email = threewaycalling = no hasdirectory = no callwaiting = no hasmanager = no hasagent = no hassip = yes hasiax = no secret = nat = no canreinvite = no dtmfmode = rfc2833 insecure = no pickupgroup = 1 autoprov = no label = macaddress = linenumber = 1 LINEKEYS = 1 disallow = all allow = alaw,ulaw,g729

alaw,ulaw,g729 [113] username = 113 transfer = yes mailbox = 113 call-limit = 100 fullname = Manager3 registersip = no host = dynamic callgroup = 1 context = DLPNDialPlan2 cidnumber DLPN_DialPlan2 cid_number = 113 hasvoicemail = no vmsecret = email = threewaycalling = no hasdirectory = no callwaiting = no hasmanager = no hasagent = no hassip = yes hasiax = no secret = nat = no canreinvite = no dtmfmode = rfc2833 insecure = no pickupgroup = 1 autoprov = no label = macaddress = linenumber = 1 LINEKEYS = 1 disallow = all allow = alaw,ulaw

features.conf

alaw,ulaw features.conf [featuremap] blindxfer => ## atxfer => **

**

И ну никак не хочет делать transfer! В логах при нажатии ## ничего не выдает. Или может по другому, через FLASH надо делать? Или я буковку t не там ставлю(хотя уже везде где мог понатыкал..). Ткните в ошибку пожалуйста!

Проект компании "АТС Дизайн"
Asterisk® и Digium® являются зарегистрированными торговыми марками компании Digium, Inc., США.
IP АТС Asterisk распространяется под лицензией GNU GPL.