[Asterisk-Users] Asterisk and XLite on same machine (OSX)?

Aldo Bergamini aab.lists at nb-a.com
Sun Mar 27 09:13:03 MST 2005


Dear all,

I have tried to run an asterisk instance together with XLite on a single
machine (a PowerBook).
The intent is to take advantage of IAX connections to easily cross NATs
while traveling.

While the IAX setup proved 'easy', just having to fiddle a little with
working configs at both sides, I did not succeed so far in getting XLite
to connect to the local Asterisk server, AND be able to make a call.

I used the pbx setup successfully with a BT102 attached to the ethernet
port of my machine, after activating 'Internet Sharing' in the Sharing
prefs. I am connecting trough a wireless link to the local ADSL.

iax2 show registry correctly shows my pbx back in the office... So I am
quite sure there is something just on the local sip setup.

The best I could do was to see XLite logged in; but as soon as I dial any
extension I get a 'call not approved' error message in the XLite display.

The sip configuration that got me to this first is with Asterisk
listening on the wireless eth interface, whereas XLite is on an second IP
interface (internal ethernet board).

[Even if this setup could work, I would have to change it as it needs to
have an ethernet cable plugged in the eth port.]

Happily I found and checked the instructions on the wiki under 'Localhost
gateway'.

Essentially instead of trying to have two different IP interfaces for pbx
and softphone the plan is to have different port numbers (5060 and 5061).

Strangely enough I can obtain again the login of the softphone, but I
still get a 'call not approved' for any dialed number.

Activating sip debug peer xxxx does not show anything while dialing; and
no error/message shows in the Diagnostic Window of XLite.

I would be happy with any hint on how to solve this.

TIA
Aldo




More information about the asterisk-users mailing list