Link to home
Start Free TrialLog in
Avatar of Eu Telea
Eu Telea

asked on

Asterisk droping calls from the same provider

Hello,

I have a problem with an asterisk server:

I have a SIP trunk from Vodafone. When I call from another provider ( lets say Orange ) redirecting from Softphone to another extension works. When I call from the same provider ( Vodafone - my sip trunks use vodafone ) and try to redirect from the softphone to another extension, the call is intrerupting.


This is extension.conf related to extension number used for redirecting: (I masked the real number)

exten => _yyy268,1,Set(CALLFILENAME=${CALLERID(num)}_${EXTEN}-${STRFTIME(${EPOCH},,%d%m%Y-%H%M%S)})
exten => _yyy268,n,MixMonitor(/var/inregistrari/in/${CALLFILENAME}.wav,b)
;exten => _yyy268,n,Goto(ivr-liber,9,1)
exten => _yyy268,n,GotoIfTime(18:00-23:59|mon-fri|*|*?time,5692,1)
exten => _yyy268,n,GotoIfTime(00:00-08:00|mon-fri|*|*?time,5692,1)
exten => _yyy268,n,Dial(SIP/268,20,tk)
exten => _yyy268,n,Dial(SIP/241,60,tk)
exten => _yyy268,n,Congestion()
exten => _yyy268,n,Hangup()

THis is sip.conf related to extension used for redirecting:

[268](sets)
dtmfmode=rfc2833
t38pt_udptl=yes
qualify=yes
notifyringing=yes
call-limit=2
callerid=268
nat=no
mailbox=268@default
secret=sssssssss
canreinvite=no
callgroup=1
pickupgroup=1


[241](sets)
dtmfmode=rfc2833
t38pt_udptl=yes
qualify=yes
notifyringing=yes
call-limit=2
callerid=241
nat=no
mailbox=241@default
secret=rrrrrrrrrrrr
canreinvite=no
callgroup=13
pickupgroup=13



THis is sip.cinf related to the trunk used:

[sipvodafone]

sendrpid = pai
trustrpid = no
accountcode=sipvodafone
send_diversion=no
rpid_update=no
type=peer
;progressinband=yes
;prematuremedia=no
context=from_sip
insecure=very
fromdomain=vodafone
canreinvite=no
session-timers=refuse
nat=yes
host=81.yy.xxx.161
;dtmfmode=inband
dtmfmode=inband
disallow=all
allow=alaw
qualify=yes
;userphone=yes

[sipvodafone1]
sendrpid = pai
trustrpid = no
accountcode=sipvodafone1
type=peer
;progressinband=yes
;prematuremedia=no
context=from_sip
insecure=port,invite
fromdomain=vodafone
canreinvite=no
session-timers=refuse
nat=yes
host=81.yy.xxx.162
dtmfmode=inband
disallow=all
allow=alaw
qualify=yes
Avatar of Ron Malmstead
Ron Malmstead
Flag of United States of America image

When the call drops, what errors /output do you see on the CLI?

Let's see If I'm understanding this correctly..., if you call from "inside" your network, it drops.  If you use your cellphone to call a number, it redirects correctly.  Is that right?
Avatar of Eu Telea
Eu Telea

ASKER

The End-User - if he got a phone number from the same provider which i got the trunk for asterix ( from vodafone ), when he call my asterix number he will not be forwarded to extensions. Is a main number, if someone call and no body answer, should go to the next extension and this is not happening.

If the call come from another provider, the tree is fallow, main number - no answer -> extension will be forwarded

I called from my work number ( Vodafone ) - on fix phone ( first extension ) - after that forward comed ( second extension ) and is intreruped.

I called from other phone ( Orange ) - on fix phone ( first extension ) -after that  forward comed and worked ( second extension )
This question needs an answer!
Become an EE member today
7 DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform.
View membership options
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.