Parse Contact information

classic Classic list List threaded Threaded
2 messages Options
leo
Reply | Threaded
Open this post in threaded view
|

Parse Contact information

leo
This post has NOT been accepted by the mailing list yet.
Hello,

I'm receiving in the contact field at the registration moment the following information:

Contact:: sip:xxxxx@yy.yy.yy.yy:49641;app-id=com.hello.network.prod;pn-type=apple;pn-tok=C749BC1D09AA73E8504C71EF1733059031827EE0865EC129101DB51AAAAAAAAA;pn-msg-str=IC_SIL;pn-call-str=IC_SIL;pn-call-snd=empty;pn-msg-snd=msg.caf;transport=tcp

Is there any way to parse that information and store each value in different DB columns like:

Contact=sip:xxxxx@yy.yy.yy.yy:49641
app-id=com.hello.network.prod
pn-type=apple
pn-tok=C749BC1D09AA73E8504C71EF1733059031827EE0865EC129101DB51AAAAAAAAA
pn-msg-str=IC_SIL
pn-call-str=IC_SIL
pn-call-snd=empty
pn-msg-snd=msg.caf
transport=tcp

Thanks,

Leo
leo
Reply | Threaded
Open this post in threaded view
|

Re: Parse Contact information

leo
This post has NOT been accepted by the mailing list yet.
No ideas?