[Freeswitch-users] Outbound Call (No Registration)

RR ranjtech at gmail.com
Mon Feb 1 09:51:31 PST 2010


Hi Folks,

 

As I continue to learn configuring FS, I am trying to use FS as a peering
switch sending a call to our SBC on the other side of the pond (across the
pacific) where the IP address of the FS (in the US) is configured to receive
traffic from. In this case no registration is required by the sending
gateway to make calls through the system overseas as its IP address is in
the "known" gateways (ACL) list. 

 

Two questions:

a)      Where must the configuration of this overseas gateway be? Currently
I have it in $FREESWITCH_HOME/conf/sip_profiles/external. Is that the right
location for it?

b)      Looking at the gateway configuration that was present in that
directory for the sample gateway, I didn't see any of the params that were
relevant other than the "realm" and maybe the "proxy". Hence my
configuration is extremely simple (2 Lines). As I mentioned, I don't need to
register with the overseas SBC. The problem with this now is that this
gateway is not being picked up by FS when I do a reloadxml OR restart FS. On
typing "sofia status gateway MyGW", I get "Invalid Gateway". Following from
this then, when the dialplan is configured to send the call using this
gateway, I see the messages like

 

2010-02-01 12:42:50.138444 [ERR] mod_sofia.c:3108 Invalid Gateway

2010-02-01 12:42:50.138444 [ERR] switch_ivr_originate.c:2411 Cannot create
outgoing channel of type [sofia] cause: [INVALID_NUMBER_FORMAT]

2010-02-01 12:42:50.138444 [DEBUG] switch_ivr_originate.c:3209 Originate
Resulted in Error Cause: 28 [INVALID_NUMBER_FORMAT]

2010-02-01 12:42:50.138444 [INFO] mod_dptools.c:2346 Originate Failed.
Cause: INVALID_NUMBER_FORMAT

2010-02-01 12:42:50.138444 [NOTICE] mod_dptools.c:2409 Hangup
sofia/internal/1000 at 10.1.2.110 [CS_EXECUTE] [INVALID_NUMBER_FORMAT]

 

c)       Please note that the call has NOT even left FS so this message is
not coming from the remote gateway/SBC as I have a trace running there as
well and it never sees the call. Also, when I start FS, I see the error
"username is a required param". Upon entering a bogus username and password
field, I am able to load the gateway and the prfile status looks good.
However, when I try and make a call I get the following:

d)       

2010-02-01 12:49:03.118479 [DEBUG] sofia.c:4011 Channel
sofia/external/0061434144942 entering state [terminated][403]

2010-02-01 12:49:03.118479 [NOTICE] sofia.c:4655 Hangup
sofia/external/0061434144942 [CS_CONSUME_MEDIA] [CALL_REJECTED]

2010-02-01 12:49:03.118479 [DEBUG] switch_channel.c:1947 Send signal
sofia/external/0061434144942 [KILL]

2010-02-01 12:49:03.118479 [DEBUG] switch_core_session.c:1019 Send signal
sofia/external/0061434144942 [BREAK]

2010-02-01 12:49:03.118479 [DEBUG] switch_ivr_originate.c:3209 Originate
Resulted in Error Cause: 21 [CALL_REJECTED]

2010-02-01 12:49:03.118479 [INFO] mod_dptools.c:2346 Originate Failed.
Cause: CALL_REJECTED

2010-02-01 12:49:03.118479 [NOTICE] mod_dptools.c:2409 Hangup
sofia/internal/1000 at 10.1.2.110 [CS_EXECUTE] [CALL_REJECTED]

 

Any ideas?

 

Thanks

\R

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100201/0138de52/attachment-0002.html 


More information about the FreeSWITCH-users mailing list