[Freeswitch-users] iPad with APNS

Ivan C Myrvold ivan at myrvold.org
Sat Jul 31 01:58:11 PDT 2010


My iPad is registered with

Call-ID:    	9d7a299b-c943-448a-9f91-14d86f391215
User:       	ipad at imyrvold.dyndns.org
Contact:    	"user" <sip:ipad at 192.168.2.1:45411>
Agent:      	PJSUA v1.4.5/x86_64-unknown-linux-gnu
Status:     	Registered(UDP)(unknown) EXP(2010-07-30 14:13:45) EXPSECS(559)
Host:       	leopard.imyrvold.org
IP:         	74.208.218.93
Port:       	45411
Auth-User:  	ipad
Auth-Realm: 	imyrvold.dyndns.org
MWI-Account:	ipad at imyrvold.dyndns.org


and FreeSWITCH is sending an INVITE to the local address 192.168.2.1:45411, that is the local address of the server I suppose.
I think it should have sent it to the address 74.208.218.93 instead. 

Is it possible to configure freeSWITCH to use the IP fields instead of the Contact field of the registration? Or do I have to contact the iSip developers to make them fix this in their product?

Ivan

   INVITE sip:ipad at 192.168.2.1:45411 SIP/2.0
   Via: SIP/2.0/UDP 193.213.24.29;rport;branch=z9hG4bKN7BZaHtpSmvjc
   Max-Forwards: 69
   From: "Ivan C Myrvold" <sip:37048300 at 193.213.24.29>;tag=49F85a5rppjaF
   To: <sip:ipad at 192.168.2.1:45411>
   Call-ID: c8d406d2-1675-122e-7d8e-3f8378a6eaac
   CSeq: 134127471 INVITE
   Contact: <sip:mod_sofia at 193.213.24.29:5060>
.....
.....


Den 30. juli 2010 kl. 14.42 skrev Ivan C Myrvold:

> I am using iSip on my iPad, and it registers well with FreeSWITCH. I can make calls, and it receives calls when running.
> http://pastebin.freeswitch.org/13563 
> 
> When I have APNS switched on, it should be able to receive calls also when it is offline, because an external server will be registered as the iPad.
> http://pastebin.freeswitch.org/13564 
> 
> But unfortunately I do not receive any call on my iPad, and freeswitch eventually times out. Does anyone have any hint to what could be wrong?
> Here is a SIP trace of the call, from local phone 160 at imyrvold.dyndns.org:
> http://pastebin.freeswitch.org/13565 
> 
> Ivan
> 
> 
> 
> _______________________________________________
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
> 




More information about the FreeSWITCH-users mailing list