You can do this without ipfon adding an account to your's asterisk for person from Poland.
I'm doing the same for my friend form USA, he connects directly to my own asterisk.
In sip.conf
[kris]
type=friend
;context=default
context=kris-out
secret=password ; Where to start in the dialplan when this phone calls
callerid=<00134XXXXXXXX> ; Full caller ID, to override the phones config
host=dynamic ; we have a static but private IP address
; No registration allowed
nat=yes ; there is not NAT between phone and Asterisk
canreinvite=no ; allow RTP voice traffic to bypass Asterisk
dtmfmode=rfc2833 ; either RFC2833 or INFO for the BudgeTone
disallow=all ; need to disallow=all before we can use allow=
;allow=g726
;allow=ulaw
;allow=alaw
allow=ilbc
;allow=gsm
;allow=alaw
;allow=g726
;allow=g729
In extensions.conf
[kris-out]
exten => _X.,1,SetVar(FILENAME=OUT-kris-${TIMESTAMP}-${EXTEN})
exten => _X.,2,MixMonitor(${FILENAME}.gsm)
exten => _X.,3,Goto(friends-out,s,1)
exten => 444,3,Goto(bas-in,s,1)
[friends-out]
exten => 444,1,Goto(bas-in,s,1)
exten => 445,1,Dial(SIP/czerwiec,50,Tt)
exten => 446,1,Dial(SIP/kris,50,Tt)
exten => 447,1,Dial(SIP/maciasz,50,Tt)
exten => 448,1,Dial(SIP/scibor,50,Tt)
Greetings BAS