• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 807
  • Last Modified:

Blueface Outgoing Call Decline

I have an asterisk server set up with blueface.ie as my voip provider. Everything worked, when suddenly i can receive calls easily, but cannot send any outgoing calls through blueface.

Here are the relevant extracts from the sip and extension configs, and below that is the code of the error.

sip:

register => mihailgk:*@194.213.29.100/323809

[blueface-mihailgk]
type=peer
host=194.213.29.100
username=323809
fromuser=323809
secret=*
insecure=invite
context=blueface

extension incoming:

[blueface]
exten => 323809,1,Answer()
exten => 323809,n,wait(1.5)
exten => 323809,n,Background(silence/1)
exten => 323809,n,Playtones(!950/330,!1400/330,!1800/330,!0/1000,!950/330,!1400/330,!1800/330,!0/1000,!950/330,!1400/330,!1800/330,!0/1000,0)
exten => 323809,n,Set(CALLERID(all)=Seattle Line <${CALLERID(all)}>)
exten => 323809,n,Dial(SIP/500,40)
exten => 323809,n,Hangup()

and outgoing:

[greece]
exten => _XXXXXXXXXX,1,Dial(SIP/0030${EXTEN}@blueface-mihailgk)
exten => _XXXXXXXXXX,n,Wait(2)
exten => _XXXXXXXXXX,n,Hangup

Connected to Asterisk 1.6.0.6 currently running on Asterisk (pid = 2148)
Verbosity is at least 3
    -- Remote UNIX connection
  == Using SIP RTP CoS mark 5
    -- Executing [2109858803@office:1] Dial("SIP/501-083a9ef8", "SIP/00302109858803@blueface-mihailgk") in new stack
  == Using SIP RTP CoS mark 5
    -- Called 00302109858803@blueface-mihailgk
    -- Got SIP response 603 "Declined" back from 194.213.29.100
    -- SIP/blueface-mihailgk-083ae5d8 is busy
  == Everyone is busy/congested at this time (1:1/0/0)
    -- Executing [2109858803@office:2] Wait("SIP/501-083a9ef8", "2") in new stack
    -- Executing [2109858803@office:3] Hangup("SIP/501-083a9ef8", "") in new stack
  == Spawn extension (office, 2109858803, 3) exited non-zero on 'SIP/501-083a9ef8'

Open in new window

0
Lambru
Asked:
Lambru
1 Solution
 
denisdsr20Commented:
If your VOIP provider is "a good one" it should not reply with a 603 on any wrong identification (user/pass).

So I think the trouble comes from the remote dialPlan for instance 0030xxxx is not a correct format (expected) by remote VOIP switch, you may have to make sure blueface knows how to proceed with your called numbers (0030xxx).

If everything is OK on their side you may start sip debug (in asterisk CLI) and attach the SIP traces in this question.

Regards

Denis DIDIER
SR20 Service / France

0
 
LambruAuthor Commented:
Yep the error was in my dialplan. Thanks!
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Introducing Cloud Class® training courses

Tech changes fast. You can learn faster. That’s why we’re bringing professional training courses to Experts Exchange. With a subscription, you can access all the Cloud Class® courses to expand your education, prep for certifications, and get top-notch instructions.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now